@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1C3D6E;
  --ink-deep: #14305A;
  --paper: #EEF3F7;
  --sheet: #FFFFFF;
  --marker: #F2C230;
  --correction: #B8392A;
  --graphite: #4A5D75;
  --rule: #C5D2DE;
  --field-border: #6E819A;
  --on-ink: #FFFFFF;
  --on-ink-2: #CDD9E8;
  --on-ink-rule: rgba(205, 217, 232, 0.28);

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  --step-3: clamp(2.125rem, 1.45rem + 3.6vw, 3.875rem);

  --header-h: 4.25rem;
  --gutter: clamp(1rem, 0.4rem + 2.4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --radius: 6px;
  --ease-out: cubic-bezier(0.3, 0.7, 0.2, 1);
  --ease-drop: cubic-bezier(0.2, 0.9, 0.3, 1.15);
  --how-h: 340vh;

  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--step-3); line-height: 1.03; letter-spacing: -0.03em; }
h2 { font-size: var(--step-2); letter-spacing: -0.022em; }
h3 { font-size: var(--step-1); }

p { margin: 0; text-wrap: pretty; }

a { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--sheet);
  border-radius: var(--radius);
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Header with reading progress ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  height: var(--header-h);
  background: var(--paper);
  transition: box-shadow 200ms ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--rule); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 680;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark { width: 26px; height: 26px; fill: var(--ink); }
.brand-mark-half {
  fill: var(--marker);
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linejoin: round;
  transition: transform 320ms var(--ease-drop);
}
.brand:hover .brand-mark-half { transform: translateX(-1.5px); }

.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  pointer-events: none;
}
.read-progress span {
  display: block;
  height: 100%;
  background: var(--marker);
  transform-origin: left center;
  transform: scaleX(var(--scroll, 0));
}

/* ---------- Chapter navigation ---------- */

.chapters {
  position: fixed;
  top: 50%;
  right: 0.9rem;
  z-index: 25;
  display: none;
  transform: translateY(-50%);
}
.chapters ol {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 0.5rem 0.35rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.chapters a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.chapters a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--field-border);
  transition: transform 220ms var(--ease-drop), background-color 200ms ease, box-shadow 200ms ease;
}
.chapters a[aria-current="true"]::before {
  background: var(--ink);
  transform: scale(1.4);
  box-shadow: 0 0 0 3px var(--marker);
}
.chapters a span {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.7rem);
  padding: 0.3rem 0.65rem;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(0.4rem, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}
.chapters a:hover span,
.chapters a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
@media (min-width: 1240px) {
  .chapters { display: block; }
}

/* ---------- Buttons and controls ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, transform 80ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--sheet); }
.btn-primary:hover { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn-quiet { background: transparent; color: var(--ink); min-height: 44px; padding: 0.55rem 1rem; font-size: 0.9375rem; }
.btn-quiet:hover { background: var(--sheet); }

.text-link {
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
}
.text-link:hover { text-decoration-color: var(--marker); text-decoration-thickness: 3px; }

.ledger-tabs,
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--paper);
  border-radius: 8px;
}
.ledger-tab,
.seg-option {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--graphite);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.ledger-tab:hover,
.seg-option:hover { color: var(--ink); }
.ledger-tab[aria-selected="true"],
.seg-option[aria-checked="true"] {
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--rule);
}

/* ---------- Marker highlight, shared ---------- */

.ledger mark,
.stage-match mark,
.rn-good mark,
.done-mark {
  color: var(--ink);
  padding: 0.05em 0.3em;
  margin-inline: -0.3em;
  border-radius: 0.2em 0.35em 0.25em 0.4em;
  background-color: transparent;
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-position: 0 60%;
  background-size: 100% 88%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.diff {
  color: var(--correction);
  font-weight: 600;
  text-decoration: underline wavy;
  text-decoration-color: var(--correction);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
}
.missing { color: var(--correction); font-weight: 600; }
@keyframes marker-in {
  from { background-size: 0% 88%; }
  to { background-size: 100% 88%; }
}
.ledger mark.is-fresh { animation: marker-in 520ms var(--ease-out) both; }
.done-mark { margin-inline: 0; animation: marker-in 700ms var(--ease-out) 150ms both; }

/* ---------- Chapters, rules and reveals ---------- */

.chapter { position: relative; }
.problem,
.model,
.early-access { padding-block: var(--section); }
.problem::before,
.model::before,
.early-access::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--gutter), calc((100% - 72rem) / 2 + var(--gutter)));
  right: max(var(--gutter), calc((100% - 72rem) / 2 + var(--gutter)));
  border-top: 1px solid var(--rule);
}

