/* EarthDojo coming-soon page (v5, 2026-10-21). Six sections, after studying Duolingo, Brilliant, Mimo and
   Speak (docs/research/10-website-design-study.md): one promise, the product shown working, few words.
   Same look as the app: "polished game", calm type, colour for actions and states.
   Identity pass (research 12): one type family, Plus Jakarta Sans (OFL, self-hosted) at 500/600/700; data labels
   (kickers, image notes, coordinates) in the system monospace, like the app; buttons press with a slim edge. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("fonts/jakarta-500.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("fonts/jakarta-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("fonts/jakarta-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --card: #ffffff;
  --text-2: #475569;
  --ocean-line: #c2ecfa;
  --head-bg: rgba(244, 244, 249, 0.92);
  --right-ink: #214d24;
  --wrong-ink: #9f1239;
  --gi: #f4f4f9;
  --ink: #1a1a1a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --ocean: #00a8e8;
  --ocean-dark: #0076a8;
  --ocean-soft: #e6f7fd;
  --earth: #3f9543;
  --earth-soft: #eef8ee;
  --sunset: #ff6b35;
  --rose: #e11d48;
  --rose-soft: #fff1f2;
  --radius: 16px;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* Dark theme: follows the device unless the visitor picked one (theme.js sets data-theme before the page paints). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --card: #151c26;
    --text-2: #b4c0ce;
    --ocean-line: #164a62;
    --head-bg: rgba(13, 18, 25, 0.9);
    --right-ink: #b9e6bc;
    --wrong-ink: #fecdd3;
    --gi: #0d1219;
    --ink: #e9eef4;
    --body: #c8d2de;
    --muted: #93a3b6;
    --line: #243041;
    --ocean-dark: #5ccbf2;
    --ocean-soft: #0d2c3b;
    --earth: #6cc471;
    --earth-soft: #12291a;
    --rose-soft: #3a121d;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --card: #151c26;
  --text-2: #b4c0ce;
  --ocean-line: #164a62;
  --head-bg: rgba(13, 18, 25, 0.9);
  --right-ink: #b9e6bc;
  --wrong-ink: #fecdd3;
  --gi: #0d1219;
  --ink: #e9eef4;
  --body: #c8d2de;
  --muted: #93a3b6;
  --line: #243041;
  --ocean-dark: #5ccbf2;
  --ocean-soft: #0d2c3b;
  --earth: #6cc471;
  --earth-soft: #12291a;
  --rose-soft: #3a121d;
}

/* Dark phone frames need an edge on a dark page. */
:root[data-theme="dark"] .phone { box-shadow: 0 0 0 1px var(--line), 0 24px 48px rgba(0, 0, 0, 0.4); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone { box-shadow: 0 0 0 1px var(--line), 0 24px 48px rgba(0, 0, 0, 0.4); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* In-page links glide to their section (not with reduced motion). */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--gi); color: var(--ink); font: 500 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean-dark); }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }
.muted { color: var(--muted); }

