/* =========================================================================
   Tideline — "Run the day" (F3 redesign)
   Design tokens
   ========================================================================= */
:root {
  --bg:          oklch(0.971 0.006 250);
  --bg-deep:     oklch(0.955 0.008 248);
  --panel:       oklch(0.998 0.002 250);
  --line:        oklch(0.9 0.008 248);
  --line-strong: oklch(0.82 0.012 246);
  --ink:         oklch(0.22 0.03 256);
  --ink-deep:    oklch(0.16 0.03 258);
  --ink-soft:    oklch(0.36 0.026 256);
  --muted:       oklch(0.52 0.02 252);
  --faint:       oklch(0.66 0.016 250);
  --gold:        oklch(0.8 0.135 73);
  --gold-deep:   oklch(0.71 0.15 55);
  --gold-ink:    oklch(0.55 0.115 62);
  --blue:        oklch(0.46 0.035 252);
  --blue-soft:   oklch(0.55 0.045 250);
  --live:        oklch(0.68 0.15 156);
  --live-ink:    oklch(0.5 0.13 156); /* AA-safe text variant of --live, ~4.7:1 even on the toast's tinted bg */

  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:    'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --maxw: 1180px;
  --pad:  clamp(1.2rem, 4.5vw, 2.6rem);
  --sect: clamp(4rem, 9vw, 7.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-panel:    0 30px 60px -40px rgba(20, 28, 48, .45);
  --shadow-elevated: 0 30px 70px -46px rgba(20, 28, 48, .5);
  --shadow-rail:     0 30px 70px -46px rgba(20, 28, 48, .45);
  --shadow-toast:    0 16px 36px -18px rgba(20, 28, 48, .4);
  --shadow-cta:      0 1px 0 color-mix(in oklab, var(--gold) 60%, black),
                      0 10px 22px -12px color-mix(in oklab, var(--gold) 70%, transparent);

  --z-nav: 100;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.06rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
svg { display: block; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- focus ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- keyframes ---------- */
@keyframes tlLive {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in oklab, var(--live) 60%, transparent); }
  50%      { opacity: .7; box-shadow: 0 0 0 5px color-mix(in oklab, var(--live) 0%, transparent); }
}
@keyframes flowDash { to { stroke-dashoffset: -28; } }
@keyframes toastIn {
  0%       { opacity: 0; transform: translateY(10px) scale(.97); }
  12%, 88% { opacity: 1; transform: translateY(0) scale(1); }
  100%     { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- shared: eyebrow, section heading, buttons ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .8rem;
}

.h2 {
  font-weight: 700;
  font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 10px;
  padding: .9rem 1.45rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn--gold { color: var(--ink); background: var(--gold); box-shadow: var(--shadow-cta); }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn--ghost { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--panel); border-color: var(--ink-soft); transform: translateY(-2px); }
.btn--lg { font-size: 1.05rem; padding: 1rem 1.8rem; }

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: tlLive 2.4s ease-in-out infinite;
  flex: none;
}
.live-dot--lg { width: 8px; height: 8px; }

.flow-path { animation: flowDash 1.3s linear infinite; }

/* =========================================================================
   Nav
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--bg) 84%, transparent);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav__row {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  row-gap: .4rem;
  flex-wrap: wrap;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
}
.nav__word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.nav__badge {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: .3em .6em;
  white-space: nowrap;
}
.nav__cta {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: .6rem 1rem;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--panel); border-color: var(--ink); transform: translateY(-1px); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { padding-top: clamp(2rem, 5vh, 3.8rem); padding-bottom: var(--sect); }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: center;
}
.hero .eyebrow { margin-bottom: 1.3rem; }
.hero__title {
  font-weight: 700;
  font-size: clamp(2.7rem, 1.6rem + 4.8vw, 4.9rem);
  line-height: 1.0;
  letter-spacing: -0.005em;
}
.hero__sub {
  margin-top: 1.5rem;
  max-width: 42ch;
  font-size: clamp(1.06rem, 1rem + 0.5vw, 1.24rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.hero__fine {
  margin-top: 1.3rem;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted);
  max-width: 46ch;
}

.hero__panel {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .75rem 1.05rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.panel__head-label { color: var(--blue); }
.panel__live { display: inline-flex; align-items: center; gap: .45rem; color: var(--live-ink); }
.panel__body { padding: .4rem .3rem; }
.panel__body svg { width: 100%; height: auto; }
.panel__foot {
  padding: .7rem 1.05rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
}

/* =========================================================================
   Day at a glance — dashboard
   ========================================================================= */
.glance {
  padding-block: var(--sect);
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
}
.glance__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.glance .eyebrow { margin-bottom: .7rem; }
.glance__live {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted);
  white-space: nowrap;
}
.glance__live-word { color: var(--live-ink); letter-spacing: .08em; }