.chapter h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 6px;
  margin-top: 0.9rem;
  border-radius: 3px;
  background: var(--marker);
  transform-origin: left center;
  transition: transform 600ms var(--ease-out) 450ms;
}
.hero h1::after { content: none; }

.reveal {
  transition: opacity 600ms ease, translate 700ms var(--ease-out), clip-path 900ms var(--ease-out);
}
html.js .reveal:not(.is-revealed) { opacity: 0; translate: 0 1.25rem; }
html.js h2.reveal:not(.is-revealed) { opacity: 1; translate: none; clip-path: inset(0 100% 0 0); }
html.js h2.reveal:not(.is-revealed)::after { transform: scaleX(0); }
html.js .model-col.reveal + .model-col.reveal { transition-delay: 120ms; }

/* ---------- Hero: opening sequence and parallax ---------- */

.hero {
  overflow-x: clip;
}
.hero-rules {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(3rem - 1px), rgba(197, 210, 222, 0.6) calc(3rem - 1px), rgba(197, 210, 222, 0.6) 3rem);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  transform: translate3d(0, var(--py, 0px), 0);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  align-content: center;
  min-height: calc(100vh - var(--header-h));
  padding-block: clamp(2rem, 6vh, 4rem) clamp(1.5rem, 4vh, 3rem);
}
.hero h1 { font-size: clamp(2.125rem, 1.45rem + 3.6vw, 3.875rem); }
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero h1 .line > span { display: inline-block; }
.lede {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.1875rem;
  color: var(--graphite);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

@keyframes line-rise { from { translate: 0 105%; } to { translate: 0 0; } }
@keyframes fade-up { from { opacity: 0; translate: 0 1rem; } to { opacity: 1; translate: 0 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
html.js .hero h1 .line > span { animation: line-rise 850ms var(--ease-out) both; }
html.js .hero h1 .line:nth-child(2) > span { animation-delay: 110ms; }
html.js .hero h1 .line:nth-child(3) > span { animation-delay: 220ms; }
html.js .hero .lede { animation: fade-up 700ms var(--ease-out) 380ms both; }
html.js .hero .actions { animation: fade-up 700ms var(--ease-out) 480ms both; }
html.js .hero .ledger { animation: fade-up 800ms var(--ease-out) 260ms both; }
html.js .float-file { animation: fade-in 700ms ease 900ms both; }
html.js .scroll-cue { animation: fade-in 700ms ease 1400ms both; }

.ledger-wrap { position: relative; }
.float-file {
  position: absolute;
  z-index: 0;
  padding: 0.45rem 0.75rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--graphite);
  white-space: nowrap;
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg));
}
.float-a { top: -2.4rem; left: -1.6rem; --rot: -6deg; }
.float-b { bottom: -2.2rem; right: 2.5rem; --rot: 4deg; }
.float-c { top: 42%; right: -3.2rem; --rot: 9deg; }

.scroll-cue {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 44px;
  color: var(--graphite);
  font-size: 0.9375rem;
  text-decoration: none;
  opacity: calc(1 - var(--cue, 0));
}
.scroll-cue:hover { color: var(--ink); }
.cue-line {
  position: relative;
  width: 3.5rem;
  height: 2px;
  overflow: hidden;
  background: var(--rule);
}
.cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--ink);
  animation: cue-run 2.4s var(--ease-out) infinite;
}
@keyframes cue-run {
  0% { translate: -100% 0; }
  60%, 100% { translate: 260% 0; }
}

/* Ledger card */
.ledger {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 10px;
  transform: translate3d(0, var(--py, 0px), 0);
}
.ledger-tabs { margin-bottom: 1.1rem; }
.ledger-panel { transition: opacity 140ms ease; }
.ledger-panel.is-switching { opacity: 0; }
.ledger-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ledger-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.ledger-table th,
.ledger-table td {
  padding: 0.8rem 0.25rem;
  border-top: 1px solid var(--rule);
  text-align: left;
  vertical-align: baseline;
}
.ledger-table thead th {
  border-top: 0;
  padding-block: 0 0.6rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--graphite);
}
.ledger-table tbody th { font-weight: 500; }
.ledger-table tbody tr:last-child th,
.ledger-table tbody tr:last-child td { border-bottom: 1px solid var(--rule); }
.ledger-table .num { text-align: right; white-space: nowrap; }

