/* ═══════════════════════════════════════════════════════════════
   SOMA — somaintelligence.app
   ───────────────────────────────────────────────────────────────
   One design system for the waitlist and the legal pages.
   Derived from the Brand DNA (00-BRAND-DNA.md, v1.0 LOCKED):
   statement in grotesque, evidence in mono. One accent, used only
   for meaning. One living element: the pulse.
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────────────────────── */
:root {
  /* Canvas — near-black with depth, like an OLED watch face at rest. */
  --bg: #050507;
  --bg-raise: #0b0c11;

  /* Ink scale (--ink-600 is decorative/aria-hidden only — fails AA) */
  --ink-100: #f4f5f7;
  --ink-300: #a3a8b4;
  --ink-500: #7a8091;
  --ink-600: #454a58;
  --err: #c88a8a;

  /* Hairlines — the only dividers on the page */
  --hairline: rgba(244, 245, 247, 0.1);
  --hairline-strong: rgba(244, 245, 247, 0.18);

  /* One accent: deep electric blue. Used only for meaning. */
  --accent: #3e63ff;
  --accent-soft: #93a6ff;   /* small accent text on black */
  --accent-dim: rgba(62, 99, 255, 0.08);

  /* The three states — blue intensity encodes the call */
  --state-push: #4d6bff;
  --state-hold: #7b8cc8;
  --state-recover: #5a6690;

  /* Type */
  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --nav-h: 64px;
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-100);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }

.container {
  width: min(100% - clamp(40px, 8vw, 128px), 1120px);
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; background: var(--ink-100); color: var(--bg);
  border-radius: 999px; font-size: 0.875rem; font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ── Type voices ──────────────────────────────────────────────── */

/* Voice one — the statement. Monolithic display type. */
.monolith {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.625rem, 8.5vw, 7.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.875rem, 4.4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* Voice two — the evidence. The quiet instrument voice. */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.eyebrow--accent { color: var(--accent-soft); }

.mono-note {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--ink-500);
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink-300);
  max-width: 36em;
  text-wrap: pretty;
}

.accent { color: var(--accent); }

/* ── The pulse — the page's single living element ─────────────── */
@keyframes soma-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  14%      { opacity: 1;    transform: scale(1); }
}

.pulse-dot {
  display: inline-block;
  width: 0.13em; height: 0.13em;
  margin-left: 0.07em;
  border-radius: 50%;
  background: var(--accent);
  animation: soma-pulse 1.25s cubic-bezier(0.3, 0, 0.4, 1) infinite;
}

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 7, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--hairline);
}
.nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
}
.wordmark .dot { color: var(--accent); }

.nav__cta { display: flex; align-items: center; gap: 24px; }
/* On the waitlist page the hero CTA owns the first screen; the nav
   CTA appears once you scroll. (Legal pages have no [data-home] flag,
   and without JS is-scrolled never applies — CTA stays visible.) */
.js [data-home] .nav__cta { opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.js [data-home] .nav.is-scrolled .nav__cta { opacity: 1; pointer-events: auto; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-100);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.btn:hover { border-color: var(--accent); background: var(--accent-dim); }
.btn:focus-visible, a:focus-visible, .chip:focus-visible, .profile__skip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--solid {
  background: var(--ink-100);
  border-color: var(--ink-100);
  color: var(--bg);
  font-weight: 600;
}
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--solid:disabled { opacity: 0.5; cursor: default; }
.btn--sm { padding: 9px 18px; font-size: 0.875rem; }

.text-link {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink-300);
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.text-link:hover { color: var(--ink-100); border-color: var(--accent); }

/* ── Scroll reveal (JS-gated: page fully readable without JS) ──── */
.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.6, 0.2, 1);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal--slow { transition-duration: 1.4s; }

/* ── Sections — shared rhythm ─────────────────────────────────── */
.screen {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding-block: calc(var(--nav-h) + 24px) 48px;
}
.section {
  padding-block: clamp(96px, 15vh, 176px);
}
.section--flush { padding-top: 0; }

/* ═══ 01 · Hero — the promise ═════════════════════════════════ */
.hero { text-align: center; position: relative; }
.hero .monolith { max-width: 14ch; margin-inline: auto; }
.hero__sub {
  margin-top: clamp(24px, 3.5vh, 36px);
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  color: var(--ink-300);
}
.hero__cta { margin-top: clamp(32px, 5vh, 48px); display: grid; justify-items: center; gap: 14px; }
.hero__micro { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-500); }
.hero__cue {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 28px;
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.12em; color: var(--ink-500);
}

/* ═══════════════════════════════════════════════════════════════
   CINEMATIC LAYER — scroll-driven storytelling
   ───────────────────────────────────────────────────────────────
   [data-stage] sections are tall; their .stage__sticky viewport pins
   while soma.js writes scroll progress to --p (0..1) and toggles
   is-step-N classes. All motion is transform/opacity only.
   When the engine is NOT live (no JS, or prefers-reduced-motion),
   html lacks .stages-live: stages collapse to normal flow and every
   set-piece shows its resolved state. The story survives without a
   single frame of animation.
   ═══════════════════════════════════════════════════════════════ */

