/* ==========================================================================
   Aurelia — marketing homepage
   Tokens → base → header → hero → stages → chapters → vignettes →
   promises → steps → FAQ → closing → footer → motion → responsive
   Theme toggle base styles are shared through theme.css.
   ========================================================================== */

/* ---------- Tokens ---------- */
.landing-page {
  --bg: #0b0b0e;
  --surface: #131317;
  --surface-2: #19191e;
  --surface-3: #232329;
  --sunken: #0f0f12;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.14);
  --text: #f3f1ee;
  --muted: #bab4ad;
  --faint: #9d978f;

  --accent: #e8734a;
  --accent-hover: #f48a62;
  --accent-text: #f29a76;
  --on-accent: #25130d;
  --accent-soft: rgba(232,115,74,.12);
  --accent-line: rgba(232,115,74,.42);

  --violet: #d0b8ee;
  --green: #8fd0a9;
  --blue: #a7c5f0;
  --gold: #e8d393;

  --ok: #9fd8b5;   --ok-bg: #1a3025;
  --info: #a7c5f0; --info-bg: #1b2a3d;
  --warn: #e8d393; --warn-bg: #302a1d;
  --attn: #ffbe9e; --attn-bg: #3d261d;

  --shadow: 0 40px 90px rgba(0,0,0,.55);
  --shadow-sm: 0 14px 34px rgba(0,0,0,.4);
  --glow: rgba(232,115,74,.16);

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --header: 72px;

  /* Aliases read by the shared theme toggle */
  --panel: var(--surface);
  --panel-2: var(--surface-2);
}
:root[data-theme="light"]:has(body.landing-page) { color-scheme: light; scrollbar-color: #aba096 #f6f3ee; }
[data-theme="light"] .landing-page {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-2: #fbf8f4;
  --surface-3: #efe9e1;
  --sunken: #f4efe8;
  --line: rgba(64,48,33,.12);
  --line-strong: rgba(64,48,33,.22);
  --text: #292622;
  --muted: #5f5a54;
  --faint: #6f6760;

  --accent-hover: #f08459;
  --accent-text: #ad4223;
  --accent-soft: #fcebe1;
  --accent-line: #e2a384;

  --violet: #694284;
  --green: #25613c;
  --blue: #2b527e;
  --gold: #73501b;

  --ok: #25613c;   --ok-bg: #e3f2e8;
  --info: #2b527e; --info-bg: #e6eef8;
  --warn: #71571c; --warn-bg: #f8efd5;
  --attn: #914326; --attn-bg: #fbe6db;

  --shadow: 0 34px 80px rgba(64,48,33,.14);
  --shadow-sm: 0 12px 28px rgba(64,48,33,.1);
  --glow: rgba(232,115,74,.08);
}

/* ---------- Base ---------- */
html:has(body.landing-page) { scroll-behavior: smooth; }
.landing-page *, .landing-page *::before, .landing-page *::after { box-sizing: border-box; }
body.landing-page {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.landing-page :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote) { margin: 0; padding: 0; }
.landing-page :where(ul, ol) { list-style: none; }
.landing-page a { color: inherit; text-decoration: none; }
.landing-page .ui-icon { width: 1em; height: 1em; flex-shrink: 0; }
.landing-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
[data-theme="light"] .landing-page :focus-visible { outline-color: var(--accent-text); }
.landing-page ::selection { background: rgba(232,115,74,.34); }
.landing-page [id] { scroll-margin-top: calc(var(--header) + 24px); }
.landing-page h1, .landing-page h2, .landing-page h3 { text-wrap: balance; }
.landing-page p { text-wrap: pretty; }
.landing-page em { font-style: italic; color: var(--accent-text); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 40px; }
.section { padding-block: 144px; }
.section.flush-top { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 4.8vw, 64px); line-height: 1; letter-spacing: -.022em; margin-top: 18px;
}
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px 64px; align-items: end; margin-bottom: 80px;
}
.section-head > p { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 48ch; }
.section-head.centered { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.section-head.centered .h2 { max-width: 18ch; }
.section-head.centered .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: 600 14px/1.2 var(--sans); white-space: nowrap; cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn .ui-icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 26px rgba(232,115,74,.28); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:hover .ui-icon { transform: translateX(3px); }
.btn-quiet { border-color: var(--line-strong); color: var(--text); }
.btn-quiet:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--text) 26%, transparent); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 15px; border-radius: 14px; }
[data-theme="light"] .btn-primary { box-shadow: 0 8px 22px rgba(153,75,40,.16); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 12px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e8734a, #f0a06b 60%, #d9b26a); color: #25130d;
  box-shadow: 0 8px 22px rgba(232,115,74,.3);
}
[data-theme="light"] .brand-mark { box-shadow: 0 6px 16px rgba(153,75,40,.16); }
.brand-mark .ui-icon { width: 18px; height: 18px; stroke-width: 2; }
.brand-name { font-family: var(--serif); font-size: 24px; line-height: 1; }
.brand-name span { color: var(--accent-text); }
.nav-links { display: flex; gap: 2px; margin-left: 28px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-btn span { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform .22s var(--ease), opacity .22s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu.open { display: block; }
.mobile-menu .wrap { display: grid; padding-block: 8px 20px; }
.mobile-menu a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--muted); }
.mobile-menu .btn { margin-top: 16px; padding: 14px 26px; border-bottom: 0; color: var(--on-accent); }
.landing-page .theme-menu-toggle { margin: 4px 0 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 96px 120px; overflow: clip; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -240px; right: -200px; width: 980px; height: 820px;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 5.6vw, 80px); line-height: .98; letter-spacing: -.028em; margin-top: 28px;
}
.lede { margin-top: 32px; font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 40ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }
.assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; margin-top: 104px; padding-top: 36px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.assurances li { display: flex; align-items: center; gap: 12px; }
.assurances .ui-icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); stroke-width: 2.4; }

