/* ── PULSE V2.1 — index.css (flagship page layer · "ION ATMOSPHERE") ── */

/* ── HERO — the monolith void. Full-viewport black, one breathing rim-light, ── */
.hero.void {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Rhythm is height-aware so copy + slab land in ONE viewport on load */
  padding-block: clamp(4.5rem, 8vh, 6rem) clamp(1.5rem, 4vh, 2.5rem);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-inner .kicker { justify-content: center; }

.hero-inner h1 {
  margin-top: var(--sp-4);
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  max-width: 16ch;
}

.hero-inner .section-sub {
  margin-inline: auto;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.hero-inner .trust-strip {
  display: block;
  margin-top: var(--sp-4);
}

/* The slab — interior layout: mono readout column + the live scope face */
.hero .monolith { width: min(720px, 100%); }
.hero .monolith-body {
  padding: clamp(14px, 2vw, 22px) clamp(18px, 3vw, 28px);
}
.monolith { margin-top: var(--sp-6); }

.monolith-body {
  display: grid;
  grid-template-columns: minmax(11rem, auto) 1fr;
  gap: var(--sp-6);
  align-items: center;
  text-align: left;
}

.monolith-readout { display: grid; gap: var(--sp-2); justify-items: start; }

.monolith-readout-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.monolith-readout-head .chip { padding: 4px 9px; }

/* Reserve digit room so 9.8 → 12.4 never shifts the slab layout */
.js-scope-num { display: inline-block; min-width: 4ch; }

.monolith-meta {
  font: 400 var(--fs-micro) / 1.6 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-3);
}

/* The scope window — the trace lives INSIDE the instrument: fades in from */
.monolith-scope {
  position: relative;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.monolith-scope::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  border-top: 1px dashed var(--line-2);
  pointer-events: none;
}
.monolith-scope .trace-svg { position: relative; min-width: 0; }

/* HUD registration brackets — the slab is framed like an instrument */
.monolith-corners {
  position: absolute;
  inset: -7px;
  pointer-events: none;
  opacity: 0.85;
  background-image:
    linear-gradient(var(--accent-line), var(--accent-line)),
    linear-gradient(var(--accent-line), var(--accent-line)),
    linear-gradient(var(--accent-line), var(--accent-line)),
    linear-gradient(var(--accent-line), var(--accent-line)),
    linear-gradient(var(--accent-line), var(--accent-line)),
    linear-gradient(var(--accent-line), var(--accent-line)),
    linear-gradient(var(--accent-line), var(--accent-line)),
    linear-gradient(var(--accent-line), var(--accent-line));
  background-repeat: no-repeat;
  background-size:
    16px 1px, 1px 16px,
    16px 1px, 1px 16px,
    16px 1px, 1px 16px,
    16px 1px, 1px 16px;
  background-position:
    0 0, 0 0,
    100% 0, 100% 0,
    0 100%, 0 100%,
    100% 100%, 100% 100%;
}

.hero-inner .trace-caption { margin-top: var(--sp-4); }

/* ── THE SIGNAL FIELD — full-bleed canvas environment behind the hero content ── */
.signal-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* The field carries the hero's atmosphere now — tone the rim-light down so */
.hero.void .void-aura { opacity: 0.55; }
html.anim .hero.void .void-aura { animation-name: field-aura-breathe; }
@keyframes field-aura-breathe {
  from { opacity: 0.42; transform: translateX(-50%) scale(1); }
  to   { opacity: 0.58; transform: translateX(-50%) scale(1.05); }
}

/* .fv — hero reveal choreography, timed by field.js so the copy staggers in */
html.anim .fv {
  transition:
    opacity var(--dur-3) ease,
    transform var(--dur-3) var(--ease-glide);
}
html.anim .fv:not(.in-view)       { opacity: 0; transform: translateY(var(--rv-shift)); }
html.anim .fv-scale:not(.in-view) { transform: scale(0.97); }
html.anim:not(.fld-ok) .fv:not(.in-view) { animation: rv-failsafe 0ms linear 3000ms forwards; }

/* ── STATEMENT — living intelligence (the one aurora band on this page) ── */
.section-statement { text-align: center; }

.statement-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.statement-inner .kicker { justify-content: center; }

.statement-title {
  margin-top: var(--sp-4);
  font-size: var(--fs-h1);
  letter-spacing: var(--track-display);
  max-width: 22ch;
}

.statement-inner .section-sub { margin-inline: auto; }

.statement-inner .trust-strip {
  display: block;
  margin-top: var(--sp-5);
}

.statement-cta { margin-top: var(--sp-6); }

/* ── Shared viz furniture — instrument header row inside figures + cards ── */
.viz-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line-1);
  margin-bottom: var(--sp-4);
}

