/* Droid Sans Mono: the System's voice in the app (Apache 2.0), subset to Latin. */
@font-face {
  font-family: "Droid Sans Mono";
  src: url("../assets/fonts/DroidSansMono.woff") format("woff");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* =========================================================
   SoloMaxxing landing page · "The Climb"
   Same rules as the app: a scene on every key block, progress
   drawn as ladder rungs, and light only on things that are earned.
   ========================================================= */
:root {
  --void: #05070c;        /* page background */
  --room: #1b1e2f;        /* cards and panels */
  --room-deep: #0b111c;   /* quiet panels */
  --light: #2de2ff;       /* the System, lit rungs, main buttons */
  --tape: #f1f5f8;        /* main text */
  --spark: #ffd27a;       /* records, Rank S, the test day */
  --rung-off: #2a3648;    /* rungs not reached yet */

  --ink: var(--tape);
  --ink-2: #b4c3d1;
  --ink-3: #8296a8;
  --line: rgba(241, 245, 248, 0.1);
  --line-2: rgba(241, 245, 248, 0.22);
  --danger: #ff8f9b;
  --ok: #63f2b0;

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Droid Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 16px;
  --r-lg: 24px;
  --gutter: 24px;
  --maxw: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--light); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: 1.04; letter-spacing: 0.012em; text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }
::selection { background: rgba(45, 226, 255, 0.3); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--light); color: var(--void); font-weight: 700; }
.skip:focus { left: 8px; }

.lit { color: var(--light); }
.spark { color: var(--spark); }