.ledger-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: var(--step--1);
  color: var(--graphite);
}
.ledger-foot > span {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-height: 2.9em;
}
.ledger-fix {
  flex: none;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sheet);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.ledger-fix:hover { background: var(--marker); border-color: var(--marker); }
.ledger-fix:active { transform: translateY(1px); }
@media (min-width: 481px) {
  .ledger-foot { flex-wrap: nowrap; }
}

html.js .ledger mark { background-size: 0% 88%; }
html.js .ledger .diff { text-decoration-color: transparent; }
html.js .ledger .missing { opacity: 0; }
html.js .ledger.is-ready mark {
  background-size: 100% 88%;
  transition: background-size 420ms var(--ease-out);
}
html.js .ledger.is-ready tr:nth-child(1) td:nth-child(2) mark { transition-delay: 450ms; }
html.js .ledger.is-ready tr:nth-child(1) td:nth-child(3) mark { transition-delay: 630ms; }
html.js .ledger.is-ready tr:nth-child(2) td:nth-child(2) mark { transition-delay: 860ms; }
html.js .ledger.is-ready tr:nth-child(2) td:nth-child(3) mark { transition-delay: 1040ms; }
html.js .ledger.is-ready tr:nth-child(3) td:nth-child(2) mark { transition-delay: 1270ms; }
html.js .ledger.is-ready tr:nth-child(3) td:nth-child(3) mark { transition-delay: 1450ms; }
html.js .ledger.is-ready tr:nth-child(4) td:nth-child(2) mark { transition-delay: 1680ms; }
html.js .ledger.is-ready tr:nth-child(4) td:nth-child(3) mark { transition-delay: 1860ms; }
html.js .ledger.is-ready .diff {
  text-decoration-color: var(--correction);
  transition: text-decoration-color 300ms ease 2050ms;
}
html.js .ledger.is-ready .missing {
  opacity: 1;
  transition: opacity 300ms ease 2050ms;
}
html.js .ledger.is-ready.is-replay mark { transition-delay: 0ms; }
html.js .ledger.is-ready.is-replay .diff,
html.js .ledger.is-ready.is-replay .missing { transition-delay: 600ms; }
html.js .ledger.is-ready mark.is-fresh { transition: none; }

/* ---------- Problem: sticky scrollytelling ---------- */

.story {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  margin-top: 3rem;
}
.story-stage { align-self: start; }
html.js .story-stage {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  align-items: center;
  height: calc(100vh - var(--header-h) - 3rem);
}
.stage-card {
  position: relative;
  width: 100%;
  padding: 1.5rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
html.js .stage-card { height: min(28rem, 100%); }

.story-progress {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}
.sp-seg {
  width: 2.25rem;
  height: 4px;
  border-radius: 2px;
  background: var(--rule);
  transition: background-color 260ms ease;
}
.sp-seg.on { background: var(--ink); }
.sp-label { margin-left: auto; font-size: 0.8125rem; color: var(--graphite); }
.sp-label b { font-weight: 600; color: var(--ink); }
html:not(.js) .story-progress { display: none; }

.scene { font-size: 0.9375rem; }
html.js .scene {
  position: absolute;
  inset: 4.4rem 1.5rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms;
}
html.js .scene.is-active { opacity: 1; visibility: visible; }
html:not(.js) .scene + .scene { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--rule); }

/* Scene: net payout split into parts */
.net-deposit {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 600;
}
.net-parts {
  display: grid;
  gap: 0.6rem;
  margin: 0.9rem 0 0 1.25rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--rule);
}
.net-part {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: var(--paper);
  border-radius: var(--radius);
  transition: opacity 320ms ease, translate 480ms var(--ease-out);
}
.net-part::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 50%;
  width: 1.25rem;
  border-top: 2px solid var(--rule);
}
.net-part span:last-child { white-space: nowrap; }
.net-fee { background: var(--sheet); border: 1.5px dashed var(--correction); }
.net-fee span:last-child { color: var(--correction); font-weight: 600; }
html.js .scene-net:not(.is-active) .net-part { opacity: 0; translate: 0 -1.25rem; }
html.js .scene-net.is-active .net-part:nth-child(1) { transition-delay: 150ms; }
html.js .scene-net.is-active .net-part:nth-child(2) { transition-delay: 300ms; }
html.js .scene-net.is-active .net-part:nth-child(3) { transition-delay: 450ms; }