/* ── 01 · Proof — two-series trace chart + KPI trio (the quality bar — ── */
.chart-figure { margin: 0; }

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line-1);
  margin-bottom: var(--sp-4);
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.legend-swatch {
  display: inline-block;
  width: 18px;
  height: 2px;
}
.legend-swatch--stock { background: var(--danger); }
.legend-swatch--pulse {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-line);
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-9);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line-1);
}
.kpi { display: flex; flex-direction: column; justify-content: flex-end; }
.kpi-value {
  font-family: var(--font-mono);
  font-size: var(--fs-num-lg);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
}
.kpi .mono-label {
  display: block;
  margin-top: var(--sp-3);
  max-width: 24ch;
}

/* ── 02 · Features — a 2×2 grid of instruments. One strong animated visual, ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.feature-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface-1);
  border: 1px solid var(--line-1);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition:
    border-color var(--dur-2) ease,
    box-shadow var(--dur-2) ease,
    transform var(--dur-2) var(--ease-glide);
}
.feature-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-2), 0 0 54px -20px rgba(0, 212, 200, 0.22);
  transform: translateY(-2px);
}

.feature-card-viz {
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: stretch;
  margin-block: var(--sp-2) var(--sp-4);
}

.feature-card-title {
  font-size: var(--fs-h4);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-1);
}
.feature-card-line {
  margin-top: var(--sp-2);
  color: var(--text-3);
  font-size: var(--fs-body-sm);
  max-width: 46ch;
}

/* F1 · Tier gauge */
.gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: var(--sp-2);
}
.gauge .gauge-svg { max-width: 220px; }
.gauge-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

/* F2 · Live Tune mini-UI: dial + adapt loop */
.feature-card .livetune {
  justify-items: center;
  gap: var(--sp-4);
}
.livetune-dial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}
.livetune-dial .gauge-svg { max-width: 200px; }
.livetune-dial-label {
  font: 700 var(--fs-micro) / 1.4 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-3);
}

.livetune-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
}
.livetune-step {
  font: 700 var(--fs-micro) / 1 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-3);
  padding: 5px 9px;
  border: 1px solid var(--line-1);
  border-radius: var(--radius-pill);
  transition: color var(--dur-2) ease, border-color var(--dur-2) ease,
    background-color var(--dur-2) ease;
}
.livetune-step:not(:last-child)::after {
  content: "→";
  margin-left: var(--sp-2);
  color: var(--text-4);
}
.livetune-step.is-now {
  color: var(--accent-bright);
  border-color: var(--accent-line);
  background: var(--accent-tint-2);
}

/* F3 · Network: sparkline + chips */
.net-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

/* F4 · Tweak category grid — 12 cells ticking to 84 */
.tweakgrid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.tweakcell {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-3);
  border: 1px solid var(--line-1);
  border-radius: var(--radius-md);
  background: var(--wash-1);
}
.tweakcell-name {
  font-size: var(--fs-body-sm);
  color: var(--text-2);
}
.tweakcell-num {
  font: 700 1.25rem / 1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--text-1);
}

/* ── 03 · See it in action — capture slab + screenshot strip ── */
.showcase video { display: block; width: 100%; height: auto; }
.showcase.is-playing .play-lbl,
.showcase:not(.is-playing) .pause-lbl { display: none; }
html:not([data-theme]) .showcase-play { display: none; }
.shotgrid { list-style: none; padding: 0; margin: var(--sp-6) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--sp-4); }
.shot { display: grid; padding: var(--sp-3); }
.shot img, .shot a { display: block; width: 100%; height: auto; }