/* The System's voice */
.sys, .kicker, .pill, .path__tag, .card__tag {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 12, 0.78);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { border-radius: 9px; }
.brand:hover { text-decoration: none; }
.brand__name { font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.05em; text-transform: uppercase; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--ink-3); font-size: 0.95rem; font-weight: 500; padding: 6px 0; transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r); cursor: pointer;
  background: var(--light); color: var(--void);
  font-family: var(--display); font-size: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  transition: transform 0.15s var(--ease), filter 0.15s, background 0.2s, border-color 0.2s;
}
.btn:hover { filter: brightness(1.1); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.btn__ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.btn:hover .btn__ico { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 0 18px; border-radius: 12px; font-size: 1rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { filter: none; border-color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Form ---------- */
.input {
  flex: 1 1 auto; min-width: 0; min-height: 56px; padding: 0 18px;
  background: var(--room-deep); border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color 0.15s, background 0.15s;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--light); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.signup { max-width: 520px; }
.signup__label { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.signup__row { display: flex; gap: 10px; }
.signup__row--stack { flex-direction: column; }
.signup__note { margin-top: 12px; font-size: 0.86rem; color: var(--ink-3); }
.signup__note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.signup__msg { margin-top: 12px; font-size: 0.95rem; font-weight: 500; }
.signup__msg:empty { display: none; }
.signup[data-state="success"] > :not(.signup__msg) { display: none; }
.signup[data-state="success"] .signup__msg { margin: 0; padding: 18px 20px; border-radius: var(--r); background: rgba(99, 242, 176, 0.08); border: 1px solid rgba(99, 242, 176, 0.4); color: var(--ok); }
.signup[data-state="error"] .signup__msg { color: var(--danger); }

/* ---------- Pill ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--ink-2); background: rgba(5, 7, 12, 0.5); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--light); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- Rungs: progress is always a climb ---------- */
.rungs { display: flex; gap: 6px; }
.rungs i { flex: 1 1 0; height: 5px; border-radius: 99px; background: var(--rung-off); transition: background 0.35s, box-shadow 0.35s; }
.rungs i.on { background: var(--light); }
.rungs i.now { background: var(--tape); box-shadow: 0 0 12px var(--light); }
.rungs i.gold.on { background: var(--spark); }
.rungs i.gold.now { background: var(--tape); box-shadow: 0 0 12px var(--spark); }

/* Lists marked with a rung */
.rlist { display: grid; gap: 16px; }
.rlist li { position: relative; padding-left: 40px; color: var(--ink-2); }
.rlist li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 24px; height: 4px; border-radius: 99px; background: var(--light); }
.rlist li b { color: var(--ink); font-weight: 500; }
.rlist--off li { color: var(--ink-3); }
.rlist--off li::before { background: var(--rung-off); }

/* ---------- Scenes: the Player, not a header ---------- */
.scene { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--room); aspect-ratio: 3 / 4; }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 58%, rgba(5, 7, 12, 0.9)); }
.scene figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; color: var(--light); }
/* A System message on a scene: the [ SYSTEM ] label on its own line, the message under it, both centred */
.scene figcaption:where(.sys) { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; line-height: 1.5; }
.sys__tag { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--light); }
.sys__msg { color: var(--light); text-wrap: balance; text-shadow: 0 1px 8px rgba(5, 7, 12, 0.8); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.hero h1 { margin-top: 24px; font-size: clamp(4rem, 10.4vw, 8.6rem); line-height: 0.96; }
.hero h1 .lit { display: block; }
.lead { margin-top: 24px; max-width: 30em; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.hero__cta { margin-top: 32px; }
.hero__note { margin-top: 14px; font-size: 0.9rem; color: var(--ink-3); }
.hero__scene { max-height: min(78vh, 680px); justify-self: end; width: 100%; }
.hero__scene img { object-position: 50% 12%; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--room { background: var(--room-deep); border-block: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.head--center { margin-inline: auto; text-align: center; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--light); }
.kicker::before { content: ""; flex: none; width: 24px; height: 4px; border-radius: 99px; background: var(--light); }
.head--center .kicker { justify-content: center; }
.head h2, .cta h2 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.sub { margin-top: 16px; color: var(--ink-2); font-size: 1.12rem; }

.split { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.split--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); }
.split__art { max-width: 460px; width: 100%; }
.split--flip .split__art { justify-self: end; }
.split__copy .head { margin-bottom: clamp(24px, 3vw, 36px); }

/* ---------- The feeling ---------- */
.lies { display: grid; gap: 22px; margin-top: 8px; }
.lies b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.05; text-transform: uppercase; letter-spacing: 0.012em; color: #6f8399; }
.lies span { display: block; margin-top: 4px; color: var(--ink-3); }
.truth { margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 3.5vw, 40px); border-top: 1px solid var(--line); font-family: var(--display); font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.04; text-transform: uppercase; letter-spacing: 0.012em; }

/* ---------- Two paths ---------- */
.paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr) minmax(0, 1fr); align-items: stretch; gap: 18px; }
.path { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line); }
.path--off { background: transparent; }
.path--on { background: var(--room); border-color: rgba(45, 226, 255, 0.35); }
.path__tag { margin-bottom: 26px; color: var(--ink-3); }
.path--on .path__tag { color: var(--light); }
.path .rlist { flex: 1; align-content: start; font-size: 1.1rem; }
.path .btn { margin-top: 32px; }
.paths__gate { aspect-ratio: auto; min-height: 100%; }
.paths__gate::after { display: none; }
.paths__gate img { position: absolute; inset: 0; }

/* ---------- The climb ---------- */
.steps { display: grid; gap: 30px; }
.steps__n { display: flex; gap: 5px; width: 78px; margin-bottom: 14px; }
.steps__n i { flex: 1; height: 4px; border-radius: 99px; background: var(--rung-off); }
.steps__n i.on { background: var(--light); }
.steps h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.steps p { margin-top: 8px; max-width: 30em; color: var(--ink-2); }