.hero-figure { position: relative; }
.hero-figure figcaption { margin-top: 20px; font-size: 13px; color: var(--faint); text-align: center; }
.board-wrap { position: relative; }

/* Post photography (see public/images/landing) */
.ph { display: block; max-width: none; object-fit: cover; background: var(--surface-3); }

/* Plan my week board */
.board { border: 1px solid var(--line-strong); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.board-title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; line-height: 1; }
.board-title .ui-icon { width: 18px; height: 18px; color: var(--accent-text); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.pill .ui-icon { width: 12px; height: 12px; stroke-width: 2.2; }
.pill-accent { background: var(--accent-soft); color: var(--accent-text); }
.pill-muted { background: var(--surface-3); color: var(--muted); }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-attn { background: var(--attn-bg); color: var(--attn); }

.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 22px 20px; }
.day { display: flex; flex-direction: column; gap: 10px; min-height: 236px; padding: 8px 6px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.day.rest { background: repeating-linear-gradient(135deg, transparent 0 8px, color-mix(in srgb, var(--text) 3%, transparent) 8px 9px); }
.day-label { padding-inline: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.tile { border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--surface); }
.tile-media { position: relative; display: block; }
.tile .ph { width: 100%; height: auto; aspect-ratio: 4 / 5; }
.tile-badge { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(20,16,14,.55); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.tile-badge .ui-icon { width: 12px; height: 12px; stroke-width: 2; }
.tile-meta { display: block; padding: 8px 8px 9px; min-width: 0; }
.tile-time { display: block; font-size: 11.5px; font-weight: 700; color: var(--accent-text); }
.tile-name { display: -webkit-box; margin-top: 3px; font-size: 12.5px; font-weight: 600; line-height: 1.3; hyphens: auto; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile.new { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.tile.booked .tile-time { color: var(--info); }

.board-foot { display: flex; align-items: center; gap: 24px; padding: 18px 24px; border-top: 1px solid var(--line); background: var(--sunken); }
.budget { flex: 1; min-width: 0; font-size: 13.5px; color: var(--muted); }
.budget b { color: var(--text); font-weight: 600; }
.meter { height: 6px; margin-top: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #f0a06b); transform-origin: left; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 13px; border-radius: 10px; box-shadow: none; }

.float {
  position: absolute; z-index: 2; bottom: 56px; left: -36px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface-2) 94%, transparent); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; line-height: 1.35;
}
.float small { display: block; font-size: 12px; color: var(--faint); }
.float b { font-weight: 600; }
.float-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.float-ico .ui-icon { width: 18px; height: 18px; }

/* ---------- Stages overview ---------- */
.tone-plan { --tone: var(--accent-text); }
.tone-create { --tone: var(--violet); }
.tone-publish { --tone: var(--green); }
.tone-learn { --tone: var(--blue); }
.tone-plan, .tone-create, .tone-publish, .tone-learn {
  --tone-soft: color-mix(in srgb, var(--tone) 13%, transparent);
  --tone-line: color-mix(in srgb, var(--tone) 32%, transparent);
}
#features { padding-bottom: 72px; }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stage {
  display: flex; flex-direction: column; height: 100%; padding: 32px 28px 28px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
  transition: border-color .2s, background .2s;
}
.stage:hover { border-color: var(--tone-line); background: var(--surface-2); }
.stage-no { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--tone); }
.stage-name { margin-top: 28px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.stage-text { flex: 1; margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.stage > .ui-icon { width: 18px; height: 18px; margin-top: 28px; color: var(--tone); transition: transform .2s var(--ease); }
.stage:hover > .ui-icon { transform: translateX(4px); }

/* ---------- Chapters ---------- */
.chapter { padding-block: 128px; }
.chapter + .chapter .chapter-grid { position: relative; }
.chapter + .chapter .chapter-grid::before { content: ""; position: absolute; top: -128px; left: 40px; right: 40px; height: 1px; background: var(--line); }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 104px; align-items: center; }
.chapter.flip .chapter-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.chapter.flip .vignette { order: -1; }
.chapter-label { display: flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--tone); }
.chapter-label span { font: 400 16px/1 var(--serif); letter-spacing: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tone-soft); border: 1px solid var(--tone-line); }
.chapter h2 { margin-top: 24px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; letter-spacing: -.02em; }
.chapter-text { margin-top: 24px; font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 44ch; }