.stage { position: relative; height: calc(var(--stage-h, 260) * 1vh); }
@supports (height: 1svh) { .stage { height: calc(var(--stage-h, 260) * 1svh); } }
/* Tighter stages on touch viewports — the pin ritual costs less scroll */
@media (max-width: 719px) {
  .stage { height: calc(var(--stage-h, 260) * 0.8vh); }
  @supports (height: 1svh) { .stage { height: calc(var(--stage-h, 260) * 0.8svh); } }
}
.stage__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid; align-content: center; justify-items: center;
  text-align: center;
}
.stage__cap { position: absolute; left: 0; right: 0; bottom: max(6vh, 40px); display: grid; justify-items: center; pointer-events: none; }
.stage__cap p {
  grid-area: 1 / 1;
  font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.7;
  color: var(--ink-500); max-width: 46ch; padding-inline: 24px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Engine not live → stages read as a normal document */
html:not(.stages-live) .stage { height: auto; }
html:not(.stages-live) .stage__sticky { position: static; height: auto; overflow: visible; padding: clamp(64px, 10vh, 120px) 0; }
html:not(.stages-live) [data-stage] { --p: 1; }
html:not(.stages-live) .stage__cap { position: static; margin-top: 32px; gap: 12px; }
html:not(.stages-live) .stage__cap p { grid-area: auto; opacity: 1; transform: none; position: static; }

/* ═══ Set-piece · The call — PUSH → HOLD → RECOVER morph ═══════ */
.morph__frame { position: relative; display: grid; justify-items: center; width: 100%; }
.morph__eyebrow { margin-bottom: 28px; }
.morph__states { position: relative; display: grid; width: 100%; min-height: 40vh; align-items: center; }
.morph__state {
  grid-area: 1 / 1;
  display: grid; justify-items: center; align-content: center;
  opacity: 0; transform: scale(0.965);
  /* Asymmetric handoff: the outgoing word clears fast, a breath of dark,
     the incoming word arrives — a transformation, not a double exposure. */
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}
.morph__word {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: 1; letter-spacing: -0.03em; text-transform: uppercase;
}
.morph__state--push .morph__word { color: var(--state-push); }
.morph__state--hold .morph__word { color: var(--state-hold); }
.morph__state--recover .morph__word { color: var(--state-recover); }
.morph__reason {
  margin-top: clamp(20px, 3vh, 32px);
  font-family: var(--font-mono);
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  line-height: 1.8; color: var(--ink-300); max-width: 44ch; padding-inline: 24px;
}
.morph__close {
  grid-area: 1 / 1;
  display: grid; justify-items: center; align-content: center;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.morph__close .kicker { margin-bottom: 20px; }
.morph__honesty {
  font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.8;
  color: var(--ink-500); max-width: 46ch; padding-inline: 24px;
}
.morph.is-step-0 .morph__state--push,
.morph.is-step-1 .morph__state--hold,
.morph.is-step-2 .morph__state--recover {
  opacity: 1; transform: none;
  transition-duration: 0.55s; transition-delay: 0.14s;
}
.morph.is-step-3 .morph__close {
  opacity: 1; transform: none;
  transition-duration: 0.55s; transition-delay: 0.14s;
}
/* Static fallback: the three calls stack as readable blocks */
html:not(.stages-live) .morph__states { min-height: 0; display: grid; gap: clamp(40px, 7vh, 72px); }
html:not(.stages-live) .morph__state { grid-area: auto; position: static; opacity: 1; transform: none; }
html:not(.stages-live) .morph__close { grid-area: auto; position: static; opacity: 1; transform: none; margin-top: clamp(40px, 7vh, 72px); }

/* ═══ Set-piece · The timeline — one decision, compounding ═════ */
.tl__head { margin-bottom: clamp(32px, 5vh, 56px); }
.tl__head .eyebrow { display: block; margin-bottom: 18px; }
.tl__rail { position: relative; width: 1px; height: min(52vh, 480px); margin-inline: auto; background: var(--hairline); }
.tl__rail::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleY(var(--p)); transform-origin: top center;
}
.tl__node { position: absolute; left: 50%; --k: clamp(0, calc((var(--p) - var(--t)) * 9), 1); opacity: var(--k); }
.tl__node::before {
  content: ''; position: absolute; top: 4px; left: -3.5px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.tl__node > div { width: clamp(150px, 22vw, 260px); transform: translateY(calc(8px * (1 - var(--k)))); transition: transform 0.1s linear; }
.tl__node--l > div { margin-left: calc(-1 * clamp(150px, 22vw, 260px) - 28px); text-align: right; }
.tl__node--r > div { margin-left: 28px; text-align: left; }
.tl__label { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); letter-spacing: -0.01em; }
.tl__line { margin-top: 4px; font-size: 0.875rem; color: var(--ink-500); line-height: 1.5; }
.tl__land { margin-top: clamp(28px, 4.5vh, 48px); --k: clamp(0, calc((var(--p) - 0.75) * 5), 1); opacity: var(--k); }
/* Portrait phones: rail anchors left inside the container so node copy
   never crosses the sticky viewport's clipped right edge. */
@media (max-width: 719px) {
  .tl__rail { margin-left: 3px; margin-right: auto; }
  .tl__node--l > div, .tl__node--r > div {
    margin-left: 22px; text-align: left;
    width: calc(100vw - clamp(40px, 8vw, 128px) - 34px);
    max-width: 340px;
  }
  .tl__head { text-align: left; }
}
html:not(.stages-live) .tl__rail { height: auto; width: auto; background: transparent; }
html:not(.stages-live) .tl__rail::after { display: none; }
html:not(.stages-live) .tl__node { position: static; opacity: 1; margin-bottom: 24px; }
html:not(.stages-live) .tl__node::before { display: none; }
html:not(.stages-live) .tl__node > div { margin: 0 auto; text-align: center; transform: none; width: auto; max-width: 44ch; }
html:not(.stages-live) .tl__land { opacity: 1; }

/* ═══ Set-piece · The living program — roadmap ═════════════════ */
.rm { --q: clamp(0, calc((var(--p) - 0.76) * 4.5), 1); } /* phase-3 arc scrub */
.rm__viewport { width: min(100% - 48px, 860px); display: grid; justify-items: center; gap: clamp(32px, 6vh, 64px); }
.rm__stagecell { display: grid; justify-items: center; width: 100%; }
.rm__plan {
  grid-area: 1 / 1; align-self: end; z-index: 1;
  position: relative; display: flex; align-items: flex-end; gap: clamp(6px, 1.2vw, 12px);
  transform-origin: left bottom;
  transition: transform 0.7s cubic-bezier(0.22, 0.6, 0.2, 1);
}
.rm__wk {
  position: relative;
  width: clamp(30px, 7.2vw, 74px); height: clamp(56px, 10vh, 88px);
  border: 1px solid var(--hairline-strong); border-radius: 10px;
  /* Full plan assembled by p≈0.22 — the captions never narrate an
     incomplete object, and W1–W2 are present on entry. */
  --k: clamp(0, calc(0.3 + var(--p) * 12 - var(--i) * 0.28), 1);
  opacity: var(--k);
  transform: translateY(calc(10px * (1 - var(--k))));
  transition: border-color 0.5s ease, background-color 0.5s ease, transform 0.5s ease, height 0.5s ease;
}
.rm__wk span {
  position: absolute; inset-inline: 0; bottom: 8px;
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em;
  color: var(--ink-500); text-transform: uppercase;
}
.rm__tag {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(4px);
  font-family: var(--font-mono); font-size: 0.6875rem; white-space: nowrap;
  color: var(--accent-soft); opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease;
}
/* Two tag lanes so adjacent labels never collide at narrow widths */
.rm__wk--swap .rm__tag { bottom: calc(100% + 32px); }
/* phase 1 — it adapts */
.rm.is-step-1 .rm__wk--adapt, .rm.is-step-2 .rm__wk--adapt, .rm.is-step-3 .rm__wk--adapt {
  border-color: var(--accent); height: clamp(70px, 13vh, 110px); background: var(--accent-dim);
}
.rm.is-step-1 .rm__wk--adapt .rm__tag, .rm.is-step-2 .rm__wk--adapt .rm__tag { opacity: 1; transform: translateX(-50%); }
.rm.is-step-1 .rm__wk--swap .rm__tag, .rm.is-step-2 .rm__wk--swap .rm__tag { opacity: 1; transform: translateX(-50%); }
/* phase 2 — the deload appears */
.rm .rm__wk--deload { border-style: dashed; }
.rm.is-step-0 .rm__wk--deload, .rm.is-step-1 .rm__wk--deload { opacity: 0; }
.rm.is-step-2 .rm__wk--deload, .rm.is-step-3 .rm__wk--deload { opacity: 0.85; }
.rm.is-step-2 .rm__wk--deload .rm__tag { opacity: 1; transform: translateX(-50%); color: var(--ink-500); }
/* phase 3 — months compound: the plan shrinks into the arc's origin and
   becomes the first segment of the longer curve; the draw is scrubbed by
   scroll (--q), never by a clock. */
.rm.is-step-3 .rm__plan { transform: scale(0.62); }
.rm__arc {
  grid-area: 1 / 1; align-self: end;
  width: min(100%, 640px); opacity: 0;
  transition: opacity 0.5s ease;
}
.rm.is-step-3 .rm__arc { opacity: 1; }
.rm__arc path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--q)); }
html:not(.stages-live) .rm__wk { opacity: 1; transform: none; }
html:not(.stages-live) .rm__wk--deload { opacity: 0.85; }
html:not(.stages-live) .rm__arc { opacity: 1; }
html:not(.stages-live) .rm__arc path { stroke-dashoffset: 0; }