/* Scene: refund arrives days later */
.late-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: var(--graphite);
}
.late-track { position: relative; height: 13rem; }
.late-item {
  position: absolute;
  top: 7rem;
  display: grid;
  gap: 0.15rem;
  transition: opacity 320ms ease, translate 480ms var(--ease-drop);
}
.late-item small { font-family: var(--mono); font-size: 0.75rem; color: var(--graphite); }
.late-pay { left: 1%; }
.late-refund { left: 61%; }
.late-item .dot {
  width: 14px;
  height: 14px;
  margin-bottom: 0.35rem;
  border-radius: 50%;
  background: var(--ink);
}
.late-refund .dot { background: var(--marker); border: 2px solid var(--ink); }
.late-link {
  position: absolute;
  top: 2.4rem;
  left: calc(1% + 7px);
  width: 60%;
  height: 4.6rem;
  overflow: visible;
}
.late-link {
  clip-path: inset(-10% -10% -10% 0);
  transition: clip-path 900ms var(--ease-out) 550ms;
}
.late-link path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
html.js .scene-late:not(.is-active) .late-refund { opacity: 0; translate: 0 -2rem; }
html.js .scene-late.is-active .late-refund { transition-delay: 150ms; }
html.js .scene-late:not(.is-active) .late-link { clip-path: inset(-10% -10% -10% 100%); transition-delay: 0ms; }

/* Scene: time zones move the day */
.tz-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.tz-row span { color: var(--graphite); font-size: 0.875rem; }
.tz-row strong { font-weight: 600; white-space: nowrap; }
.tz-utc strong {
  padding: 0.05em 0.3em;
  margin-inline: -0.3em;
  border-radius: 0.2em 0.35em 0.25em 0.4em;
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-position: 0 60%;
  background-size: 100% 88%;
  transition: background-size 420ms var(--ease-out) 1000ms;
}
.tz-days {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 7rem;
  margin: 1.4rem 0 1rem;
}
.tz-day {
  display: flex;
  align-items: flex-end;
  padding: 0.5rem 0.7rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: var(--graphite);
}
.tz-day:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.tz-day:nth-child(2) { border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.tz-midnight {
  position: absolute;
  top: -0.6rem;
  bottom: -0.6rem;
  left: 50%;
  border-left: 2px dashed var(--ink);
}
.tz-midnight span {
  position: absolute;
  top: -1.2rem;
  left: 0;
  translate: -50% 0;
  font-size: 0.75rem;
  font-weight: 600;
}
.tz-dot {
  position: absolute;
  top: 2.4rem;
  left: calc(50% - 1.4rem - 18px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--sheet);
  transition: left 800ms var(--ease-out) 350ms;
}
html.js .scene-tz:not(.is-active) .tz-dot { left: calc(50% + 1.4rem); transition-delay: 0ms; }
html.js .scene-tz:not(.is-active) .tz-utc strong { background-size: 0% 88%; transition-delay: 0ms; }

/* Scene: renamed column */
.rn-file {
  padding: 0.8rem 1rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.rn-name { font-size: 0.8125rem; font-weight: 600; }
.rn-head {
  margin-top: 0.3rem;
  font-family: var(--mono);
  font-size: 0.9375rem;
  white-space: nowrap;
}
.rn-old {
  text-decoration: line-through;
  text-decoration-color: var(--correction);
  text-decoration-thickness: 2px;
  color: var(--graphite);
  transition: text-decoration-color 300ms ease 300ms;
}
.rn-new {
  display: inline-block;
  max-width: 9em;
  margin-left: 0.4em;
  overflow: hidden;
  vertical-align: bottom;
  font-weight: 600;
  transition: max-width 700ms steps(12, end) 650ms;
}
.rn-status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: opacity 320ms ease, translate 420ms var(--ease-out);
}
.rn-status span { color: var(--graphite); }
.rn-bad strong { color: var(--correction); font-weight: 600; }
.rn-good strong { font-weight: 600; }
.rn-good mark { transition: background-size 420ms var(--ease-out) 2000ms; }
html.js .scene-rename.is-active .rn-bad { transition-delay: 1400ms; }
html.js .scene-rename.is-active .rn-good { transition-delay: 1750ms; }
html.js .scene-rename:not(.is-active) .rn-old { text-decoration-color: transparent; transition-delay: 0ms; }
html.js .scene-rename:not(.is-active) .rn-new { max-width: 0; transition-delay: 0ms; }
html.js .scene-rename:not(.is-active) .rn-status { opacity: 0; translate: 0 0.6rem; }
html.js .scene-rename:not(.is-active) .rn-good mark { background-size: 0% 88%; transition-delay: 0ms; }

.story-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 2rem;
  transition: opacity 320ms ease;
}
html.js .story-step { min-height: 72vh; }
html.js .story-step:not(.is-active) { opacity: 0.3; }
.story-step h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem);
  line-height: 1.2;
}
.story-step p { max-width: 30rem; font-size: 1.125rem; color: var(--graphite); }
.fix-label {
  padding: 0.05em 0.3em;
  margin-inline: -0.15em 0.1em;
  border-radius: 0.2em 0.35em 0.25em 0.4em;
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-position: 0 60%;
  background-size: 100% 88%;
  color: var(--ink);
  font-weight: 600;
}
.problem-close {
  max-width: 38rem;
  margin-top: 3rem;
  font-size: 1.25rem;
  color: var(--graphite);
}