.feature-list { display: grid; gap: 32px; margin-top: 56px; }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; }
.feature-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--tone); background: var(--tone-soft); border: 1px solid var(--tone-line); }
.feature-ico .ui-icon { width: 19px; height: 19px; }
.feature h3 { font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.feature p { margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 46ch; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.also span { width: 100%; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.also b { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- Vignettes ---------- */
.vignette figcaption { margin-top: 16px; font-size: 13px; color: var(--faint); }
.vg { border: 1px solid var(--line-strong); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.vg-bar { display: flex; align-items: center; gap: 10px; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.vg-bar > .ui-icon { width: 17px; height: 17px; color: var(--tone); }
.vg-bar .pill { margin-left: auto; }
.vg-body { display: grid; gap: 16px; padding: 24px; }
.vg-card, .brief, .message, .lesson, .outcomes { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); min-width: 0; }
.vg-label { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.vg-label .ui-icon { width: 14px; height: 14px; color: var(--tone); }
.fake-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--tone-line); background: var(--tone-soft); color: var(--tone); font-size: 13px; font-weight: 600; white-space: nowrap; }
.fake-btn .ui-icon { width: 14px; height: 14px; }

/* Plan: Today */
.tasks { padding: 4px 24px; }
.task { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding-block: 20px; border-top: 1px solid var(--line); }
.task:first-child { border-top: 0; }
.task .ph { width: 56px; height: 56px; border-radius: 13px; }
.task-copy b { display: block; font-size: 15.5px; font-weight: 600; }
.task-copy span { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.task-due { font-size: 13px; font-weight: 600; color: var(--faint); white-space: nowrap; }
.task.urgent .task-due { color: var(--attn); }
.vg-foot { display: flex; align-items: center; gap: 10px; padding: 18px 24px; border-top: 1px solid var(--line); background: var(--sunken); font-size: 13.5px; color: var(--muted); }
.vg-foot .ui-icon { width: 15px; height: 15px; color: var(--tone); }

/* Create: content studio */
.brief-title { display: block; margin-top: 8px; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.drafts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.draft { display: flex; flex-direction: column; padding-bottom: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); overflow: hidden; min-width: 0; }
.draft .ph { width: 100%; height: auto; aspect-ratio: 4 / 5; }
.draft-no { padding: 14px 16px 0; font-size: 12px; font-weight: 600; color: var(--faint); }
.draft b { padding: 3px 16px 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.draft-format { margin: 10px 16px 0; width: fit-content; padding: 3px 10px; border-radius: 999px; background: var(--tone-soft); color: var(--tone); font-size: 12px; font-weight: 600; }

/* Publish: queue and inbox */
.queue-state { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.queue-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.queue { display: grid; padding-inline: 2px; }
.q-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.q-row:first-child { border-top: 0; padding-top: 0; }
.q-row .ph { width: 52px; height: 52px; border-radius: 12px; }
.q-title { display: block; font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-meta { display: block; margin-top: 2px; font-size: 13.5px; color: var(--faint); }
.message-text { margin-top: 12px; font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.reply { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--tone-line); border-radius: 12px; background: var(--sunken); font-size: 14.5px; line-height: 1.6; }
.reply-label { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tone); }
.message .fake-btn { margin-top: 18px; }

/* Learn: weekly coach and outcomes */
.lesson p { margin-top: 12px; font-family: var(--serif); font-size: 28px; line-height: 1.2; }
.lesson em { color: var(--tone); }
.lesson-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.lesson-next small { display: block; margin-bottom: 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.stats span { font-size: 13.5px; color: var(--muted); }
.stats b { display: block; margin-bottom: 4px; font: 400 40px/1 var(--serif); color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- Promises ---------- */
.band { background: var(--surface); border-block: 1px solid var(--line); }
[data-theme="light"] .band { background: #fbf8f4; }
.promises-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 104px; align-items: start; }
.promises-head > p:not(.eyebrow) { margin-top: 24px; font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 30ch; }
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 56px; }
.promise { display: grid; align-content: start; gap: 14px; }
.promise-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--ok); background: var(--ok-bg); margin-bottom: 10px; }
.promise-ico .ui-icon { width: 21px; height: 21px; }
.promise h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; }
.promise p { font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding-right: 32px; }
.step::before { content: ""; position: absolute; top: 24px; left: 64px; right: 16px; height: 1px; background: linear-gradient(90deg, var(--accent-line), var(--line)); }
.step:last-child::before { display: none; }
.step-no { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-text); font: 400 21px/1 var(--serif); }
.step h3 { margin-top: 28px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.68; color: var(--muted); }
.where { display: block; margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.where .ui-icon { display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; }
.where b { font-weight: 600; color: var(--text); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px 104px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header) + 48px); }
.faq-aside > p:not(.eyebrow) { margin-top: 24px; font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 32ch; }
.faq-aside .text-link { margin-top: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 14.5px; font-weight: 600; color: var(--accent-text); }
.text-link .ui-icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.text-link:hover .ui-icon { transform: translateX(3px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; list-style: none; cursor: pointer;
  font-size: 18px; font-weight: 600; line-height: 1.45; transition: color .18s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-text); }
.qa-icon { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--muted); transition: background .2s, border-color .2s, color .2s; }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.6px; border-radius: 2px; background: currentColor; translate: -50% -50%; transition: rotate .25s var(--ease); }
.qa-icon::after { rotate: 90deg; }
.qa[open] .qa-icon { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.qa[open] .qa-icon::after { rotate: 0deg; }
.qa p { max-width: 62ch; padding: 0 56px 30px 0; font-size: 16px; line-height: 1.8; color: var(--muted); }

/* ---------- Closing ---------- */
.closing {
  display: grid; justify-items: center; text-align: center;
  padding: 104px 64px; border: 1px solid var(--accent-line); border-radius: 32px;
  background: radial-gradient(720px 380px at 50% 0%, rgba(232,115,74,.2), transparent 70%), var(--surface);
}
[data-theme="light"] .closing { background: radial-gradient(720px 380px at 50% 0%, #fde3d4, transparent 70%), #fff8f3; }
.closing .h2 { margin-top: 0; max-width: 16ch; }
.closing p { margin-top: 24px; font-size: 17.5px; line-height: 1.7; color: var(--muted); max-width: 42ch; }
.closing .hero-actions { justify-content: center; margin-top: 44px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 88px 44px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-about p { margin-top: 20px; max-width: 34ch; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.footer-col h2 { font-size: 11.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 14px; }
.footer-col a { font-size: 14.5px; color: var(--muted); transition: color .16s; }
.footer-col a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .board-wrap { animation: rise 1s .15s var(--ease) both; }
  .tile.new { animation: settle .7s var(--ease) both; animation-delay: calc(.55s + var(--i, 0) * .14s); }
  .meter i { animation: fill 1.1s 1s var(--ease) both; }
  .float { animation: rise .8s 1.25s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes fill { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  html:has(body.landing-page) { scroll-behavior: auto; }
  .landing-page .btn, .landing-page .qa-icon, .landing-page .qa-icon::before, .landing-page .qa-icon::after, .landing-page .stage, .landing-page .stage > .ui-icon { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .float { left: -12px; }
  .chapter-grid, .chapter.flip .chapter-grid { gap: 72px; }
  .closing { padding: 88px 56px; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 80px; }
  .hero-copy { max-width: 680px; }
  .board-wrap { max-width: 760px; margin-inline: auto; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-grid, .chapter.flip .chapter-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .chapter.flip .vignette { order: 0; }
  .chapter-copy { max-width: 680px; }
  .vignette { max-width: 680px; }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .promises-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
}
@media (max-width: 960px) {
  .section { padding-block: 112px; }
  .section.flush-top { padding-top: 0; }
  .chapter { padding-block: 104px; }
  .chapter + .chapter .chapter-grid::before { top: -104px; }
  .nav-links, .nav-actions .btn-quiet { display: none; }
  .menu-btn { display: flex; }
  .section-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 64px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .step:nth-child(2)::before { display: none; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .faq-aside { position: static; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (min-width: 961px) { .mobile-menu, .mobile-menu.open { display: none; } }
@media (max-width: 720px) {
  .landing-page .landing-theme-desktop { display: none; }
  .promises { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 640px) {
  .landing-page { --header: 64px; }
  .wrap { padding-inline: 20px; }
  .section { padding-block: 88px; }
  .section.flush-top { padding-top: 0; }
  .section-head { margin-bottom: 48px; }
  .hero { padding-block: 56px 88px; }
  .hero-grid { gap: 56px; }
  .lede { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .assurances { flex-direction: column; align-items: flex-start; margin-top: 72px; }
  .float { display: none; }
  .board-head { padding: 16px 18px; }
  .week { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px; }
  .day { flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 10px; }
  .day:not(:has(.tile)) { display: none; }
  .day-label { width: 40px; flex-shrink: 0; }
  .tile { flex: 1; display: flex; align-items: center; min-width: 0; }
  .tile-media { flex-shrink: 0; }
  .tile .ph { width: 52px; }
  .tile-meta { padding: 8px 14px; }
  .tile-name { font-size: 14px; -webkit-line-clamp: 1; }
  .board-foot { flex-wrap: wrap; padding: 16px 18px; }
  .board-foot .btn { width: 100%; }
  .stages { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .stage { padding: 24px; }
  .stage-name { margin-top: 18px; }
  .stage > .ui-icon { margin-top: 18px; }
  .chapter { padding-block: 80px; }
  .chapter + .chapter .chapter-grid::before { top: -80px; left: 20px; right: 20px; }
  .chapter-grid, .chapter.flip .chapter-grid { gap: 48px; }
  .feature-list { margin-top: 40px; gap: 28px; }
  .feature { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .feature-ico { width: 40px; height: 40px; }
  .also { margin-top: 36px; }
  .vg { border-radius: 20px; }
  .vg-bar { padding: 16px 18px; }
  .vg-bar .pill { display: none; }
  .vg-body { padding: 16px; }
  .vg-card, .brief, .message, .lesson, .outcomes { padding: 18px; }
  .tasks { padding: 0 18px; }
  .task { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .task .ph { width: 48px; height: 48px; }
  .task-due { grid-column: 2; margin-top: -8px; }
  .vg-foot { padding: 16px 18px; }
  .drafts { gap: 8px; }
  .draft { padding-bottom: 12px; border-radius: 12px; }
  .draft-no { padding: 10px 10px 0; font-size: 11px; }
  .draft b { padding: 2px 10px 0; font-size: 13px; }
  .draft-format { margin: 8px 10px 0; font-size: 11px; padding: 2px 8px; }
  .message-text { font-size: 21px; }
  .lesson p { font-size: 24px; }
  .stats b { font-size: 32px; }
  .promises-grid { gap: 48px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding-right: 0; }
  .step > :not(.step-no) { grid-column: 2; }
  .step h3 { margin-top: 10px; }
  .step::before, .step:nth-child(2)::before { display: block; top: 60px; bottom: -44px; left: 24px; right: auto; width: 1px; height: auto; background: var(--line-strong); }
  .step:last-child::before { display: none; }
  .step-no { grid-row: 1 / span 4; }
  .qa summary { font-size: 16.5px; padding-block: 22px; }
  .qa p { padding-right: 0; }
  .closing { padding: 64px 22px; border-radius: 24px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}
@media (max-width: 400px) {
  .nav { gap: 8px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 21px; }
  .nav-actions .btn { padding: 10px 12px; font-size: 13px; }
}
