@charset "UTF-8";
/* CertCrest Press — Reconciled Design System (landing-2026 5-Variant Rubric)
   Scoped under #certcrest-root. Technical Navy #0B1F3A + Precision Amber #D97706.
   Mobile-first, >=48px tap targets, tabular-nums, 0 horizontal overflow 320px..1440px, WCAG 2.1 AA. */

:root {
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --surface: #ffffff;
  --surface-border: #e2e8f0;
  --surface-border-strong: #cbd5e1;

  --ink: #0f172a;
  --ink-secondary: #334155;
  --ink-muted: #475569;

  --brand-primary: #0b1f3a;
  --brand-primary-hover: #132f54;
  --brand-accent: #b45309;
  --brand-accent-bright: #d97706;
  --brand-accent-soft: #fef3c7;
  --brand-accent-ink: #78350f;
  --trust-green: #065f46;
  --trust-green-bg: #ecfdf5;

  --hero-bg: linear-gradient(135deg, #071426 0%, #0b1f3a 55%, #122d52 100%);
  --hero-ink: #ffffff;
  --hero-sub: #cbd5e1;
  --hero-border: rgba(255, 255, 255, 0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 18px 42px rgba(11, 31, 58, 0.14);
  --container: 1200px;
}

[data-theme="v1-flagship"] {
  --hero-bg: radial-gradient(circle at 82% 20%, #173a66 0%, #0b1f3a 52%, #061224 100%);
}

[data-theme="v2-metric"] {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --brand-accent: #b45309;
  --brand-accent-bright: #d97706;
  --hero-bg: linear-gradient(135deg, #09182e 0%, #0b1f3a 60%, #163761 100%);
}

[data-theme="v3-funnel"] {
  --hero-bg: linear-gradient(180deg, #0b1f3a 0%, #102a4d 100%);
}

[data-theme="v4-editorial"] {
  --bg: #faf8f4;
  --bg-subtle: #f3efe7;
  --bg-muted: #e9e2d4;
  --surface: #ffffff;
  --surface-border: #dfd6c5;
  --surface-border-strong: #c8bba4;
  --ink: #1c1917;
  --ink-secondary: #44403c;
  --ink-muted: #57534e;
  --brand-primary: #0b1f3a;
  --brand-accent: #9a3412;
  --brand-accent-bright: #b45309;
  --hero-bg: linear-gradient(135deg, #071426 0%, #0b1f3a 62%, #19385f 100%);
  --hero-ink: #faf8f4;
  --hero-sub: #d6dfd9;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}
#certcrest-root { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
#certcrest-root main { flex: 1; }
[data-theme="v4-editorial"] h1,
[data-theme="v4-editorial"] h2,
.display-serif { font-family: var(--font-serif); }

.tnum, .metric-val, .price-main, .buy-price, .kpi-num, .spec-table td {
  font-variant-numeric: tabular-nums;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand-accent-bright);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand-primary); color: #fff; padding: 12px 16px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: var(--radius-sm); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Top announcement bar */
.top-bar {
  background: #071426; color: #e2e8f0; font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 8px 16px; padding: 8px 0;
}
.top-bar strong { color: #fbbf24; }
.top-bar-links { display: flex; gap: 16px; }
.top-bar-links a { color: #cbd5e1; text-decoration: underline; text-underline-offset: 3px; }
.top-bar-links a:hover { color: #ffffff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--surface-border);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand-link { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-height: 48px; }
.brand-link img { height: 40px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a {
  font-size: 0.9375rem; font-weight: 600; color: var(--ink-secondary);
  padding: 10px 2px; transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand-accent); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; background: transparent; border: 1px solid var(--surface-border-strong);
  color: var(--ink); border-radius: var(--radius-sm); min-height: 48px; min-width: 48px;
  padding: 8px 14px; font-weight: 700; cursor: pointer;
}

/* Micro-nav bar for 6 certification tracks (home_v2 pattern) */
.track-micronav {
  background: var(--bg-subtle); border-bottom: 1px solid var(--surface-border);
  font-size: 0.85rem; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.track-micronav-inner {
  display: flex; align-items: center; gap: 14px; padding: 8px 0; white-space: nowrap;
}
.track-micronav a {
  color: var(--ink-secondary); font-weight: 600; padding: 4px 8px; border-radius: 4px;
}
.track-micronav a:hover { background: var(--bg-muted); color: var(--brand-primary); }

/* Buttons — strict primary vs secondary hierarchy & >=48px touch comfort */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 0.9375rem; font-weight: 700; line-height: 1.2;
  min-height: 44px; padding: 11px 18px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-accent-bright); color: #ffffff; }
.btn-primary:hover { background: var(--brand-accent); }
.btn-navy { background: var(--brand-primary); color: #ffffff; }
.btn-navy:hover { background: var(--brand-primary-hover); }
.btn-outline { background: transparent; border-color: var(--surface-border-strong); color: var(--ink); }
.btn-outline:hover { background: var(--bg-muted); }
.btn-outline-light { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.32); color: #ffffff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.16); }
.btn-sm { min-height: 42px; padding: 8px 13px; font-size: 0.875rem; }
.btn-lg { min-height: 50px; padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: var(--hero-bg); color: var(--hero-ink); padding: 44px 0 48px;
  border-bottom: 1px solid var(--hero-border); position: relative; overflow: hidden;
}
.hero-grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 36px 36px;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.2fr 0.85fr; gap: 36px; align-items: center;
}
.hero-inner > * { min-width: 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  background: rgba(245, 158, 11, 0.16); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.34);
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 14px; font-size: clamp(1.85rem, 3.8vw, 2.95rem); line-height: 1.12;
  letter-spacing: -0.025em; font-weight: 850;
}
.hero-lead { margin: 0 0 20px; font-size: 1.05rem; color: var(--hero-sub); max-width: 60ch; }

.hero-search {
  display: flex; gap: 8px; background: #ffffff; padding: 6px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); max-width: 600px; margin-bottom: 16px; border: 1px solid var(--surface-border);
}
.hero-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; min-height: 44px; padding: 10px 12px;
  font-size: 0.98rem; color: #0f172a;
}
.hero-search input::placeholder { color: #64748b; }

.quick-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.quick-tag {
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; padding: 6px 11px;
  border-radius: 999px; background: rgba(255,255,255,0.1); color: #f1f5f9;
  border: 1px solid rgba(255,255,255,0.2); transition: background 0.15s ease;
}
.quick-tag:hover { background: rgba(255,255,255,0.2); }

.hero-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  padding-top: 16px; border-top: 1px solid var(--hero-border); max-width: 560px;
}
.metric-val { font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.metric-lbl { font-size: 0.875rem; color: var(--hero-sub); }

/* Hero KPI Cards (ANGLE-A V2) */
.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.kpi-card {
  background: rgba(255,255,255,0.08); border: 1px solid var(--hero-border);
  border-radius: var(--radius-md); padding: 14px;
}
.kpi-num { font-size: 1.55rem; font-weight: 850; color: #fbbf24; line-height: 1.1; }
.kpi-label { font-size: 0.85rem; color: #e2e8f0; margin-top: 4px; }

/* Right-hand Hero Conversion Panel (ANGLE-A & V1/V4) */
.hero-panel {
  background: #ffffff; color: #0f172a; border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--surface-border);
}
.hero-panel h2 { margin: 0 0 8px; font-size: 1.2rem; color: #0b1f3a; }

/* Hero Covers — object-fit: contain prevents ANY cover edge/title cropping */
.hero-covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero-cover-card {
  background: rgba(255,255,255,0.07); border: 1px solid var(--hero-border);
  border-radius: var(--radius-md); padding: 10px; display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.hero-cover-card:hover { transform: translateY(-3px); border-color: var(--brand-accent-bright); }
.hero-cover-card img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: contain; border-radius: 5px; display: block; background: #0f172a;
}
.hero-cover-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 700; }

/* Sections */
.section { padding: 52px 0; }
.section-subtle { background: var(--bg-subtle); border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); }
.section-subtle:has(+ .section-subtle) { padding-bottom: 32px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.section-kicker {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-accent); margin-bottom: 6px;
}
.section-title { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }
.section-sub { margin: 8px 0 0; color: var(--ink-muted); max-width: 66ch; }

/* Roadmap 3-step cards (ANGLE-D / V5) */
.roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.roadmap-card {
  background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--radius-md);
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
}
.roadmap-step {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 800; color: var(--brand-accent-ink);
  background: var(--brand-accent-soft); padding: 4px 10px; border-radius: 999px; width: fit-content;
}
.roadmap-card h3 { margin: 4px 0 0; font-size: 1.08rem; }
.roadmap-card p { margin: 0; font-size: 0.92rem; color: var(--ink-muted); }

/* Comparison Table (ANGLE-C / home_v2 pattern) */
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--surface-border); border-radius: var(--radius-md); background: var(--surface); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 540px; }
.cmp-table th, .cmp-table td { padding: 14px 16px; border-bottom: 1px solid var(--surface-border); text-align: left; }
.cmp-table thead th { background: #0b1f3a; color: #ffffff; font-weight: 700; }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-yes { color: var(--trust-green); font-weight: 700; }

/* 4-Step Interactive Exam Finder Funnel (ANGLE-B V3) */
.funnel-box {
  background: var(--surface); border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); max-width: 820px; margin: 0 auto;
}
.funnel-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 22px; }
.funnel-dot {
  padding: 8px; text-align: center; font-size: 0.82rem; font-weight: 700;
  border-radius: var(--radius-sm); background: var(--bg-muted); color: var(--ink-muted);
}
.funnel-dot.active { background: var(--brand-primary); color: #ffffff; }
.funnel-dot.done { background: var(--trust-green-bg); color: var(--trust-green); }
.funnel-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 18px 0; }
.funnel-opt {
  text-align: left; padding: 14px 16px; border-radius: var(--radius-md);
  border: 2px solid var(--surface-border); background: var(--bg-subtle); cursor: pointer;
  min-height: 56px; font-family: inherit; color: var(--ink);
}
.funnel-opt:hover, .funnel-opt.selected { border-color: var(--brand-accent-bright); background: #fffbeb; }

/* Proof strip */
.proof-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.proof-card { background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--radius-md); padding: 18px; }
.proof-card h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 750; }
.proof-card p { margin: 0; font-size: 0.9rem; color: var(--ink-muted); }

/* Track Grid */
.track-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.track-card {
  background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--radius-md);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.track-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-accent-bright); }
.track-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.track-code {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; background: var(--brand-accent-soft); color: var(--brand-accent-ink);
}
.track-count { font-size: 0.875rem; font-weight: 700; color: var(--ink-muted); }
.track-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; font-weight: 800; }
.track-card p { margin: 0; font-size: 0.92rem; color: var(--ink-muted); flex: 1; }
.cred-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.cred-pill { font-family: var(--font-mono); font-size: 0.78rem; padding: 4px 8px; border-radius: 4px; background: var(--bg-muted); color: var(--ink-secondary); }

/* Catalog Controls & Equal-Height Book Grid */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.pill-btn {
  font-family: inherit; font-size: 0.875rem; font-weight: 700; min-height: 44px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--surface-border-strong); background: var(--surface);
  color: var(--ink-secondary); cursor: pointer; transition: all 0.15s ease;
}
.pill-btn:hover { border-color: var(--brand-accent-bright); color: var(--ink); }
.pill-btn[aria-pressed="true"], .pill-btn.active { background: var(--brand-primary); color: #ffffff; border-color: var(--brand-primary); }

.catalog-controls { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; margin-bottom: 18px; align-items: center; }
.input-control, .select-control {
  width: 100%; min-height: 46px; padding: 10px 14px; font-size: 0.95rem; font-family: inherit;
  border: 1px solid var(--surface-border-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
}

.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 20px; align-items: stretch; }
.book-card {
  background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.book-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-accent-bright); }