/* ---------- How it works: pinned, scroll-scrubbed ---------- */

.how { position: relative; }
.how-frame {
  padding-block: var(--section);
  background: var(--ink);
  color: var(--on-ink);
}
.how-frame h2,
.how-frame h3 { color: var(--on-ink); }
.how-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2.5rem;
}
.how-progress { display: flex; gap: 0.5rem; }
.hw-seg { display: grid; gap: 0.45rem; width: 7.5rem; }
.hw-seg i {
  position: relative;
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--on-ink-rule);
}
.hw-seg i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--marker);
  transform-origin: left center;
  transform: scaleX(var(--fill, 1));
}
.hw-seg b { font-size: 0.8125rem; font-weight: 600; color: var(--on-ink-2); transition: color 200ms ease; }
.hw-seg.is-current b { color: var(--on-ink); }

.how.is-pinned { height: var(--how-h); }
.how.is-pinned .how-pin {
  position: sticky;
  top: var(--header-h);
  display: flex;
  height: calc(100vh - var(--header-h));
}
.how.is-pinned .how-frame {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 2rem;
  border-radius: calc((1 - var(--enter, 1)) * 2.5rem);
  transform: scale(calc(0.9 + 0.1 * var(--enter, 1)));
  transform-origin: center top;
}
.pipeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem minmax(0, 1fr) 4.5rem minmax(0, 1fr);
  align-items: start;
  --f1: 1;
  --f2: 1;
}
.stage h3 { margin: 1.5rem 0 0.5rem; }
.stage > p { max-width: 32ch; color: var(--on-ink-2); }

.pic {
  position: relative;
  height: 17.5rem;
  padding: 1.1rem;
  overflow: hidden;
  color: var(--ink);
  background: var(--sheet);
  border-radius: 10px;
  transition: box-shadow 260ms ease;
}
.stage.is-active .pic { box-shadow: 0 0 0 3px var(--marker); }

.flow { position: relative; height: 17.5rem; }
.flow::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.9rem;
  top: calc(50% - 1px);
  height: 2px;
  background-image: linear-gradient(90deg, var(--on-ink-2) 55%, transparent 0);
  background-size: 10px 2px;
}
.flow-1::before { background-position: calc(var(--f1) * 60px) 0; }
.flow-2::before { background-position: calc(var(--f2) * 60px) 0; }
.flow::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--on-ink-2);
  border-right: 2px solid var(--on-ink-2);
  transform: rotate(45deg);
}
.packet {
  position: absolute;
  left: 0.4rem;
  top: calc(50% - 8px);
  width: 24px;
  height: 16px;
  border: 1.5px solid var(--sheet);
  border-radius: 4px;
  background: var(--marker);
}
.flow-1 .packet {
  transform: translateX(calc(var(--f1) * 2.6rem));
  opacity: min(calc(var(--f1) * 8), calc((1 - var(--f1)) * 8), 1);
}
.flow-2 .packet {
  transform: translateX(calc(var(--f2) * 2.6rem));
  opacity: min(calc(var(--f2) * 8), calc((1 - var(--f2)) * 8), 1);
}

