/* ═══════════════════════════════════════════════════════════
   PUBLIC PAGES: features, pricing and guides.
   Loaded after landing.css and uses its variables and components.
   ═══════════════════════════════════════════════════════════ */

.header-nav a[aria-current="page"] { color: var(--gold-lt); }

/* ─── Page hero ──────────────────────────────────────────────────────────── */
.page-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4rem;
  text-align: center;
}

.page-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  margin: 0 0 1.5rem;
}

.page-title em { font-style: italic; color: var(--gold-lt); }
.page-title--guide { font-size: clamp(2.1rem, 5vw, 3.4rem); }

.page-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto;
}

.page-hero .hero-actions { margin-top: 2.25rem; }

.page-more {
  text-align: center;
  margin-top: 3.5rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.page-more a,
.prose a {
  color: var(--gold-lt);
  text-decoration: underline;
  text-decoration-color: var(--gold-border);
  text-underline-offset: 3px;
}

.page-more a:hover,
.prose a:hover { text-decoration-color: currentColor; }

/* ─── Breadcrumbs ────────────────────────────────────────────────────────── */
.breadcrumbs { margin-bottom: 2rem; }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.breadcrumbs li + li::before { content: '/'; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumbs a { color: var(--text-mid); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-lt); }

/* ─── Features page ──────────────────────────────────────────────────────── */
.feature-detail { padding-top: 2rem; }
.feature-more { padding-top: 0; }
.feature-more .section-title--small { margin-top: 0; }

.feature-rows {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
}

.feature-row {
  background: var(--bg-card);
  padding: 2.25rem 2.25rem 2.5rem;
}

.feature-row-title {
  font-family: var(--ff-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--cream);
  margin: 0 0 0.75rem;
}

.feature-row-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin: 0;
}

/* ─── Pricing page ───────────────────────────────────────────────────────── */
.pricing-section--page { padding-top: 0; }

/* ─── Guides ─────────────────────────────────────────────────────────────── */
.guide-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.guide-list--compact { padding-bottom: 0; }

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 2rem 1.75rem;
  transition: border-color 0.25s, background 0.25s;
}

.guide-card:hover { border-color: var(--gold); background: var(--bg-raised); }

.guide-card-title {
  font-family: var(--ff-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.guide-card-title a { color: var(--cream); text-decoration: none; }
.guide-card-title a:hover { color: var(--gold-lt); }

.guide-card-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0 0 1.25rem;
  flex: 1;
}

.guide-card-link {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.page-hero--guide { padding-bottom: 2.5rem; }

.guide-meta {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.guide-more { padding: 2rem 0 2rem; }
.guide-more .section-title--small { margin: 4rem 0 2.5rem; }

/* ─── Long-form text ─────────────────────────────────────────────────────── */
.prose {
  max-width: 68ch;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
}

.prose > * + * { margin-top: 1.15rem; }

.prose h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin-top: 3rem;
}

.prose h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--gold-lt);
  margin-top: 2rem;
}

.prose strong { color: var(--cream); font-weight: 500; }
.prose em { font-style: italic; }

.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.5rem; }
.prose li::marker { color: var(--gold); }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 1.5rem;
}

.prose caption {
  caption-side: top;
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-bottom: 0.6rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--gold-border);
}

.prose thead th {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.prose tbody th { color: var(--cream); font-weight: 400; }

/* ─── Light mode ─────────────────────────────────────────────────────────── */
html[data-theme="light"] .feature-row,
html[data-theme="light"] .guide-card { background: #ffffff; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .guide-list { grid-template-columns: 1fr; max-width: 620px; }
  .feature-rows { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .page-hero { padding: 2rem 1.25rem 3rem; }
  .page-hero .hero-actions .btn { width: 100%; }
  .guide-list { padding-inline: 1.25rem; }
  .feature-row { padding: 1.75rem 1.5rem 2rem; }
  .prose { padding-inline: 1.25rem; font-size: 1rem; }
  .prose table { font-size: 0.85rem; }
  .prose th, .prose td { padding: 0.55rem 0.5rem; }
}
