/* ── Guide Page Styles ── */

/* Offset anchor scroll for sticky nav */
html {
  scroll-padding-top: 72px;
}

/* Nav back link */
.nav-back {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.nav-back:hover {
  color: var(--accent-hover);
}

/* Hero */
.guide-hero {
  padding: 60px 0 40px;
  text-align: center;
  background: var(--bg);
}

.guide-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.guide-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
}

/* Table of Contents */
.toc {
  padding: 32px 0 48px;
  background: var(--bg);
}

.toc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.toc-item {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.toc-item:hover {
  background: var(--bg-alt);
  color: var(--accent-hover);
}

/* Guide Content */
.guide-content {
  padding: 20px 0 80px;
  background: var(--bg);
}

.guide-section {
  max-width: 720px;
  margin: 0 auto 56px;
}

.guide-section:last-child {
  margin-bottom: 0;
}

.guide-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
}

.guide-section:first-child .guide-section-title {
  border-top: none;
  padding-top: 0;
}

.guide-section p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.guide-section ul,
.guide-section ol {
  margin: 0 0 16px 20px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.guide-section li {
  margin-bottom: 6px;
}

.guide-section li strong {
  color: var(--text);
}

.guide-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 24px 0 10px;
  color: var(--text);
}

.guide-section a {
  color: var(--accent);
}

.guide-section a:hover {
  color: var(--accent-hover);
}

/* FAQ Items */
.faq-item {
  margin-bottom: 24px;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}

.faq-item p {
  margin-bottom: 0;
}

/* Contact Section */
.guide-contact {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
}

.guide-contact .guide-section-title {
  border-top: none;
  padding-top: 0;
}

.guide-contact p {
  color: var(--text-secondary);
}