/* Picture 1: provider files */
.file {
  position: absolute;
  padding: 0.55rem 0.7rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 0.75rem;
  line-height: 1.45;
  transition: transform 560ms var(--ease-drop), opacity 300ms ease;
}
.file-name { margin-bottom: 0.2rem; font-weight: 600; color: var(--ink); }
.file-body {
  overflow: hidden;
  font-family: var(--mono);
  color: var(--graphite);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.file-csv { top: 1.1rem; left: 1.1rem; right: 1.9rem; transform: rotate(-1.5deg); }
.file-json { top: 6.2rem; left: 1.9rem; right: 1.1rem; transform: rotate(1.2deg); background: var(--sheet); }
.file-xlsx { top: 11.3rem; left: 1.3rem; right: 1.5rem; transform: rotate(-0.6deg); }
.pipeline.is-scrub .file:not(.on) { opacity: 0; }
.pipeline.is-scrub .file-csv:not(.on) { transform: translateY(-2.2rem) rotate(-7deg); }
.pipeline.is-scrub .file-json:not(.on) { transform: translateY(-2.2rem) rotate(6deg); }
.pipeline.is-scrub .file-xlsx:not(.on) { transform: translateY(-2.2rem) rotate(-5deg); }

/* Picture 2: one schema */
.rec {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr) 3rem;
  gap: 0.5rem;
  align-items: center;
  padding: 0.62rem 0.15rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  transition: transform 420ms var(--ease-out), opacity 300ms ease;
}
.rec .num { text-align: right; white-space: nowrap; }
.rec-head {
  border-top: 0;
  padding-top: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--graphite);
}
.rec-head .src-head { text-align: right; }
.src {
  justify-self: end;
  padding: 0.05rem 0.4rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--graphite);
  transition: transform 300ms var(--ease-drop) 120ms, opacity 200ms ease 120ms;
}
.pipeline.is-scrub .rec:not(.on) { opacity: 0; transform: translateX(-1.5rem); }
.pipeline.is-scrub .rec:not(.on) .src { opacity: 0; transform: scale(0.6); }

/* Picture 3: matching against the ledger */
.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.2rem minmax(0, 1fr);
  align-items: center;
  padding: 0.62rem 0.15rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: opacity 260ms ease, transform 300ms var(--ease-out);
}
.pair > span:first-child { text-align: right; }
.pair-head {
  border-top: 0;
  padding-top: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--graphite);
}
.tie {
  height: 2px;
  margin-inline: 0.4rem;
  background: var(--ink);
  transform-origin: left center;
  transition: transform 260ms var(--ease-out) 150ms;
}
.pair.is-off .tie {
  background: none;
  background-image: linear-gradient(90deg, var(--correction) 50%, transparent 0);
  background-size: 6px 2px;
}
.match-foot {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  color: var(--graphite);
  transition: opacity 300ms ease;
}
.stage-match mark { transition: background-size 380ms var(--ease-out); }
.stage-match mark:last-child { transition-delay: 0ms; }
.pair > span:last-child mark { transition-delay: 280ms; }
.stage-match .diff { transition: color 300ms ease, text-decoration-color 300ms ease; }
.stage-match .missing { transition: opacity 300ms ease 200ms; }

.pipeline.is-scrub .pair:not(.pair-head):not(.on) { opacity: 0; transform: translateX(-0.75rem); }
.pipeline.is-scrub .pair:not(.match) mark { background-size: 0% 88%; }
.pipeline.is-scrub .pair:not(.match) .tie { transform: scaleX(0); }
.pipeline.is-scrub .pair.is-off:not(.match) .diff { color: var(--ink); text-decoration-color: transparent; }
.pipeline.is-scrub .pair.is-off:not(.match) .missing { opacity: 0; }
.pipeline.is-scrub .match-foot:not(.on) { opacity: 0; }

/* ---------- Model and simulator ---------- */