/* ── 04 · Reversibility — ONE clean demonstration (apply → recorded → ── */
/* Zone 03 identity — the band is an opaque surface, so the fixed journey */
.section--band {
  background-color: var(--surface-1);
  background-image:
    radial-gradient(circle, var(--line-2) 1px, transparent 1.7px),
    radial-gradient(circle, var(--line-1) 1px, transparent 1.9px);
  background-size: 72px 72px, 116px 116px;
  background-position: 0 0, 35px 59px;
}
.section--band .viz-figure { background-color: var(--surface-2); }

.band-rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  margin: 0;
}
.band-rule--end { top: auto; bottom: 0; }

.revdemo-head { text-align: center; }
.revdemo-head .kicker { justify-content: center; }
.revdemo-head .section-sub { margin-inline: auto; }

.ledger {
  max-width: 42rem;
  margin: var(--sp-8) auto 0;
  /* texture-scan + hud-corners both claim background-image; compose the */
  --hud: var(--line-3);
  background-image:
    repeating-linear-gradient(180deg,
      var(--scanline) 0, var(--scanline) 1px, transparent 1px, transparent 4px),
    linear-gradient(var(--hud), var(--hud)), linear-gradient(var(--hud), var(--hud)),
    linear-gradient(var(--hud), var(--hud)), linear-gradient(var(--hud), var(--hud)),
    linear-gradient(var(--hud), var(--hud)), linear-gradient(var(--hud), var(--hud)),
    linear-gradient(var(--hud), var(--hud)), linear-gradient(var(--hud), var(--hud));
  background-repeat: repeat,
    no-repeat, no-repeat, no-repeat, no-repeat,
    no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: auto,
    12px 1px, 1px 12px,
    12px 1px, 1px 12px,
    12px 1px, 1px 12px,
    12px 1px, 1px 12px;
  background-position: 0 0,
    0 0, 0 0,
    100% 0, 100% 0,
    0 100%, 0 100%,
    100% 100%, 100% 100%;
}
.ledger:hover { --hud: var(--accent-line); }

/* The flow wrapper hosts the gliding beam + the revert sweep (clipped) */
.ledger-flow {
  position: relative;
  overflow: hidden;
}

/* The beam — ONE indicator that GLIDES between rows on a spring curve */
.ledger-beam {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100px;
  background: linear-gradient(180deg,
    transparent, var(--accent) 22%, var(--accent) 78%, transparent);
  box-shadow: 0 0 12px var(--accent-line);
  opacity: 0;
  transform-origin: 0 0;
  transition:
    transform 700ms cubic-bezier(0.3, 1.18, 0.4, 1),
    opacity 500ms ease;
}
.ledger.is-live .ledger-beam.is-on { opacity: 1; }

.ledger-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ledger-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-3) var(--sp-4) var(--sp-4);
  border-bottom: 1px solid var(--line-0);
  transition: background-color 600ms ease, opacity 600ms ease;
}
.ledger-step:last-child { border-bottom-color: transparent; }
/* Live mode: idle rows recede; the active + completed rows hold focus */
.ledger.is-live .ledger-step { opacity: 0.55; }
.ledger.is-live .ledger-step.is-now,
.ledger.is-live .ledger-step.is-done { opacity: 1; }
.ledger.is-live .ledger-step.is-now { background-color: var(--accent-tint-2); }