/* Stage captions — one per step */
.rm.is-step-0 .rm__cap--0, .rm.is-step-1 .rm__cap--1,
.rm.is-step-2 .rm__cap--2, .rm.is-step-3 .rm__cap--3 { opacity: 1; transform: none; }
.sil.is-step-0 .sil__cap--0, .sil.is-step-1 .sil__cap--1,
.sil.is-step-2 .sil__cap--2 { opacity: 1; transform: none; }

/* ═══ Set-piece · Structure — the silhouette ═══════════════════ */
.sil__wrap { display: grid; justify-items: center; gap: clamp(24px, 4vh, 40px); }
.sil__svg { width: min(64vw, 300px); height: auto; }
.sil__pose { opacity: 0; transition: opacity 0.7s ease; }
.sil.is-step-0 .sil__pose--a { opacity: 1; }
.sil.is-step-1 .sil__pose--b { opacity: 1; }
.sil.is-step-2 .sil__pose--c { opacity: 1; }
/* The previous pose stays as a ghost so the improvement IS the visual */
.sil.is-step-1 .sil__pose--a { opacity: 0.16; }
.sil.is-step-2 .sil__pose--b { opacity: 0.16; }
.sil__meas {
  font-family: var(--font-mono); font-size: 13px;
  fill: var(--ink-500); stroke: none;
}
.sil__pose--c .sil__meas { fill: var(--accent-soft); }
.sil__plumb { stroke: var(--accent); opacity: 0.35; }
.sil__pose { stroke: var(--ink-300); }
.sil__pose--c { stroke: var(--ink-100); }
.sil__pose circle { fill: var(--bg); stroke: inherit; }
.sil__pose .jt { fill: var(--ink-300); stroke: none; }
.sil__pose--c .jt { fill: var(--accent); }
html:not(.stages-live) .sil__pose--a, html:not(.stages-live) .sil__pose--b { display: none; }
html:not(.stages-live) .sil__pose--c { opacity: 1; }