h1, h2, h3, .wordmark, .quiz .q { font-family: var(--sans); font-weight: 700; }
h1 { font-size: clamp(44px, 7.6vw, 92px); line-height: 1.0; letter-spacing: -0.035em; margin: 20px 0 18px; }
h1 .accent { color: var(--ocean-dark); }
h2 { font-size: clamp(32px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 112px 0; }
/* A centred section head: kicker, big heading, one line under it. */
.head { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.head .sub { margin: 0 auto; }
section[id] { scroll-margin-top: 84px; } /* jump links land below the sticky header */
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 10px; font: 600 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ocean-dark); }
.sub { color: var(--muted); font-size: 19px; margin: 0 0 22px; max-width: 40em; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--head-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; }
.brand img { width: 32px; }
.wordmark { font-size: 21px; letter-spacing: -0.4px; color: var(--ink); }
.wordmark span { color: var(--ocean-dark); }
.nav { display: none; gap: 26px; }
.nav a { color: var(--body); font-weight: 600; font-size: 15px; text-decoration: none; padding-block: 11px; }
.nav a:hover { color: var(--ocean-dark); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; cursor: pointer;
  background: var(--card); color: var(--body); border: 1px solid var(--line); border-radius: 12px;
}
.theme-toggle:hover { color: var(--ocean-dark); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; flex: 0 0 auto; text-decoration: none; cursor: pointer;
  font: 700 16px var(--sans); color: #fff;
  background: var(--ocean); border: 0; border-bottom: 2px solid var(--ocean-dark);
  border-radius: 12px; padding: 13px 20px;
}
.btn:active { border-bottom-width: 0; transform: translateY(2px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-small { font-size: 15px; padding: 11px 14px; min-height: 44px; }
.link { background: none; border: 0; padding: 12px 0; min-height: 44px; font: 700 15px var(--sans); color: var(--ocean-dark); cursor: pointer; text-decoration: underline; }

/* ---------- 1. hero ---------- */
.hero-band { padding: 48px 0 72px; }
.hero { display: grid; gap: 56px; }
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.hero-copy .lead { margin-left: auto; margin-right: auto; }
.hero-copy .join { margin: 0 auto; text-align: left; }
.eyebrow { display: inline-block; font: 600 12px/1.6 var(--mono); letter-spacing: 0.04em; color: var(--body); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--body); margin: 0 0 32px; max-width: 32em; }

.join { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; max-width: 520px; }
.join label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: 500 17px var(--sans); color: var(--ink);
  padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--card);
}
.row input[type="email"]:focus { border-color: var(--ocean); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-top: 12px; }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.msg { font-weight: 600; font-size: 15px; margin: 10px 0 0; }
.msg:empty { display: none; }
.msg.error { color: var(--rose); }
.done { display: flex; align-items: center; gap: 14px; }
.done img { width: 76px; }
.done p { margin: 0; }
.done strong { display: block; font-size: 19px; font-weight: 700; color: var(--earth); }

/* The stage, from real things only (research 12): a wide strip of the Earth from our Sentinel-2 scene with the app in a
   phone rising out of it. Placed in percentages of the stage, so it scales; the padding leaves room for the phone. */
