/* ==========================================================================
   RiseKeeper — "Daybreak"
   The page is a sunrise. It opens at 04:47 in near-black indigo and warms
   across the scroll until the closing call-to-action sits in pale dawn light.
   Every zone hands its sky colour to the next one, so the gradient is
   continuous no matter how tall a section grows.
   Swiss/Braun discipline: system type only, mono tabular numerals, hairlines,
   an exact grid, and nothing centred that does not need to be.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  --shell: 1180px;
  --gutter: 22px;

  /* The field. Every full-width section resolves to these twelve columns,
     so hairlines, headings and the right edge line up down the whole page. */
  --col-gap: clamp(16px, 1.9vw, 28px);

  --font-display: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, "JetBrains Mono",
    "Roboto Mono", monospace;

  /* Light of the sun, in order of temperature. */
  --ember: #ff9d4d;
  --amber: #ffb765;
  --gold: #ffd48a;
  --mint: #6ee7b0;
  --sky: #9adcff;

  --cream: #f6ecd9;
  --parchment: #eee1c6;
  --ink: #141018;

  /* Default (night) zone tokens — every section may override these. */
  --fg: #f7f5f0;
  --fg-dim: #b6bed3;
  --rule: rgba(255, 255, 255, 0.11);
  --rule-strong: rgba(255, 255, 255, 0.24);
  --horizon: rgba(255, 190, 130, 0.34);
  --accent: var(--amber);
  --focus: #ffd48a;
  --focus-halo: rgba(0, 0, 0, 0.7);
  --rim: rgba(160, 190, 255, 0.34);
  --glow-c: rgba(255, 148, 62, 0.24);
  --glow-y: 126%;

  --tap: 44px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  max-width: 100%;
  margin: 0;
  color: var(--fg);
  background: #05070d;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The JavaScript-enhanced marketing page is one continuous sky rather than
   eleven painted section backgrounds. Scroll position updates these colors
   and moves the sun; the original zone gradients remain the no-JS and reduced
   motion fallback. */
body.marketing {
  --sky-top: rgb(5, 7, 13);
  --sky-mid: rgb(7, 11, 22);
  --sky-bottom: rgb(10, 16, 32);
  --sun-rgb: 255, 142, 62;
  --sun-x: -10vw;
  --sun-y: 112vh;
  --sun-scale: 0.72;
  --sun-opacity: 0;
  --horizon-y: 88vh;
  --horizon-opacity: 0.18;
}

.daybreak-sky {
  position: fixed;
  z-index: 0;
  inset: 0;
  display: none;
  overflow: hidden;
  contain: layout paint style;
  background: linear-gradient(
    180deg,
    var(--sky-top) 0%,
    var(--sky-mid) 54%,
    var(--sky-bottom) 100%
  );
  pointer-events: none;
  transform: translateZ(0);
}

html.js body.marketing .daybreak-sky {
  display: block;
}

/* The glow follows the same coordinates as the sun but stays soft enough to
   preserve foreground contrast. */
.daybreak-sky::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      52vw 48vw at var(--sun-x) var(--sun-y),
      rgba(var(--sun-rgb), 0.24),
      rgba(var(--sun-rgb), 0.08) 34%,
      transparent 70%
    ),
    radial-gradient(
      90% 42% at 50% var(--horizon-y),
      rgba(255, 218, 166, 0.08),
      transparent 72%
    );
  content: "";
}

.daybreak-sun {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(70px, 7.4vw, 124px);
  aspect-ratio: 1;
  opacity: var(--sun-opacity);
  border-radius: 50%;
  background: radial-gradient(
    circle at 38% 34%,
    #fffbed 0 7%,
    #ffe7ad 27%,
    #ffc36e 66%,
    rgb(var(--sun-rgb)) 100%
  );
  box-shadow:
    0 0 24px rgba(var(--sun-rgb), 0.72),
    0 0 80px rgba(var(--sun-rgb), 0.34),
    0 0 170px rgba(var(--sun-rgb), 0.17);
  transform:
    translate3d(var(--sun-x), var(--sun-y), 0)
    translate(-50%, -50%)
    scale(var(--sun-scale));
  transform-origin: center;
  will-change: transform, opacity;
}

.daybreak-sun::after {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: inherit;
  content: "";
}

.daybreak-horizon {
  position: absolute;
  top: 0;
  right: -8vw;
  left: -8vw;
  height: 1px;
  opacity: var(--horizon-opacity);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 207, 147, 0.38) 18%,
    rgba(255, 231, 190, 0.76) 50%,
    rgba(255, 207, 147, 0.38) 82%,
    transparent
  );
  box-shadow: 0 0 32px rgba(255, 188, 112, 0.16);
  transform: translate3d(0, var(--horizon-y), 0);
  will-change: transform;
}

/* Once the dynamic field is available, sections reveal it instead of painting
   independent color bands. Content, rules, and section-specific text tokens
   remain unchanged. */
html.js body.marketing main,
html.js body.marketing .site-footer {
  position: relative;
  z-index: 1;
}

html.js body.marketing .zone,
html.js body.marketing .site-footer {
  background: transparent;
}

html.js body.marketing .zone::before {
  display: none;
}

img,
video,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 5px var(--focus-halo);
}

::selection {
  color: #120c06;
  background: var(--gold);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--shell));
  margin-inline: auto;
}

/* The twelve-column field. Sections declare their spans against it and
   nothing is allowed to stop short of column 12 without a reason. */