/* ═══ One body. One system. — the anchor ═══════════════════════ */
.sys__head { text-align: center; margin-bottom: clamp(48px, 7vh, 72px); }
.sys__head .eyebrow { display: block; margin-bottom: 18px; }
.sys__head .lede { margin: 18px auto 0; }
.sys__land { text-align: center; margin-top: clamp(48px, 7vh, 72px); }
.sys__land .system__land-accent { display: block; margin-top: 10px; }

/* ═══ Shared cinematic fragments ═══════════════════════════════ */
/* Hero display escalation — lines 2/3 recede */
.hero .monolith .dim { display: block; color: var(--ink-500); }
.hero .monolith .dim + .dim { color: var(--ink-600); }

/* Static display chips (goals, ways) — vocabulary, not controls */
.chips--display { justify-content: flex-start; margin: 0; max-width: none; }
.chip--static { cursor: default; pointer-events: none; }

/* Outcome list — carved rows, not bullets */
.outcomes {
  border-top: 1px solid var(--hairline);
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px);
  max-width: 760px;
}
.outcomes p {
  padding-block: clamp(14px, 2.2vh, 20px);
  border-bottom: 1px solid var(--hairline);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--ink-300);
}
@media (max-width: 639px) { .outcomes { grid-template-columns: 1fr; } }

/* Roadmap land line */
.rm__land {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.375rem, 2.6vw, 2rem); letter-spacing: -0.02em;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.rm.is-step-3 .rm__land { opacity: 1; transform: none; }
html:not(.stages-live) .rm__land { opacity: 1; transform: none; }

/* Short viewports: keep the hero CTA above the fold */
@media (max-height: 700px) {
  .hero .monolith { font-size: clamp(2.125rem, 7vw, 5.5rem); }
  .hero__sub { margin-top: 18px; }
  .hero__cta { margin-top: 24px; }
}

/* ═══ The engines — how SOMA thinks, shown as reasoning cards ══ */
.engines__head { text-align: center; max-width: 48em; margin: 0 auto clamp(48px, 7vh, 80px); }
.engines__head .eyebrow { display: block; margin-bottom: 18px; }
.engines__head .lede { margin: 18px auto 0; }
.engines__stack { display: grid; gap: clamp(18px, 3vh, 28px); max-width: 720px; margin-inline: auto; }

.engine {
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  background: var(--bg-raise);
  padding: clamp(24px, 4.5vw, 40px);
  text-align: left;
}
.engine--quiet { border-color: var(--hairline); background: transparent; }
.engine--ghost { border-style: dashed; border-color: var(--hairline); background: transparent; }
.engine--ghost .engine__name, .engine--ghost .engine__role { color: var(--ink-500); }