.hero-band { background: var(--card); border-bottom: 1px solid var(--line); }
.stage { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; padding-bottom: 19%; }
.place { position: relative; margin: 0; aspect-ratio: 7 / 3; border-radius: 28px; overflow: hidden; background: #0b1220; }
.place img { width: 100%; height: 100%; object-fit: cover; }
.place figcaption {
  position: absolute; top: 5%; left: 3%; display: grid; gap: 1px; padding: 7px 11px; border-radius: 10px;
  background: rgba(11, 18, 32, 0.72); color: #fff; font: 600 12px/1.45 var(--mono);
}
.place figcaption span:first-child { font: 600 14px/1.4 var(--sans); }
/* The strip is 14 km across and fills the 7:3 frame, so 1 km is 7.14% of its width (12.5% on the 4:3 phone frame). */
.place-scale {
  position: absolute; left: 3%; bottom: 7%; width: 7.14%; color: #fff; font: 600 12px/1.3 var(--mono); text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.place-scale::before { content: ""; display: block; height: 6px; margin-bottom: 3px; border: 2px solid #fff; border-top: 0; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5)); }
.hero-phone { position: absolute; left: 50%; top: 9%; width: 24%; max-width: none; margin: 0; transform: translateX(-50%); border-width: 8px; border-radius: 34px; box-shadow: 0 30px 60px rgba(11, 18, 32, 0.35); }
.hero-phone img { border-radius: 26px; }
.phone { border-radius: 34px; border: 9px solid #1a1a1a; background: #1a1a1a; overflow: hidden; box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16); max-width: 260px; margin: 0 auto; }
.phone img { width: 100%; border-radius: 26px; }
/* Each phone has a light and a dark screenshot; the page shows the one for its theme (a hidden lazy image never loads). */
.phone .shot-d { display: none; }
:root[data-theme="dark"] .phone .shot-l { display: none; }
:root[data-theme="dark"] .phone .shot-d { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone .shot-l { display: none; }
  :root:not([data-theme="light"]) .phone .shot-d { display: block; }
}

/* ---------- 2. trust row ---------- */
.trust { padding: 18px 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-size: 15px; color: var(--body); }
.trust li::before { content: "✓"; color: var(--earth); font-weight: 700; margin-right: 8px; }
.trust b { color: var(--ink); font-weight: 700; }

/* ---------- from space to a lesson ---------- */
.orbit { background: #0b1018; color: #fff; padding: 96px 0; }
.orbit-title { text-align: center; color: #fff; margin: 0 20px 36px; }
.orbit-steps { list-style: none; margin: 0 auto; padding: 0 20px; max-width: 1100px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.orbit-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
/* The stills between the five main views only carry the zoom; the plain strip leaves them out. */
.orbit-step.between { display: none; }
.orbit.scrolly .orbit-step.between { display: block; }
.orbit-step p { margin: 10px 2px 0; font-weight: 600; font-size: 16px; line-height: 1.4; }
.orbit-src { display: block; margin-bottom: 4px; font: 600 12px/1.4 var(--mono); letter-spacing: 0.04em; color: #8fa3b8; }
.orbit-credit { text-align: center; margin: 28px 20px 0; font: 500 12px/1.5 var(--mono); color: #8fa3b8; }

/* The scroll moment (site.js adds .scrolly): the section is tall, a full-screen view sticks while you scroll, and each
   still fades in over the last as it slowly zooms. One line at a time, low on the screen. */
.orbit.scrolly { height: 420vh; padding: 0; }
.orbit.scrolly .orbit-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.orbit.scrolly .orbit-title { position: absolute; z-index: 2; top: 88px; left: 0; right: 0; margin: 0; font-size: clamp(14px, 1.4vw, 16px); font-family: var(--mono); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.orbit.scrolly .orbit-steps { display: block; max-width: none; padding: 0; }
.orbit.scrolly .orbit-step { position: absolute; inset: 0; }
.orbit.scrolly .orbit-step img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; will-change: opacity, transform; }
.orbit.scrolly .orbit-step:not(:first-child) img { opacity: 0; }
.orbit.scrolly .orbit-step p {
  position: absolute; z-index: 2; left: 50%; bottom: 13%; width: min(88%, 820px); margin: 0; text-align: center;
  font: 700 clamp(28px, 4.4vw, 54px)/1.08 var(--sans); letter-spacing: -0.025em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
  /* The outgoing line leaves quickly; the next one rises in just after, so two lines never overlap. */
  opacity: 0; transform: translate(-50%, -10px); transition: opacity 0.18s ease, transform 0.18s ease;
}
.orbit.scrolly .orbit-step.on p { opacity: 1; transform: translate(-50%, 0); transition: opacity 0.45s ease 0.18s, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) 0.18s; }
.orbit.scrolly .orbit-src { font-size: 13px; color: rgba(255, 255, 255, 0.8); margin-bottom: 10px; letter-spacing: 0.06em; }
.orbit.scrolly .orbit-sticky::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(5, 8, 12, 0.75)); pointer-events: none; }
.orbit.scrolly .orbit-credit { position: absolute; z-index: 2; left: 0; right: 0; bottom: 18px; margin: 0; padding: 0 20px; color: rgba(255, 255, 255, 0.6); }

/* ---------- motion ---------- */
/* Reveals (site.js adds .reveals to the page and .reveal to each item): rise and fade in once, on a soft curve. */
.reveals .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveals .reveal.in { opacity: 1; transform: none; }
.reveals .step-text.reveal, .reveals .lesson-card.reveal { transition-delay: 0.08s; }
/* Hover and press: colours and edges ease instead of snapping. */
.btn, .opt, .link, .nav a, .foot nav a, .founder-link, .theme-toggle, summary, .tracks li {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:hover { background: #14b4f0; }
.join-band .btn:hover { background: #f1fbff; }
.opt:hover:not([disabled]) { border-color: var(--ocean-line); }
.tracks li:hover { border-color: var(--ocean-line); }
summary:hover { color: var(--ocean-dark); }

/* ---------- 3. try a lesson ---------- */
.lesson { display: grid; gap: 36px; align-items: start; }
.scene-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 8px 0 0; max-width: 420px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.scene-meta div { background: var(--card); padding: 10px 14px; }
.scene-meta dt { font: 600 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.scene-meta dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.lesson-card { background: var(--gi); border: 1px solid var(--line); border-radius: 22px; padding: 14px; max-width: 560px; width: 100%; justify-self: center; }
.scene { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #0b1220; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Switching views sweeps across like a satellite sensor: the new view is drawn line by line under a scan line. */
.scene .scene-true { clip-path: inset(0 0 100% 0); transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1); }
.scene.true-colour .scene-true { clip-path: inset(0); }
.scene::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; opacity: 0; pointer-events: none;
  background: #e9f9ff; box-shadow: 0 0 14px 4px rgba(92, 203, 242, 0.7);
}
.scene.sweep-down::after { animation: sweep 0.9s cubic-bezier(0.65, 0, 0.35, 1); }
.scene.sweep-up::after { animation: sweep 0.9s cubic-bezier(0.65, 0, 0.35, 1) reverse; }
@keyframes sweep { from { top: 0; opacity: 1; } 92% { opacity: 1; } to { top: 100%; opacity: 0; } }
.why:not([hidden]) { animation: rise 0.3s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
/* Scale bar: the image is 6.4 km across, so 1 km is 15.625% of its width. */
.scale { position: absolute; z-index: 1; right: 12px; bottom: 10px; width: 15.625%; color: #fff; font: 600 12px/1.3 var(--mono); text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.scale::before { content: ""; display: block; height: 6px; margin-bottom: 3px; border: 2px solid #fff; border-top: 0; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5)); }
.scene figcaption { position: absolute; z-index: 1; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font: 600 12px/1.4 var(--mono); background: rgba(11, 18, 32, 0.72); color: #fff; }
.quiz { padding: 16px 6px 6px; }
.quiz .label { font: 600 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.quiz .q { font-size: 20px; margin: 4px 0 14px; line-height: 1.35; }
.options { display: grid; gap: 10px; }
.opt {
  text-align: left; font: 600 16px var(--sans); color: var(--ink); cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 12px; padding: 13px 15px;
}
.opt:active { border-bottom-width: 1px; transform: translateY(1px); }
.opt.right { border-color: #4caf50; background: var(--earth-soft); }
.opt.wrong { border-color: var(--rose); background: var(--rose-soft); }
.opt[disabled] { cursor: default; }
.why { margin-top: 14px; border-radius: 12px; padding: 12px 14px; font-size: 16px; }
.why.right { background: var(--earth-soft); color: var(--right-ink); }
.why.wrong { background: var(--rose-soft); color: var(--wrong-ink); }
.why b { font-weight: 700; }
#scene-toggle { margin-top: 12px; }

/* ---------- 4. how it works ---------- */
.steps { display: grid; gap: 72px; }
.step { display: grid; gap: 28px; align-items: center; text-align: center; }
.step .phone { max-width: 280px; }
.step h3 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 10px; }
.step p { margin: 0 auto; max-width: 22em; font-size: 19px; color: var(--text-2); }

/* ---------- 5. what you'll learn ---------- */
.ladder { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--body); margin: -6px 0 22px; }
.ladder-bar {
  width: 176px; height: 10px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.15);
  background: linear-gradient(90deg, #fff 0 12.5%, #facc15 0 25%, #fb923c 0 37.5%, #22c55e 0 50%, #3b82f6 0 62.5%, #a855f7 0 75%, #92400e 0 87.5%, #1a1a1a 0);
}
.tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); }
.tracks li { display: flex; align-items: center; gap: 12px; background: var(--gi); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; color: var(--muted); }
.tracks img { width: 40px; height: 40px; flex: 0 0 auto; }
.tracks b { font-weight: 700; font-size: 16px; line-height: 1.25; flex: 1; }
.tracks li:not(.start):not(.open) img { opacity: 0.55; }
.tracks span { font: 600 12px/1.6 var(--mono); letter-spacing: 0.02em; color: var(--ocean-dark); background: var(--card); border: 1px solid var(--ocean-line); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.tracks .start, .tracks .open { color: var(--ink); background: var(--card); }
.tracks .start { background: var(--ocean-soft); border-color: var(--ocean-line); }

/* ---------- who's building it ---------- */
.founder { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.founder-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.founder-head h2 { margin: 0; font-size: clamp(24px, 3.4vw, 30px); }
.founder-avatar {
  flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--ocean-soft); color: var(--ocean-dark); border: 2px solid var(--ocean-line);
  font: 700 24px var(--sans);
}
.founder-role { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.founder p:not(.founder-role) { color: var(--body); margin: 0 0 14px; }
.founder-link { display: inline-block; padding-block: 11px; font-weight: 700; text-decoration: none; }
.founder-link:hover { text-decoration: underline; }

/* ---------- 6. FAQ, join band, footer ---------- */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 10px; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--ocean-dark); font-weight: 700; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--text-2); }

.join-band { background: var(--ocean); color: #fff; }
.join-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 32px; text-align: center; }
.join-inner img { width: 150px; }
.join-inner h2 { color: #fff; margin: 0 0 6px; }
.join-inner p { margin: 0 0 16px; color: #e6f7fd; }
.join-band .btn { background: #fff; color: #0076a8; border-bottom-color: #c2ecfa; } /* white on blue in both themes */

footer { background: var(--card); border-top: 1px solid var(--line); padding: 22px 0 36px; color: var(--muted); font-size: 14px; }
.foot { display: grid; gap: 18px; padding-top: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot nav a { color: var(--body); text-decoration: none; font-weight: 600; font-size: 14px; display: inline-block; padding-block: 12px; }
.foot p { margin: 8px 0 0; }
.copy { font-size: 13px; }
/* The one-line footer of the small pages (privacy, 404). */
.foot-mini { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; }

/* ---------- privacy page ---------- */
.top-link { font-weight: 600; font-size: 15px; text-decoration: none; }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-width: 720px; margin: 12px auto 40px; }
.doc h1 { font-size: 32px; }
.doc h2 { font-size: 21px; margin-top: 22px; }
.doc p, .doc li { color: var(--body); }

/* ---------- layout ---------- */
@media (min-width: 900px) {
  .nav { display: flex; }
  .step { grid-template-columns: 1fr 1fr; gap: 72px; text-align: left; }
  .step:nth-child(even) .phone { order: 2; }
  .step .phone { max-width: 300px; }
  .step p { margin: 0; }
  .lesson { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .join-inner { text-align: left; flex-wrap: nowrap; }
  .foot { grid-template-columns: 1fr auto; align-items: start; }
}
@media (max-width: 899px) {
  section { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .scene-meta { max-width: none; }
  .trust ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .step .phone { max-width: 240px; }
  .tracks { grid-template-columns: 1fr 1fr; }
  .tracks li { flex-wrap: wrap; gap: 8px; padding: 12px; }
  .tracks img { width: 32px; height: 32px; }
  .tracks span { order: 3; }
}
@media (max-width: 700px) {
  /* Phones: a squarer strip, so the river still reads, and a bigger phone in front of it. */
  .stage { padding-bottom: 34%; }
  .place { aspect-ratio: 4 / 3; border-radius: 22px; }
  .place-scale { width: 12.5%; }
  .place figcaption { padding: 5px 9px; }
  .hero-phone { width: 46%; top: 10%; border-width: 6px; border-radius: 28px; }
  .hero-phone img { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .opt, .link, .nav a, .foot nav a, .founder-link, .theme-toggle, summary, .tracks li { transition: none; }
  .orbit.scrolly .orbit-step p { transition: none; }
  .scene .scene-true { transition: none; }
  .scene::after, .why:not([hidden]) { animation: none !important; }
  .btn:active, .opt:active { transform: none; }
}

/* 404: the mascot, one line and the way home. */
.lost { text-align: center; padding-block: 32px; }
.lost img { width: 160px; height: auto; margin: 0 auto 8px; display: block; }
.lost p { margin-bottom: 20px; }
