/* EPISTELTA — "Register" (round 4 of the "Typeset evidence" direction).
   A claim is printed as a hollow capsule plate, a rule's decision as a bar, an observed record as a solid block.
   Where claim and record agree the plates print in register and overprint (multiply); where they disagree they
   misregister. One family (Geologica) carries the voices on its SHRP, wght and slnt axes.
   Rhythm: one interval, 5:4, from 18px. Baseline 9px. Motion beat 125ms. See ../DESIGN.md. */

@font-face {
  font-family: "Geologica";
  font-style: oblique 0deg 12deg;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/geologica-latin-full-normal.woff2") format("woff2");
}

:root {
  --paper: #FFFFFF;
  --ink: #142030;
  --ink-2: #4D5969;
  --claim: #666682;
  --claim-n: #A9A9C6;   /* claim plate on the night ground */
  --rule: #E47000;
  --evid: #006C45;
  --evid-m: #00985F;
  --unk: #848A90;
  --night: #142030;
  --line: #D5D9DE;
  --t0: 14.4px; --t1: 18px; --t2: 22.5px; --t3: 28.125px; --t4: 35.156px;
  --t5: 43.945px; --t6: 54.932px; --t7: 68.665px; --t8: 85.831px;
  --b: 9px;
  --m: 72px;
  --spine: 14px;
  --beat: 125ms;
  --edge: max(var(--m), calc((100vw - 1440px) / 2 + var(--m)));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Geologica", system-ui, sans-serif; font-size: var(--t1); line-height: 27px;
  font-weight: 380; font-variation-settings: "wght" 380, "SHRP" 40, "slnt" 0;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
b { font-weight: 620; font-variation-settings: "wght" 620, "SHRP" 70, "slnt" 0; }
:focus-visible { outline: 3px solid var(--rule); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--m); top: 9px; z-index: 9; background: var(--ink); color: #fff; padding: 9px 13.5px; }

/* ---------- Voices: the status of a line is set in the type ---------- */
.v-claim { font-weight: 290; font-variation-settings: "wght" 290, "SHRP" 0, "slnt" -12; color: var(--claim); }
.v-rule  { font-weight: 470; font-variation-settings: "wght" 470, "SHRP" 55, "slnt" 0; color: var(--ink); }
.v-rec   { font-weight: 720; font-variation-settings: "wght" 720, "SHRP" 100, "slnt" 0; color: var(--evid); }
.v-unk   { font-weight: 400; font-variation-settings: "wght" 400, "SHRP" 50, "slnt" 0; color: var(--ink-2);
           text-decoration: underline dotted 2px; text-underline-offset: 6px; }

/* Small marks used inside text: the same three signs at text size */
.mk { display: inline-block; width: 27px; height: 13.5px; margin-right: 13.5px; vertical-align: -1px; flex: none; }
.mk-cap { border: 2px solid var(--claim); border-radius: 9px; }
.mk-bar { width: 6px; height: 18px; vertical-align: -3px; background: var(--rule); margin-right: 18px; }
.mk-blk { background: var(--evid); }

/* ---------- Header: sticky, with the price and the next step always in reach ---------- */
.top {
  position: sticky; top: 0; z-index: 5; background: var(--paper);
  display: flex; align-items: center; gap: 18px 36px; padding: 13.5px var(--edge);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 13.5px; text-decoration: none; margin-right: auto; }
.wm { font-size: var(--t2); letter-spacing: 0; font-weight: 760; font-variation-settings: "wght" 760, "SHRP" 100, "slnt" 0; }
.by { font-size: var(--t0); line-height: 18px; color: var(--ink-2); }
nav { display: flex; gap: 27px; font-size: var(--t0); }
nav a { text-decoration: none; padding: 9px 0; white-space: nowrap; }
nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.top-buy { display: flex; align-items: center; gap: 18px; }
.top-price { font-size: var(--t0); color: var(--ink-2); white-space: nowrap; }

.btn {
  display: inline-block; text-decoration: none; background: var(--ink); color: #fff;
  padding: 13.5px 27px; font-size: var(--t1); line-height: 27px;
  font-weight: 600; font-variation-settings: "wght" 600, "SHRP" 100, "slnt" 0;
  border-left: var(--spine) solid var(--rule);
}
.btn:hover { background: var(--evid); }
.btn-s { padding: 4.5px 18px; font-size: var(--t0); border-left-width: 6px; white-space: nowrap; }
.lnk { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lnk:hover { color: var(--evid); }
.tag { display: inline-block; margin-right: 13.5px; padding: 0 9px; font-size: var(--t0); line-height: 22.5px;
       border: 2px dashed var(--ink-2); color: var(--ink); }

main > section { position: relative; }
h2 { font-size: var(--t5); line-height: 54px; letter-spacing: -.01em; font-weight: 700; font-variation-settings: "wght" 700, "SHRP" 100, "slnt" 0; max-width: 16em; }
h3 { font-size: var(--t2); line-height: 27px; font-weight: 650; font-variation-settings: "wght" 650, "SHRP" 90, "slnt" 0; }
.intro { margin-top: 18px; max-width: 36em; color: var(--ink-2); font-size: var(--t2); line-height: 36px; }

/* ---------- The register stack (hero and contact) ----------
   Columns: page edge | outside the rule | the bar | gap | the record, running off the right edge. */
.stack {
  position: relative; display: grid;
  grid-template-columns: var(--edge) 270px var(--spine) 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
}
.pl-claim {
  grid-column: 2 / 6; grid-row: 1; justify-self: start; position: relative; z-index: 2;
  margin-right: var(--m); margin-bottom: -27px;
  padding: 27px 54px 27px 374px;
  border: 3px solid var(--claim); border-radius: 999px; mix-blend-mode: multiply;
  font-size: var(--t4); line-height: 45px;
}
.pl-bar {
  grid-column: 3; grid-row: 1 / 3; position: relative; z-index: 3;
  margin: -18px 0; background: var(--rule); mix-blend-mode: multiply; transform-origin: 50% 0;
}
.pl-rule {
  grid-column: 2; grid-row: 2; align-self: start; padding: 63px 18px 0 0; text-align: right;
  font-size: var(--t2); line-height: 27px;
}
.pl-rec {
  grid-column: 5; grid-row: 2; position: relative; z-index: 1;
  background: var(--evid); color: #fff; padding: 72px var(--m) 54px 54px;
}
.pl-rec h1, .pl-rec h2 {
  color: #fff; font-size: var(--t7); line-height: 72px; letter-spacing: -.015em; max-width: 13.5em;
  font-weight: 720; font-variation-settings: "wght" 720, "SHRP" 100, "slnt" 0;
}
.rec-lede { margin-top: 27px; max-width: 34em; font-size: var(--t2); line-height: 36px; color: #fff;
            font-variation-settings: "wght" 360, "SHRP" 60, "slnt" 0; }

.hero { padding-top: 63px; }
.offer {
  max-width: 1440px; margin: 54px auto 0; padding: 0 var(--m);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: 27px 54px; align-items: start;
}
.prod { font-size: var(--t2); line-height: 27px; font-weight: 650; font-variation-settings: "wght" 650, "SHRP" 90, "slnt" 0; }
.for { margin-top: 9px; color: var(--ink-2); }
.price { font-size: var(--t4); line-height: 45px; color: var(--evid); font-weight: 720; font-variation-settings: "wght" 720, "SHRP" 100, "slnt" 0; }
.terms { margin-top: 9px; color: var(--ink-2); max-width: 30em; }
.acts { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* ---------- 2 · The case: one refund, four outcomes ---------- */
.case {
  max-width: 1440px; margin: 126px auto 0; padding: 0 var(--m);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 72px; row-gap: 36px;
}
.case-head { grid-column: 1; grid-row: 1; }
.case-lines { grid-column: 1; grid-row: 2 / 4; align-self: start; padding-top: 9px; }
.pick { grid-column: 2; grid-row: 1; align-self: end; display: flex; flex-wrap: wrap; gap: 9px; }
.pick button {
  font: inherit; font-size: var(--t1); line-height: 27px; color: var(--ink); background: var(--paper); cursor: pointer;
  padding: 9px 18px 9px 22.5px; border: 2px solid var(--ink); border-left: 6px solid var(--line);
  font-variation-settings: "wght" 470, "SHRP" 55, "slnt" 0;
}
.pick button[aria-checked="true"] { background: var(--ink); color: #fff; border-left-color: var(--rule); }
.pick button:disabled { cursor: default; }
.ln { display: flex; align-items: baseline; font-size: var(--t2); line-height: 36px; max-width: 30em; }
.ln + .ln { margin-top: 13.5px; }

.reg { grid-column: 2; grid-row: 2; }
.plates { position: relative; height: 306px; }
.p-bar {
  position: absolute; top: 36px; left: 0; width: var(--spine); height: 261px; z-index: 3;
  background: var(--rule); transform-origin: 50% 0;
  transition: left calc(var(--beat) * 3) cubic-bezier(.2, 1.3, .4, 1), top calc(var(--beat) * 3) cubic-bezier(.2, 1.3, .4, 1), height calc(var(--beat) * 3) cubic-bezier(.2, 1.3, .4, 1);
}
.p-cap, .p-blk { position: absolute; top: 72px; left: 36px; width: calc(100% - 36px); height: 207px;
  transition: left calc(var(--beat) * 3) cubic-bezier(.3, .6, .2, 1), width calc(var(--beat) * 3) cubic-bezier(.3, .6, .2, 1),
              transform calc(var(--beat) * 3) cubic-bezier(.3, .6, .2, 1), opacity calc(var(--beat) * 2) linear,
              background-color calc(var(--beat) * 2) linear, border-color calc(var(--beat) * 2) linear; }
.p-blk {
  z-index: 1; background: var(--evid); color: #fff; border: 3px solid var(--evid);
  display: flex; align-items: flex-end; padding: 18px 54px;
  font-size: var(--t2); line-height: 27px; font-weight: 650; font-variation-settings: "wght" 650, "SHRP" 100, "slnt" 0;
}
.p-cap { z-index: 2; border: 3px solid var(--claim); border-radius: 999px; mix-blend-mode: multiply; pointer-events: none; }
.p-say { position: absolute; left: 27px; right: 0; bottom: calc(100% + 13.5px); font-size: var(--t2); line-height: 27px; }
.plates { overflow: hidden; }
.p-blk2, .p-cap2 { left: 100%; width: 0; opacity: 0; padding-left: 0; padding-right: 0; border-width: 0; overflow: hidden; }

/* Outcome geometry. Agreement prints in register; disagreement misregisters. */
.case[data-state="unknown"] .p-blk1 { background-color: transparent; border-color: var(--unk); border-style: dashed; color: var(--ink-2);
  font-weight: 400; font-variation-settings: "wght" 400, "SHRP" 50, "slnt" 0; }
.case[data-state="retry"] .p-blk1, .case[data-state="retry"] .p-cap1 { width: calc(50% - 31.5px); }
.case[data-state="retry"] .p-cap1 { transform: translate(22.5px, -18px); }
.case[data-state="retry"] .p-blk2, .case[data-state="retry"] .p-cap2 { left: calc(50% + 13.5px); width: calc(50% - 13.5px); opacity: 1; border-width: 3px; overflow: visible; }
.case[data-state="retry"] .p-blk2 { padding-left: 54px; padding-right: 54px; }
/* Permission changed: the rule's bar moves into the record. The entry lies past the point where the rule changed. */
.case[data-state="stale"] .p-bar { left: 30%; top: 63px; height: 234px; }
.case[data-state="stale"] .p-blk1 { padding-left: calc(28% + 36px); }

.reg figcaption { display: flex; flex-wrap: wrap; gap: 9px 27px; margin-top: 27px; font-size: var(--t0); line-height: 18px; color: var(--ink-2); }
.reg figcaption span { display: inline-flex; align-items: center; }
.reg figcaption .mk { margin-right: 9px; }

.finding { grid-column: 2; grid-row: 3; padding-left: 36px; }
.f-say { font-size: var(--t4); line-height: 45px; }
.f-why { margin-top: 9px; max-width: 34em; color: var(--ink); font-size: var(--t2); line-height: 36px; }
.case .cap { grid-column: 1 / -1; font-size: var(--t0); line-height: 22.5px; color: var(--ink-2); }

/* Predefined states: only the chosen outcome's lines are shown */
[data-s] { display: none; }
.case[data-state="normal"] [data-s~="normal"],
.case[data-state="unknown"] [data-s~="unknown"],
.case[data-state="retry"] [data-s~="retry"],
.case[data-state="stale"] [data-s~="stale"] { display: block; }
.case[data-state="normal"] .ln[data-s~="normal"], .case[data-state="unknown"] .ln[data-s~="unknown"],
.case[data-state="retry"] .ln[data-s~="retry"], .case[data-state="stale"] .ln[data-s~="stale"] { display: flex; }

/* ---------- 3 · How the check works ---------- */
.how { margin-top: 135px; }
.how-in { max-width: 1440px; margin: 0 auto; padding: 0 var(--m); }
.steps { margin-top: 54px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px; }
.steps h3 { margin-top: 27px; }
.steps p { margin-top: 9px; color: var(--ink-2); max-width: 22em; }
/* The family: radius = 27 x (1 - t)^1.6, fill only after t = 0.7 (from research/algorithmic). */
.fm { display: block; width: 117px; height: 54px; border: 3px solid var(--claim); }
.fm-1 { border-radius: 27px; }
.fm-2 { width: var(--spine); border: 0; background: var(--rule); }
.fm-3 { border-radius: 9px; border-color: #33695F; }
.fm-4 { border-radius: 3px; border-color: #1A6B54; background: rgba(0, 108, 69, .17); }
.fm-5 { border-radius: 0; border-color: var(--evid); background: var(--evid); }

.full { margin-top: 36px; max-width: 60em; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 13.5px 0; }
.full ol { margin-top: 13.5px; display: grid; gap: 9px; }
.full li { color: var(--ink-2); max-width: 46em; }
.full li b { color: var(--ink); }
.gets-wrap { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 27px 72px; }
.gets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 54px; }
.gets div { padding-left: 27px; border-left: 6px solid var(--evid); }
.gets dt { font-weight: 650; font-variation-settings: "wght" 650, "SHRP" 90, "slnt" 0; }
.gets dd { color: var(--ink-2); margin-top: 4.5px; }

.night { margin-top: 108px; background: var(--night); color: #fff; }
.night-in { max-width: 1440px; margin: 0 auto; padding: 99px var(--m) 108px; }
.night h3 { font-size: var(--t5); line-height: 54px; max-width: 16em; font-weight: 700; font-variation-settings: "wght" 700, "SHRP" 100, "slnt" 0; }
.night .intro { color: #D4D9E1; }
.m1 { margin-top: 54px; display: grid; gap: 36px; }
.arm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px 54px; align-items: center;
       padding-top: 27px; border-top: 1px solid #3A4656; }
.arm-h { font-size: var(--t2); line-height: 27px; font-weight: 650; font-variation-settings: "wght" 650, "SHRP" 90, "slnt" 0; }
.arm-n { margin-top: 9px; color: #D4D9E1; }
.arm-n b { color: #fff; }
.arm-fault .arm-h { color: #D4D9E1; }
.marks { display: flex; flex-wrap: wrap; gap: 13.5px 13.5px; }

/* One mark = one case, drawn as a small register figure 72 x 31.5:
   proposal plate (0-31) | guard bar (34-39) | observed entry (42-72). */
.m { position: relative; display: inline-block; width: 72px; height: 31.5px; flex: none; }
.m::before, .m::after { content: ""; position: absolute; top: 0; height: 31.5px; }
.m::before { left: 0; width: 31px; border: 2px solid var(--claim-n); border-radius: 16px; z-index: 1; }
/* The guard's bar is the mark's own right edge (34-39); the entry plate sits beyond it. */
.m-unsafe, .m-held, .m-blocked { width: 39px; margin-right: 33px; border-right: 5px solid var(--rule); }
.m-unsafe::after { left: 42px; width: 30px; background: var(--evid-m); }
.m-blocked::after { left: 42px; width: 30px; border: 2px dashed var(--unk); }
.m-done::before { width: 72px; }
.m-done::after { left: 0; width: 72px; background: var(--evid-m); }
.legend { margin-top: 45px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13.5px 54px; font-size: var(--t0); line-height: 18px; color: #D4D9E1; }
.legend li { display: flex; align-items: center; gap: 18px; }
.caveat { margin-top: 45px; max-width: 46em; padding-left: 27px; border-left: 6px solid var(--rule); font-size: var(--t2); line-height: 36px; }
.more { margin-top: 45px; display: grid; gap: 18px; max-width: 64em; }
details summary { cursor: pointer; font-size: var(--t2); line-height: 36px; font-weight: 600; font-variation-settings: "wght" 600, "SHRP" 80, "slnt" 0; }
.night details { border-top: 1px solid #3A4656; padding-top: 18px; }
.night details > *:not(summary) { margin-top: 18px; color: #D4D9E1; }
.night details li + li { margin-top: 9px; }
.night details ul { list-style: none; }
.night .tag { color: #fff; border-color: #D4D9E1; }
.night a { color: #fff; }
.older, .draft-link { margin-top: 36px; color: #D4D9E1; font-size: var(--t0); line-height: 22.5px; max-width: 52em; }
.draft-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px 18px; font-size: var(--t1); line-height: 27px; }
.night .lnk { color: #fff; }
.tag-draft { font-size: var(--t0); line-height: 22.5px; padding: 0 9px; border: 2px dashed #D4D9E1; color: #fff; }

.tbl { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 13.5px 27px 13.5px 0; border-bottom: 1px solid var(--line); }
thead th { font-size: var(--t0); line-height: 18px; font-weight: 560; font-variation-settings: "wght" 560, "SHRP" 60, "slnt" 0; }
tbody th { font-weight: 600; font-variation-settings: "wght" 600, "SHRP" 80, "slnt" 0; white-space: nowrap; }
.night th, .night td { border-bottom-color: #3A4656; color: #D4D9E1; }
.night thead th, .night tbody th, .night td b { color: #fff; }

/* ---------- 4 · Scope and price ---------- */
.scope { max-width: 1440px; margin: 135px auto 0; padding: 0 var(--m); }
.deal { margin-top: 45px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px 72px; align-items: start; }
.price-plate { background: var(--evid); color: #fff; padding: 54px 54px 45px; }
.pp-say { font-size: var(--t6); line-height: 63px; max-width: 9em; font-weight: 720; font-variation-settings: "wght" 720, "SHRP" 100, "slnt" 0; }
.pp-note { margin-top: 27px; max-width: 30em; }
.kick ol { margin-top: 18px; counter-reset: k; }
.kick li { display: flex; align-items: baseline; gap: 18px; padding: 9px 0; font-size: var(--t2); line-height: 27px; }
.kick li::before { content: ""; flex: none; width: 6px; height: 22.5px; align-self: center; background: var(--rule); }
.kick-end { margin-top: 18px; color: var(--ink-2); }
.kick .btn { margin-top: 27px; }
.bound { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 72px; }
.bound ul { margin-top: 18px; }
.bound li { display: flex; gap: 18px; padding: 9px 0; }
.bound li::before { content: ""; flex: none; width: 27px; height: 18px; margin-top: 4.5px; }
.in li::before { background: var(--evid); }
.out li::before { border: 2px dashed var(--unk); }
.out li { color: var(--ink-2); }
.fit { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 18px 72px; }
.fit h3 { grid-row: 1 / 3; }
.fit p { max-width: 40em; }
.fit .eg { color: var(--ink-2); }

/* ---------- 5 · Contact ---------- */
.contact { margin-top: 135px; }
.stack-end .pl-claim { font-size: var(--t3); line-height: 36px; padding-top: 22.5px; padding-bottom: 22.5px; }
.stack-end .pl-rec { padding-top: 63px; padding-bottom: 54px; }
.stack-end .pl-rec h2 { font-size: var(--t7); line-height: 72px; }
.contact-in, .faq { max-width: 1440px; margin: 54px auto 0; padding: 0 var(--m); }
.contact-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 27px 72px; }
.brief-h { font-weight: 650; font-variation-settings: "wght" 650, "SHRP" 90, "slnt" 0; }
.brief { margin-top: 9px; counter-reset: b; }
.brief li { counter-increment: b; display: flex; gap: 13.5px; padding: 4.5px 0; font-size: var(--t2); line-height: 36px; }
.brief li::before { content: counter(b) "."; color: var(--ink-2); min-width: 1.2em; }
.contact-in p + p { margin-top: 13.5px; }
.safe { color: var(--ink-2); max-width: 36em; }
.channel { margin-top: 27px; padding: 18px 22.5px; border: 2px solid var(--ink); max-width: 34em; }
.channel-off { border: 2px dashed var(--ink-2); }
.channel .lbl { font-size: var(--t0); line-height: 22.5px; color: var(--ink-2); }
.channel-off p { margin-top: 4.5px; }
.mail { display: inline-block; margin-top: 4.5px; font-size: var(--t3); line-height: 36px; color: var(--evid); overflow-wrap: anywhere;
        font-weight: 650; font-variation-settings: "wght" 650, "SHRP" 100, "slnt" 0; }
.faq { margin-top: 90px; }
.qa { margin-top: 18px; max-width: 60em; }
.qa details { border-top: 1px solid var(--line); padding: 13.5px 0; }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa details p { margin-top: 13.5px; max-width: 44em; color: var(--ink-2); }

/* ---------- Footer, sample page, 404 ---------- */
.foot { max-width: 1440px; margin: 126px auto 0; padding: 27px var(--m) 54px; border-top: 2px solid var(--ink);
        display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px 54px; font-size: var(--t0); line-height: 22.5px; color: var(--ink-2); }
.foot-brand .wm { font-size: var(--t1); margin-right: 9px; color: var(--ink); }
.foot-notes p + p { margin-top: 9px; }
.foot b { color: var(--ink); }
.lbl { font-size: var(--t0); line-height: 22.5px; color: var(--ink-2); }
.doc { max-width: 1080px; margin: 0 auto; padding: 72px var(--m) 27px; }
.doc h1 { font-size: var(--t6); line-height: 63px; max-width: 14em; letter-spacing: -.02em; font-weight: 700; font-variation-settings: "wght" 700, "SHRP" 100, "slnt" 0; }
.doc h2 { font-size: var(--t3); line-height: 36px; margin-top: 63px; max-width: none; }
.doc h2 + * { margin-top: 13.5px; }
.doc > p { max-width: 44em; color: var(--ink-2); }
.doc p + p { margin-top: 13.5px; }
.doc .report { margin-top: 18px; }
.doc .tbl th, .doc .tbl td { font-size: 16px; line-height: 24px; color: var(--ink); }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; overflow-wrap: anywhere; color: var(--ink); }
.banner { margin-block: 27px; padding: 13.5px 18px; border: 2px dashed var(--ink-2); color: var(--ink); max-width: 52em; }
.aside-note { margin-top: 27px; font-size: var(--t0); line-height: 22.5px; color: var(--ink-2); }
.nf { max-width: 900px; margin: 0 auto; padding: 108px var(--m); }
.nf h1 { font-size: var(--t7); line-height: 72px; margin: 9px 0 27px; }

/* ---------- Motion: one orchestrated moment on load, and the case's state changes ----------
   The claim plate enters (its stroke draws), the bar sets (snaps), the record settles (fill rises, corners square,
   the headline earns its edges). Durations are multiples of one beat. */
@keyframes enter { from { clip-path: inset(-6px 100% -6px -6px); } to { clip-path: inset(-6px -6px -6px -6px); } }
@keyframes set { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes settle {
  from { background-color: rgba(0, 108, 69, 0); border-radius: 180px; box-shadow: inset 0 0 0 3px var(--claim); }
  60% { box-shadow: inset 0 0 0 3px rgba(102, 102, 130, .4); }
  to { background-color: var(--evid); border-radius: 0; box-shadow: inset 0 0 0 0 rgba(102, 102, 130, 0); }
}
@keyframes earn {
  from { color: var(--claim); font-variation-settings: "wght" 290, "SHRP" 0, "slnt" -12; }
  to { color: #fff; font-variation-settings: "wght" 720, "SHRP" 100, "slnt" 0; }
}
@keyframes lede { from { color: var(--claim); } to { color: #fff; } }
@keyframes rulein { from { color: var(--claim); } to { color: var(--ink); } }
.hero .pl-claim { animation: enter calc(var(--beat) * 4) cubic-bezier(.4, 0, .2, 1) both; }
.hero .pl-bar { animation: set var(--beat) cubic-bezier(.2, 1.5, .4, 1) calc(var(--beat) * 4) both; }
.hero .pl-rule { animation: rulein calc(var(--beat) * 2) linear calc(var(--beat) * 4) both; }
.hero .pl-rec { animation: settle calc(var(--beat) * 5) cubic-bezier(.3, .6, .2, 1) calc(var(--beat) * 5) both; }
.hero .record-fact { animation: earn calc(var(--beat) * 5) cubic-bezier(.3, .6, .2, 1) calc(var(--beat) * 5) both; }
.hero .rec-lede { animation: lede calc(var(--beat) * 5) linear calc(var(--beat) * 5) both; }

@keyframes settle-blk { from { border-radius: 85px; background-color: rgba(0, 108, 69, 0); border-color: var(--claim); } }
@keyframes snap { from { transform: scaleY(.2); } }
.case.moved .p-blk:not([hidden]) { animation: settle-blk calc(var(--beat) * 4) cubic-bezier(.3, .6, .2, 1); }
.case.moved[data-state="unknown"] .p-blk1 { animation: none; }
.case.moved .p-bar { animation: snap var(--beat) cubic-bezier(.2, 1.5, .4, 1); }
.case.moved .f-say { animation: earn-dark calc(var(--beat) * 4) cubic-bezier(.3, .6, .2, 1); }
@keyframes earn-dark { from { color: var(--claim); font-variation-settings: "wght" 290, "SHRP" 0, "slnt" -12; } }

html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1299px) {
  .by { display: none; }
  .pl-rec h1, .stack-end .pl-rec h2 { font-size: var(--t6); line-height: 63px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  :root { --m: 40px; }
  nav, .by { display: none; }
  .stack { grid-template-columns: var(--edge) 72px var(--spine) 27px minmax(0, 1fr); }
  .pl-claim { padding-left: 158px; font-size: var(--t3); line-height: 36px; padding-top: 22.5px; padding-bottom: 22.5px; }
  .pl-rule { grid-column: 4 / 6; grid-row: 2; text-align: left; padding: 45px 0 18px 18px; }
  .stack { grid-template-rows: auto auto auto; }
  .pl-bar { grid-row: 1 / 4; }
  .pl-claim { margin-bottom: 0; }
  .pl-rec { grid-row: 3; padding: 45px var(--m) 45px 45px; }
  .pl-rec h1, .stack-end .pl-rec h2 { font-size: var(--t5); line-height: 54px; }
  .rec-lede { font-size: var(--t1); line-height: 27px; }
  .offer { grid-template-columns: 1fr 1fr; }
  .acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
  .case { grid-template-columns: 1fr; }
  .case-head, .case-lines, .pick, .reg, .finding { grid-column: 1; grid-row: auto; }
  .finding { padding-left: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gets-wrap, .deal, .fit, .contact-in { grid-template-columns: 1fr; }
  .fit h3 { grid-row: auto; }
  .gets { grid-template-columns: 1fr 1fr; }
  .arm { grid-template-columns: 1fr; }
}
@media (max-width: 699px) {
  :root { --m: 16px; --spine: 9px; }
  body { font-size: var(--t1); line-height: 27px; }
  html { scroll-padding-top: 72px; }
  .top { padding: 9px var(--m); gap: 12px; }
  .by, .top-price .pw { display: none; }
  .top-buy { gap: 13.5px; }
  .wm { font-size: var(--t1); }
  .btn-s { padding: 4.5px 13.5px; }
  .hero { padding-top: 27px; }
  .stack { grid-template-columns: 6px 18px var(--spine) 18px minmax(0, 1fr); }
  .pl-claim { grid-column: 2 / 6; margin-right: var(--m); padding: 18px 22.5px 18px 54px; font-size: var(--t2); line-height: 27px; }
  .pl-rule { padding: 27px 0 13.5px 9px; font-size: var(--t1); }
  .pl-rec { padding: 36px var(--m) 36px 27px; }
  .pl-rec h1, .stack-end .pl-rec h2 { font-size: var(--t4); line-height: 45px; }
  .rec-lede { margin-top: 18px; font-size: var(--t1); }
  .offer { margin-top: 36px; grid-template-columns: 1fr; gap: 18px; }
  .price { font-size: var(--t3); line-height: 36px; }
  h2, .night h3 { font-size: var(--t4); line-height: 45px; }
  .intro { font-size: var(--t1); line-height: 27px; }
  .case { margin-top: 108px; row-gap: 27px; }
  .pick { display: grid; grid-template-columns: 1fr 1fr; }
  .pick button { padding: 9px 9px 9px 13.5px; }
  .ln { font-size: var(--t1); line-height: 27px; }
  .plates { height: 216px; }
  .p-bar { top: 36px; height: 180px; }
  .p-cap, .p-blk { top: 81px; left: 27px; width: calc(100% - 27px); height: 117px; }
  .p-blk { font-size: var(--t1); line-height: 22.5px; padding: 13.5px; }
  .p-blk2, .p-cap2 { left: 100%; width: 0; padding: 0; }
  .p-say { left: 18px; font-size: var(--t1); line-height: 22.5px; }
  .case[data-state="retry"] .p-blk1, .case[data-state="retry"] .p-cap1 { width: calc(50% - 22.5px); }
  .case[data-state="retry"] .p-cap1 { transform: translate(13.5px, -13.5px); }
  .case[data-state="retry"] .p-blk2, .case[data-state="retry"] .p-cap2 { left: calc(50% + 9px); width: calc(50% - 9px); }
  .case[data-state="retry"] .p-blk1, .case[data-state="retry"] .p-blk2 { padding: 13.5px; }
  .case[data-state="retry"] .p-say { left: 9px; }
  .case[data-state="stale"] .p-bar { top: 72px; height: 135px; }
  .case[data-state="stale"] .p-blk1 { padding-left: calc(28% + 27px); }
  .finding { padding-left: 0; }
  .f-say { font-size: var(--t3); line-height: 36px; }
  .f-why { font-size: var(--t1); line-height: 27px; }
  .how, .scope, .contact { margin-top: 108px; }
  .steps { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .full summary { font-size: var(--t1); line-height: 27px; }
  .steps li { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; }
  .steps p { margin-top: 0; }
  .steps li .fm { grid-row: 1 / 3; width: 72px; height: 36px; }
  .steps li .fm-2 { width: var(--spine); }
  .steps h3 { margin-top: 0; }
  .gets-wrap { margin-top: 63px; }
  .gets { grid-template-columns: 1fr; }
  .night { margin-top: 90px; }
  .night-in { padding: 63px var(--m) 72px; }
  .legend { grid-template-columns: 1fr; }
  .caveat { font-size: var(--t1); line-height: 27px; padding-left: 18px; }
  .price-plate { padding: 36px 27px; }
  .pp-say { font-size: var(--t4); line-height: 45px; }
  .bound { grid-template-columns: 1fr; margin-top: 54px; }
  .fit { margin-top: 54px; }
  .stack-end .pl-claim { font-size: var(--t1); line-height: 27px; padding-top: 13.5px; padding-bottom: 13.5px; }
  .stack-end .pl-rec { padding-top: 36px; padding-bottom: 36px; }
  .foot { grid-template-columns: 1fr; margin-top: 90px; }
  .qa details summary { font-size: var(--t1); line-height: 27px; }
  table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table, tbody, tr, th, td { display: block; }
  tbody tr { padding: 13.5px 0; border-bottom: 1px solid var(--line); }
  .night tbody tr { border-bottom-color: #3A4656; }
  tbody th, tbody td { border: 0; padding: 4.5px 0; white-space: normal; }
  td::before { content: attr(data-label); display: block; font-size: var(--t0); line-height: 18px; color: var(--ink-2); }
  .night td::before { color: #A9B2BE; }
  .doc h1 { font-size: var(--t4); line-height: 45px; }
}

/* Release refinement: readable offer first; green means an observed record, never an advertising claim. */
.hero { max-width: 1440px; margin: 0 auto; padding: 54px var(--m) 0;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px 54px;
  grid-template-areas: "intro example" "offer example"; align-items: center; }
.hero-intro { grid-area: intro; }
.hero h1 { margin-top: 18px; font-size: var(--t6); line-height: 63px; letter-spacing: -.015em; max-width: 13em;
  font-weight: 720; font-variation-settings: "wght" 720, "SHRP" 100, "slnt" 0; }
.hero-lede { margin-top: 18px; max-width: 30em; font-size: var(--t2); line-height: 36px; }
.hero .for { font-size: var(--t0); line-height: 22.5px; max-width: 32em; }
.hero .offer { grid-area: offer; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
.hero .price { font-size: var(--t3); line-height: 36px; }
.hero .terms { font-size: var(--t0); line-height: 22.5px; }
.hero .acts { grid-column: auto; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 18px 27px; }
.hero-example { grid-area: example; min-width: 0; }
.hero-example-label, .hero-example-note { font-size: var(--t0); line-height: 22.5px; color: var(--ink-2); }
.hero-example-note { margin-top: 27px; max-width: 34em; }
.hero .stack { margin-top: 36px; grid-template-columns: 9px 90px var(--spine) 18px minmax(0, 1fr); grid-template-rows: auto auto; }
.hero .pl-claim { grid-column: 2 / 6; grid-row: 1; padding: 18px 27px 18px calc(90px + var(--spine) + 18px); margin: 0 0 -9px; font-size: var(--t1); line-height: 27px; }
.hero .pl-bar { grid-column: 3; grid-row: 1 / 3; margin: -9px 0; }
.hero .pl-rule { grid-column: 2; grid-row: 2; padding: 36px 9px 0 0; font-size: var(--t0); line-height: 22.5px; text-align: right; }
.hero .pl-rec { grid-column: 5; grid-row: 2; padding: 36px 18px 27px; }
.record-label { font-size: var(--t0); line-height: 22.5px; }
.record-fact { margin-top: 9px; font-size: var(--t3); line-height: 36px; font-weight: 720; }
.record-detail { margin-top: 13.5px; font-size: var(--t0); line-height: 22.5px; }
@media (max-width: 1099px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "intro" "offer" "example"; gap: 27px; }
  .hero-example { max-width: 700px; width: 100%; }
}
@media (max-width: 699px) {
  .hero { padding-top: 27px; gap: 18px; }
  .hero h1 { font-size: var(--t5); line-height: 54px; margin-top: 13.5px; }
  .hero-lede { font-size: var(--t1); line-height: 27px; margin-top: 13.5px; }
  .hero .price { font-size: var(--t2); line-height: 27px; }
  .hero .acts { gap: 18px; }
  .hero .stack { grid-template-columns: 0 72px var(--spine) 13.5px minmax(0, 1fr); margin-top: 27px; }
  .hero .pl-claim { padding: 13.5px 18px 13.5px calc(72px + var(--spine) + 13.5px); }
  .hero .pl-rule { padding-top: 27px; }
  .hero .pl-rec { padding: 27px 13.5px; }
  .record-fact { font-size: var(--t2); line-height: 27px; }
  .hero-example-note { margin-top: 18px; }
}