.engine__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.5vh, 26px); }
.engine__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.engine__role { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-500); }

/* The reasoning chain — steps joined by segments that draw in sequence */
.engine__flow { display: grid; justify-items: start; }
.engine__step {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.5;
  color: var(--ink-300);
}
.engine__step::before {
  content: ''; flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--hairline-strong);
}
.engine__step--decision { color: var(--ink-100); font-weight: 500; }
.engine__step--decision::before { border-color: var(--accent); background: var(--accent); }
.engine__seg {
  width: 1px; height: 16px; margin-left: 3px;
  background: var(--hairline); position: relative; overflow: hidden;
}
.engine__seg::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent); opacity: 0.6;
  transform: scaleY(0); transform-origin: top center;
}

/* Coach card: direction values + a demonstrated explanation */
.engine__vals { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 2px 19px; }
.engine__val {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--ink-300);
  border: 1px solid var(--hairline); border-radius: 8px;
  padding: 4px 10px;
}
.engine__val b { color: var(--accent-soft); font-weight: 500; }
.engine__sample {
  margin: 14px 0 0 19px;
  padding-left: 14px; border-left: 2px solid var(--accent);
  font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.7;
  color: var(--ink-100);
}
.engine__close {
  margin-top: clamp(16px, 2.5vh, 24px);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  letter-spacing: -0.015em; line-height: 1.35;
  color: var(--ink-100);
  text-wrap: balance;
}
.engine--ghost .engine__close { color: var(--ink-500); font-weight: 500; font-size: 0.9375rem; }

/* Alive on arrival: the chain assembles itself when the card reveals */
.js .engine .engine__step, .js .engine .engine__val, .js .engine .engine__sample, .js .engine .engine__close {
  opacity: 0; transform: translateY(5px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.js .engine .engine__seg::after { transition: transform 0.3s ease; }
.js .engine.in .engine__step, .js .engine.in .engine__val, .js .engine.in .engine__sample, .js .engine.in .engine__close { opacity: 1; transform: none; }
.js .engine.in .engine__seg::after { transform: none; }
.js .engine.in .engine__flow > *:nth-child(1) { transition-delay: 0.05s; }
.js .engine.in .engine__flow > *:nth-child(2) { transition-delay: 0.14s; }
.js .engine.in .engine__flow > *:nth-child(3) { transition-delay: 0.23s; }
.js .engine.in .engine__flow > *:nth-child(4) { transition-delay: 0.32s; }
.js .engine.in .engine__flow > *:nth-child(5) { transition-delay: 0.41s; }
.js .engine.in .engine__flow > *:nth-child(6) { transition-delay: 0.5s; }
.js .engine.in .engine__flow > *:nth-child(7) { transition-delay: 0.59s; }
.js .engine.in .engine__flow > *:nth-child(8) { transition-delay: 0.68s; }
.js .engine.in .engine__flow > *:nth-child(9) { transition-delay: 0.77s; }
.js .engine.in .engine__flow > *:nth-child(10) { transition-delay: 0.86s; }
.js .engine.in .engine__flow > *:nth-child(11) { transition-delay: 0.95s; }
.js .engine.in .engine__flow > *:nth-child(12) { transition-delay: 1.04s; }
.js .engine.in .engine__flow > *:nth-child(13) { transition-delay: 1.13s; }
.js .engine.in .engine__vals .engine__val:nth-child(1) { transition-delay: 0.2s; }
.js .engine.in .engine__vals .engine__val:nth-child(2) { transition-delay: 0.32s; }
.js .engine.in .engine__vals .engine__val:nth-child(3) { transition-delay: 0.44s; }
.js .engine.in .engine__vals .engine__val:nth-child(4) { transition-delay: 0.56s; }
.js .engine.in .engine__sample { transition-delay: 0.9s; }
.js .engine.in .engine__close { transition-delay: 1.05s; }
@media (prefers-reduced-motion: reduce) {
  .js .engine .engine__step, .js .engine .engine__val, .js .engine .engine__sample, .js .engine .engine__close { opacity: 1; transform: none; transition: none; }
  .js .engine .engine__seg::after { transform: none; transition: none; }
}

/* ═══ Your journey — the person, changing ══════════════════════ */
.journey { text-align: center; }
.journey .eyebrow { display: block; margin-bottom: 18px; }
.journey__chapters { margin-top: clamp(48px, 8vh, 88px); display: grid; justify-items: center; }
.journey__ch { display: grid; justify-items: center; }
.journey__label {
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-soft);
}
/* Compounding, made visible: each chapter accumulates its mornings as a
   growing field of dots, and the chapter marks themselves gain weight. */
.journey__dots {
  margin-top: 14px;
  background-image: radial-gradient(circle, var(--accent) 1.1px, transparent 1.7px);
  background-size: 11px 11px;
  background-position: center;
  opacity: 0.5;
}
.journey__ch--1 .journey__dots { width: 11px; height: 11px; }
.journey__ch--2 .journey__dots { width: 110px; height: 22px; }
.journey__ch--3 .journey__dots { width: 220px; height: 33px; }
.journey__ch--4 .journey__dots { width: 330px; height: 55px; opacity: 0.65; }
@media (max-width: 480px) {
  .journey__ch--3 .journey__dots { width: 176px; }
  .journey__ch--4 .journey__dots { width: 264px; }
}
.journey__ch--2 .journey__label { font-size: 0.875rem; }
.journey__ch--3 .journey__label { font-size: 0.9375rem; }
.journey__ch--4 .journey__label { font-size: 1.0625rem; }
/* The spine brightens as the story compounds */
.journey__link--1::after { opacity: 0.45; }
.journey__link--2::after { opacity: 0.7; }
.journey__link--3::after { opacity: 1; }
.journey__lines { margin-top: 16px; display: grid; gap: 8px; }
.journey__lines p {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.875rem);
  letter-spacing: -0.02em; line-height: 1.3;
  text-wrap: balance;
}
.journey__lines p.soft { color: var(--ink-500); font-size: clamp(1.0625rem, 1.8vw, 1.375rem); }
/* The spine: each chapter draws its own connecting segment on arrival,
   so the line visibly grows as the visitor scrolls the story. */