.hero-grid,
.section-head,
.ladder-row,
.split,
.pro-layout,
.support-grid,
.closing-grid,
.footer-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3 {
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: 0.97;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0;
  font-size: clamp(1.72rem, 3.06vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: -0.031em;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.28;
  letter-spacing: -0.022em;
}

p {
  margin: 0;
}

/* The chronometer voice: mono, tabular, wide tracking, uppercase. */
.mono,
.stamp,
.kicker,
.eyebrow,
.rail-marks span,
.rail-now-time,
.plate-index,
.matrix-index,
.ledger-status,
.spec-index,
.faq-index,
.tier-label,
.footer-links strong,
.nav-links a,
.pro-mark,
.badge {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.stamp {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.stamp::after {
  flex: 1 1 30px;
  height: 1px;
  max-width: 148px;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: 0.55;
  content: "";
}

.kicker {
  display: block;
  margin: 0 0 18px;
  color: var(--fg-dim);
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lede {
  max-width: 62ch;
  color: var(--fg-dim);
  font-size: 1.12rem;
  line-height: 1.58;
}

/* Heading on columns 1–7, standfirst on 8–12, so the head spans the field. */
.section-head {
  align-items: end;
  row-gap: 26px;
  margin-bottom: clamp(38px, 3.8vw, 54px);
}

.section-head > :first-child {
  grid-column: 1 / 8;
}

.section-head h2 {
  max-width: 17ch;
}

.section-head .lede {
  grid-column: 8 / -1;
  padding-bottom: 0.35em;
  font-size: 1.02rem;
}

/* --------------------------------------------------------------------------
   3. Zones — the sky chain
   Each zone starts on the colour the previous one ended on.
   -------------------------------------------------------------------------- */

/* Rhythm: a tight default so no band of dead sky opens between zones; the
   sections that earn air (hero, preview, closing) ask for it by name. */
.zone {
  position: relative;
  isolation: isolate;
  padding: clamp(52px, 4.4vw, 72px) 0;
  color: var(--fg);
  background: linear-gradient(180deg, var(--sky-a), var(--sky-b));
}

/* Section-local light: the sun climbs section by section. */
.zone::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(
    132% 72% at var(--glow-x, 50%) var(--glow-y),
    var(--glow-c),
    transparent 64%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0,
    #000 9%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0,
    #000 9%,
    #000 93%,
    transparent 100%
  );
  content: "";
  pointer-events: none;
}

/* Horizon hairline at every zone boundary; it heats up as the page descends. */
.zone::after {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--rule) 12%,
    var(--horizon) 50%,
    var(--rule) 88%,
    transparent
  );
  content: "";
  pointer-events: none;
}

.zone > * {
  position: relative;
  z-index: 2;
}

.z-hero {
  --sky-a: #05070d;
  --sky-b: #0a1020;
  --glow-y: 128%;
  --glow-c: rgba(255, 132, 52, 0.26);
  --horizon: rgba(255, 168, 104, 0.3);
  --rim: rgba(150, 178, 255, 0.3);
}

.z-strip {
  --sky-a: #0a1020;
  --sky-b: #0b1226;
  --glow-y: 122%;
  --glow-c: rgba(255, 140, 60, 0.14);
  --horizon: rgba(255, 176, 112, 0.26);
}

.z-how {
  --sky-a: #0b1226;
  --sky-b: #141b3a;
  --glow-y: 118%;
  --glow-c: rgba(255, 146, 66, 0.17);
  --glow-x: 76%;
  --horizon: rgba(255, 178, 116, 0.3);
}

/* 05:52 — indigo tips into violet; the first cold light off the left edge. */
.z-alarm {
  --sky-a: #141b3a;
  --sky-b: #221a3b;
  --glow-y: 110%;
  --glow-c: rgba(255, 150, 70, 0.2);
  --glow-x: 24%;
  --horizon: rgba(255, 184, 124, 0.34);
  --rim: rgba(180, 170, 255, 0.34);
}

/* 06:10 — the coolest point of the climb: violet, not brown. */
.z-missions {
  --sky-a: #221a3b;
  --sky-b: #362043;
  --glow-y: 100%;
  --glow-c: rgba(186, 132, 255, 0.24);
  --horizon: rgba(226, 176, 255, 0.4);
  --accent: var(--amber);
  --rim: rgba(206, 172, 255, 0.4);
}

/* 06:22 — violet burns off into rose. */
.z-protect {
  --sky-a: #362043;
  --sky-b: #4a2431;
  --glow-y: 94%;
  --glow-x: 78%;
  --glow-c: rgba(255, 130, 110, 0.3);
  --horizon: rgba(255, 178, 148, 0.46);
}

/* 06:30 — the hottest zone on the page. */
.z-preview {
  --sky-a: #4a2431;
  --sky-b: #632c0d;
  --glow-y: 86%;
  --glow-c: rgba(255, 168, 66, 0.44);
  --horizon: rgba(255, 202, 146, 0.54);
  --accent: var(--gold);
  --rim: rgba(255, 200, 140, 0.42);
  /* the hot zones need a brighter muted tone to stay past 4.5:1 */
  --fg-dim: #e5e7ee;
}

/* 06:44 — still hot, now gold rather than orange. */
.z-pro {
  --sky-a: #632c0d;
  --sky-b: #6d4718;
  --glow-y: 78%;
  --glow-x: 72%;
  --glow-c: rgba(255, 204, 112, 0.42);
  --horizon: rgba(255, 214, 158, 0.56);
  --accent: var(--gold);
  --rim: rgba(255, 208, 152, 0.46);
  --fg-dim: #e8e9ef;
}

/* 07:05 — light returning: the warmth drains and the sky cools. */
.z-privacy {
  --sky-a: #6d4718;
  --sky-b: #46506c;
  --glow-y: 62%;
  --glow-x: 26%;
  --glow-c: rgba(186, 208, 255, 0.22);
  --horizon: rgba(226, 224, 240, 0.46);
  --fg-dim: #dcdbe8;
  --rule: rgba(255, 255, 255, 0.15);
  --rule-strong: rgba(255, 255, 255, 0.3);
  --rim: rgba(220, 214, 240, 0.5);
}

/* 07:12 — cool AND brighter, the last step before the ground goes cream. */
.z-support {
  --sky-a: #46506c;
  --sky-b: #59698a;
  --glow-y: 48%;
  --glow-c: rgba(196, 218, 255, 0.16);
  --horizon: rgba(224, 234, 255, 0.5);
  --fg: #fbfcff;
  --fg-dim: #f0f3fa;
  --rule: rgba(255, 255, 255, 0.2);
  --rule-strong: rgba(255, 255, 255, 0.38);
  --accent: #ffe0b0;
}

/* The payoff: real morning light. */
.z-closing {
  --fg: #171219;
  --fg-dim: #574839;
  --rule: rgba(23, 18, 25, 0.16);
  --rule-strong: rgba(23, 18, 25, 0.34);
  --horizon: rgba(255, 214, 170, 0.5);
  --accent: #7a4a12;
  --focus: #241704;
  --focus-halo: rgba(255, 255, 255, 0.8);
  padding: clamp(112px, 12vw, 176px) 0 clamp(44px, 4vw, 64px);
  background: linear-gradient(
    180deg,
    #59698a 0%,
    #6d788f 6%,
    #8e8987 13%,
    #b8a292 21%,
    #dbc4a4 29%,
    #f0e0c4 37%,
    var(--cream) 45%,
    var(--cream) 100%
  );
}

/* The sun, finally clear of the horizon. */
.z-closing::before {
  background:
    radial-gradient(
      42vw 42vw at 22% 40%,
      rgba(255, 226, 170, 0.9),
      rgba(255, 214, 150, 0.34) 42%,
      transparent 68%
    ),
    radial-gradient(
      70% 34% at 50% 40%,
      rgba(255, 246, 226, 0.55),
      transparent 70%
    );
}

/* --------------------------------------------------------------------------
   4. Header + navigation
   -------------------------------------------------------------------------- */

.skip-link {
  position: fixed;
  z-index: 1200;
  top: 12px;
  left: 12px;
  padding: 11px 18px;
  color: #0a0d14;
  background: var(--gold);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(5, 7, 13, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  transition: background 320ms ease, border-color 320ms ease, color 320ms ease;
}

/* When the reader reaches the dawn zone the chrome wakes up with the page. */
body.dawn .site-header {
  color: var(--ink);
  background: rgba(246, 236, 217, 0.78);
  border-bottom-color: rgba(23, 18, 25, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  gap: 11px;
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.022em;
}

.brand img {
  display: block;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  margin-inline: auto;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 12px;
  color: #b9c1d4;
  border-radius: 8px;
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

body.dawn .nav-links a {
  color: #4b3d2f;
}

body.dawn .nav-links a:hover {
  color: var(--ink);
  background: rgba(23, 18, 25, 0.07);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: #1b1206;
  background: var(--amber);
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

body.dawn .nav-cta {
  color: var(--cream);
  background: #241a12;
}

body.dawn .nav-cta:hover {
  background: #3d2c1c;
}

/* The inline CTA only appears inside the collapsed mobile panel. */
.nav-links a.nav-cta-inline {
  display: none;
  color: #1b1206;
}

body.dawn .nav-links a.nav-cta-inline {
  color: var(--cream);
}

.nav-toggle {
  display: none;
  align-items: center;
  min-height: var(--tap);
  margin-left: auto;
  padding: 0 15px;
  gap: 10px;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rule);
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

body.dawn .nav-toggle {
  background: rgba(23, 18, 25, 0.06);
  border-color: rgba(23, 18, 25, 0.2);
}

.nav-toggle-bars {
  display: grid;
  width: 14px;
  gap: 3.5px;
}

.nav-toggle-bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Time rail — 04:47 → 07:20, desktop only, decorative
   -------------------------------------------------------------------------- */

.time-rail {
  position: fixed;
  z-index: 900;
  top: 21vh;
  bottom: 17vh;
  /* hugs the text column rather than the window edge on wide displays */
  left: max(20px, calc(50vw - 590px - 96px));
  display: none;
  width: 76px;
  pointer-events: none;
}

html.js .time-rail {
  display: block;
}

.rail-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.2) 8%,
    rgba(255, 255, 255, 0.2) 92%,
    transparent
  );
}

.rail-ticks {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  width: 7px;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 1px,
    transparent 1px
  );
  background-size: 100% 14px;
  opacity: 0.55;
}

.rail-marks {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-marks li {
  position: absolute;
  top: calc(var(--p, 0) * 100%);
  left: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateY(-50%);
}

.rail-marks li::before {
  width: 15px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  content: "";
}

.rail-marks span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.563rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

body.dawn .rail-line,
body.dawn .rail-ticks {
  filter: invert(1);
  opacity: 0.45;
}

body.dawn .rail-marks li::before {
  background: rgba(23, 18, 25, 0.45);
}

body.dawn .rail-marks span {
  color: rgba(23, 18, 25, 0.5);
}

.rail-head {
  position: absolute;
  top: -52px;
  left: 0;
  display: grid;
  gap: 6px;
}

.rail-head small {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rail-now-time {
  color: #ffd9ae;
  font-size: 0.938rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

body.dawn .rail-head small {
  color: rgba(23, 18, 25, 0.45);
}

body.dawn .rail-now-time {
  color: #4a2c08;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.7);
}

.rail-now {
  position: absolute;
  top: calc(var(--now, 0) * 100%);
  left: 1px;
  width: 19px;
  height: 2px;
  background: var(--ember);
  box-shadow: 0 0 14px rgba(255, 157, 77, 0.95);
  transform: translateY(-50%);
  transition: top 90ms linear;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease,
    border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

/* A seated shadow, not a halo. */
.button-primary {
  color: #1b1206;
  background: linear-gradient(180deg, var(--gold), var(--ember));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 6px 14px -10px rgba(0, 0, 0, 0.9);
}

.button-primary:hover {
  background: linear-gradient(180deg, #ffe3b4, var(--amber));
}

.button-secondary {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--rule-strong);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.z-closing .button-primary {
  color: var(--cream);
  background: #1c1420;
  box-shadow: 0 6px 14px -10px rgba(28, 20, 32, 0.8);
}

.z-closing .button-primary:hover {
  background: #33241c;
}

.z-closing .button-secondary {
  color: #2a2026;
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(23, 18, 25, 0.32);
}

.z-closing .button-secondary:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.z-hero {
  padding-top: clamp(126px, 13.5vh, 168px);
  padding-bottom: clamp(40px, 3.6vw, 54px);
}

.hero-grid {
  align-items: center;
  row-gap: clamp(36px, 5vw, 56px);
}

.hero-copy {
  grid-column: 1 / 7;
}

.hero-visual {
  grid-column: 7 / -1;
}

.hero-copy h1 em {
  position: relative;
  background: linear-gradient(96deg, var(--gold), var(--ember) 62%, #ff7a3d);
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--amber);
  font-style: normal;
}

@supports (-webkit-text-fill-color: transparent) {
  .hero-copy h1 em {
    -webkit-text-fill-color: transparent;
  }
}

.hero-lede {
  margin-top: 28px;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 34px;
  gap: 12px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
}

.app-store-badge img {
  display: block;
  width: auto;
  height: 52px;
}

.launch-note {
  display: flex;
  align-items: center;
  margin-top: 26px;
  padding-top: 22px;
  gap: 10px;
  border-top: 1px solid var(--rule);
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.launch-state::after {
  margin-left: 10px;
  content: "·";
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(110, 231, 176, 0.14);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: clamp(500px, 46vw, 640px);
}

/* --------------------------------------------------------------------------
   8. Device treatment — the screenshots are the product
   -------------------------------------------------------------------------- */

.device {
  --dw: 260px;
  --dr: clamp(18px, calc(var(--dw) * 0.08), 24px);
  --db: 3px;
  position: relative;
  width: var(--dw);
  margin: 0;
  flex: none;
}

.device-frame {
  position: relative;
  padding: var(--db);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(var(--dr) + var(--db));
  box-shadow:
    0 0 34px -6px var(--rim),
    0 42px 70px -28px rgba(0, 0, 0, 0.9);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: var(--dr);
}

/* Grounded contact shadow. */
.device::after {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: -20px;
  left: 4%;
  height: 40px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(0, 0, 0, 0.62),
    transparent 72%
  );
  content: "";
}

.device-caption {
  margin-top: 18px;
  color: #eff1f6;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

/* Hero device stack */
.hero-stack {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
}

.hero-stack .device-main {
  --dw: clamp(206px, 19.5vw, 280px);
  z-index: 2;
}

/* Two whole devices, staggered — the back one is lifted and only its edge
   is covered, so neither reads as a z-index accident. */
.hero-stack .device-back {
  --dw: clamp(150px, 14.2vw, 204px);
  z-index: 1;
  order: -1;
  margin-right: calc(var(--dw) * -0.1);
  margin-bottom: clamp(96px, 10vw, 150px);
  opacity: 0.94;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  display: grid;
  width: 186px;
  padding: 15px 16px 16px;
  background: rgba(14, 12, 24, 0.72);
  border: 1px solid rgba(255, 212, 138, 0.24);
  border-radius: 14px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  gap: 11px;
}

.hero-chip b {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-chip span {
  color: #b6bed3;
  font-size: 0.75rem;
  line-height: 1.35;
}

.tile-row {
  display: flex;
  gap: 6px;
}

.tile-row i {
  display: block;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.tile-row i:nth-child(2),
.tile-row i:nth-child(4) {
  background: linear-gradient(180deg, var(--gold), var(--ember));
  border-color: transparent;
  box-shadow: 0 0 16px rgba(255, 157, 77, 0.45);
}

/* --------------------------------------------------------------------------
   9. Proof strip — three ruled specimens
   -------------------------------------------------------------------------- */

.z-strip {
  padding: 0;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}

.proof-item {
  padding: 34px 34px 36px 0;
}

.proof-item + .proof-item {
  padding-left: 34px;
  border-left: 1px solid var(--rule);
}

.spec-index {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.proof-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.proof-item strong + span {
  color: var(--fg-dim);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   10. Ladder — how it works
   -------------------------------------------------------------------------- */

.ladder {
  border-top: 1px solid var(--rule);
}

.ladder-row {
  align-items: start;
  padding: 34px 0 36px;
  row-gap: 18px;
  border-bottom: 1px solid var(--rule);
}

.ladder-num {
  grid-column: 1 / 3;
}

.ladder-row > div {
  grid-column: 3 / 7;
}

.ladder-row > p {
  grid-column: 7 / -1;
}

.ladder-num {
  color: transparent;
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 4.6vw, 4.3rem);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 1.25px rgba(255, 255, 255, 0.42);
}

.ladder-row h3 {
  font-size: clamp(1.24rem, 1.9vw, 1.62rem);
  letter-spacing: -0.028em;
}

.ladder-time {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ladder-row p {
  max-width: 56ch;
  color: var(--fg-dim);
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   11. Split layouts (alarm engineering / missions / privacy)
   -------------------------------------------------------------------------- */

.split {
  align-items: center;
  row-gap: clamp(40px, 5vw, 60px);
}

.split > .split-visual {
  grid-column: 1 / 6;
}

.split > .split-copy {
  grid-column: 6 / -1;
}

/* Missions and privacy read copy-first, so the device takes the right. */
.split-reverse > .split-copy {
  grid-column: 1 / 8;
}

.split-reverse > .split-visual {
  grid-column: 8 / -1;
}

/* The device sits on the field's outer edge, not floating mid-column, so
   every split reaches both margins. */
.split-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.split-reverse > .split-visual,
.pro-visual {
  justify-content: flex-end;
}


.split-copy > .lede {
  margin-top: 22px;
}

.feature-list {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid var(--rule);
}

.feature-line {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  padding: 20px 0;
  gap: 4px 18px;
  border-bottom: 1px solid var(--rule);
}

.feature-line .icon {
  grid-row: span 2;
  margin-top: 3px;
  color: var(--accent);
}

.feature-line strong {
  font-size: 0.985rem;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.feature-line span {
  color: var(--fg-dim);
  font-size: 0.9rem;
}

/* Instrument panel that sits against the editor screenshot. */
.stop-choice {
  position: absolute;
  z-index: 3;
  right: calc(var(--dw) * -0.44);
  bottom: 46px;
  width: 218px;
  padding: 16px;
  background: rgba(16, 13, 26, 0.82);
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  box-shadow: 0 26px 56px -20px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.stop-choice small {
  display: block;
  margin-bottom: 12px;
  color: #b6bed3;
  font-family: var(--font-mono);
  font-size: 0.594rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.choice-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.choice-buttons span {
  padding: 9px 6px;
  color: #f7f5f0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--rule);
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.choice-buttons span:last-child {
  color: #1b1206;
  background: linear-gradient(180deg, var(--gold), var(--ember));
  border-color: transparent;
}

/* --------------------------------------------------------------------------
   12. Mission specimen plates
   -------------------------------------------------------------------------- */

.plates {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(40px, 4.4vw, 60px);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
}

.plate {
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 20px 18px 22px;
  gap: 14px;
}

.plate + .plate {
  border-left: 1px solid var(--rule);
}

.plate-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.plate-index {
  color: var(--fg-dim);
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.badge {
  padding: 3px 7px;
  color: #241704;
  background: var(--gold);
  border-radius: 4px;
  font-size: 0.563rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.plate-glyph {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.glyph-tiles {
  display: grid;
  grid-template-columns: repeat(2, 15px);
  gap: 5px;
}

.glyph-tiles i {
  display: block;
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.glyph-tiles i:nth-child(2) {
  background: currentColor;
}

.glyph-odd {
  display: flex;
  align-items: center;
  gap: 7px;
}

.glyph-odd i {
  display: block;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.glyph-odd i:nth-child(3) {
  background: currentColor;
  border-radius: 3px;
}

.glyph-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: currentColor;
  vertical-align: -0.14em;
}

.plate h3 {
  font-size: 1.06rem;
  letter-spacing: -0.024em;
}

.plate p {
  margin-top: 6px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 0.594rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.plates-note {
  display: flex;
  align-items: flex-start;
  margin-top: 26px;
  gap: 12px;
  color: var(--fg-dim);
  font-size: 0.925rem;
}

.plates-note .icon {
  margin-top: 4px;
  color: var(--accent);
}

.plates-note strong {
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   13. Protection matrix
   -------------------------------------------------------------------------- */

.matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
}

.matrix-cell {
  padding: 28px 40px 30px 0;
  border-bottom: 1px solid var(--rule);
}

.matrix-cell:nth-child(even) {
  padding-right: 0;
  padding-left: 40px;
  border-left: 1px solid var(--rule);
}

.matrix-index {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  gap: 12px;
  color: var(--accent);
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.matrix-cell h3 {
  font-size: 1.24rem;
  letter-spacing: -0.026em;
}

.matrix-cell h3 + p {
  max-width: 46ch;
  margin-top: 10px;
  color: var(--fg-dim);
  font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   14. Preview — two captures in device frames
   -------------------------------------------------------------------------- */

.reel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}

.reel figure {
  display: grid;
  justify-items: center;
  margin: 0;
}

.reel .device {
  --dw: clamp(210px, 22vw, 290px);
}

.reel video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1560;
  background: #000;
  border-radius: var(--dr);
}

/* The caption rule runs the full column, so the pair reads as one ruled
   specimen sheet instead of two floating objects. */
.reel figcaption {
  width: 100%;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-strong);
  text-align: left;
}

.reel figcaption h3 + p {
  max-width: 46ch;
}

.reel-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 14px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reel h3 {
  font-size: 1.2rem;
}

.reel figcaption h3 + p {
  margin-top: 8px;
  color: var(--fg-dim);
  font-size: 0.925rem;
}

/* --------------------------------------------------------------------------
   15. Pro
   -------------------------------------------------------------------------- */

.pro-layout {
  align-items: start;
  row-gap: clamp(40px, 5vw, 56px);
}

.pro-layout > :first-child {
  grid-column: 1 / 8;
}

.pro-layout > .pro-visual {
  grid-column: 8 / -1;
}

.pro-mark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 10px;
  color: var(--gold);
  font-size: 0.688rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pro-mark::before {
  width: 8px;
  height: 8px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(255, 212, 138, 0.8);
  content: "";
  transform: rotate(45deg);
}

.one-time {
  display: flex;
  align-items: baseline;
  margin-top: 30px;
  padding: 18px 0;
  gap: 16px;
  border-top: 1px solid var(--rule-strong);
  flex-wrap: wrap;
}

.one-time strong {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.one-time span {
  color: var(--fg-dim);
  font-size: 0.875rem;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--rule);
}

.tier {
  padding: 26px 34px 30px 0;
}

.tier + .tier {
  padding-right: 0;
  padding-left: 34px;
  border-left: 1px solid var(--rule);
}

.tier-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
  color: var(--fg-dim);
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tier-pro .tier-label {
  color: var(--gold);
}

.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
}

.check-list li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--rule);
  color: var(--fg-dim);
  font-size: 0.9rem;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  content: "✓";
}

.tier-pro .check-list li::before {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   16. Privacy ledger
   -------------------------------------------------------------------------- */

.ledger {
  margin-top: 34px;
  border-top: 1px solid var(--rule-strong);
}

.ledger-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  padding: 18px 0;
  gap: 16px;
  border-bottom: 1px solid var(--rule);
}

.ledger-row .icon {
  color: var(--mint);
}

.ledger-row strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.ledger-row small {
  display: block;
  color: var(--fg-dim);
  font-size: 0.813rem;
}

.ledger-status {
  color: #9df3c8;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.privacy-actions {
  margin-top: 34px;
}

/* --------------------------------------------------------------------------
   17. FAQ + support
   -------------------------------------------------------------------------- */

/* Support resolves to the field: the head and the contact block hold
   columns 1–4 and stay with the reader, the questions run 5–12 and finish
   flush on the right edge. */
.support-grid {
  align-items: start;
  row-gap: 40px;
}

.support-aside {
  grid-column: 1 / 5;
}

.support-aside-inner {
  position: sticky;
  top: 116px;
}

.support-aside h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

.support-card {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--rule-strong);
}

.support-card h3 {
  font-size: 1.06rem;
}

.support-card p {
  max-width: 40ch;
  margin-top: 8px;
  color: var(--fg-dim);
  font-size: 0.9rem;
}

.support-card .button {
  margin-top: 22px;
}

.support-address {
  margin-top: 16px !important;
  font-family: var(--font-mono);
  font-size: 0.688rem !important;
  letter-spacing: 0.08em;
}

.faq {
  grid-column: 5 / -1;
  border-top: 1px solid var(--rule-strong);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto 26px;
  align-items: baseline;
  padding: 21px 0;
  gap: 16px;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
}

/* The annotation column: each question is filed under a topic, which also
   gives every row a reason to reach column 12. */
.faq-tag {
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-index {
  color: var(--fg-dim);
  font-size: 0.688rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.9;
}

.faq-sign {
  justify-self: end;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.4;
  transition: transform 200ms ease;
}

.faq details[open] .faq-sign {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 62ch;
  margin: -4px 0 24px;
  padding-left: 70px;
  color: var(--fg-dim);
  font-size: 0.95rem;
}

.faq details a,
.support-card a:not(.button),
.prose a {
  /* keeps an inline link's hit area at 24px without changing the line box */
  padding-block: 3px;
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
}

.faq details a:hover,
.prose a:hover {
  text-decoration-color: currentColor;
}

/* --------------------------------------------------------------------------
   18. Dawn CTA
   -------------------------------------------------------------------------- */

.closing-grid {
  align-items: stretch;
  row-gap: 40px;
}

.closing-grid > :first-child {
  grid-column: 1 / 7;
}

.closing-side {
  grid-column: 8 / -1;
}

.closing-grid h2 {
  margin-top: 8px;
  max-width: 15ch;
  font-size: clamp(2rem, 4.1vw, 3.9rem);
}

.closing-grid .lede {
  color: #4a3c2f;
  font-size: 1.06rem;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 12px;
}

/* The spec ledger stretches to the height of the copy, so the right half of
   the dawn frame is held by content rather than by empty light. */
.closing-side {
  display: grid;
  align-content: stretch;
  gap: 0;
}

.closing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  gap: 18px;
  border-top: 1px solid var(--rule);
  color: #4a3c2f;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.closing-meta:last-child {
  border-bottom: 1px solid var(--rule);
}

.closing-meta b {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   19. Footer — the morning after
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  padding: 44px 0 max(26px, env(safe-area-inset-bottom));
  color: #2a2026;
  background: var(--parchment);
  --fg: #171219;
  --fg-dim: #574839;
  --rule: rgba(23, 18, 25, 0.16);
  --focus: #241704;
  --focus-halo: rgba(255, 255, 255, 0.8);
}

/* Fades the dark legal pages into the dawn. Scoped to those pages only: on
   the marketing page the closing zone is already cream, and letting this
   veil sit over it dropped the CTA button to 2.6:1. */
.legal-page .site-footer::before {
  position: absolute;
  top: -180px;
  right: 0;
  left: 0;
  height: 180px;
  background: linear-gradient(
    180deg,
    rgba(238, 225, 198, 0),
    rgba(238, 225, 198, 0.72) 62%,
    var(--parchment)
  );
  content: "";
  pointer-events: none;
}

.footer-inner {
  row-gap: 40px;
}

.footer-brand {
  grid-column: 1 / 5;
}

.footer-links {
  grid-column: 6 / -1;
}

.footer-brand .brand {
  color: var(--ink);
}

.footer-brand p {
  margin-top: 14px;
  color: #574839;
  font-size: 0.9rem;
}

.footer-req {
  font-family: var(--font-mono);
  font-size: 0.688rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 2px;
}

.footer-links strong {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  color: #574839;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  color: #3d3129;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 34px;
  padding-top: 22px;
  gap: 12px;
  border-top: 1px solid var(--rule);
  color: #574839;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apple-credit {
  max-width: 62ch;
  font-family: var(--font-sans);
  line-height: 1.45;
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
}

/* --------------------------------------------------------------------------
   20. Legal pages
   -------------------------------------------------------------------------- */

body.legal-page {
  background: linear-gradient(180deg, #05070d 0%, #0d1226 34%, #171a38 100%)
    no-repeat;
  background-attachment: scroll;
}

/* The legal pages use the same field as the marketing page: document on
   columns 1–8, a running index and the contact address on 9–12. */
.legal-main {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  column-gap: var(--col-gap);
  row-gap: 48px;
  min-height: 74vh;
  padding-top: 130px;
  padding-bottom: 120px;
}

.legal-body {
  grid-column: 1 / 10;
}

/* The rule runs the full height of the document, not just the height of the
   index, so the right column reads as a column. */
.legal-aside {
  grid-column: 10 / -1;
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}

.legal-aside-inner {
  position: sticky;
  top: 116px;
}

.legal-aside-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.legal-toc,
.legal-aside-inner > .legal-aside-label ~ .legal-aside-label {
  margin-top: 32px;
}

.legal-docs,
.legal-toc {
  display: grid;
  gap: 2px;
}

.legal-docs a,
.legal-toc a {
  display: flex;
  align-items: center;
  min-height: 30px;
  color: var(--fg-dim);
  font-size: 0.875rem;
  line-height: 1.3;
}

.legal-toc a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.legal-docs a:hover,
.legal-toc a:hover {
  color: var(--fg);
}

.legal-docs a[aria-current="page"] {
  color: var(--fg);
  font-weight: 700;
}

.legal-docs a[aria-current="page"]::before {
  width: 5px;
  height: 5px;
  margin-right: 9px;
  background: var(--ember);
  border-radius: 50%;
  content: "";
}

.legal-aside-mail {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-aside-mail:hover {
  color: var(--fg);
}

.legal-main::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(
    120% 60% at 78% 108%,
    rgba(255, 148, 62, 0.18),
    transparent 62%
  );
  content: "";
  pointer-events: none;
}

.legal-main > * {
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 40px;
  gap: 9px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.back-link:hover {
  color: #fff;
}

/* Rules and headings run the full column; the measure is capped on the
   text itself so the page still reads at 62–68 characters. */
.prose {
  max-width: none;
}

.prose p,
.prose li {
  max-width: 66ch;
}

.prose h1 {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--rule-strong);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.02;
}

.prose h2 {
  margin: 52px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 32px 0 10px;
  font-size: 1.02rem;
}

.prose p,
.prose li {
  margin-top: 14px;
  color: var(--fg-dim);
  font-size: 1.02rem;
  line-height: 1.68;
}

.prose ul,
.prose ol {
  margin: 14px 0;
  padding-left: 1.15em;
}

.prose strong {
  color: var(--fg);
}

.prose table {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.prose th,
.prose td {
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--fg-dim);
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prose hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.86em;
}

/* --------------------------------------------------------------------------
   21. Scroll reveal
   -------------------------------------------------------------------------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 720ms cubic-bezier(0.22, 0.68, 0.24, 1),
    transform 720ms cubic-bezier(0.22, 0.68, 0.24, 1);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

html.js [data-reveal]:nth-child(2) {
  transition-delay: 70ms;
}

html.js [data-reveal]:nth-child(3) {
  transition-delay: 140ms;
}

html.js [data-reveal]:nth-child(4) {
  transition-delay: 210ms;
}

html.js [data-reveal]:nth-child(5) {
  transition-delay: 280ms;
}

/* Without JS the nav cannot collapse, so the header stops floating and the
   links wrap onto their own row instead of overlapping the page. */
html:not(.js) .site-header {
  position: static;
}

html:not(.js) .site-nav {
  flex-wrap: wrap;
  padding-block: 8px;
  row-gap: 2px;
}

html:not(.js) .zone.z-hero {
  padding-top: clamp(44px, 5vw, 72px);
}

html:not(.js) .legal-main {
  padding-top: 56px;
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */

/* Wide screens keep a clear margin so the time rail never crowds the text. */
@media (min-width: 1100px) {
  :root {
    --gutter: 108px;
  }
}

@media (max-width: 1099px) {
  html.js .time-rail {
    display: none;
  }
}

@media (max-width: 1040px) {
  .plates {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 0;
  }

  .plate {
    min-height: 226px;
    border-bottom: 1px solid var(--rule);
  }

  .plate:nth-child(3n + 1) {
    border-left: 0;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .hero-visual {
    align-items: flex-end;
    justify-content: space-between;
    padding-inline: 0;
  }

  .hero-chip {
    position: static;
    margin-bottom: 34px;
  }

  .hero-stack {
    width: auto;
  }
}

@media (max-width: 980px) {
  .nav-cta-bar {
    margin-left: auto;
  }

  /* With JS the links collapse into a toggle panel; without it they stay
     inline so navigation is never unreachable. */
  html:not(.js) .nav-links {
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-inline: 0;
    gap: 2px 6px;
  }

  html:not(.js) .nav-links a {
    padding-inline: 6px;
  }

  html:not(.js) .nav-cta-bar {
    display: none;
  }

  html:not(.js) .nav-links a.nav-cta-inline {
    display: inline-flex;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .nav-cta-bar {
    display: none;
  }

  .js .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 6px max(var(--gutter), calc((100% - var(--shell)) / 2)) 20px;
    background: #080a14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
    gap: 0;
  }

  body.dawn .nav-links {
    background: var(--cream);
    border-bottom-color: rgba(23, 18, 25, 0.16);
  }

  body.nav-open .nav-links {
    display: grid;
  }

  .js .nav-links a {
    min-height: 50px;
    padding-inline: 2px;
    color: #e7eaf2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
  }

  body.dawn .js .nav-links a {
    color: #2a2026;
    border-bottom-color: rgba(23, 18, 25, 0.12);
  }

  .js .nav-links a.nav-cta-inline {
    display: inline-flex;
    justify-content: center;
    min-height: 50px;
    margin-top: 16px;
    color: #1b1206;
    border-bottom: 0;
    border-radius: 10px;
  }

  /* Below the two-column threshold every 12-column span collapses to a
     single stacked field. */
  .hero-grid,
  .section-head,
  .ladder-row,
  .split,
  .pro-layout,
  .support-grid,
  .closing-grid,
  .footer-inner,
  .legal-main {
    grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr);
  }

  .hero-copy,
  .hero-visual,
  .section-head > :first-child,
  .section-head .lede,
  .split > .split-visual,
  .split > .split-copy,
  .split-reverse > .split-copy,
  .split-reverse > .split-visual,
  .pro-layout > :first-child,
  .pro-layout > .pro-visual,
  .support-aside,
  .faq,
  .closing-grid > :first-child,
  .closing-side,
  .footer-brand,
  .footer-links,
  .legal-body,
  .legal-aside {
    grid-column: 1 / -1;
  }

  .hero-grid {
    row-gap: 12px;
  }

  .hero-visual {
    min-height: 0;
    margin-top: 42px;
    padding-bottom: 26px;
  }

  .hero-stack {
    justify-content: flex-end;
  }

  .hero-chip {
    bottom: 16px;
  }

  .split {
    row-gap: 44px;
  }

  .split-copy {
    order: -1;
  }

  .ladder-num {
    grid-column: 1 / 2;
  }

  .ladder-row > div,
  .ladder-row > p {
    grid-column: 2 / -1;
  }

  .ladder-row {
    row-gap: 10px;
  }

  /* Stacked: the device is no longer holding a column edge, so centre it. */
  .split-visual,
  .split-reverse > .split-visual,
  .pro-visual {
    justify-content: center;
  }

  .support-grid {
    row-gap: 34px;
  }

  .support-aside-inner,
  .legal-aside-inner {
    position: static;
  }

  .support-card {
    max-width: 620px;
  }

  .closing-grid {
    align-items: start;
  }

  .closing-side {
    align-content: start;
  }

  .legal-main {
    row-gap: 56px;
  }

  .legal-aside {
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid var(--rule-strong);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  :root {
    --gutter: 20px;
  }

  h1 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.62rem, 6.4vw, 2.2rem);
  }

  .zone {
    padding: 68px 0;
  }

  .zone.z-hero {
    padding-top: 116px;
    padding-bottom: 58px;
  }

  .zone.z-strip {
    padding: 0;
  }

  .zone.z-closing {
    padding-top: 128px;
    padding-bottom: 76px;
    background: linear-gradient(
      180deg,
      #59698a 0%,
      #6d788f 6%,
      #8e8987 12%,
      #b8a292 18%,
      #dbc4a4 25%,
      #f0e0c4 32%,
      var(--cream) 39%,
      var(--cream) 100%
    );
  }

  .stamp {
    flex-wrap: wrap;
    row-gap: 9px;
    font-size: 0.625rem;
    letter-spacing: 0.16em;
  }

  .stamp::after {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    margin-bottom: 38px;
  }

  .section-head h2 {
    max-width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .app-store-badge {
    min-height: 48px;
  }

  .hero-actions .app-store-badge img {
    height: 48px;
  }

  /* One whole device plus the mission float — a second phone at this width
     could only ever be a sliver falling off the left edge. */
  .hero-stack .device-main {
    --dw: min(62vw, 250px);
    transform: none;
  }

  .hero-stack .device-back {
    display: none;
  }

  .hero-chip {
    width: min(48vw, 176px);
    bottom: 12px;
  }

  .hero-chip .tile-row i {
    width: 22px;
    height: 22px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-item {
    padding: 24px 0;
    border-top: 1px solid var(--rule);
  }

  .proof-item + .proof-item {
    padding-left: 0;
    border-left: 0;
  }

  .proof-strip {
    border-bottom: 0;
  }

  .spec-index {
    margin-bottom: 12px;
  }

  .ladder-row {
    grid-template-columns: minmax(0, 3.6rem) minmax(0, 1fr);
    padding: 28px 0 30px;
    gap: 8px 18px;
  }

  .ladder-num {
    font-size: 2.1rem;
  }

  .stop-choice {
    right: auto;
    bottom: -18px;
    left: -12px;
    width: 200px;
  }

  .split-visual {
    justify-content: center;
    padding-bottom: 24px;
  }

  .plates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plate {
    min-height: 190px;
    padding: 18px 14px 20px;
    gap: 14px;
  }

  .plate:nth-child(3n + 1) {
    border-left: 1px solid var(--rule);
  }

  .plate:nth-child(odd) {
    border-left: 0;
  }

  .matrix {
    grid-template-columns: 1fr;
  }

  .matrix-cell,
  .matrix-cell:nth-child(even) {
    padding: 26px 0 28px;
    border-left: 0;
  }

  .matrix-index {
    margin-bottom: 14px;
  }

  .reel {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .reel > figure:nth-child(2) {
    margin-top: 0;
  }

  .reel .device {
    --dw: min(76vw, 260px);
  }

  .reel figcaption {
    margin-top: 30px;
  }

  .tiers {
    grid-template-columns: 1fr;
  }

  .tier {
    padding: 22px 0 26px;
  }

  .tier + .tier {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--rule-strong);
  }

  .ledger-row {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px 14px;
  }

  .ledger-status {
    grid-column: 2;
    color: var(--fg-dim);
  }

  .faq summary {
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    gap: 10px;
    font-size: 0.99rem;
  }

  .faq-tag {
    display: none;
  }

  .faq details p {
    padding-left: 50px;
  }

  .support-card .button {
    width: 100%;
  }

  .closing-actions .button {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .apple-credit {
    text-align: left;
  }

  .legal-main {
    padding-top: 120px;
    padding-bottom: 180px;
  }
}

@media (max-width: 420px) {
  .nav-toggle-label {
    display: none;
  }

  .site-nav .brand {
    margin-right: auto;
  }

  .hero-chip {
    width: min(52vw, 168px);
    padding: 13px 13px 14px;
  }

  .hero-chip .tile-row i {
    width: 20px;
    height: 20px;
  }

  .hero-stack .device-main {
    --dw: min(60vw, 232px);
  }

  .launch-note {
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .launch-state {
    flex: 1 1 auto;
  }

  .launch-state::after {
    display: none;
  }

  .launch-req {
    flex: 1 0 100%;
    padding-left: 17px;
  }

  .plate p {
    font-size: 0.531rem;
    letter-spacing: 0.1em;
  }
}

/* --------------------------------------------------------------------------
   23. Navigation-sized views

   A menu jump should resolve as a complete composition, not strand the
   visitor halfway through a tall product specimen. On larger screens the
   anchored sections scale their media and spacing against viewport height.
   On phones, decorative devices give way to compact, content-complete views.
   -------------------------------------------------------------------------- */

@media (min-width: 981px) and (min-height: 700px) {
  .anchor-screen {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    padding-block: clamp(28px, 4.5vh, 52px);
  }

  .anchor-screen > .shell {
    width: min(calc(100% - (var(--gutter) * 2)), var(--shell));
  }

  .anchor-screen .section-head {
    margin-bottom: clamp(22px, 3vh, 38px);
  }

  .anchor-screen .stamp {
    margin-bottom: clamp(12px, 1.8vh, 18px);
  }

  .z-missions .split {
    row-gap: clamp(20px, 3vh, 36px);
  }

  .z-missions .split-copy > .lede {
    margin-top: clamp(14px, 2vh, 22px);
  }

  .z-missions .plates-note {
    margin-top: clamp(16px, 2.4vh, 24px);
  }

  .z-missions .device {
    --dw: clamp(158px, 22vh, 196px) !important;
  }

  .z-missions .plates {
    margin-top: clamp(20px, 3vh, 34px);
  }

  .z-missions .plate {
    min-height: clamp(126px, 17vh, 158px);
    padding: clamp(14px, 2vh, 20px) 16px;
    gap: clamp(8px, 1.5vh, 14px);
  }

  .z-preview .reel {
    gap: clamp(28px, 4vw, 52px);
  }

  .z-preview .reel .device {
    --dw: clamp(158px, 22vh, 220px);
  }

  .z-preview .reel figcaption {
    margin-top: clamp(14px, 2vh, 22px);
    padding-top: clamp(12px, 1.8vh, 18px);
  }

  .z-preview .reel-meta {
    margin-bottom: 8px;
  }

  .z-pro .one-time {
    margin-top: clamp(18px, 2.6vh, 28px);
    padding-block: clamp(12px, 1.8vh, 18px);
  }

  .z-pro .tiers {
    margin-top: clamp(18px, 2.4vh, 28px);
  }

  .z-pro .tier {
    padding-top: clamp(16px, 2.2vh, 24px);
    padding-bottom: clamp(18px, 2.5vh, 28px);
  }

  .z-pro .tier-label {
    margin-bottom: clamp(12px, 1.8vh, 20px);
  }

  .z-pro .check-list li {
    padding-block: clamp(7px, 1.2vh, 10px);
  }

  .z-pro .pro-visual .device {
    --dw: clamp(184px, 27vh, 256px) !important;
  }

  .z-support .faq summary {
    padding-block: clamp(14px, 2.2vh, 20px);
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .anchor-screen {
    padding-block: 48px;
  }

  .z-alarm .split-visual,
  .z-missions .split-visual,
  .z-pro .pro-visual {
    display: none;
  }

  .z-alarm .split,
  .z-missions .split {
    display: block;
  }

  .z-missions .plates {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 30px;
    border-bottom: 1px solid var(--rule);
  }

  .z-missions .plate,
  .z-missions .plate:nth-child(3n + 1) {
    min-height: 150px;
    padding: 16px 14px;
    gap: 10px;
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }

  .z-missions .plate:first-child {
    border-left: 0;
  }

  .z-preview .reel .device {
    --dw: min(24vw, 190px);
  }

  .z-preview .reel figcaption {
    margin-top: 20px;
    padding-top: 14px;
  }

  .z-pro .one-time,
  .z-pro .tiers {
    margin-top: 22px;
  }

  .z-pro .check-list li {
    padding-block: 8px;
  }
}

@media (max-width: 760px) {
  .anchor-screen {
    padding-block: 44px;
  }

  /* Features and missions communicate more clearly as complete summaries on
     a phone; the large devices are supporting imagery, not required content. */
  .z-alarm .split-visual,
  .z-missions .split-visual,
  .z-pro .pro-visual {
    display: none;
  }

  .z-alarm .split,
  .z-missions .split {
    display: block;
  }

  .z-alarm .split-copy > .lede,
  .z-missions .split-copy > .lede {
    margin-top: 14px;
  }

  .z-missions .plates-note {
    margin-top: 16px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  /* All five missions now fit as a single compact instrument list rather than
     five poster-sized cards. */
  .z-missions .plates {
    grid-template-columns: 1fr;
    margin-top: 24px;
    border-bottom: 1px solid var(--rule);
  }

  .z-missions .plate,
  .z-missions .plate:nth-child(3n + 1),
  .z-missions .plate:nth-child(odd) {
    display: grid;
    grid-template-columns: 34px 54px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 0;
    padding: 11px 0;
    gap: 10px;
    border-bottom: 1px solid var(--rule);
    border-left: 0;
  }

  .z-missions .plate:last-child {
    border-bottom: 0;
  }

  .z-missions .plate-head {
    display: contents;
  }

  .z-missions .plate-index {
    grid-row: 1;
    grid-column: 1;
  }

  .z-missions .plate .badge {
    grid-row: 1;
    grid-column: 4;
  }

  .z-missions .plate-glyph {
    grid-row: 1;
    grid-column: 2;
    min-height: 32px;
    font-size: 1rem;
  }

  .z-missions .plate > div:last-child {
    grid-row: 1;
    grid-column: 3;
  }

  .z-missions .plate h3 {
    font-size: 0.96rem;
  }

  .z-missions .plate p {
    margin-top: 2px;
    font-size: 0.52rem;
  }

  .z-missions .glyph-tiles {
    grid-template-columns: repeat(2, 11px);
    gap: 3px;
  }

  .z-missions .glyph-tiles i,
  .z-missions .glyph-odd i {
    width: 11px;
    height: 11px;
  }

  /* Preview cards swipe horizontally, keeping a complete phone and caption in
     one viewport while leaving the second experience visibly within reach. */
  .z-preview .section-head {
    margin-bottom: 24px;
  }

  .z-preview .reel {
    display: flex;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 14px;
    gap: 18px;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .z-preview .reel figure {
    width: calc(100vw - 56px);
    flex: 0 0 calc(100vw - 56px);
    scroll-snap-align: start;
  }

  .z-preview .reel .device {
    --dw: min(48vw, 178px);
  }

  .z-preview .reel figcaption {
    margin-top: 18px;
    padding-top: 12px;
  }

  .z-preview .reel-meta {
    margin-bottom: 8px;
  }

  /* The comparison remains complete but uses two compact columns, avoiding a
     second full screen of list items. */
  .z-pro .one-time {
    margin-top: 20px;
    padding-block: 12px;
  }

  .z-pro .tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
  }

  .z-pro .tier {
    padding: 16px 10px 12px 0;
  }

  .z-pro .tier + .tier {
    padding: 16px 0 12px 10px;
  }

  .z-pro .tier-label {
    display: grid;
    margin-bottom: 10px;
    gap: 3px;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }

  .z-pro .check-list li {
    padding: 7px 0 7px 16px;
    font-size: 0.69rem;
    line-height: 1.25;
  }

  .z-pro .check-list li::before {
    top: 7px;
    font-size: 0.7rem;
  }

  .z-support .support-grid {
    row-gap: 24px;
  }

  .z-support .support-card {
    margin-top: 24px;
    padding-top: 18px;
  }

  .z-support .faq summary {
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    padding: 14px 0;
    gap: 10px;
    font-size: 0.92rem;
  }

  .z-support .faq-tag {
    display: none;
  }

  .z-support .faq-sign {
    grid-column: 3;
  }

  .z-how .section-head {
    margin-bottom: 22px;
  }

  .z-how .ladder-row {
    padding-block: 18px 20px;
  }

  .z-how .ladder-time {
    margin-bottom: 7px;
  }

  .z-how .ladder-row p {
    font-size: 0.88rem;
    line-height: 1.48;
  }
}

/* --------------------------------------------------------------------------
   24. Reduced motion — nothing animates, and nothing is left invisible
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js body.marketing .daybreak-sky {
    display: none;
  }

  html.js body.marketing .zone {
    background: linear-gradient(180deg, var(--sky-a), var(--sky-b));
  }

  html.js body.marketing .zone.z-closing {
    background: linear-gradient(
      180deg,
      #59698a 0%,
      #6d788f 6%,
      #8e8987 13%,
      #b8a292 21%,
      #dbc4a4 29%,
      #f0e0c4 37%,
      var(--cream) 45%,
      var(--cream) 100%
    );
  }

  html.js body.marketing .zone::before {
    display: block;
  }

  html.js body.marketing .site-footer {
    background: var(--parchment);
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal],
  html.js [data-reveal].is-in {
    opacity: 1 !important;
    transform: none !important;
  }

  .button:hover,
  .nav-cta:hover {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --fg-dim: #e6e9f2;
    --rule: rgba(255, 255, 255, 0.28);
  }

  .z-closing,
  .site-footer {
    --fg-dim: #33291f;
  }
}