.dashboard {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.dashboard__metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.metric { padding: clamp(1.1rem, 2.4vw, 1.5rem); border-bottom: 1px solid var(--line); }
.metric:nth-child(-n+3) { border-right: 1px solid var(--line); }
.metric__label {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.metric__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: .4rem;
}
.metric__sub { font-size: .86rem; color: var(--muted); margin-top: .35rem; }
.metric__sub--gold { color: var(--gold-ink); }
.metric__sub--live { color: var(--live-ink); }

.attention { padding: clamp(1.1rem, 2.6vw, 1.6rem) clamp(1.2rem, 3vw, 1.9rem); border-bottom: 1px solid var(--line); }
.attention__label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}
.attention__row {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.attention__row:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.attention__badge {
  flex: none;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .34em .7em;
  white-space: nowrap;
}
.attention__badge--gold { color: var(--gold-ink); border-color: color-mix(in oklab, var(--gold) 45%, var(--line)); }
.attention__title { font-weight: 600; font-size: 1.05rem; }
.attention__desc { color: var(--ink-soft); margin-top: .2rem; max-width: 60ch; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.split__col { padding: clamp(1.1rem, 2.6vw, 1.6rem) clamp(1.2rem, 3vw, 1.9rem); }
.split__col:first-child { border-right: 1px solid var(--line); }
.split__heading {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.split__heading--live { color: var(--live-ink); }
.split__heading--gold { color: var(--gold-ink); }
.split__row {
  display: flex;
  gap: .6rem;
  padding: .42rem 0;
  align-items: baseline;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  line-height: 1.4;
}
.split__mark { flex: none; color: var(--live-ink); }
.split__index { flex: none; font-family: var(--mono); font-size: .8rem; color: var(--gold-ink); }
.split__row .muted { color: var(--muted); }

.toast {
  position: absolute;
  right: clamp(.8rem, 2vw, 1.4rem);
  bottom: clamp(.8rem, 2vw, 1.4rem);
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--panel);
  border: 1px solid color-mix(in oklab, var(--live) 40%, var(--line-strong));
  border-radius: 12px;
  padding: .7rem .95rem;
  box-shadow: var(--shadow-toast);
  animation: toastIn 6s ease-in-out 1.2s both;
  max-width: calc(100% - clamp(1.6rem, 4vw, 2.8rem));
}
.toast__icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--live) 18%, var(--panel));
  color: var(--live-ink);
  display: grid;
  place-items: center;
  font-size: .9rem;
}
.toast__title { font-weight: 600; font-size: .92rem; }
.toast__sub {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.glance__caption { margin-top: 1.1rem; font-family: var(--mono); font-size: .74rem; color: var(--muted); }

/* =========================================================================
   The Day Rail
   ========================================================================= */
.day { padding-block: var(--sect); }
.day__intro { max-width: 36rem; margin-bottom: 2rem; }
.day__intro .eyebrow { margin-bottom: .8rem; }
.day__lede { margin-top: 1rem; color: var(--ink-soft); max-width: 50ch; }

.rail {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-rail);
}
.rail__stage {
  position: relative;
  min-height: clamp(380px, 52vh, 452px);
  background: var(--panel);
  transition: background .6s ease;
}

.scene { padding: clamp(1.3rem, 3.2vw, 2.2rem); border-bottom: 1px solid var(--line); }
.scene:last-child { border-bottom: none; }
.js .scene {
  position: absolute;
  inset: 0;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  border-bottom: none;
  transition: opacity .5s ease;
}
.js .scene.is-active { opacity: 1; pointer-events: auto; }

.scene__kicker { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--gold-ink); }
.scene__title {
  font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: .5rem 0 .7rem;
  line-height: 1.06;
}
.scene__text { color: var(--ink-soft); max-width: 54ch; }

/* scene 0 — overnight */
.scene0__row { margin-top: 1.4rem; display: flex; align-items: center; gap: .7rem 1rem; flex-wrap: wrap; }
.scene0__chips { display: flex; flex-wrap: wrap; gap: .4rem; max-width: 30rem; }
.chip {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .24rem .5rem;
}
.scene0__arrow { font-family: var(--display); font-size: 1.4rem; color: var(--gold-ink); }
.scene0__result { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }

/* scene 1 — the brief */
.brief-card { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 1.05rem 1.15rem; max-width: 38rem; }
.brief-card__head { display: flex; align-items: baseline; gap: .6rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.brief-card__count { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.brief-card__count-label { font-weight: 500; color: var(--ink-soft); }
.brief-card__meta { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.brief-item { display: flex; gap: .6rem; padding: .5rem 0 .2rem; align-items: baseline; }
.brief-item:last-child { padding-bottom: 0; }
.brief-item__index { font-family: var(--mono); font-size: .72rem; color: var(--gold-ink); flex: none; padding-top: .12rem; }
.brief-item__text { font-size: .94rem; line-height: 1.4; }
.brief-item__text b { font-weight: 600; }
.brief-item__text .muted { color: var(--ink-soft); }

/* scene 2 — before the room */
.preread-card { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 1.05rem 1.15rem; max-width: 38rem; }
.preread-card__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.preread-card__title { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.preread-card__status { font-family: var(--mono); font-size: .72rem; color: var(--live-ink); }
.preread-line { display: flex; gap: .6rem; padding: .4rem 0 .2rem; align-items: baseline; }
.preread-line:last-child { padding-bottom: 0; }
.preread-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
.preread-line span:last-child { font-size: .94rem; color: var(--ink-soft); }

/* scene 3 — the afternoon */
.draft-list { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .6rem; max-width: 38rem; }
.draft-chip { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: .7rem .9rem; }
.draft-chip__label { font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--live-ink); flex: none; }
.draft-chip__text { font-size: .93rem; }
.draft-chip__text b { font-weight: 600; }
.draft-chip__text .muted { color: var(--ink-soft); }

/* scene 4 — the close */
.stage-card { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 1.05rem 1.15rem; max-width: 38rem; }
.stage-card__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .5rem; }
.stage-row { display: flex; gap: .8rem; padding: .24rem 0; align-items: baseline; }
.stage-row__time { font-family: var(--mono); font-size: .8rem; color: var(--ink); flex: none; width: 3rem; }
.stage-row__text { font-size: .92rem; color: var(--ink-soft); }

/* scrubber */
.scrubber {
  padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 3vw, 2.1rem) clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.ticks { position: relative; height: 1.4rem; margin-bottom: .1rem; }
.tick {
  position: absolute;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
  padding: 0;
}
.tick.is-active { color: var(--ink); font-weight: 600; }
.tick:nth-child(1) { left: 6%; }
.tick:nth-child(2) { left: 28%; }
.tick:nth-child(3) { left: 50%; }
.tick:nth-child(4) { left: 72%; }
.tick:nth-child(5) { left: 94%; }

.track { position: relative; height: 26px; }
.track__base { position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: var(--line-strong); }
.track__fill {
  position: absolute;
  left: 0; top: 50%;
  height: 2px;
  width: 28%;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width .45s ease;
}

.day-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 40px;
  background: transparent;
  cursor: grab;
  display: block;
  position: relative;
  z-index: 3;
  margin: 0;
}
.day-range:active { cursor: grabbing; }
.day-range::-webkit-slider-runnable-track { height: 2px; background: transparent; }
.day-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  margin-top: -11px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, oklch(0.93 0.085 82), oklch(0.78 0.15 64));
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--gold) 22%, transparent), 0 4px 12px rgba(170, 110, 25, .4);
  border: 1px solid oklch(0.7 0.15 55);
}
.day-range::-moz-range-track { height: 2px; background: transparent; border: none; }
.day-range::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, oklch(0.93 0.085 82), oklch(0.78 0.15 64));
  border: 1px solid oklch(0.7 0.15 55);
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--gold) 22%, transparent), 0 4px 12px rgba(170, 110, 25, .4);
}
.day-range:focus-visible { outline: none; }
.day-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.day-range:focus-visible::-moz-range-thumb { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.scrubber__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .7rem; flex-wrap: wrap; }
.scrubber__hint { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.play {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .42rem .9rem;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.play:hover { background: var(--panel); border-color: var(--gold); transform: translateY(-1px); }

/* =========================================================================
   Difference — comparison table
   ========================================================================= */
.diff { padding-bottom: var(--sect); }
.diff .h2 { max-width: 22ch; margin-bottom: 2rem; }
.compare {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}
.compare__row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare__row:last-child { border-bottom: none; }
.compare__cell { padding: 1rem 1.2rem; border-right: 1px solid var(--line); }
.compare__row > .compare__cell:last-child { border-right: none; }
.compare__cell--old { color: var(--muted); }
.compare__cell--new { background: color-mix(in oklab, var(--gold) 5%, var(--panel)); }
.compare__head {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compare__head .compare__cell { padding: .9rem 1.2rem; }
.compare__head .compare__cell--old { color: var(--muted); }
.compare__head .compare__cell--new { color: var(--ink); background: color-mix(in oklab, var(--gold) 8%, var(--panel)); }

/* =========================================================================
   How it works — 3 steps
   ========================================================================= */
.steps-section { padding-bottom: var(--sect); }
.steps-section .h2 { margin-bottom: 2.2rem; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0; }
.step { padding: 1.6rem clamp(1rem, 2vw, 1.6rem) 1.4rem; border-top: 2px solid var(--ink); }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step__index { font-family: var(--mono); font-size: .9rem; color: var(--blue); }
.step__title { font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; margin: .5rem 0 .35rem; }
.step__text { color: var(--ink-soft); max-width: 34ch; }

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing { padding-bottom: var(--sect); }
.pricing .h2 { margin-bottom: 2rem; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.4rem, 3vw, 2rem); }
.tier--feature {
  border-color: color-mix(in oklab, var(--gold) 52%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--gold) 26%, transparent) inset;
}
.tier__name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tier__badge {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-ink);
  border: 1px solid color-mix(in oklab, var(--gold) 45%, var(--line));
  border-radius: 6px;
  padding: .26em .55em;
}
.tier__desc { margin-top: .7rem; color: var(--ink-soft); max-width: 42ch; }

