@font-face { font-family: "Sofia Sans Extra Condensed"; src: url(/fonts/sofia-sans-extra-condensed-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geologica"; src: url(/fonts/geologica-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "M PLUS 1 Code"; src: url(/fonts/m-plus-1-code-latin-wght-normal.woff2) format("woff2"); font-weight: 100 700; font-display: swap; }

:root {
  --coal: #0d1b1e;
  --coal-2: #17292d;
  --coal-3: #2a4146;
  --lime: #c9f364;
  --amber: #f4a62a;
  --signal: #46b8ee;
  --violet: #a08cf6;
  --coral: #ff8a5c;
  --up: #17915a;
  --down: #d0453f;
  --acc: var(--lime);
  --paper: #e6efe9;
  --paper-2: #d6e2db;
  --grid: #c9d8d0;
  --mute-on-paper: #47595a;
  --mute-on-coal: #a3b7b0;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --text: "Geologica", system-ui, sans-serif;
  --mono: "M PLUS 1 Code", ui-monospace, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--coal); color: var(--coal); font: 300 17px/1.6 var(--text); overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, pre:focus-visible, .scroll:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
code, pre { font-family: var(--mono); }
.nb { white-space: nowrap; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--lime); color: var(--coal); padding: 8px 14px; border-radius: 4px; z-index: 10; }
.skip:focus { top: 12px; }

/* Housing: the recorder's dark body on graph paper */
.housing { background: var(--coal); color: var(--paper); padding: 0 clamp(20px, 4vw, 56px); position: relative; }
.home .housing { background-color: var(--coal); background-image: linear-gradient(rgb(230 239 233 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(230 239 233 / .07) 1px, transparent 1px), linear-gradient(rgb(230 239 233 / .03) 1px, transparent 1px), linear-gradient(90deg, rgb(230 239 233 / .03) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; background-position: -1px -1px; padding-bottom: clamp(36px, 5vw, 64px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 400 13px/1 var(--mono); letter-spacing: .04em; color: var(--mute-on-coal); margin: 0 0 18px; }
.kicker i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgb(201 243 100 / .18); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; max-width: 1280px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 26px/1 var(--display); letter-spacing: .01em; text-decoration: none; }
.brand img { border-radius: 7px; }
.top nav, .foot nav { display: flex; align-items: center; gap: 4px; }
.top nav a, .foot nav a { padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; border-radius: 4px; font-size: 15px; font-weight: 400; transition: background-color .15s; }
.top nav a:hover { background: var(--coal-2); }
.top nav a[aria-current] { color: var(--lime); }
.top .x { padding: 10px 13px; }

.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: end; max-width: 1280px; margin: 0 auto; padding: clamp(20px, 4vw, 56px) 0 clamp(28px, 3vw, 40px); }
h1 { font: 800 clamp(68px, 9.2vw, 138px)/.86 var(--display); margin: 0 0 24px; letter-spacing: -.005em; }
.lede { font-size: clamp(17px, 1.4vw, 19px); max-width: 44ch; color: #cbd9d2; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 4px; border: 1.5px solid transparent; font: 500 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .12s ease-out, background-color .15s, color .15s; touch-action: manipulation; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-lime { background: var(--lime); color: var(--coal); }
.btn-lime:hover { background: #d8fb82; }
.btn-line { border-color: var(--coal-3); color: var(--paper); }
.btn-line:hover { border-color: var(--paper); }
.btn-ink { background: var(--coal); color: var(--paper); }
.btn-ink:hover { background: var(--coal-2); }
.btn-ink[disabled] { opacity: .6; cursor: progress; }
.btn-line-ink { border-color: var(--coal); color: var(--coal); background: none; }
.btn-line-ink:hover { background: var(--coal); color: var(--paper); }

/* Recorder: the signature piece. Real candles printed on paper behind a window */
.recorder { margin: 0; background: rgb(23 41 45 / .92); border-radius: 10px; padding: 14px; min-width: 0; box-shadow: inset 0 0 0 1px var(--coal-3); }
.recorder-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 2px 10px; }
.recorder-head p { margin: 0; font-size: 14px; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.lamp { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; flex: none; color: var(--mute-on-coal); }
.lamp i { width: 8px; height: 8px; border-radius: 50%; background: var(--coal-3); box-shadow: 0 0 0 1px var(--mute-on-coal); }
.lamp[data-state="live"] i { background: var(--lime); box-shadow: 0 0 0 3px rgb(201 243 100 / .2); }
.window { position: relative; background: var(--paper); border-radius: 4px; overflow: hidden; height: clamp(240px, 26vw, 340px); }
.window canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.window-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--coal); font-size: 15px; line-height: 1.45; pointer-events: none; }
.window-empty:empty { display: none; }
.window-empty span { max-width: 32ch; background: var(--paper); padding: 6px 10px; }
.readout { font: 400 13px/1.4 var(--mono); color: var(--mute-on-coal); margin: 10px 2px 8px; min-height: 2.8em; overflow-wrap: anywhere; }
.dial label { display: block; font-size: 14px; margin: 0 2px 2px; }
.dial output { color: var(--lime); font-weight: 500; }
.dial input { width: 100%; height: 44px; margin: 0; background: none; appearance: none; -webkit-appearance: none; cursor: grab; touch-action: pan-y; }
.dial input:disabled { cursor: not-allowed; opacity: .45; }
.dial input::-webkit-slider-runnable-track { height: 2px; background: var(--mute-on-coal); }
.dial input::-moz-range-track { height: 2px; background: var(--mute-on-coal); }
.dial input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 34px; margin-top: -16px; border-radius: 2px; background: var(--lime); border: 0; }
.dial input::-moz-range-thumb { width: 16px; height: 34px; border-radius: 2px; background: var(--lime); border: 0; }
.dial input:focus-visible { outline: 2px solid var(--paper); outline-offset: -2px; }
.dial-ticks { display: flex; justify-content: space-between; font: 400 11px/1 var(--mono); color: var(--mute-on-coal); margin: -4px 0 0; padding: 0 2px; }
.dial-ticks span { width: 16px; text-align: center; white-space: nowrap; display: flex; justify-content: center; position: relative; padding-top: 7px; }
.dial-ticks span::before { content: ""; position: absolute; top: 0; left: 50%; width: 10px; height: 3px; margin-left: -5px; border-radius: 2px; background: var(--b); }
.b-s { --b: var(--lime); } .b-m { --b: var(--amber); } .b-h { --b: var(--violet); }
.recorder figcaption { font-size: 13px; line-height: 1.45; color: var(--mute-on-coal); margin: 12px 2px 2px; }

/* Paper strip: the page itself, scrolled like a recorder's chart. Each section sits at a coin's age */
.paper { background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 100% 40px, 40px 100%; background-position: 0 -1px, -1px 0; position: relative; }

/* Timeline: the T+ ruler is the spine of the page. Each leg hangs off its tick; ticks, graph paper and
   content width all grow down the page, so the page zooms out from one second to one day. */
.timeline { --spine: 148px; --ink: #1d3236; background: var(--paper); }
.origin, .leg { display: grid; grid-template-columns: var(--spine) minmax(0, 1fr); max-width: 1400px; margin: 0 auto; }
.spine { position: relative; border-right: 2px solid var(--coal); }
.leg > .spine { background-image: repeating-linear-gradient(to bottom, var(--coal) 0 1px, transparent 1px var(--tick)), repeating-linear-gradient(to bottom, var(--coal) 0 1.5px, transparent 1.5px calc(var(--tick) * 5)); background-size: 9px 100%, 18px 100%; background-position: right top, right top; background-repeat: no-repeat; }
.origin { padding-top: clamp(28px, 4vw, 48px); }
.origin .spine { min-height: 64px; }
.origin-dot { position: absolute; right: -9px; bottom: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--coal); }
.origin-text { margin: 0; align-self: end; padding: 0 clamp(20px, 4vw, 40px) 0 28px; font-size: 15px; color: var(--mute-on-paper); max-width: 70ch; transform: translateY(8px); }
.origin-text b { font: 500 15px/1 var(--mono); color: var(--coal); margin-right: 8px; }
.t { position: sticky; top: 18px; margin: 0; padding: clamp(56px, 8vw, 104px) 22px 24px 0; text-align: right; display: grid; gap: 6px; }
.t b { display: inline-block; justify-self: end; font: 600 17px/1 var(--mono); background: var(--acc); color: var(--coal); padding: 7px 9px; border-radius: 3px; position: relative; }
.t b::after { content: ""; position: absolute; top: 50%; right: -24px; width: 24px; height: 2px; background: var(--coal); }
.t .zoom { font: 400 12px/1 var(--mono); color: var(--mute-on-paper); }
.leg-body { padding: clamp(56px, 8vw, 104px) clamp(20px, 4vw, 48px) clamp(48px, 6vw, 80px) 28px; max-width: calc(var(--w) + 76px); min-width: 0; position: relative;
  background-image: linear-gradient(var(--grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--grid-major) 1px, transparent 1px), linear-gradient(var(--grid-minor) 1px, transparent 1px), linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: calc(var(--g) * 5) calc(var(--g) * 5), calc(var(--g) * 5) calc(var(--g) * 5), var(--g) var(--g), var(--g) var(--g); background-position: -1px -1px;
  border-right: 1px solid var(--grid-major); }
.leg { --grid-minor: rgb(13 27 30 / .05); --grid-major: rgb(13 27 30 / .1); }
.leg-body > h2 { position: relative; }
.leg-body > h2::after { content: ""; display: block; width: 56px; height: 5px; background: var(--acc); margin-top: 14px; border-radius: 1px; }
#candle { --acc: var(--lime); --tick: 6px; --g: 12px; --w: 780px; }
#ask { --acc: var(--amber); --tick: 10px; --g: 18px; --w: 900px; }
#stream { --acc: var(--signal); --tick: 16px; --g: 26px; --w: 1020px; }
#honest { --acc: var(--violet); --tick: 26px; --g: 36px; --w: 1120px; }
#plans { --acc: var(--coral); --tick: 42px; --g: 52px; --w: 1240px; }
h2 { font: 800 clamp(48px, 6vw, 84px)/.92 var(--display); margin: 0 0 clamp(20px, 3vw, 36px); }
h3 { font: 500 17px/1.3 var(--text); margin: 0 0 8px; }
.split-stream { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) !important; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.prose { max-width: 58ch; background: var(--paper); }
.inline { font-weight: 500; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

.anatomy { width: 100%; max-width: 460px; height: auto; font: 500 15px var(--text); justify-self: center; }
.anatomy .bucket rect { fill: var(--paper); stroke: var(--coal); stroke-width: 1.5; stroke-dasharray: 4 5; }
.anatomy .drops circle { fill: var(--coal); }
.anatomy .link { stroke: var(--coal); stroke-width: 1.5; fill: none; }
.anatomy .wick { stroke: var(--coal); stroke-width: 6; stroke-linecap: round; fill: none; }
.anatomy .body { fill: var(--lime); stroke: var(--coal); stroke-width: 2; }
.anatomy .notes path { stroke: var(--coal); stroke-width: 1; fill: none; }
.anatomy .notes text { fill: var(--coal); }

.js .anatomy .drops circle { opacity: 0; transform: translateY(-46px); }
.js .anatomy .candle { opacity: 0; transform: scaleY(.25); transform-origin: 270px 160px; }
.js .anatomy .notes, .js .anatomy .link { opacity: 0; }
.js .anatomy.in .drops circle { opacity: 1; transform: none; transition: transform .5s cubic-bezier(.3, 1.3, .6, 1), opacity .2s; }
.js .anatomy.in .drops circle:nth-child(1) { transition-delay: 0ms; }
.js .anatomy.in .drops circle:nth-child(2) { transition-delay: 90ms; }
.js .anatomy.in .drops circle:nth-child(3) { transition-delay: 180ms; }
.js .anatomy.in .drops circle:nth-child(4) { transition-delay: 270ms; }
.js .anatomy.in .drops circle:nth-child(5) { transition-delay: 360ms; }
.js .anatomy.in .drops circle:nth-child(6) { transition-delay: 450ms; }
.js .anatomy.in .candle { opacity: 1; transform: none; transition: transform .55s cubic-bezier(.2, .9, .3, 1) .7s, opacity .2s .7s; }
.js .anatomy.in .link { opacity: 1; transition: opacity .3s .6s; }
.js .anatomy.in .notes { opacity: 1; transition: opacity .4s 1.1s; }

.code { position: relative; background: var(--coal); color: var(--paper); border-radius: 6px; min-width: 0; }
.code pre { margin: 0; padding: 48px 18px 18px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.code-key pre { padding-top: 48px;  white-space: pre-wrap; overflow-wrap: anywhere; color: var(--lime); }
.copy { position: absolute; top: 8px; right: 8px; min-height: 36px; padding: 0 10px; background: var(--coal-2); color: var(--paper); border: 0; border-radius: 3px; font: 400 13px var(--text); cursor: pointer; transition: background-color .15s, color .15s; touch-action: manipulation; }
.copy:hover { background: var(--coal-3); }
.copy.done { background: var(--lime); color: var(--coal); }
.prose .code { margin-top: 18px; }

.sizes { border-collapse: collapse; width: 100%; font-size: 15px; margin: clamp(28px, 4vw, 44px) 0 0; background: var(--paper); }
.sizes caption { text-align: left; font-weight: 500; padding-bottom: 10px; }
.sizes th, .sizes td { padding: 12px 0; border-top: 1px solid var(--coal); text-align: left; font-weight: 400; vertical-align: middle; }
.sizes th { width: 34%; padding-right: 10px; white-space: nowrap; }
.sizes th i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; background: var(--b); margin-right: 10px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgb(13 27 30 / .35); }
.sizes td { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes td span { font: 500 14px/1 var(--mono); padding: 7px 9px; border-radius: 3px; background: color-mix(in srgb, var(--b) 30%, var(--paper)); border: 1px solid color-mix(in srgb, var(--b) 70%, var(--coal)); }

.feed { background: var(--coal); color: var(--paper); border-radius: 6px; padding: 18px; min-width: 0; box-shadow: inset 0 3px 0 var(--signal); background-image: repeating-linear-gradient(90deg, rgb(70 184 238 / .06) 0 1px, transparent 1px 26px); }
.feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.feed-head h3 { margin: 0; }
.feed-tag { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--signal); white-space: nowrap; }
.feed-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 2s ease-in-out infinite; }
.feed-tag.idle { color: var(--mute-on-coal); }
.feed-tag.idle::before { animation: none; }
@keyframes blink { 50% { opacity: .25; } }
.feed-list { list-style: none; margin: 0 0 14px; padding: 0; }
.feed-list li { display: grid; grid-template-columns: 3px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--coal-3); font-size: 14px; animation: print .35s ease-out backwards; }
.feed-list b { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-list code { font-size: 12px; color: var(--mute-on-coal); display: block; }
.feed-list time { color: var(--mute-on-coal); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.feed-list li::before { content: ""; align-self: stretch; background: var(--signal); opacity: .5; border-radius: 2px; }
.feed-list li:first-child::before { opacity: 1; }
.feed-list time { color: #9fd8f5; }
@keyframes print { from { opacity: 0; transform: translateY(-6px); } }
.feed-empty { font-size: 15px; color: var(--mute-on-coal); padding: 14px 0; margin: 0; border-top: 1px solid var(--coal-3); }
.tally { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding-top: 14px; border-top: 1px solid var(--coal-3); }
.tally dt { font-size: 13px; color: var(--mute-on-coal); }
.tally dd { margin: 2px 0 0; font: 700 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.feed .tally dd { color: var(--signal); }
.tally-wide { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--coal); padding-top: 18px; margin-top: 22px; }
.tally-wide dt { color: var(--mute-on-paper); }

.ledger-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.gapline { width: 100%; max-width: 640px; height: auto; margin: 0 0 clamp(24px, 3vw, 36px); font: 400 12px var(--mono); overflow: visible; }
.gapline .axis, .gapline .tk { stroke: var(--coal); stroke-width: 1.5; fill: none; }
.gapline .mini { stroke: var(--coal); stroke-width: 7; fill: none; }
.gapline .gap { fill: color-mix(in srgb, var(--violet) 22%, var(--paper)); stroke: #5b46c9; stroke-width: 1.5; stroke-dasharray: 4 4; }
.gapline text { fill: var(--coal); }
.ledger-notes > div { border-top: 3px solid var(--violet); padding-left: 0; padding-top: 12px; background: var(--paper); min-width: 0; }
.ledger-notes h3 code { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; background: color-mix(in srgb, var(--violet) 22%, var(--paper)); padding: 2px 5px; border-radius: 2px; }
.ledger-notes p { font-size: 16px; margin: 0; }

.plans { background: var(--paper); border-top: 3px solid var(--coral); }
.plan-head, .plan-row { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr 1fr .8fr 1.3fr; gap: 14px; align-items: center; }
.plan-head { font-size: 13px; color: var(--mute-on-paper); padding: 10px 0; }
.plan-row { padding: 16px 0 16px 16px; border-top: 1px solid var(--coal); font-variant-numeric: tabular-nums; position: relative; }
.plan-row::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 5px; border-radius: 2px; background: var(--tier); }
.plan-head { padding-left: 16px; }
.plan-free { --tier: var(--lime); } .plan-builder { --tier: var(--amber); } .plan-pro { --tier: var(--signal); } .plan-desk { --tier: var(--violet); }
.plan-row .price { font: 700 30px/1 var(--display); }
.plan-row .name { font: 800 38px/1 var(--display); }
.plan-row .act { justify-self: end; }
.plan-row .btn { min-height: 44px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
.plan-row dl { margin: 0; min-width: 0; }
.plan-row dt { display: none; }
.plan-row dd { margin: 0; }
.plan-note { margin: 18px 0 0; font-size: 15px; max-width: 62ch; background: var(--paper); }
.js .plans[data-reveal] .plan-row { opacity: 0; transform: translateY(10px); }
.js .plans.in .plan-row { opacity: 1; transform: none; transition: opacity .35s, transform .35s ease-out; transition-delay: calc(var(--i, 0) * 70ms); }
.js .code[data-reveal], .js .ledger-notes[data-reveal] { opacity: 0; transform: translateY(12px); }
.js .code.in, .js .ledger-notes.in { opacity: 1; transform: none; transition: opacity .4s, transform .4s ease-out; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; max-width: 1160px; margin: 40px auto 0; padding: 22px clamp(20px, 4vw, 40px) 26px; background: var(--paper); }
.timeline .foot { max-width: 1400px; margin-top: 0; padding-left: calc(var(--spine) + 28px); border-top: 2px solid var(--coal); }
.foot nav a:hover { background: var(--paper-2); }

/* Docs and keys */
.housing-thin { padding-bottom: 2px; }
.doc { max-width: 840px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(20px, 4vw, 40px) 24px; background: var(--paper); }
.doc h1 { font-size: clamp(60px, 8vw, 96px); margin-bottom: 18px; }
.doc h2 { font-size: clamp(38px, 5vw, 52px); margin: 48px 0 14px; scroll-margin-top: 16px; }
.doc h3 { margin-top: 30px; }
.doc p code, .doc td code { font-size: .88em; background: var(--paper-2); padding: 1px 4px; border-radius: 2px; overflow-wrap: anywhere; }
.doc td code { overflow-wrap: normal; }
.route code { font-size: 17px; font-weight: 500; background: var(--lime); padding: 4px 8px; }
.scroll { overflow-x: auto; margin: 0 0 18px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
.doc th, .doc td { text-align: left; padding: 10px 14px 10px 0; border-top: 1px solid var(--coal); vertical-align: top; }
.doc th { font-weight: 500; font-size: 14px; border-top: 0; }
.doc td:first-child { min-width: 120px; }

.keys form { display: grid; gap: 8px; justify-items: start; margin: 16px 0; max-width: 460px; }
.keys label { font-size: 15px; font-weight: 400; margin-top: 6px; }
.keys input, .keys select { width: 100%; min-height: 48px; padding: 0 12px; font: 400 16px var(--text); background: #f4f8f5; color: var(--coal); border: 1.5px solid var(--coal); border-radius: 4px; }
.keys button[type="submit"] { margin-top: 8px; }
.form-msg { margin: 4px 0 0; font-size: 15px; min-height: 1.5em; }
.form-msg.bad { font-weight: 500; color: #8a1f12; }
.reveal-key { margin: 14px 0; }
.meter { height: 8px; background: var(--paper-2); margin: 16px 0 8px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--coal); transform-origin: left; transform: scaleX(var(--v, 0)); transition: transform .5s ease-out; }

@media (max-width: 980px) {
  .timeline { --spine: 46px; }
  .t { padding: 56px 10px 20px 0; }
  .t b { writing-mode: vertical-rl; transform: rotate(180deg); padding: 9px 6px; font-size: 15px; }
  .t b::after { top: auto; bottom: 50%; right: auto; left: -12px; width: 12px; display: none; }
  .t .zoom { writing-mode: vertical-rl; transform: rotate(180deg); justify-self: end; margin-right: 6px; order: 2; }
  .leg-body { padding: 56px 16px 44px 16px; border-right: 0; }
  .origin-text { padding: 0 16px; font-size: 14px; }
  .timeline .foot { padding-left: calc(var(--spine) + 16px); padding-right: 16px; }
  .split-stream { grid-template-columns: minmax(0, 1fr) !important; }
  .sizes tr { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--coal); padding: 10px 0; }
  .sizes th, .sizes td { border-top: 0; padding: 0; }
  .sizes th { margin-bottom: 8px; }
  .gapline { font-size: 22px; }
  .gapline .tk { stroke-width: 3; }
  .hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
  h1 { font-size: clamp(64px, 19vw, 130px); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .ledger-notes { grid-template-columns: minmax(0, 1fr); }
  .anatomy { max-width: 400px; }
  .plan-head { display: none; }
  .plan-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
  .plan-row .name { grid-column: 1 / 3; grid-row: 1; }
  .plan-row .price { grid-column: 3; grid-row: 1; justify-self: end; font-size: 26px; }
  .plan-row .act { grid-column: 1 / -1; justify-self: stretch; }
  .plan-row .btn { width: 100%; }
  .plan-row dt { display: block; font-size: 12px; color: var(--mute-on-paper); line-height: 1.3; }
  .plan-row .stat { font-size: 15px; }
}

@media (max-width: 360px) {
  h1 { font-size: 60px; }
  .dial-ticks { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal] * { opacity: 1 !important; transform: none !important; }
}