.model h2 { margin-bottom: 2.75rem; max-width: 18ch; }
.model-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.model-col { padding-block: 0.25rem; }
.model-col:first-child { padding-right: clamp(1.5rem, 4vw, 3.5rem); }
.model-col + .model-col {
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  border-left: 1px solid var(--rule);
}
.model-col h3 { margin-bottom: 1rem; }
.model-col ul { margin: 0; padding-left: 1.15rem; color: var(--graphite); }
.model-col li + li { margin-top: 0.5rem; }
.model-col li::marker { color: var(--ink); }

.sim {
  margin-top: 3.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 10px;
  transform: translate3d(0, var(--py, 0px), 0);
}
.sim-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}
.sim-title { max-width: 32rem; font-size: 1.125rem; font-weight: 600; }
.code {
  padding: 0.05em 0.35em;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.85em;
  font-weight: 500;
}
.sim-lane + .sim-lane { margin-top: 2.25rem; }
.sim-lane-title { margin-bottom: 1.25rem; font-size: 1rem; color: var(--graphite); }
.sim-lane-title::after { content: none; }
html.js .sim-lane:not(.is-current) { display: none; }
html.js .sim-lane-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sim-lane[data-mode="alone"] { --seg: var(--correction); }
.sim-lane[data-mode="support"] { --seg: var(--ink); }
.sim-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sim-track li {
  position: relative;
  padding-top: 1.85rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: opacity 260ms ease;
}
.sim-track li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  transition: background-color 220ms ease, border-color 220ms ease, transform 300ms var(--ease-drop);
}
.sim-track li::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 22px;
  right: calc(-1.25rem + 6px);
  height: 2px;
  background: linear-gradient(var(--seg), var(--seg)) left top / 100% 100% no-repeat, var(--rule);
  transition: background-size 380ms var(--ease-out);
}
.sim-track li:last-child::after { display: none; }
.sim-track li.tone-bad::before { border-color: var(--correction); background: var(--correction); }
.sim-track li.tone-good::before { border-color: var(--ink); background: var(--marker); }
html.js .sim-track li:not(.is-on) { opacity: 0.35; }
html.js .sim-track li:not(.is-on)::before { background: var(--sheet); border-color: var(--rule); transform: scale(0.75); }
html.js .sim-track li:not(:has(+ li.is-on))::after { background-size: 0% 100%; }

/* ---------- Early access ---------- */

.ea-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.ea-intro h2 { max-width: 14ch; }
.ea-intro p { margin-top: 1rem; max-width: 26rem; color: var(--graphite); font-size: 1.125rem; }
html.js .sheet-slot.reveal { transition-delay: 120ms; }

.sheet {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.sheet-done h3 { margin-bottom: 0.6rem; }
.sheet-done h3::after { content: none; }
.sheet-done p { color: var(--graphite); }
.sheet-done strong { color: var(--ink); font-weight: 600; word-break: break-all; }

.field { margin: 0 0 1.4rem; padding: 0; border: 0; min-width: 0; }
.field > label,
.field > legend {
  display: block;
  margin-bottom: 0.45rem;
  padding: 0;
  font-weight: 600;
  font-size: 1rem;
}
.optional { font-weight: 400; color: var(--graphite); margin-left: 0.35rem; }

input[type="text"],
input[type="email"],
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--sheet);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 140ms ease;
}
textarea { resize: vertical; min-height: 7rem; }
input:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, textarea:focus-visible { outline-offset: 1px; border-color: var(--ink); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--correction); }

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
input.is-nudged { animation: nudge 260ms ease 1; }

.field-error {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--correction);
  font-weight: 500;
}
.field-error:empty { display: none; }

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.provider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.25;
  cursor: pointer;
  background-color: transparent;
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 260ms var(--ease-out), border-color 160ms ease;
}
.provider:hover { border-color: var(--field-border); }
.provider input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.provider:has(input:checked) { background-size: 100% 100%; border-color: var(--marker); }
.provider:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.provider input:focus-visible { outline: none; }
.provider-count { margin-bottom: 1rem; font-size: 0.9375rem; color: var(--graphite); }
.provider-count:empty { display: none; }
.sub-label { display: block; margin-bottom: 0.45rem; font-size: 0.9375rem; color: var(--graphite); }

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