.price-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.4rem 2.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.7rem;
}
.price-item__label { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price-item__value { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.2rem); margin-top: .35rem; }
.price-item__value small { font-weight: 500; font-size: .92rem; color: var(--muted); font-family: var(--sans); }
.price-note { grid-column: 1 / -1; color: var(--ink-soft); max-width: 60ch; margin: 0; }
.price-note b { color: var(--ink); font-weight: 600; }

/* =========================================================================
   Privacy — dark band
   ========================================================================= */
.privacy { background: var(--ink-deep); color: var(--bg); padding-block: var(--sect); }
.privacy .h2 { max-width: 22ch; color: var(--bg); }
.privacy__body { margin-top: 1.8rem; max-width: 60ch; }
.privacy__body p { color: color-mix(in oklab, var(--bg) 80%, var(--ink)); margin-bottom: 1.05rem; }
.privacy__body p:last-child { margin-bottom: 0; }
.privacy__highlight { color: var(--gold); font-weight: 500; }

/* =========================================================================
   FAQ — accordion
   ========================================================================= */
.faq { padding-block: var(--sect); }
.faq .h2 { margin-bottom: 1.8rem; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }
.sign { flex: none; width: 22px; height: 22px; position: relative; transition: transform .25s var(--ease); }
.sign::before, .sign::after { content: ""; position: absolute; background: var(--gold-ink); border-radius: 2px; }
.sign::before { left: 50%; top: 3px; width: 2px; height: 16px; transform: translateX(-50%); }
.sign::after { top: 50%; left: 3px; height: 2px; width: 16px; transform: translateY(-50%); }
.faq__item[open] .sign { transform: rotate(45deg); }
.faq__answer { padding-bottom: 1.4rem; color: var(--ink-soft); max-width: 64ch; }
.faq__answer b { color: var(--ink); font-weight: 600; }

/* =========================================================================
   Final CTA
   ========================================================================= */
.final { padding-block: var(--sect); text-align: center; }
.final__title {
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-inline: auto;
  max-width: 18ch;
}
.final__sub { margin: 1.2rem auto 0; max-width: 46ch; color: var(--ink-soft); font-size: 1.08rem; }
.final .btn { margin-top: 1.9rem; }
.final__fine { margin: 1.3rem auto 0; font-family: var(--mono); font-size: .74rem; color: var(--muted); max-width: 48ch; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.2rem; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-family: var(--mono); font-size: .74rem; }
.foot__brand { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }

/* =========================================================================
   Reveal motion (visible by default; enhanced only with JS + motion allowed)
   ========================================================================= */
.js .reveal, .js .reveal-load {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.js .reveal.in, .js .reveal-load.in { opacity: 1; transform: none; }

/* =========================================================================
   Reduced motion — one consolidated override block
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-load { opacity: 1; transform: none; transition: none; }
  .live-dot, .flow-path, .toast { animation: none !important; }
  .toast { opacity: 1; transform: none; }
  .rail__stage, .js .scene, .track__fill, .sign, .btn, .nav__cta, .play { transition: none; }
}