.journey__link {
  width: 1px; height: clamp(48px, 9vh, 96px);
  margin-block: clamp(20px, 3.5vh, 32px);
  background: var(--hairline); position: relative; overflow: hidden;
}
.journey__link::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleY(0); transform-origin: top center;
}
.js .journey__link::after { transition: transform 1.1s cubic-bezier(0.22, 0.6, 0.2, 1) 0.1s; }
.js .journey__link.reveal.in::after { transform: none; }
html:not(.js) .journey__link::after, .js:not(.stages-live) .journey__link::after { transform: none; }
.journey__land { margin-top: clamp(48px, 8vh, 80px); }

/* ═══ Training — the evolution litany ══════════════════════════ */
.evolve { margin-top: clamp(40px, 6vh, 64px); display: grid; gap: clamp(8px, 1.4vh, 14px); }
.evolve p {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  letter-spacing: -0.02em; line-height: 1.3;
  color: var(--ink-500);
}
.evolve p.turn { color: var(--ink-100); margin-top: clamp(12px, 2vh, 20px); }

/* ═══ Hero — breath ════════════════════════════════════════════ */
@keyframes soma-breathe {
  from { transform: scale(1); opacity: 0.55; }
  to   { transform: scale(1.06); opacity: 1; }
}
.hero__breath {
  position: absolute; inset: -22%; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(62, 99, 255, 0.07), transparent 56%);
  animation: soma-breathe 8s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hero { overflow: hidden; }
.hero .container { position: relative; }

/* ═══ 03 / 09 · Editorial screens ═════════════════════════════ */
.editorial { max-width: 48em; }
.editorial .headline { margin-bottom: clamp(28px, 4vh, 44px); }
.editorial .lede + .lede { margin-top: 1.25em; }
.editorial__kicker { margin-top: clamp(56px, 9vh, 96px); max-width: 22ch; }

/* ═══ 04 · The missing layer ══════════════════════════════════ */
.layer__head { max-width: 48em; margin-bottom: clamp(56px, 9vh, 96px); }
.layer__head .eyebrow { display: block; margin-bottom: 20px; }
.layer__head .headline { margin-bottom: clamp(28px, 4vh, 44px); }
.layer__head .lede + .lede { margin-top: 1.25em; }
.layer__head .lede b { color: var(--ink-100); font-weight: 600; }

