/* ============================================
   Guide Page Styles
   ============================================ */

.guide {
  display: flex;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  gap: 48px;
}

/* --- Sidebar Nav --- */
.guide__sidebar {
  position: sticky;
  top: 80px;
  flex-shrink: 0;
  width: 200px;
  height: fit-content;
}

.guide__nav h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aeaeb2;
  margin-bottom: 12px;
}

.guide__nav-link {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  color: #86868b;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.guide__nav-link:hover {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.04);
}

.guide__nav-link.active {
  color: #007aff;
  background: rgba(0, 122, 255, 0.08);
  font-weight: 500;
}

/* --- Content --- */
.guide__content {
  flex: 1;
  min-width: 0;
}

.guide__content section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.guide__content section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.guide__content h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.guide__intro {
  font-size: 17px;
  color: #86868b;
  line-height: 1.6;
  margin-bottom: 40px;
}

.guide__content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 8px;
}

.guide__content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 32px;
}

.guide__content p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.guide__content ul {
  margin: 8px 0 16px 20px;
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

.guide__content li {
  margin-bottom: 4px;
}

.guide__content a {
  color: #007aff;
  text-decoration: none;
}

.guide__content a:hover {
  text-decoration: underline;
}

.guide__content code {
  background: #f5f5f7;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'SF Mono', 'Menlo', monospace;
}

/* --- Numbered Steps --- */
.guide__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 24px;
}

.guide__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.guide__step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #007aff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.guide__step strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.guide__step p {
  margin-bottom: 0;
  font-size: 14px;
}

/* --- Tip box --- */
.guide__tip {
  background: rgba(0, 122, 255, 0.06);
  border-left: 3px solid #007aff;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.guide__tip strong {
  color: #1d1d1f;
}

.guide__tip kbd {
  background: #fff;
}

/* --- Feature List --- */
.guide__feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 24px;
}

.guide__feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.guide__feature-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
  border-radius: 10px;
}

.guide__feature-item strong {
  display: block;
  font-size: 15px;
  color: #1d1d1f;
  margin-bottom: 4px;
}

.guide__feature-item p {
  font-size: 14px;
  margin-bottom: 0;
}

.guide__feature-item ul {
  margin-top: 6px;
  font-size: 14px;
}

/* --- Type Grid --- */
.guide__type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0 24px;
}

.guide__type-card {
  background: #f5f5f7;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.guide__type-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
}

.guide__type-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.guide__type-card p {
  font-size: 14px;
  color: #86868b;
  margin-bottom: 0;
}

/* --- Status List --- */
.guide__status-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.guide__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
}

.guide__status-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* --- Shortcuts --- */
.guide__shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.guide__shortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
}

.guide__shortcut span {
  margin-left: 4px;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .guide {
    flex-direction: column;
    padding: 70px 16px 40px;
    gap: 24px;
  }

  .guide__sidebar {
    position: static;
    width: 100%;
    overflow-x: auto;
  }

  .guide__nav {
    display: flex;
    gap: 4px;
    align-items: center;
    white-space: nowrap;
    padding-bottom: 8px;
  }

  .guide__nav h4 {
    margin-bottom: 0;
    margin-right: 8px;
  }

  .guide__content h1 {
    font-size: 28px;
  }

  .guide__type-grid {
    grid-template-columns: 1fr;
  }

  .guide__shortcuts {
    grid-template-columns: 1fr;
  }
}
