/* School of AI: page styles on top of the scrollcraft floor. Tokens first. */
:root {
  --sc-canvas: #050a18;
  --sc-surface: #0b1224;
  --sc-ink: #f1f5f9;
  --sc-ink-soft: #94a3b8;
  --sc-accent: #3b82f6;
  --sc-accent-ink: #050a18;
  --sc-font-display: "Syne", system-ui, sans-serif;
  --sc-font-text: "DM Sans", system-ui, sans-serif;
  --sc-font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --sc-shadow-color: 222 60% 3%;
  --ink-mid: #cbd5e1;
  --ink-dim: #64748b;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.14);
  --blue-soft: rgba(59,130,246,.08);
  --glass: rgba(5,10,24,.8);
  --bar: rgba(5,10,24,.82);
  --r: 16px; --r-sm: 12px;
  color-scheme: dark;
}
/* Light mode. Same one accent, two lightnesses (accent darkened so small type
   clears 4.5:1 on white). Stages keep their own dark ink because the media in
   them is dark in either theme. */
:root[data-theme="light"] {
  --sc-canvas: #f4f6fb;
  --sc-surface: #ffffff;
  --sc-ink: #0b1224;
  --sc-ink-soft: #46546b;
  --sc-accent: #2563eb;
  --sc-accent-ink: #ffffff;
  --ink-mid: #1f2937;
  --ink-dim: #5b6779;
  --line: rgba(11,18,36,.1);
  --line-strong: rgba(11,18,36,.16);
  --blue-soft: rgba(37,99,235,.08);
  --glass: rgba(255,255,255,.86);
  --bar: rgba(244,246,251,.86);
  --sc-shadow-color: 222 40% 30%;
  color-scheme: light;
}
:root[data-theme="light"] .sc-grain { opacity: .03; }
:root[data-theme="light"] .btn--primary { color: #fff; }
:root[data-theme="light"] .hero__stage .btn--primary, :root[data-theme="light"] .close__stage .btn--primary { color: #050a18; }
:root[data-theme="light"] .btn--primary:hover { background: #1d4ed8; }
:root[data-theme="light"] .ticker--a { color: #fff; }
:root[data-theme="light"] .hero__grid { background-image: linear-gradient(rgba(11,18,36,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,18,36,.06) 1px, transparent 1px); }
/* Any pinned stage with media stays dark-inked in both themes. */
.hero__stage, .story__stage, .truth:not(.truth--flow) .truth__stage, .who:not(.who--flow) .who__stage, .close__stage {
  --sc-ink: #f1f5f9; --sc-ink-soft: #94a3b8; --ink-mid: #cbd5e1; --ink-dim: #64748b;
  --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.14); --glass: rgba(5,10,24,.8); --sc-accent: #3b82f6; --sc-accent-ink: #050a18;
  color: var(--sc-ink);
}
:root[data-theme="light"] .truth--flow .truth__scrim, :root[data-theme="light"] .who--flow .who__scrim { display: none; }
/* theme toggle */
.theme { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--sc-ink); cursor: pointer; padding: 0; transition: border-color .18s, background .18s; }
.theme:hover { border-color: var(--sc-accent); background: var(--blue-soft); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme .ico-sun { display: none; }
:root[data-theme="light"] .theme .ico-sun { display: block; }
:root[data-theme="light"] .theme .ico-moon { display: none; }
html { scroll-padding-top: 72px; }
body { background: var(--sc-canvas); }
@media (pointer:fine) { body.has-cursor, body.has-cursor * { cursor: none !important; } }
::selection { background: var(--sc-accent); color: var(--sc-accent-ink); }

/* ---------- type ---------- */
.h2 { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.03em; line-height: 1; margin: 0; text-wrap: balance; }
.h2--md { font-size: clamp(32px, 4.2vw, 52px); }
.h3 { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.body { color: var(--sc-ink-soft); font-size: 16px; line-height: 1.6; margin: 0; max-width: 62ch; text-wrap: pretty; }
.body--lg { font-size: 17px; line-height: 1.55; }
.body--sm { font-size: 14px; line-height: 1.55; }
.body strong { color: var(--sc-ink); }
.body .accent { color: var(--sc-accent); }
.fine { color: var(--ink-dim); font-size: 13px; margin: 0; }
.eyebrow { font-family: var(--sc-font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sc-accent); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--soft { color: var(--sc-ink-soft); }
.eyebrow--xs { font-size: 11px; letter-spacing: .1em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sc-accent); animation: pulseDot 2s ease-out infinite; }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(59,130,246,.6) } 70% { box-shadow: 0 0 0 12px rgba(59,130,246,0) } }
.link-soft { color: var(--sc-ink-soft); font-size: 14px; padding: 12px 4px; text-decoration: none; }
.link-soft:hover { color: var(--sc-ink); }
a { text-decoration: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 900px; }
.sec { padding-block: clamp(72px, 9vw, 112px); position: relative; background: var(--sc-canvas); }
.sec--tight { padding-block: 0 64px; }
.sec--surface { background: var(--sc-surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack > * + * { margin-top: 14px; }
.stack-lg > * + * { margin-top: 48px; }
.sec__head { max-width: 720px; margin-bottom: 40px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.split--top { align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip, .chips--soft span, .chips--mono span { display: inline-block; border: 1px solid var(--line-strong); color: var(--sc-ink); font-size: 13px; padding: 8px 14px; border-radius: 999px; transition: border-color .18s, color .18s; }
.chip:hover { border-color: var(--sc-accent); color: var(--sc-accent); }
.chips--soft span { color: var(--ink-mid); border-color: var(--line-strong); padding: 6px 12px; }
.chips--mono span { font-family: var(--sc-font-mono); font-size: 12px; color: var(--sc-ink-soft); background: var(--sc-surface); border: 1px solid var(--line); padding: 6px 10px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; font-size: 16px; padding: 16px 26px; white-space: nowrap; transition: background .16s, color .16s, border-color .16s, box-shadow .3s; will-change: transform; }
.btn--primary { background: var(--sc-accent); color: var(--sc-accent-ink); }
.btn--primary:hover { background: #60a5fa; box-shadow: 0 12px 40px rgba(59,130,246,.35); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--sc-ink); font-weight: 500; }
.btn--ghost:hover { border-color: var(--sc-accent); background: var(--blue-soft); }
.btn--ink { background: var(--sc-ink); color: var(--sc-canvas); }
.btn--ink:hover { background: var(--sc-accent); color: var(--sc-accent-ink); }
.hero__stage .btn--ink, .close__stage .btn--ink { background: #f1f5f9; color: #050a18; }
.hero__stage .btn--ink:hover, .close__stage .btn--ink:hover { background: #3b82f6; color: #050a18; }
.close__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn--sm { font-size: 14px; padding: 10px 16px; }
.btn--lg { font-size: 17px; padding: 18px 32px; }
.btn:active { transform: translateY(1px) scale(.985); }

/* ---------- nav ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar__mark { font-family: var(--sc-font-display); font-weight: 800; font-size: 20px; color: var(--sc-ink); letter-spacing: -.02em; }
.bar__mark span { color: var(--sc-accent); }
.bar__links { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.bar__links a[data-ul] { color: var(--sc-ink-soft); font-size: 14px; font-weight: 500; position: relative; transition: color .2s; }
.bar__links a[data-ul]:hover { color: var(--sc-ink); }
.bar__links a[data-ul]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--sc-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--sc-ease-out); }
.bar__links a[data-ul]:hover::after { transform: scaleX(1); }
[data-sc-progress] { z-index: 61; box-shadow: 0 0 12px var(--sc-accent); }
@media (max-width: 720px) { .bar__links a[data-ul] { display: none; } }
@media (max-width: 480px) { .bar__links .btn--ink { display: none; } }

/* ---------- level rail (signature) ---------- */
.lvl { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 55; display: grid; grid-template-columns: auto 3px; gap: 0 12px; align-items: stretch; pointer-events: none; }
.lvl__track { grid-column: 2; grid-row: 1; }
.lvl__list { grid-column: 1; grid-row: 1; }
.lvl__track { position: relative; width: 3px; background: var(--line-strong); border-radius: 3px; overflow: hidden; }
.lvl__fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--sc-accent); transform-origin: 50% 0; transform: scaleY(var(--xp, 0)); box-shadow: 0 0 10px var(--sc-accent); }
.lvl__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; height: 220px; }
.lvl__notch a { pointer-events: auto; display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: center; gap: 8px; color: var(--ink-dim); font-family: var(--sc-font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.lvl__notch b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); font-weight: 600; font-size: 9px; color: var(--ink-dim); background: var(--sc-surface); transition: background .25s, color .25s, border-color .25s, transform .25s var(--sc-ease-out); }
.lvl__notch span { opacity: 0; transform: translateX(4px); white-space: nowrap; transition: opacity .2s, transform .2s var(--sc-ease-out); }
.lvl:hover .lvl__notch span { opacity: 1; transform: none; }
.lvl__notch.is-done b { background: var(--sc-accent); color: var(--sc-accent-ink); border-color: var(--sc-accent); }
.lvl__notch.is-done a { color: var(--sc-ink-soft); }
.lvl__notch.is-now b { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(59,130,246,.18); }
.lvl__notch.is-now a { color: var(--sc-ink); }
.lvl__notch.is-elite b { animation: elite .9s var(--sc-ease-out) 1; }
@keyframes elite { 0% { box-shadow: 0 0 0 0 rgba(59,130,246,.7) } 100% { box-shadow: 0 0 0 26px rgba(59,130,246,0) } }
.lvl__now { grid-column: 1 / -1; margin-top: 14px; align-items: flex-end; text-align: right; font-family: var(--sc-font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); display: flex; flex-direction: column; gap: 2px; }
.lvl__now strong { color: var(--sc-accent); font-size: 11px; }
@media (max-width: 860px) {
  .lvl { right: 0; left: 0; top: auto; bottom: 0; transform: none; grid-template-columns: 1fr; gap: 0; padding: 0 12px calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bar), transparent); }
  .lvl__track { width: 100%; height: 3px; }
  .lvl__fill { transform-origin: 0 50%; transform: scaleX(var(--xp, 0)); height: 100%; }
  .lvl__list { flex-direction: row; height: auto; padding-top: 8px; }
  .lvl__notch span { display: none; }
  .lvl__notch.is-now span { display: inline; opacity: 1; }
  .lvl__now { display: none; }
}

/* ---------- hero ---------- */
.hero__stage { background: var(--sc-canvas); }
.hero__grid { position: absolute; inset: -140px -30% -80px; pointer-events: none; z-index: 2;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
  animation: gridMove 6s linear infinite; }
@keyframes gridMove { to { background-position: 0 64px } }
.hero__orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 2; filter: blur(30px); }
.hero__orb--a { left: -10%; top: -20%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(59,130,246,.28), transparent 65%); animation: floatY 11s ease-in-out infinite; }
.hero__orb--b { right: -5%; bottom: -10%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(59,130,246,.14), transparent 65%); animation: floatY 14s ease-in-out -5s infinite reverse; }
@keyframes floatY { 0%,100% { translate: 0 0; scale: 1 } 50% { translate: 30px -40px; scale: 1.08 } }
.hero__scrim { z-index: 3; background: linear-gradient(to right, rgba(5,10,24,.96) 0%, rgba(5,10,24,.88) 30%, rgba(5,10,24,.55) 46%, rgba(5,10,24,.12) 60%, transparent 72%), linear-gradient(to top, rgba(5,10,24,.9) 0%, rgba(5,10,24,.4) 30%, transparent 55%); }
.hero__haze { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 70%; z-index: 4; pointer-events: none;
  background: radial-gradient(60% 70% at 40% 100%, rgba(59,130,246,.22), transparent 70%); filter: blur(24px); }
.hero__copy { position: absolute; z-index: 20; left: 24px; right: 24px; bottom: clamp(4rem, 12vh, 8rem); max-width: 620px; display: flex; flex-direction: column; gap: 22px; }
.hero__h1 { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(44px, 5.4vw, 76px); line-height: .98; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.hero__h1 .accent, .close__h2 .accent, .billion .accent { color: var(--sc-accent); }
.hero__lede { font-size: 19px; line-height: 1.5; color: var(--ink-mid); max-width: 560px; margin: 0; }
.hero__lede strong { color: var(--sc-ink); }
.hero__more { display: flex; flex-direction: column; gap: 16px; }
.hero__p { font-size: 16px; line-height: 1.5; color: var(--sc-ink-soft); max-width: 560px; margin: 0; }
.hero__p strong { color: var(--sc-ink); }
.hero__p--rule { border-left: 2px solid var(--sc-accent); padding-left: 14px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__card { position: absolute; z-index: 21; right: 92px; top: 50%; translate: 0 -50%; width: min(46vw, 640px); opacity: 1; }
.hero__cardwrap { display: flex; flex-direction: column; gap: 12px; }
.hero__frame, .vcard__frame, .projector__frame { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #0d152b; border: 1px solid rgba(59,130,246,.25); box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 80px rgba(59,130,246,.12); }
.hero__frame img, .vcard__frame img, .hero__frame iframe, .vcard__frame iframe, .projector__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.5)); border: 0; cursor: pointer; padding: 0; }
.play span { width: 72px; height: 72px; border-radius: 50%; background: var(--sc-accent); display: flex; align-items: center; justify-content: center; color: var(--sc-accent-ink); font-size: 26px; padding-left: 5px; box-shadow: 0 0 0 12px rgba(59,130,246,.2); transition: transform .18s var(--sc-ease-out); }
.play:hover span { transform: scale(1.06); }
.play--sm span { width: 52px; height: 52px; font-size: 18px; padding-left: 4px; box-shadow: none; }
.hero__cardmeta { display: flex; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; font-size: 13px; background: #0b1224; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.hero-tail .hero__cardmeta { background: none; border: 0; padding: 0; }
.hero__cardmeta a { color: var(--ink-mid); font-weight: 500; background: #0b1224; }
.hero__cardmeta a.soft { color: var(--sc-ink-soft); white-space: nowrap; font-weight: 400; }
.hero__cardmeta a:hover { color: var(--sc-ink); }
.hero-tail { background: var(--sc-canvas); color: var(--sc-ink); padding: 32px 24px 8px; max-width: 1200px; margin: 0 auto; }
.hero-tail .hero__more { margin-bottom: 20px; }
.hero-tail .hero__cardwrap { max-width: 640px; }
@media (max-width: 1100px) { .hero__card { width: 40vw; } .hero__copy { max-width: 50vw; } }
@media (max-width: 860px) {
  .hero__copy { max-width: none; bottom: clamp(5rem, 14vh, 8rem); gap: 16px; }
  .hero__h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .hero__lede { font-size: 16px; }
  .hero__scrim { background: linear-gradient(to top, rgba(5,10,24,.98) 0%, rgba(5,10,24,.94) 42%, rgba(5,10,24,.7) 60%, rgba(5,10,24,.25) 74%, transparent 86%); }
  .hero__more { display: none; } /* moved into .hero-tail by site.js */
  .hero__card { display: none; }
}
.hero-tail .hero__more { display: flex; }
.hero-tail .hero__card { display: block; position: static; translate: none; width: auto; max-width: 640px; opacity: 1 !important; transform: none !important; }

/* ---------- stats / press / tickers ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; background: var(--sc-surface); }
.stats--bare { border: 0; border-radius: 0; background: none; gap: 14px; overflow: visible; }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: background .3s; }
.stat:last-child { border-right: 0; }
.stats:not(.stats--bare) .stat:hover { background: rgba(59,130,246,.06); }
.stats--bare .stat { padding: 20px 0; border-right: 0; border-top: 1px solid var(--line-strong); }
.stat__value { font-family: var(--sc-font-display); font-weight: 800; font-size: 40px; color: var(--sc-accent); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__value--ink { color: var(--sc-ink); }
.stat__value--sm { font-size: 30px; }
.stat__label { font-family: var(--sc-font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.press { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.press span { font-family: var(--sc-font-display); font-weight: 700; font-size: 20px; color: var(--ink-dim); letter-spacing: -.01em; transition: color .3s, transform .3s; display: inline-block; }
.press span:hover { color: var(--sc-ink); transform: translateY(-2px); }
.ticker { overflow: hidden; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticker--a { border-top: 1px solid var(--line); background: var(--sc-accent); color: var(--sc-accent-ink); }
.ticker--b { color: var(--ink-dim); background: var(--sc-canvas); }
.ticker__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ticker--b .ticker__track { animation-name: marqueeR; }
.ticker__track span { display: inline-flex; align-items: center; gap: 20px; padding-right: 20px; font-family: var(--sc-font-mono); font-size: 13px; letter-spacing: .12em; font-weight: 500; white-space: nowrap; }
.ticker__track i { font-style: normal; opacity: .5; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes marqueeR { from { transform: translateX(-50%) } to { transform: translateX(0) } }

/* ---------- disciplines ---------- */
.disc { display: flex; flex-direction: column; gap: 40px; }
.disc .sec__head { margin-bottom: 0; }
.disc__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.disc__tab { text-align: left; cursor: pointer; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--sc-surface); color: var(--sc-ink); display: flex; flex-direction: column; gap: 6px; font-family: var(--sc-font-text); transition: border-color .3s, transform .35s var(--sc-ease-out), background .3s; }
.disc__tab:hover { transform: translateY(-3px); }
.disc__tab h3 { font-family: var(--sc-font-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; margin: 0; }
.disc__tab span { font-size: 14px; color: var(--sc-ink-soft); }
.disc__tab[aria-selected="true"] { border-color: var(--sc-accent); background: var(--blue-soft); }
.disc__tab[aria-selected="true"] h3 { color: var(--sc-accent); }
.disc__panel { display: flex; flex-direction: column; gap: 48px; }
.disc__intro { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.disc__headline { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
.disc__body { color: var(--sc-ink-soft); font-size: 16px; line-height: 1.55; margin: 0; }
.disc__groups { display: flex; flex-direction: column; gap: 48px; }
.group { display: flex; flex-direction: column; gap: 18px; }
.group__name { font-family: var(--sc-font-display); font-weight: 700; font-size: 18px; margin: 0; display: flex; align-items: center; gap: 12px; }
.group__name span { width: 28px; height: 1px; background: var(--sc-accent); }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.course, .level, .result, .persona, .doc, .product, .post, .truth__col { background: var(--sc-surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; transition: border-color .3s, box-shadow .45s; box-shadow: var(--sc-edge); }
.course:hover, .level:hover, .result:hover, .persona:hover, .doc:hover, .product:hover, .post:hover, .truth__col:hover { border-color: rgba(59,130,246,.55); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.course__tag { align-self: flex-start; font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-accent); background: rgba(59,130,246,.1); padding: 4px 8px; border-radius: 4px; }
.course__title { font-family: var(--sc-font-display); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.course__desc { color: var(--sc-ink-soft); font-size: 14px; line-height: 1.5; flex: 1; margin: 0; }
.course__earn { font-size: 13px; font-weight: 600; color: var(--sc-ink); border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- media grounds shared by the truth / who / close stages ---------- */
.truth__media, .who__media, .close__media { position: absolute; inset: 0; z-index: 0; }
.truth__scrim, .who__scrim, .close__scrim { z-index: 1; }
.truth__scrim { background: linear-gradient(to bottom, rgba(5,10,24,.92) 0%, rgba(5,10,24,.7) 26%, rgba(5,10,24,.45) 50%, rgba(5,10,24,.7) 78%, rgba(5,10,24,.9) 100%); }
.who__scrim { background: linear-gradient(to right, rgba(5,10,24,.94) 0%, rgba(5,10,24,.8) 38%, rgba(5,10,24,.45) 60%, rgba(5,10,24,.25) 100%), linear-gradient(to bottom, rgba(5,10,24,.8) 0%, transparent 30%, transparent 70%, rgba(5,10,24,.85) 100%); }
.close__scrim { background: radial-gradient(70% 62% at 50% 45%, rgba(5,10,24,.9) 0%, rgba(5,10,24,.7) 55%, rgba(5,10,24,.28) 100%), linear-gradient(to top, rgba(5,10,24,.96) 0%, rgba(5,10,24,.5) 22%, transparent 40%); }
@media (max-width: 860px) { .close__scrim { background: radial-gradient(90% 70% at 50% 45%, rgba(5,10,24,.92) 0%, rgba(5,10,24,.8) 55%, rgba(5,10,24,.5) 100%), linear-gradient(to top, rgba(5,10,24,.98) 0%, rgba(5,10,24,.6) 26%, transparent 46%); } }
.truth--flow .truth__media, .who--flow .who__media { display: none; }

/* ---------- hard truth (scrub) ---------- */
.truth { background: var(--sc-surface); }
.truth__stage { background: var(--sc-surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.truth__inner { position: relative; z-index: 2; }
.truth__inner { display: flex; flex-direction: column; gap: 32px; padding-top: 72px; padding-bottom: 24px; width: 100%; }
.truth__head { position: relative; }
.truth__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; position: relative; }
.truth__col { padding: 32px; gap: 20px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.truth__col--truths { border-color: rgba(59,130,246,.4); background: linear-gradient(180deg, rgba(59,130,246,.12), rgba(5,10,24,.82) 40%); }
.truth__col h3 { font-family: var(--sc-font-display); font-weight: 700; font-size: 20px; margin: 0; color: var(--sc-ink-soft); }
.truth__col--truths h3 { color: var(--sc-accent); }
.truth__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.truth__col li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--sc-ink-soft); transition: color .35s, opacity .35s; }
.truth__col li .mark { color: #475569; }
.truth__col--truths li { color: var(--sc-ink); }
.truth__col--truths li .mark { color: var(--sc-accent); }
.truth__col--lies li .txt { position: relative; }
.truth__col--lies li .txt::after { content: ''; position: absolute; left: 0; right: 0; top: 55%; height: 1.5px; background: var(--sc-accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--sc-ease-out); }
.truth__col--lies li.is-struck { color: #475569; }
.truth__col--lies li.is-struck .txt::after { transform: scaleX(1); }
.truth__col--truths li { opacity: .38; }
.truth__col--truths li.is-lit { opacity: 1; }
.truth__col--truths li.is-lit .mark { text-shadow: 0 0 12px rgba(59,130,246,.8); }
.truth__quote { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(22px, 2.5vw, 30px); text-align: center; color: var(--sc-ink); letter-spacing: -.02em; margin: 0; position: relative; }
@media (max-width: 860px) {
  .truth__inner { gap: 20px; padding-top: 88px; }
  .truth__col { padding: 20px; gap: 12px; }
  .truth__col li { font-size: 13.5px; gap: 8px; }
  .truth__col h3 { font-size: 16px; }
}

/* ---------- levels ---------- */
.levels__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.levels__cell { will-change: clip-path; }
.level { padding: 28px 24px; gap: 14px; overflow: hidden; height: 100%; }
.level__num { position: absolute; right: 16px; top: 8px; font-family: var(--sc-font-display); font-weight: 800; font-size: 96px; line-height: 1; color: var(--line); transition: color .5s; }
.level.is-reached .level__num { color: rgba(59,130,246,.16); }
.level__kicker { font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sc-ink-soft); }
.level__name { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(20px, 2vw, 28px); color: var(--sc-accent); margin: 0; overflow-wrap: anywhere; }
.level__desc { color: var(--sc-ink-soft); font-size: 14px; line-height: 1.55; flex: 1; margin: 0; }
.level__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.level__tag { font-size: 12px; font-weight: 600; color: var(--sc-ink); border: 1px solid var(--line-strong); padding: 4px 10px; border-radius: 999px; }
.level__price { font-family: var(--sc-font-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--sc-ink); }
.levels__note { color: var(--sc-ink-soft); font-size: 16px; text-align: center; margin: 40px 0 0; }
.levels__note strong { color: var(--sc-ink); font-weight: 600; }

/* ---------- story (peak scrub) ---------- */
.story__stage { background: var(--sc-canvas); }
.story__scrim { z-index: 1; background: linear-gradient(to top, rgba(5,10,24,.96) 0%, rgba(5,10,24,.78) 24%, rgba(5,10,24,.34) 48%, transparent 66%); }
.story__head { position: absolute; z-index: 20; left: 24px; right: 24px; bottom: clamp(3rem, 11vh, 7rem); max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.story__years { position: absolute; z-index: 20; list-style: none; margin: 0; padding: 0; right: 92px; bottom: clamp(3rem, 11vh, 7rem); width: min(44vw, 520px); }
.year { position: absolute; right: 0; bottom: 0; width: 100%; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--sc-e3); }
.year__y { display: flex; align-items: center; gap: 10px; font-family: var(--sc-font-mono); font-size: 12px; letter-spacing: .08em; color: var(--sc-accent); }
.year__y i { width: 6px; height: 6px; border-radius: 50%; background: var(--sc-accent); }
.year__t { font-family: var(--sc-font-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; line-height: 1.2; margin: 0; }
.year__d { color: var(--sc-ink-soft); font-size: 14px; line-height: 1.55; margin: 0; }
@media (max-width: 1100px) { .story__head { max-width: 46vw; } }
@media (max-width: 860px) {
  .story__head { bottom: auto; top: 88px; max-width: none; gap: 10px; }
  .story__head .h2 { font-size: clamp(34px, 9vw, 44px); }
  .story__head .body { font-size: 14px; }
  .story__scrim { background: linear-gradient(to bottom, rgba(5,10,24,.9) 0%, rgba(5,10,24,.5) 30%, transparent 46%, transparent 58%, rgba(5,10,24,.6) 74%, rgba(5,10,24,.96) 100%); }
  .story__years { right: 16px; left: 16px; width: auto; bottom: 72px; }
  .year { padding: 16px; }
  .year__t { font-size: 17px; }
  .year__d { font-size: 13px; }
}
.quote { margin: 0; border-left: 3px solid var(--sc-accent); padding: 8px 0 8px 24px; display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.quote p { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.quote .quote__by { font-family: var(--sc-font-text); font-weight: 400; color: var(--sc-ink-soft); font-size: 14px; }
.doc { border-color: rgba(59,130,246,.35); padding: 32px; background: linear-gradient(135deg, rgba(59,130,246,.1), var(--sc-surface) 60%); gap: 10px; }
.doc .body { max-width: 760px; color: var(--ink-mid); font-size: 15px; }

/* ---------- founder ---------- */
.founder__pull { font-family: var(--sc-font-display); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--ink-mid); margin: 0; }
.founder .body { font-size: 15px; }
.founder__side > * + * { margin-top: 14px; }
.portrait { position: relative; }
.portrait__net { position: absolute; inset: -12% -16%; z-index: 0; pointer-events: none; border-radius: 30px;
  background-image: radial-gradient(rgba(59,130,246,.55) 1px, transparent 1.6px), linear-gradient(rgba(59,130,246,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,.09) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px, 46px 46px; mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 72%); }
.portrait__fig { margin: 0; position: relative; z-index: 1; }
.portrait__frame { aspect-ratio: 4/5; border-radius: var(--r); border: 1px solid rgba(59,130,246,.3); position: relative; overflow: hidden; background: var(--sc-surface); box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 80px rgba(59,130,246,.1); }
.portrait__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,10,24,.85)); pointer-events: none; }
.portrait__cap { position: absolute; left: 20px; bottom: 20px; font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sc-accent); }
.founder__wish { color: var(--ink-mid); font-size: 15px; font-style: italic; margin: 0; }
.product { padding: 20px 22px; gap: 6px; }

/* ---------- media rail (pan) ---------- */
.media { background: var(--sc-surface); }
.media__stage { background: var(--sc-surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.rail { display: flex; gap: 32px; align-items: stretch; padding: 96px 24px 96px; }
.rail__lead { flex: 0 0 auto; width: min(560px, 78vw); display: flex; flex-direction: column; justify-content: center; }
.rail__item { flex: 0 0 auto; width: min(400px, 80vw); display: flex; flex-direction: column; justify-content: center; }
.rail__news { flex: 0 0 auto; width: min(520px, 80vw); display: flex; flex-direction: column; justify-content: center; padding-right: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .rail__item, .rail__news { opacity: calc(0.55 + 0.45 * clamp(0, (var(--sc-p, 0) * 10 - var(--i, 1) + 1.2), 1)); transform: translateY(calc((1 - clamp(0, (var(--sc-p, 0) * 10 - var(--i, 1) + 1.2), 1)) * 18px)); }
}
.news { display: flex; flex-wrap: wrap; gap: 10px; }
.news a { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line-strong); background: var(--sc-canvas); padding: 10px 16px; border-radius: 999px; color: var(--sc-ink); font-size: 14px; transition: border-color .18s, color .18s; }
.news a span { color: var(--ink-dim); }
.news a:hover { border-color: var(--sc-accent); color: var(--sc-accent); }
@media (prefers-reduced-motion: reduce) { .rail { padding-top: 88px; } }

/* ---------- video cards / grid ---------- */
.vcard { display: flex; flex-direction: column; gap: 12px; }
.vcard__frame { border-radius: var(--r-sm); border: 1px solid var(--line-strong); box-shadow: none; transition: border-color .3s, box-shadow .45s; }
.vcard__frame:hover { border-color: rgba(59,130,246,.6); box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 60px rgba(59,130,246,.15); }
.vcard__kicker { font-family: var(--sc-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sc-accent); }
.vcard__title { font-family: var(--sc-font-display); font-weight: 700; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.vcard__title a { color: var(--sc-ink); } .vcard__title a:hover { color: var(--sc-accent); }
.vcard__desc { color: var(--sc-ink-soft); font-size: 14px; line-height: 1.5; margin: 0; }
.vcard__meta { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--sc-ink-soft); }
.vcard__meta a { color: var(--ink-dim); } .vcard__meta a:hover { color: var(--sc-ink); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

/* ---------- demos (projector pin) ---------- */
.demos { background: var(--sc-surface); }
.demos__stage { background: var(--sc-surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.demos__inner { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; grid-template-rows: auto 1fr; gap: 20px 28px; padding-top: 84px; padding-bottom: 28px; width: 100%; max-height: 100svh; }
.demos__head { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 6px 40px; align-items: end; }
.demos__head .eyebrow { grid-column: 1 / -1; }
.demos__head .body { font-size: 15px; line-height: 1.5; margin: 0 0 6px; }
.demos__body { display: contents; }
.channels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.channel { padding: 8px 12px; border-radius: 10px; border: 1px solid transparent; display: flex; flex-direction: column; gap: 3px; opacity: .62; transition: opacity .3s, border-color .3s, background .3s; }
.channel.is-active { opacity: 1; border-color: rgba(59,130,246,.4); background: var(--blue-soft); }
.channel .vcard__kicker { font-size: 10px; }
.channel__title { font-family: var(--sc-font-display); font-weight: 700; font-size: 14px; line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.channel__title a { color: var(--sc-ink); } .channel__title a:hover { color: var(--sc-accent); }
.channel .vcard__desc { display: none; font-size: 13px; }
.channel.is-active .vcard__desc { display: block; }
.channel__ch { color: var(--ink-dim); font-size: 12px; } .channel__ch:hover { color: var(--sc-ink); }
.projector { align-self: center; min-width: 0; }
.projector__frame { background: var(--sc-canvas); }
.projector__base, .projector__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.projector__img { will-change: opacity; }
.projector__frame .play { z-index: 5; }
@media (max-height: 820px) and (min-width: 861px) {
  .demos__head .h2 { font-size: clamp(28px, 3.2vw, 38px); }
  .channel { padding: 6px 10px; }
  .channel .vcard__desc { display: none !important; }
}
@media (max-width: 860px) {
  .demos__inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-top: 84px; gap: 12px; }
  .demos__head { grid-template-columns: 1fr; }
  .demos__head .body { font-size: 13px; line-height: 1.45; }
  .demos__body { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .channels { order: 2; gap: 0; overflow: visible; }
  .channel { display: none; padding: 8px 0; }
  .channel.is-active { display: flex; border: 0; background: none; }
}

/* ---------- who (scrub) ---------- */
.who { background: var(--sc-surface); }
.who__stage { background: var(--sc-surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.who__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 24px; padding-top: 84px; padding-bottom: 28px; width: 100%; }
.who__head { margin-bottom: 0; }
.who .persona { background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.who .billion { padding-top: 12px; gap: 12px; }
.who .billion .h2 { font-size: clamp(26px, 3.2vw, 40px); }
.who .billion .body { font-size: 15px; }
.who--flow .who__stage { display: block; }
.who--flow .who__inner { padding-top: 72px; padding-bottom: 72px; }
@media (max-height: 820px) and (min-width: 861px) { .who .persona .body { font-size: 13px; } .who__inner { gap: 16px; } }

/* ---------- results / blog / faq ---------- */
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.result { padding: 28px; }
.result__value { font-family: var(--sc-font-display); font-weight: 800; font-size: 40px; color: var(--sc-accent); letter-spacing: -.02em; line-height: 1; }
.result .h3 { font-size: 20px; }
.results__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 40px; text-align: center; }
.personas { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.persona { padding: 28px; gap: 14px; background: var(--sc-canvas); }
.persona__num { font-family: var(--sc-font-mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-dim); }
.persona__title { font-family: var(--sc-font-display); font-weight: 800; font-size: 22px; letter-spacing: .02em; margin: 0; }
.persona .body { flex: 1; }
.persona__outcome { color: var(--sc-accent); font-size: 14px; font-weight: 600; margin: 0; }
.billion { padding-top: 48px; display: flex; flex-direction: column; gap: 20px; max-width: 900px; }
.billion .h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; }
.blogstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.blogstats .stat { padding: 16px 0; border-right: 0; border-top: 1px solid var(--line-strong); }
.blogstats .stat__label { font-size: 11px; }
.post { padding: 32px; gap: 16px; }
.post__title { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.02em; margin: 0; }
.post .body { font-size: 15px; }
.post__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding-top: 8px; }
.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line-strong); }
.faq__end { border-top: 1px solid var(--line-strong); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 0; color: var(--sc-ink); font-family: var(--sc-font-display); font-weight: 700; font-size: 18px; transition: color .2s; }
.faq__q:hover { color: var(--sc-accent); }
.faq__icon { color: var(--sc-accent); font-size: 22px; font-weight: 400; flex-shrink: 0; }
.faq__a p { color: var(--sc-ink-soft); font-size: 15px; line-height: 1.6; padding: 0 0 22px; max-width: 720px; margin: 0; }

/* ---------- close ---------- */
.close__stage { background: var(--sc-canvas); overflow: clip; display: grid; grid-template-rows: 1fr auto; }
.close__glow { position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at 50% 100%, rgba(59,130,246,.22), transparent 60%); pointer-events: none; }
.close__ring { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; translate: -50% -50%; z-index: 2; }
.close__ring--a { width: min(140vw, 1100px); border: 1px dashed rgba(59,130,246,.18); animation: spin 80s linear infinite; }
.close__ring--b { width: min(100vw, 760px); border: 1px solid rgba(59,130,246,.12); animation: spin 50s linear infinite reverse; }
@keyframes spin { to { rotate: 360deg } }
.close__inner { position: relative; z-index: 3; max-width: 900px; margin: 0 auto; padding: 128px 24px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; justify-content: center; }
.close__h2 { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(44px, 7vw, 88px); letter-spacing: -.04em; line-height: .95; margin: 0; text-wrap: balance; }
.close__inner .body { max-width: 560px; text-align: center; }
.foot { position: relative; z-index: 3; border-top: 1px solid var(--line); background: var(--sc-canvas); }
.foot__inner { padding-top: 32px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot p { color: var(--ink-dim); font-size: 13px; margin: 0; }
.foot__left { display: flex; flex-direction: column; gap: 4px; }
.foot__links { display: flex; gap: 20px; }
.foot__links a { color: var(--sc-ink-soft); font-size: 13px; } .foot__links a:hover { color: var(--sc-ink); }
@media (max-width: 860px) { .close__inner { padding: 96px 24px 40px; } .close__h2 { font-size: clamp(38px, 11vw, 56px); } .foot__inner { padding-bottom: calc(56px + env(safe-area-inset-bottom)); } }

/* ---------- cursor (kept from the original site) ---------- */
.cur-ring { position: fixed; left: 0; top: 0; width: 34px; height: 34px; border: 1.5px solid var(--sc-accent); border-radius: 50%; z-index: 9999; pointer-events: none; transform: translate(-50%,-50%); transition: width .25s, height .25s, background .25s, opacity .3s; opacity: 0; will-change: transform; }
.cur-dot { position: fixed; left: 0; top: 0; width: 6px; height: 6px; background: var(--sc-accent); border-radius: 50%; z-index: 9999; pointer-events: none; transform: translate(-50%,-50%); opacity: 0; box-shadow: 0 0 10px var(--sc-accent); }
.cur-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9998; pointer-events: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__grid, .hero__orb, .ticker__track, .close__ring, .dot { animation: none !important; }
  .truth__col--lies li .txt::after { transition: none; }
}