.chapter { margin-top: clamp(48px, 7vw, 88px); padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--room); }
.chapter__head, .chapter__foot { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.chapter__head { margin-bottom: 14px; color: var(--ink-2); }
.chapter__foot { margin-top: 12px; }
.chapter__foot .gold { color: var(--spark); }
.chapter .rungs i { height: 8px; }
.chapter__line { margin-top: 22px; font-size: 1.12rem; color: var(--ink-2); }
.chapter__line b { color: var(--ink); font-weight: 500; }

/* ---------- What you build ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { padding: 26px 24px 28px; border-radius: var(--r-lg); background: var(--room); }
.card__tag { margin-bottom: 30px; color: var(--light); }
.card h3 { font-size: 1.85rem; }
.card p:not(.card__tag) { margin-top: 12px; color: var(--ink-2); font-size: 1rem; }

/* ---------- Ranks: six rungs, S at the top ---------- */
.ranks { display: grid; gap: 14px; max-width: 420px; }
.rank { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; }
.rank b { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: #5c7087; }
.rank i { height: 6px; border-radius: 99px; background: var(--rung-off); }
.rank em { font-style: normal; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--light); }
.rank--you b { color: var(--tape); }
.rank--you i { background: var(--tape); box-shadow: 0 0 14px var(--light); }
.rank--s b { color: var(--spark); }
/* The ladder narrows toward the top, like the one in the art */
.rank:nth-child(1) i { margin-inline: 0 30%; }
.rank:nth-child(2) i { margin-inline: 0 24%; }
.rank:nth-child(3) i { margin-inline: 0 18%; }
.rank:nth-child(4) i { margin-inline: 0 12%; }
.rank:nth-child(5) i { margin-inline: 0 6%; }

/* ---------- Founder note ---------- */
.note { margin: 0; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: var(--room); }
.note blockquote { margin: 0; }
.note blockquote p { font-size: clamp(1.12rem, 1.8vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.note figcaption { margin-top: 20px; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--room); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 20px 58px 20px 24px; font-weight: 500; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: var(--light); transition: transform 0.25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 11vw, 140px) 0; }
.cta__art { position: absolute; inset: 0; z-index: -1; background: var(--void); }
.cta__art::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: min(54%, 640px);
  background: url("../assets/scenes/summit.webp?v=2") center 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.cta__copy { max-width: 560px; }
.cta .lead { margin-top: 18px; }
.cta .btn:not(.btn--ghost) { margin-top: 30px; }
.cta .signup { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Socials / footer ---------- */
.socials { display: flex; gap: 10px; }
.social { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--room); color: var(--ink); transition: background 0.2s; }
.social:hover { background: #262a40; text-decoration: none; }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.foot { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; }
.foot__brand p { margin-top: 14px; color: var(--ink-3); font-size: 0.95rem; }
.foot__nav { display: flex; flex-direction: column; gap: 10px; }
.foot__nav a { color: var(--ink-3); font-size: 0.95rem; }
.foot__nav a:hover { color: var(--ink); }
.foot .socials { margin-left: auto; }
.foot__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.82rem; }

/* ---------- Mobile sticky CTA ---------- */
.dock { display: none; }

/* ---------- Player application dialog ---------- */
.apply { width: min(100% - 24px, 520px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--void); color: var(--ink); overflow: auto; }
.apply::backdrop { background: rgba(2, 3, 6, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.apply[open] { animation: rise 0.35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.apply__in { padding: 22px clamp(20px, 5vw, 32px) 26px; }
.apply__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.apply__top .sys { color: var(--light); }
.apply__x { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; color: var(--ink-3); }
.apply__x:hover { color: var(--ink); background: var(--room); }
.apply__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.apply__rungs { margin: 14px 0 30px; }
.apply__step { animation: step 0.4s var(--ease); }
.apply__step[hidden] { display: none; }
@keyframes step { from { opacity: 0; transform: translateY(10px); } }
.apply__step h2 { font-size: clamp(1.9rem, 6.4vw, 2.5rem); outline: none; }
.apply__sub { margin-top: 10px; color: var(--ink-2); }
.apply__step--center { text-align: center; padding-block: 12px; }
.apply__stamp { margin-bottom: 14px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light); }
.apply__ask { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); }
.apply__wait { min-height: 1.6em; margin-top: 14px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.apply__back { display: block; margin: 22px auto 0; padding: 6px 12px; border: 0; background: none; cursor: pointer; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.apply__back:hover { color: var(--ink); }
.apply__back[hidden] { display: none; }

.opts { display: grid; gap: 10px; margin-top: 26px; }
.opts--row { grid-auto-flow: column; grid-auto-columns: 1fr; }
.opt { min-height: 58px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--room-deep); cursor: pointer; text-align: left; font-size: 1.05rem; font-weight: 500; color: var(--ink); transition: border-color 0.15s, background 0.15s, transform 0.15s var(--ease); }
.opt:hover { border-color: var(--line-2); background: var(--room); }
.opt:active { transform: scale(0.98); }
.opt.is-on { border-color: var(--light); background: var(--room); }
.opt--big { text-align: center; padding-block: 20px; color: var(--ink-2); font-weight: 400; }
.opt--big b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.opt--big:not(:has(b)) { font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }

.checks { display: inline-grid; gap: 14px; margin-top: 30px; text-align: left; }
.checks li { position: relative; padding-left: 40px; font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); transition: color 0.3s; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 24px; height: 4px; border-radius: 99px; background: var(--rung-off); transition: background 0.3s; }
.checks li.on { color: var(--ink); }
.checks li.on::before { background: var(--light); }

.signup--apply { max-width: none; margin-top: 24px; }
.file { display: grid; gap: 1px; margin: 26px 0 18px; border-radius: var(--r); overflow: hidden; background: var(--line); }
.file div { padding: 14px 18px; background: var(--room); }
.file dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.file dd { margin-top: 4px; color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js :is(.grid, .lies, .steps, .paths) > .reveal:nth-child(2) { transition-delay: 0.08s; }
.js :is(.grid, .lies, .steps, .paths) > .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .grid > .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Simple pages (thanks / privacy / 404) ---------- */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1; display: grid; place-items: center; padding: 56px 0; }
.page .box { max-width: 620px; margin-inline: auto; text-align: center; }
.page .box h1 { font-size: clamp(2.6rem, 7vw, 4rem); margin: 20px 0 16px; }
.page .box p { color: var(--ink-2); margin-bottom: 14px; }
.page .box .scene { max-width: 300px; margin: 0 auto 28px; }
.page .btn { margin-top: 18px; }
.page .socials { justify-content: center; margin-top: 24px; }
.page .box.prose { max-width: 720px; text-align: left; }
.prose h2 { margin: 32px 0 10px; font-size: 1.5rem; color: var(--light); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }

/* ====================== Responsive ====================== */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .paths { grid-template-columns: 1fr 1fr; }
  .paths__gate { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; min-height: 0; }
  .paths__gate img { object-position: 50% 36%; }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  body { font-size: 1rem; }
  .nav__in { height: 58px; }
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }

  /* Hero: the scene sits on top, edge to edge, and the headline climbs onto it */
  .hero { padding-top: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__scene { order: -1; justify-self: stretch; width: auto; margin-inline: calc(var(--gutter) * -1); border-radius: 0; aspect-ratio: 1 / 0.92; max-height: 58vh; }
  .hero__scene::after { background: linear-gradient(180deg, rgba(5, 7, 12, 0.25) 0%, transparent 30%, rgba(5, 7, 12, 0.55) 62%, var(--void) 100%); }
  .hero__scene figcaption { display: none; }
  .hero__copy { position: relative; z-index: 1; margin-top: -19vw; }
  .hero h1 { margin-top: 14px; font-size: clamp(4rem, 19.5vw, 6.2rem); }
  .lead { margin-top: 16px; }
  .hero__cta { margin-top: 24px; }
  .hero__cta .btn { width: 100%; }
  .hero__note { text-align: center; }

  .split, .split--flip { grid-template-columns: 1fr; gap: 32px; }
  .split__art, .split--flip .split__art { justify-self: center; max-width: 380px; aspect-ratio: 4 / 3.6; }
  .split__art img { object-position: 50% 22%; }
  .split--flip .split__art { order: -1; }

  .paths { grid-template-columns: 1fr; }
  .paths__gate { aspect-ratio: 4 / 3; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card__tag { margin-bottom: 18px; }
  .chapter .rungs { gap: 3px; }
  .chapter .rungs i { height: 6px; }
  .signup__row { flex-direction: column; }
  .signup .btn { width: 100%; }
  .cta__art::before { width: 100%; opacity: 0.32; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%); mask-image: linear-gradient(180deg, #000 20%, transparent 90%); }
  .cta .btn:not(.btn--ghost) { width: 100%; }
  .foot { padding-bottom: 120px; }
  .foot .socials { margin-left: 0; }

  .dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(5, 7, 12, 0), rgba(5, 7, 12, 0.94) 38%);
    transform: translateY(110%); transition: transform 0.35s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock .btn { width: 100%; }
}
@media (max-width: 400px) {
  .btn { font-size: 1.12rem; padding-inline: 18px; letter-spacing: 0.06em; }
  .opt--big b { font-size: 2.2rem; }
}

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