.ledger-num {
  font: 700 var(--fs-micro) / 1 var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.ledger-copy { display: grid; gap: 3px; }
.ledger-title {
  font: 600 var(--fs-body) / 1.3 var(--font-sans);
  color: var(--text-1);
}
.ledger-line {
  position: relative;
  font-size: var(--fs-body-sm);
  color: var(--text-3);
}
.ledger-step .chip {
  justify-self: end;
  transition: opacity 500ms ease;
}
.ledger.is-live .ledger-step:not(.is-now):not(.is-done) .chip { opacity: 0.35; }
.ledger .fig-caption { text-align: center; }

/* Value morph — 15.6 ms (the Windows default) ⇄ 0.5 ms, stacked spans */
.ledger-value { display: inline-grid; vertical-align: baseline; }
.ledger-val {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: opacity 450ms ease, transform 450ms var(--ease-glide);
}
.ledger-val--old { opacity: 0; transform: translateY(-5px); }
.ledger.is-live:not(.is-applied) .ledger-val--old { opacity: 1; transform: none; }
.ledger.is-live:not(.is-applied) .ledger-val--new { opacity: 0; transform: translateY(5px); }

/* The snapshot line writes itself during the record phase and stays */
.ledger-step[data-step="record"] .ledger-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  opacity: 0.8;
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.ledger.is-live .ledger-step[data-step="record"] .ledger-line::after {
  transition: transform 800ms var(--ease-glide);
}
.ledger.is-recorded .ledger-step[data-step="record"] .ledger-line::after {
  transform: scaleX(1);
}

/* The revert sweep — one soft wash travelling UP the ledger as the */
.ledger-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(0deg,
    transparent, var(--accent-tint-1) 45%, var(--accent-tint-2) 58%, transparent);
  transform: translateY(105%);
}
html.anim .ledger.phase-revert .ledger-sweep {
  animation: ledger-sweep 950ms var(--ease-glide) forwards;
}
@keyframes ledger-sweep {
  0%   { transform: translateY(105%);  opacity: 0; }
  18%  { opacity: 1; }
  100% { transform: translateY(-105%); opacity: 0; }
}

