/* Layout: one centred reading column (max 1120px) with full-bleed ink bands for the hero and calls to action.
   Identity comes from the SlideLesson decks: ink, indigo, teal, yellow, coral. */
:root {
  --ink: #23254F;          /* deck background ink, headings */
  --indigo: #3B3FB6;       /* chips, links */
  --teal: #1FA99A;         /* answers, success, primary buttons */
  --yellow: #FFC93C;       /* think-time, highlights */
  --coral: #FF6B5B;        /* solution chip, small accents */
  --bg: #F7F8FD;           /* page ground: off-white with an indigo bias */
  --surface: #FFFFFF;
  --tint: #EEF0FF;
  --fg: #23254F;
  --muted: #5D6088;
  --line: #D5D7EE;
  --band: #23254F;         /* dark bands stay dark in both themes */
  --band-fg: #FFFFFF;
  --band-muted: #CFD1F5;
  --btn-fg: #23254F;
  --link: #3B3FB6;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Lexend", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14152E; --surface: #1D1F42; --tint: #25285A; --fg: #ECEDFB; --muted: #A9ACD6;
    --line: #34376B; --band: #0E0F24; --band-fg: #FFFFFF; --band-muted: #B9BCEB; --link: #9EA2FF;
    --indigo: #7D82F5; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14152E; --surface: #1D1F42; --tint: #25285A; --fg: #ECEDFB; --muted: #A9ACD6;
  --line: #34376B; --band: #0E0F24; --band-fg: #FFFFFF; --band-muted: #B9BCEB; --link: #9EA2FF;
  --indigo: #7D82F5; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; font-weight: 350; }
img, video { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.prose { max-width: 68ch; display: grid; gap: 14px; }
.prose h2 { font-size: 1.5rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.band .eyebrow { color: var(--yellow); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--band); color: var(--band-fg); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--band-fg); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.45rem; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--yellow); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 12px solid var(--band); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.brand b { color: var(--yellow); font-weight: 700; }
.nav { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a { color: var(--band-muted); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--band-fg); }
.nav .btn { color: var(--btn-fg); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; }
.btn-yellow { background: var(--yellow); color: #23254F; }
.btn-teal { background: var(--teal); color: #FFFFFF; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn:hover { filter: brightness(1.06); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* bands */
.band { background: var(--band); color: var(--band-fg); }
.band .muted { color: var(--band-muted); }
section { padding-block: 64px; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 70ch; }

/* hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px; align-items: center; padding-block: 56px 64px; }
.hero p.lede { font-size: 1.12rem; color: var(--band-muted); max-width: 46ch; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-facts { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: var(--band-muted); }
.hero-facts strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--band-fg); line-height: 1.1; }

/* click-through slide demo */
.player { display: grid; gap: 12px; min-width: 0; }
.screen { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 0 0 10px #3B3FB6, 0 24px 60px rgba(0,0,0,.35); }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.screen img.on { opacity: 1; }
.controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.controls .btn { padding: 9px 18px; }
.steps { display: flex; gap: 6px; flex: 1; min-width: 120px; }
.steps i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); }
.steps i.done { background: var(--yellow); }
.step-label { font-size: .88rem; color: var(--band-muted); min-width: 0; }

/* flow (a real sequence, so numbered) */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: flow; }
.flow li { list-style: none; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 4px solid var(--c); }
.flow li::before { counter-increment: flow; content: counter(flow); font-family: var(--display); font-weight: 700; font-size: 1.1rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #23254F; }
.flow { padding: 0; margin: 0; }

/* class cards */
.classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.class-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.class-card:hover { border-color: var(--indigo); }
.class-card .big { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--indigo); }
.class-card .stats { display: flex; gap: 16px; font-size: .9rem; color: var(--muted); }
.class-card .go { font-weight: 600; color: var(--link); }
.soon { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 20px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.pill-yellow { background: var(--yellow); color: #23254F; }
.pill-teal { background: var(--teal); color: #FFFFFF; }
.pill-coral { background: var(--coral); color: #FFFFFF; }

/* video */
.video-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.video-grid video { width: 100%; border-radius: 12px; background: #000; aspect-ratio: 16 / 9; }
.video-copy { display: grid; gap: 14px; min-width: 0; }
.checks { margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { list-style: none; padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 5px; height: 9px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; grid-template-rows: auto auto auto 1fr auto; }
.plan.feature { border: 2px solid var(--teal); }
.plan .price { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .per { font-size: .9rem; color: var(--muted); }
.plan ul { margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.plan li { list-style: none; padding-left: 22px; position: relative; font-size: .95rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--teal); }
.note { font-size: .9rem; color: var(--muted); margin-top: 18px; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding-block: 14px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--indigo); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* chapter table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); }
th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--tint); }
tr:last-child td { border-bottom: 0; }
td.n { font-variant-numeric: tabular-nums; color: var(--muted); width: 4.5em; }
td.q { font-variant-numeric: tabular-nums; text-align: right; width: 7em; }
th.q { text-align: right; }

/* class page */
.class-hero .wrap { padding-block: 48px 56px; display: grid; gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; position: sticky; top: 90px; }
.side-card .price { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1.1; }
.dl { display: grid; gap: 10px; }
.dl a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 10px; background: var(--tint); color: var(--fg); text-decoration: none; font-weight: 500; }
.dl a span { color: var(--muted); font-size: .85rem; font-weight: 400; }

/* forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); width: 100%; }
.contact-box { display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--tint); }
.contact-box .num-big { font-family: var(--display); font-size: 1.7rem; font-weight: 700; user-select: all; }
.copy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.status { font-size: .9rem; color: var(--teal); min-height: 1.4em; }

/* cta band */
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { max-width: 22ch; }

/* footer */
.site-foot { background: var(--band); color: var(--band-muted); font-size: .9rem; }
.site-foot .wrap { padding-block: 40px; display: grid; gap: 22px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot-cols h3 { color: var(--band-fg); font-size: 1rem; font-family: var(--body); font-weight: 600; margin-bottom: 8px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--band-muted); }
.site-foot a:hover { color: var(--band-fg); }
.disclaimer { border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; font-size: .82rem; }

@media (max-width: 900px) {
  .hero .wrap, .video-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .classes, .plans { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .side-card { position: static; }
  section { padding-block: 48px; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .nav { margin-left: 0; }
  .wrap { padding-inline: 16px; }
}

.price .was { font-size: .5em; font-weight: 600; color: var(--muted); text-decoration-thickness: 2px; margin-left: 6px; }
.launch { color: var(--teal, #0E8C7F); font-weight: 600; }