.layer {
  display: grid;
  grid-template-columns: 1fr minmax(60px, 160px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.layer__col { display: grid; grid-template-rows: auto 1fr; }
.layer__col .eyebrow { display: block; margin-bottom: 24px; }
.layer__was, .layer__to, .layer__line { align-self: center; }
.layer__was {
  font-family: var(--font-mono);
  color: var(--ink-600);
  line-height: 2.1;
  font-size: clamp(0.875rem, 1.4vw, 1.0625rem);
}
.layer__was span { display: block; }
.layer__was span:nth-child(2) { opacity: 0.75; }
.layer__was span:nth-child(3) { opacity: 0.55; }
.layer__was span:nth-child(4) { opacity: 0.4; }
.layer__line {
  height: 1px; width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.js .layer__line { transition: transform 1.2s cubic-bezier(0.22, 0.6, 0.2, 1) 0.3s; }
.js .reveal.in .layer__line { transform: scaleX(1); }
.layer__to {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
/* One real morning — the artifact under the decision */
.layer__artifact {
  margin-top: 18px;
  max-width: 34ch;
  padding-left: 14px; border-left: 2px solid var(--accent);
  font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.7;
  color: var(--ink-100);
  text-align: left;
}
.layer__artifact-label {
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 0.6875rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-500);
  text-align: left;
}
@media (max-width: 719px) {
  .layer__artifact { max-width: none; }
}

@media (max-width: 719px) {
  .layer { grid-template-columns: 1fr; gap: 32px; justify-items: start; }
  .layer__line { width: 1px; height: 56px; transform: scaleY(0); transform-origin: top center; }
  .js .reveal.in .layer__line { transform: scaleY(1); }
}

/* ═══ 05 · One body. One system. ══════════════════════════════ */
.system__head { max-width: 48em; margin-bottom: clamp(56px, 8vh, 88px); }
.system__head .lede + .lede { margin-top: 1.25em; }
.system__head .lede b { color: var(--ink-100); font-weight: 600; }

.pillars { border-top: 1px solid var(--hairline); }
.pillar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding-block: clamp(28px, 4.5vh, 44px);
  border-bottom: 1px solid var(--hairline);
}
.pillar .pillar__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.625rem, 3.2vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink-100);
}
.pillar p:not(.pillar__title) { color: var(--ink-300); font-size: clamp(1rem, 1.5vw, 1.125rem); }
@media (max-width: 719px) {
  .pillar { grid-template-columns: 1fr; gap: 8px; }
}

.system__land { text-align: center; padding-top: clamp(96px, 16vh, 176px); }
.system__land .headline { margin-bottom: 18px; }
.system__land-accent {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  letter-spacing: -0.03em;
  color: var(--accent);
}

/* ═══ 06 · The belief ═════════════════════════════════════════ */
.belief { text-align: center; }
.belief .monolith {
  font-size: clamp(2.125rem, 6vw, 5rem);
  max-width: 18ch;
  margin-inline: auto;
}
.belief__micro { margin-top: clamp(28px, 4vh, 40px); }

/* ═══ 07 · Who joins ══════════════════════════════════════════ */
.who .eyebrow { display: block; margin-bottom: 24px; }
.who .headline { max-width: 20ch; }
@media (max-width: 719px) { .who .headline br { display: none; } }
.who__creed { margin-top: clamp(48px, 8vh, 80px); display: grid; gap: clamp(24px, 4vh, 36px); max-width: 44em; }
.who__creed p {
  font-size: clamp(1.125rem, 1.9vw, 1.375rem);
  line-height: 1.6;
  color: var(--ink-300);
  text-wrap: pretty;
}
.who__creed p b { color: var(--ink-100); font-weight: 600; }
.who__land {
  margin-top: clamp(48px, 8vh, 80px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
}
.who__cta { margin-top: 24px; }

/* ═══ 08 · How it works ═══════════════════════════════════════ */
.how .eyebrow { display: block; margin-bottom: 20px; }
.how .headline { margin-bottom: clamp(48px, 7vh, 72px); }
.steps { border-top: 1px solid var(--hairline); }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding-block: clamp(24px, 4vh, 36px);
  border-bottom: 1px solid var(--hairline);
}
.step__n { font-family: var(--font-mono); font-size: 0.875rem; color: var(--accent-soft); }
.step h3 { font-weight: 600; font-size: clamp(1.375rem, 2.4vw, 1.875rem); letter-spacing: -0.02em; }
.step p { color: var(--ink-300); font-size: 1rem; }
@media (max-width: 719px) {
  .step { grid-template-columns: 48px 1fr; }
  .step p { grid-column: 2; }
}
.how__foot { margin-top: clamp(32px, 5vh, 48px); }

/* ═══ 09 · Why now ════════════════════════════════════════════ */
.why .eyebrow { display: block; margin-bottom: 20px; }
.why .headline { margin-bottom: clamp(40px, 6vh, 64px); }
.why__body { display: grid; gap: clamp(24px, 4vh, 36px); max-width: 44em; }
.why__body p { font-size: clamp(1.0625rem, 1.7vw, 1.25rem); line-height: 1.7; color: var(--ink-300); text-wrap: pretty; }
.why__body p b { color: var(--ink-100); font-weight: 600; }
.why__trust { margin-top: clamp(48px, 7vh, 72px); max-width: 52ch; }

/* ═══ 10 · The waitlist ═══════════════════════════════════════ */
.join { text-align: center; }
.join .monolith { max-width: 14ch; margin-inline: auto; }
.join__sub { margin-top: clamp(20px, 3vh, 32px); font-size: clamp(1.0625rem, 1.7vw, 1.25rem); color: var(--ink-300); }