.trust-bullets {
  list-style: none;
  max-width: 56rem;
  margin: var(--sp-7) auto 0;
  padding: var(--sp-6) 0 0;
  border-top: 1px solid var(--line-1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.trust-bullet p {
  margin-top: var(--sp-2);
  font-size: var(--fs-body-sm);
  color: var(--text-3);
  max-width: 32ch;
}

/* ── 05 · Pricing teaser — cards with animated accent on Pro ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: stretch;
}

.price-card { display: flex; flex-direction: column; }

.price-chips { margin-bottom: var(--sp-4); }

.price-card--pro {
  position: relative;
  overflow: hidden;
  border-color: var(--accent-line);
}
.price-card--pro:hover { box-shadow: var(--glow-accent-lg); }
/* Top-edge light: static accent hairline; under html.anim a sweep glides */
.price-card--pro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
}
html.anim .price-card--pro::before {
  animation: pro-sweep 4.8s var(--ease-glide) infinite;
}
@keyframes pro-sweep {
  0%        { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

.price-name { font-size: var(--fs-h4); }

.price-line {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}
.price-value {
  font: 700 var(--fs-num-lg) / 1 var(--font-mono);
  letter-spacing: -0.02em;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
}

.price-card .card-body { margin-top: var(--sp-4); }
.price-list { margin-block: var(--sp-5); }
.price-btn { margin-top: auto; }
.price-note {
  margin-top: var(--sp-3);
  font: 400 var(--fs-micro) / 1.6 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-3);
}

/* Feature bullet lists (pricing cards) */
.feature-points {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
}
.feature-points li {
  position: relative;
  padding-left: var(--sp-5);
  color: var(--text-3);
  font-size: var(--fs-body-sm);
}
.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 12px;
  height: 1px;
  background: var(--accent-line);
}

.pricing-meta {
  display: block;
  margin-top: var(--sp-7);
}
.pricing-more {
  margin-top: var(--sp-3);
  font-size: var(--fs-body-sm);
}
.pricing-more a { color: var(--text-2); }
.pricing-more a:hover { color: var(--text-1); }

/* ── 06 · FAQ teaser ── */
.faq-split { align-items: start; }
.faq-more { margin-top: var(--sp-5); font-size: var(--fs-body-sm); }
.faq-more a { color: var(--text-2); }
.faq-more a:hover { color: var(--text-1); }

/* ── Final CTA — the calm line arrives ── */
.cta-section { text-align: center; }
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-inner .kicker { justify-content: center; }
.cta-title {
  margin-top: var(--sp-4);
  font-size: var(--fs-h1);
  letter-spacing: var(--track-display);
}
.cta-section .trust-strip {
  display: block;
  margin-top: var(--sp-4);
}
/* THE ENDING INSTRUMENT — the page's last panel. The calm trace is no */
.endcap {
  width: min(720px, 100%);
  text-align: center;
}
.endcap-body {
  display: grid;
  justify-items: center;
  gap: var(--sp-4);
  padding: clamp(16px, 2.5vw, 24px) clamp(18px, 3vw, 30px) clamp(18px, 3vw, 26px);
}
/* THE COVERAGE MATRIX — what PULSE watches while you play. The endcap
   instrument is a VALUE component now (replaces the duplicated calm
   trace): twelve real monitor surfaces, shimmering with staged activity
   — labeled as staged in the caption below the grid. */
.watchgrid-wrap {
  width: 100%;
  min-width: 0;
}
.watchgrid-head {
  margin-bottom: var(--sp-3);
}
.watchgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.watchcell {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line-1);
  border-radius: var(--radius-sm);
  background-color: var(--panel-tint-2);
  font: 400 var(--fs-micro) / 1.2 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-align: start;
  white-space: nowrap;
}
.watchcell-name { overflow: hidden; text-overflow: ellipsis; }
.watchcell-dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}
/* Organic shimmer — co-prime cadences so the field never marches in step */
html.anim .watchgrid .watchcell-dot { animation: watch-shimmer 4.2s ease-in-out infinite; }
html.anim .watchgrid .watchcell:nth-child(3n) .watchcell-dot { animation-duration: 5.3s; animation-delay: 1.3s; }
html.anim .watchgrid .watchcell:nth-child(3n + 1) .watchcell-dot { animation-delay: 2.1s; }
html.anim .watchgrid .watchcell:nth-child(4n) .watchcell-dot { animation-duration: 3.7s; animation-delay: 0.7s; }
html.anim .watchgrid .watchcell:nth-child(5n) .watchcell-dot { animation-delay: 2.9s; }
@keyframes watch-shimmer {
  0%, 100% { opacity: 0.3; box-shadow: none; }
  50% { opacity: 1; box-shadow: 0 0 6px var(--accent-line); }
}
.watchgrid-note { margin-top: var(--sp-1); }
@media (max-width: 40em) {
  .watchgrid { grid-template-columns: repeat(2, 1fr); }
  .watchcell { white-space: normal; }
}
/* Status row — honest capabilities only, sentence case (caps diet) */
.endcap-status {
  text-transform: none;
  letter-spacing: 0.06em;
}
.endcap-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-2);
}
.cta-meta {
  display: block;
  font: 400 var(--fs-micro) / 1.6 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-3);
}

/* ── Phone / coarse-pointer perf: the statement band's aurora drift (base.css) ── */
@media (pointer: coarse), (max-width: 48em) {
  html.anim .section-statement .aurora--drift { animation: none; }
}