.book-cover-wrap { position: relative; background: var(--bg-muted); padding: 14px; display: flex; justify-content: center; align-items: center; }
.book-cover-wrap img {
  width: 100%; max-width: 200px; aspect-ratio: 2 / 3; object-fit: contain;
  border-radius: 4px; box-shadow: 0 6px 18px rgba(15,23,42,0.16); display: block; background: #0f172a;
}
.badge-row { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.exam-badge { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; background: #0b1f3a; color: #ffffff; }
.ship-badge { font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: #065f46; color: #ecfdf5; }
.book-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.book-track { font-size: 0.78rem; font-weight: 700; color: var(--brand-accent); text-transform: uppercase; letter-spacing: 0.04em; }
.book-title { margin: 0; font-size: 0.98rem; line-height: 1.35; font-weight: 750; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.book-meta { font-size: 0.875rem; color: var(--ink-muted); }
.book-price-row { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--surface-border); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price-main { font-size: 1.15rem; font-weight: 850; }
.price-sub { font-size: 0.82rem; color: var(--ink-muted); }
.book-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }

/* Book Detail Page */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--ink-muted); margin: 18px 0 22px; }
.breadcrumb a:hover { text-decoration: underline; color: var(--ink); }
.detail-grid { display: grid; grid-template-columns: 0.9fr 1.25fr; gap: 40px; align-items: start; }
.detail-grid > * { min-width: 0; }
.detail-cover-box { background: var(--bg-subtle); border: 1px solid var(--surface-border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.detail-cover-box img { width: 100%; max-width: 340px; height: auto; object-fit: contain; border-radius: 6px; box-shadow: var(--shadow-lg); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.9rem; }
.spec-table th, .spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--surface-border); text-align: left; }
.spec-table th { color: var(--ink-muted); font-weight: 600; width: 42%; }
.spec-table td { font-weight: 650; }

.buy-box { background: var(--bg-subtle); border: 2px solid var(--surface-border-strong); border-radius: var(--radius-lg); padding: 22px; margin: 20px 0; }
.buy-box-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.buy-price { font-size: 1.9rem; font-weight: 850; }
.buy-controls { display: grid; grid-template-columns: 110px 1fr; gap: 10px; margin-bottom: 12px; }
.buy-channels { display: flex; flex-direction: column; gap: 10px; }
.buy-note { font-size: 0.875rem; color: var(--ink-muted); margin-top: 12px; }

/* Callout & FAQ */
.callout-box {
  background: var(--hero-bg); color: var(--hero-ink); border-radius: var(--radius-lg);
  padding: 36px; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px; align-items: center;
}
.tier-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tier-pill { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.tier-pill strong { display: block; font-size: 1.15rem; color: #fbbf24; }
.tier-pill span { font-size: 0.85rem; color: #e2e8f0; }

.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--radius-md); padding: 16px 20px; }
.faq-item summary { font-weight: 750; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.faq-item summary::after { content: "+"; font-size: 1.25rem; color: var(--brand-accent); font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; color: var(--ink-secondary); font-size: 0.95rem; }

/* Prose Legal Pages */
.prose-wrap { max-width: 820px; padding: 36px 0 64px; }
.prose-wrap h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin: 0 0 12px; }
.prose-wrap h2 { font-size: 1.25rem; margin: 28px 0 10px; padding-top: 12px; border-top: 1px solid var(--surface-border); }
.prose-wrap ul { padding-left: 20px; }
.prose-wrap li { margin-bottom: 6px; }
.notice-card { background: var(--bg-subtle); border-left: 4px solid var(--brand-accent-bright); padding: 16px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 18px 0; font-size: 0.94rem; }

/* Footer */
.site-footer { background: #071426; color: #cbd5e1; padding: 52px 0 32px; margin-top: 40px; border-top: 3px solid #d97706; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-col h4 { color: #ffffff; margin: 0 0 12px; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.footer-col a:hover { color: #fbbf24; text-decoration: underline; }
.footer-bottom { padding-top: 22px; font-size: 0.875rem; color: #94a3b8; display: grid; gap: 8px; }

/* Mobile sticky CTA bar (auto-hides via IntersectionObserver when hero CTA or footer is visible) */
.mobile-sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  background: var(--surface); border-top: 1px solid var(--surface-border-strong);
  padding: 10px 14px; gap: 10px; box-shadow: 0 -6px 20px rgba(15,23,42,0.14);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-sticky-bar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-covers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .roadmap-grid { grid-template-columns: 1fr; }
  .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
  .callout-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--surface-border-strong);
    flex-direction: column; align-items: flex-start; padding: 16px 20px; gap: 6px; box-shadow: var(--shadow-md);
  }
  .main-nav a { width: 100%; min-height: 48px; display: flex; align-items: center; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-actions .btn-hide-sm { display: none; }
  .btn, .pill-btn, .input-control, .select-control { min-height: 48px; }
  .hero { padding: 28px 0 34px; }
  .hero-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-search { flex-direction: column; }
  .kpi-row { grid-template-columns: 1fr; }
  .track-grid { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; }
  .catalog-controls { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-sticky-bar { display: grid; grid-template-columns: 1fr 1fr; }
  body.has-mobile-bar { padding-bottom: 72px; }
}

@media (max-width: 440px) {
  .book-actions { grid-template-columns: 1fr; }
  .funnel-progress { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