.join__form-wrap { margin-top: clamp(36px, 5.5vh, 56px); }
.form {
  display: flex; gap: 12px; align-items: stretch;
  max-width: 540px; margin-inline: auto;
}
.form__field {
  flex: 1; display: flex; align-items: center;
  border-bottom: 1px solid var(--hairline-strong);
  transition: border-color 0.25s ease;
}
.form__field:focus-within { border-color: var(--accent); }
.form input[type="email"] {
  width: 100%;
  background: transparent; border: 0; outline: 0;
  padding: 12px 2px;
  font-size: 1.0625rem;
  color: var(--ink-100);
  caret-color: var(--accent);
}
.form input[type="email"]::placeholder { color: var(--ink-500); }
@media (max-width: 560px) {
  .form { flex-direction: column; gap: 20px; }
  .form .btn { width: 100%; }
}

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }

.form-msg {
  min-height: 1.5em;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-500);
}
.form-msg--err { color: var(--err); }
.form-msg--ok { color: var(--accent-soft); }

.join__micro { margin-top: 8px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-500); }

/* Stage 2 — the three questions. Reserve the tallest question's
   height so the centered screen never re-centers between steps. */
.profile {
  margin-top: clamp(28px, 4vh, 40px);
  min-height: clamp(300px, 42vh, 400px);
  display: grid;
  align-content: start;
}
.profile__head h3 {
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
}
.profile__head p { margin-top: 10px; color: var(--ink-300); font-size: 1rem; }

.profile__q { margin-top: clamp(28px, 4vh, 40px); }
.profile__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.profile__micro { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-500); margin-bottom: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 640px; margin-inline: auto; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 10px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-300);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--ink-100); }
.chip.is-selected { background: var(--accent); border-color: var(--accent); color: #fff; }

.profile__skip {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--ink-500);
  background: none; border: 0; cursor: pointer;
  border-bottom: 1px solid transparent;
  padding: 12px 16px; /* 44px hit area; visual stays a quiet text link */
}
.profile__skip:hover { color: var(--ink-300); border-bottom-color: var(--hairline-strong); }

.profile__dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.profile__dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-600);
  transition: background-color 0.3s ease;
}
.profile__dots span.is-on { background: var(--accent); }

.profile__done h3 {
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
}
.profile__done p { margin-top: 10px; color: var(--ink-300); }

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(40px, 6vh, 64px);
  text-align: center;
}
.footer__anchor {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--ink-300);
}
.footer__anchor .accent { color: var(--accent-soft); }
.footer__privacy {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-500);
}
.footer__links {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center;
  font-size: 0.8125rem;
  color: var(--ink-500);
}
.footer__links a { color: var(--ink-500); transition: color 0.2s ease; }
.footer__links a:hover { color: var(--ink-100); }
.footer__legal {
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--ink-500);
  display: grid; gap: 6px; justify-items: center;
}
.footer__legal .fine { max-width: 60ch; }

/* ── Legal pages ──────────────────────────────────────────────── */
.legal { padding: calc(var(--nav-h) + clamp(56px, 9vh, 96px)) 0 clamp(72px, 10vh, 120px); }
.legal__head { margin-bottom: clamp(40px, 6vh, 64px); }
.legal__head .eyebrow { display: block; margin-bottom: 16px; }
.legal__head h1 {
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.legal .updated { margin-top: 14px; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-500); }

.legal__toc {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: clamp(40px, 6vh, 56px);
  max-width: 46em;
}
.legal__toc .eyebrow { display: block; margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 40px; font-size: 0.9375rem; color: var(--ink-300); }
.legal__toc li { margin-bottom: 6px; break-inside: avoid; }
.legal__toc a:hover { color: var(--ink-100); }
@media (max-width: 640px) { .legal__toc ol { columns: 1; } }

.legal__body { max-width: 46em; }
.legal__body h2 {
  font-weight: 600;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  margin: 2.4em 0 0.7em;
}
.legal__body h3 { font-weight: 600; font-size: 1.125rem; margin: 1.8em 0 0.5em; }
.legal__body p, .legal__body li { color: var(--ink-300); margin-bottom: 0.9em; font-size: 1rem; }
.legal__body ul, .legal__body ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal__body a { color: var(--accent-soft); border-bottom: 1px solid transparent; }
.legal__body a:hover { border-bottom-color: var(--accent-soft); }
.legal__body strong { color: var(--ink-100); font-weight: 600; }
.legal__body hr { border: 0; border-top: 1px solid var(--hairline); margin: 2.5em 0; }

.callout {
  border-left: 2px solid var(--accent);
  background: var(--bg-raise);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-bottom: 2em;
}
.callout p { margin: 0; }

/* ── Reduced motion — the page works with everything still ────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot { animation: none; opacity: 1; transform: none; }
  .hero__breath { animation: none; opacity: 0.7; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .layer__line { transition: none; transform: none; }
  /* The stage engine never starts under reduced motion (soma.js checks
     the same media query), so html never gets .stages-live and every
     set-piece renders its resolved static state in normal flow. */
}