.privacy { font-size: 0.9375rem; color: var(--graphite); margin-bottom: 1.25rem; }
.btn-submit { width: 100%; }
.btn-submit[aria-busy="true"] { cursor: progress; background: var(--ink-deep); }
.form-status { margin-top: 0.9rem; font-size: 0.9375rem; font-weight: 500; color: var(--correction); }
.form-status:empty { display: none; }

/* ---------- Footer, thanks and 404 ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 2rem 2.5rem;
  font-size: var(--step--1);
  color: var(--graphite);
}
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.thanks { padding-block: var(--section); max-width: 40rem; }
.thanks p { margin-top: 1rem; color: var(--graphite); font-size: 1.125rem; }
.thanks .actions { margin-top: 2rem; }

/* ---------- Breakpoints ---------- */

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ledger-wrap { max-width: 40rem; }
  .float-c { right: -1.5rem; }
}

@media (max-width: 960px) {
  :root { --how-h: 420vh; }
  .ea-grid { grid-template-columns: minmax(0, 1fr); }

  .story { grid-template-columns: minmax(0, 1fr); gap: 0; }
  html.js .story-stage {
    z-index: 2;
    top: var(--header-h);
    height: auto;
    padding-block: 0.75rem;
    background: var(--paper);
  }
  html.js .stage-card { height: 21rem; padding: 1.1rem; }
  html.js .scene { inset: 3.6rem 1.1rem 1.1rem; font-size: 0.875rem; }
  .story-progress { margin-bottom: 1rem; }
  html.js .story-step { min-height: 60vh; justify-content: flex-start; padding-top: 1.5rem; }
  .late-track { height: 11rem; }
  .late-item { top: 6rem; }
  .late-link { top: 1.6rem; height: 4.4rem; }
  .tz-days { height: 5rem; margin-top: 1.2rem; }
  .tz-dot { top: 1.5rem; }

  .how-head { margin-bottom: 1.5rem; }
  .how-progress { width: 100%; }
  .hw-seg { flex: 1; width: auto; }

  .pipeline { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
  .stage > p { max-width: none; }
  .flow { height: 4.5rem; }
  .flow::before {
    left: calc(50% - 1px);
    right: auto;
    top: 0.6rem;
    bottom: 0.9rem;
    width: 2px;
    height: auto;
    background-image: linear-gradient(180deg, var(--on-ink-2) 55%, transparent 0);
    background-size: 2px 10px;
  }
  .flow::after {
    right: auto;
    left: calc(50% - 5px);
    top: auto;
    bottom: 0.6rem;
    transform: rotate(135deg);
  }
  .packet { display: none; }

  .pipeline.is-scrub { position: relative; display: block; height: 28rem; }
  .pipeline.is-scrub .flow { display: none; }
  .pipeline.is-scrub .stage {
    position: absolute;
    inset: 0;
    transition: opacity 400ms ease, transform 520ms var(--ease-out);
  }
  .pipeline.is-scrub .stage:not(.is-active) { opacity: 0; pointer-events: none; }
  .pipeline.is-scrub .stage.is-before { transform: translateX(-2.5rem); }
  .pipeline.is-scrub .stage.is-after { transform: translateX(2.5rem); }
  .how.is-pinned .how-frame { padding-block: 1.25rem; }
  .how.is-pinned .stage h3 { margin-top: 1.1rem; }
}

@media (max-width: 640px) {
  .model-cols { grid-template-columns: minmax(0, 1fr); }
  .model-col:first-child { padding-right: 0; padding-bottom: 2rem; }
  .model-col + .model-col { padding-left: 0; padding-top: 2rem; border-left: 0; border-top: 1px solid var(--rule); }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger { padding: 1rem; }
  .ledger-table { font-size: 0.9375rem; }
  .ledger-foot > span { flex-basis: 100%; min-height: 4.4em; }
  .header-inner .btn-quiet { padding-inline: 0.8rem; }
  .float-a { left: 0.5rem; }
  .float-c { display: none; }

  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg-option { line-height: 1.25; }
  .sim-track { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .sim-track li { padding-top: 0; padding-left: 2rem; }
  .sim-track li::before { top: 0.15rem; }
  .sim-track li::after {
    top: calc(0.15rem + 20px);
    bottom: calc(-1.1rem + 2px);
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
  }
  html.js .sim-track li:not(:has(+ li.is-on))::after { background-size: 100% 0%; }
}

@media (max-width: 400px) {
  .header-inner .btn-quiet { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