/* ── Responsive stacking ── */
@media (max-width: 55.99em) {
  .hero.void { padding-top: clamp(5rem, 9vh, 6rem); }
  .monolith-body { grid-template-columns: 1fr; gap: var(--sp-4); text-align: center; }
  .monolith-readout { justify-items: center; }
  .monolith-readout-head { justify-content: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 44.99em) {
  .kpi-strip { grid-template-columns: 1fr; gap: var(--sp-5); }
  .tweakgrid { grid-template-columns: repeat(2, 1fr); }
  .trust-bullets { grid-template-columns: 1fr; gap: var(--sp-5); }
  .ledger-step { grid-template-columns: auto 1fr; }
  .ledger-step .chip { grid-column: 2; justify-self: start; }
}

/* ── THE SCROLL JOURNEY — fixed atmospheric zone layers (journey.js drives). ── */
.journey {
  position: fixed;
  inset: 0;
  z-index: -1;           /* above the canvas wash, below all content      */
  pointer-events: none;
}
.journey-zone {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
  /* textures live in the middle band of the viewport — soft edges sell */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
/* 01 · PROOF — engineering grid */
.journey-zone--grid {
  background-image:
    linear-gradient(180deg, var(--wash-1), transparent 46%),
    linear-gradient(var(--viz-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--viz-grid) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
}
/* 02 · FEATURES — scanlines */
.journey-zone--scan {
  background-image:
    linear-gradient(180deg, transparent, var(--wash-1) 52%, transparent),
    repeating-linear-gradient(180deg,
      var(--scanline) 0, var(--scanline) 1px, transparent 1px, transparent 5px);
}
/* 03 · TRUST — starfield dots (echoes the band's own dot-field) */
.journey-zone--dots {
  background-image:
    radial-gradient(circle, var(--line-2) 1px, transparent 1.7px),
    radial-gradient(circle, var(--line-1) 1px, transparent 1.9px);
  background-size: 64px 64px, 104px 104px;
  background-position: 0 0, 31px 53px;
}
/* 04 · PRICING — sparser, mint-tilted constellation */
.journey-zone--mint {
  background-image:
    radial-gradient(circle, var(--accent-tint-1) 1.2px, transparent 2px),
    radial-gradient(circle, var(--line-1) 1px, transparent 1.8px);
  background-size: 132px 132px, 88px 88px;
  background-position: 18px 40px, 0 0;
  filter: hue-rotate(-10deg);
}

/* Per-zone aurora hue tilt — small sRGB rotations keep every glow inside */
#features .aurora     { filter: saturate(1.08) hue-rotate(12deg); }
#plans .aurora        { filter: saturate(1.04) hue-rotate(-12deg); }
.cta-section .aurora  { filter: saturate(1.04) hue-rotate(-7deg); }

/* ── THE PULSE RAIL — the heartbeat of the page (journey.js drives). ── */
.journey-rail { display: none; }
@media (min-width: 64em) {
  .journey-rail {
    display: block;
    position: fixed;
    top: 0;
    left: clamp(10px, 1.4vw, 26px);
    width: 18px;
    height: 100vh;
    height: 100svh;
    z-index: var(--z-raised);
    pointer-events: none;
  }
  .rail-svg {
    position: absolute;
    left: 50%;
    top: 6svh;
    width: 2px;
    height: 88svh;
    transform: translateX(-50%);
    overflow: visible;
  }
  .rail-track { stroke: var(--line-2); stroke-width: 1; }
  /* The fill draws via scaleY — dash tricks break under non-scaling-stroke */
  .rail-fill {
    stroke: var(--accent);
    stroke-width: 1.5;
    opacity: 0.9;
    filter: drop-shadow(var(--glow-soft));
    transform: scaleY(0);     /* hidden until journey.js draws it          */
    transform-origin: 0 0;
  }
  .rail-head {
    position: absolute;
    left: 50%;
    top: 6svh;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-line);
    opacity: 0;
    transition: opacity 400ms ease;
  }
  .rail-node {
    position: absolute;
    left: 50%;
    top: 6svh;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    border: 1px solid var(--line-3);
    background: var(--canvas);
    opacity: 0;
    transition:
      opacity 400ms ease,
      border-color 400ms ease,
      background-color 400ms ease,
      box-shadow 400ms ease;
  }
  .journey-rail.is-live .rail-head,
  .journey-rail.is-live .rail-node { opacity: 1; }
  .rail-node.is-on {
    border-color: var(--accent);
    background: var(--accent-tint-1);
    box-shadow: 0 0 8px var(--accent-line);
  }
  /* The pulse ring — one soft ping as a zone activates */
  .rail-ring {
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0;
    transform: scale(0.45);
  }
  html.anim .rail-ring.ping {
    animation: rail-ping 900ms var(--ease-out) forwards;
  }
}
@keyframes rail-ping {
  0%   { opacity: 0.9; transform: scale(0.45); }
  100% { opacity: 0;   transform: scale(2.4); }
}
