/* Alyra, Oct 30 2026 rebuild.
   One stylesheet for every page. Type: Newsreader (headings), Public Sans (text), IBM Plex Mono (figures on slips and ledgers).
   Colors are tokens below; dark mode redefines them. Gold is for the mark and the one number that matters on a page. */

:root {
  --paper: #ffffff;
  --paper-2: #faf7ef;
  --ink: #1a1917;
  --ink-2: #48453f;
  --ink-3: #6b675e;
  --rule: #e6e1d5;
  --rule-2: #d3cdbf;
  --gold: #c9a227;
  --gold-text: #7f630c;
  --gold-wash: #fbf3d9;
  --ok: #2f6b3c;
  --warn: #9a3b1d;
  --btn: #1a1917;
  --btn-text: #ffffff;
  --focus: #1f5fbf;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1140px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131210; --paper-2: #1a1916; --ink: #f1ede3; --ink-2: #c9c3b6; --ink-3: #a29c8f;
    --rule: #2b2925; --rule-2: #3a3731; --gold: #d8b03a; --gold-text: #e2bf55; --gold-wash: #2a2413;
    --ok: #7fbf8c; --warn: #e48b6a; --btn: #f1ede3; --btn-text: #131210; --focus: #8fb4ff; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #131210; --paper-2: #1a1916; --ink: #f1ede3; --ink-2: #c9c3b6; --ink-3: #a29c8f;
  --rule: #2b2925; --rule-2: #3a3731; --gold: #d8b03a; --gold-text: #e2bf55; --gold-wash: #2a2413;
  --ok: #7fbf8c; --warn: #e48b6a; --btn: #f1ede3; --btn-text: #131210; --focus: #8fb4ff; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold-wash); color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
small, .small { font-size: .875rem; }
.muted { color: var(--ink-3); }
.num, .tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin: .3em 0; }
code { font-family: var(--mono); font-size: .9em; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--btn); color: var(--btn-text); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 720px; }

/* the sky: shooting stars now and then, drawn by site.js */
.sky { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main, header.top, footer.site { position: relative; z-index: 1; }

/* ---------- header ---------- */
header.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
header.top.scrolled { border-bottom-color: var(--rule); }
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); margin-right: 8px; }
.brand svg { width: 34px; height: 34px; }
@media (prefers-reduced-motion: no-preference) {
  .brand path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1s .15s ease-out forwards; }
  .brand circle { opacity: 0; animation: dot .3s ease-out forwards; }
  .brand circle:nth-of-type(1) { animation-delay: .05s; } .brand circle:nth-of-type(2) { animation-delay: .15s; }
  .brand circle:nth-of-type(3) { animation-delay: .25s; } .brand circle:nth-of-type(4) { animation-delay: .35s; }
  .brand circle.vega { animation-delay: 1.05s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot { to { opacity: 1; } }

nav.main { display: flex; align-items: center; gap: 2px; flex: 1; }
nav.main > a, .navbtn { font: 500 .95rem/1 var(--sans); color: var(--ink-2); text-decoration: none; padding: 10px 10px; border-radius: 4px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
nav.main > a:hover, .navbtn:hover, .menu.open .navbtn { color: var(--ink); background: var(--paper-2); }
.chev { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .15s; }
.menu { position: relative; }
.menu.open .chev { transform: rotate(180deg); }
.menu .panel { position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px; background: var(--paper); border: 1px solid var(--rule-2); border-radius: 6px; padding: 8px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.35); display: none; }
.menu.open .panel { display: block; }
@media (hover: hover) { .menu:hover .panel { display: block; } .menu:hover .chev { transform: rotate(180deg); } }
.menu .panel::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.panel a { display: block; padding: 9px 12px; border-radius: 4px; text-decoration: none; }
.panel a:hover { background: var(--paper-2); }
.panel a b { display: block; font-weight: 600; font-size: .95rem; }
.panel a span { display: block; color: var(--ink-3); font-size: .85rem; line-height: 1.4; }
.spacer { flex: 1; }
.tools { display: flex; align-items: center; gap: 4px; position: relative; }
.iconbtn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 0; background: none; color: var(--ink-2); border-radius: 4px; cursor: pointer; font: 600 .72rem/1 var(--sans); }
.iconbtn:hover { background: var(--paper-2); color: var(--ink); }
.iconbtn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.globe { width: auto; padding: 0 8px; gap: 5px; display: inline-flex; align-items: center; }
.globe svg { width: 17px; height: 17px; }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun, :root[data-theme="dark"] .theme .rays { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun, :root:not([data-theme="light"]) .theme .rays { display: none; }
  :root:not([data-theme="light"]) .theme .moon { display: block; }
}
.signin { font: 500 .95rem/1 var(--sans); color: var(--ink-2); text-decoration: none; padding: 10px; }
.signin:hover { color: var(--ink); }
.burger { display: none; }
.progress-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* buttons: plain rectangles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--sans); padding: 15px 22px; border-radius: 4px; border: 1px solid var(--btn); background: var(--btn); color: var(--btn-text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; opacity: .88; }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.small { padding: 10px 14px; font-size: .9rem; }
.btn.line { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.line:hover { border-color: var(--ink); opacity: 1; }
.cta.btn { padding: 11px 16px; font-size: .92rem; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- page furniture ---------- */
main { padding-bottom: 40px; }
.pagehead { padding: 64px 0 36px; max-width: 760px; }
.pagehead .lede { max-width: 60ch; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); }
.kicker { font: italic 400 1.1rem/1.4 var(--serif); color: var(--ink-3); margin-bottom: 14px; }
.fine { font-size: .875rem; color: var(--ink-3); line-height: 1.5; }
.updated { font-size: .875rem; color: var(--ink-3); }

/* a section with a margin note on the left */
.sec { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 56px; padding: 72px 0; border-top: 1px solid var(--rule); }
.sec > .note { font: italic 400 1.08rem/1.4 var(--serif); color: var(--ink-3); padding-top: 10px; }
.sec > .body { min-width: 0; }
.sec > .body > h2 { max-width: 24ch; }
.sec > .body > .intro { max-width: 62ch; color: var(--ink-2); font-size: 1.08rem; margin-bottom: 32px; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin: .45em 0; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding: 72px 0 88px; }
.hero h1 { font-size: clamp(3.4rem, 8.4vw, 6.6rem); line-height: .96; letter-spacing: -0.03em; font-weight: 400; margin-bottom: 26px; }
.hero .lede { max-width: 31em; margin-bottom: 30px; }
.cta-row { display: grid; gap: 12px; justify-items: start; }
.hero .alt { font-size: .95rem; color: var(--ink-2); margin: 0; }
.status:has(span:empty) { display: none; }
.status { margin: 0; font-size: .95rem; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.loader { width: 22px; height: 22px; }
.loader .lines { fill: none; stroke: var(--ink); stroke-width: 6; stroke-dasharray: 100; animation: loaddraw 1.4s ease-in-out infinite; }
.loader circle { fill: var(--ink); } .loader .vega { fill: var(--gold); }
@keyframes loaddraw { 0% { stroke-dashoffset: 100; } 60%, 100% { stroke-dashoffset: 0; } }

/* the slip: a sample or real result, printed like a receipt */
.slipcol { display: grid; justify-items: end; }
.slipwrap { filter: drop-shadow(1px 0 0 var(--rule-2)) drop-shadow(-1px 0 0 var(--rule-2)) drop-shadow(0 1px 0 var(--rule-2)) drop-shadow(0 -1px 0 var(--rule-2)); max-width: 440px; width: 100%; }
.slip { position: relative; background: var(--paper); font-family: var(--mono); font-size: .9rem; color: var(--ink); padding: 26px 26px 30px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat, radial-gradient(circle 6px at 7px 6px, transparent 5.5px, #000 6px) bottom left / 14px 6px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat, radial-gradient(circle 6px at 7px 6px, transparent 5.5px, #000 6px) bottom left / 14px 6px repeat-x; }
.slip .sh { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--rule-2); margin-bottom: 14px; }
.slip .sh b { font-weight: 500; }
.slip .stamp { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; border: 1.5px solid var(--ok); color: var(--ok); padding: 3px 7px 2px; transform: rotate(-4deg); display: inline-block; }
.slip .stamp.est { border-color: var(--gold-text); color: var(--gold-text); }
.slip .big { font-family: var(--sans); font-size: 3.8rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; margin: 8px 0 6px; font-variant-numeric: tabular-nums lining-nums; }
.slip .biglabel { color: var(--ink-3); font-size: .8rem; margin-bottom: 16px; }
.slip .ln { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.slip .ln span:first-child { color: var(--ink-2); }
.slip .ln.total { border-top: 1px dashed var(--rule-2); margin-top: 6px; padding-top: 12px; font-weight: 500; }
.slip .ln.total span:last-child { color: var(--gold-text); }
.slip .src { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--rule-2); font-size: .76rem; line-height: 1.5; color: var(--ink-3); }
.caption { font: italic 400 1rem/1.45 var(--serif); color: var(--ink-3); margin: 24px 0 0; max-width: 440px; }

/* bank activity excerpt with notes */
.ledger { border: 1px solid var(--rule-2); background: var(--paper); font-family: var(--mono); font-size: .84rem; }
.ledger .lh { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--rule-2); font-family: var(--sans); font-size: .85rem; color: var(--ink-3); background: var(--paper-2); }
.ledger table { width: 100%; border-collapse: collapse; }
.ledger td { padding: 10px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger td.d { color: var(--ink-3); width: 64px; white-space: nowrap; }
.ledger td.a { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger tr.dim td { color: var(--ink-3); }
.ledger tr.dim td:not(.d) { opacity: .7; }
.ledger tr.hit td { background: var(--gold-wash); }
.ledger tr.hit td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.ledger sup { font-family: var(--sans); font-size: .7rem; font-weight: 700; color: var(--gold-text); margin-left: 4px; }
.ledgernotes { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.ledgernotes li { display: grid; grid-template-columns: 22px 1fr; margin: 0; }
.ledgernotes b { color: var(--gold-text); font-size: .8rem; padding-top: 3px; }
.howgrid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 24px 44px; margin: 0; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; font: 400 1.7rem/1 var(--serif); color: var(--gold-text); }
ol.steps li b { display: block; font-weight: 600; margin-bottom: 2px; }
ol.steps li p { color: var(--ink-2); margin: 0; }

/* rows: a table of contents look for features */
.rows { border-top: 1px solid var(--ink); }
.rows > div, .rows > a { display: grid; grid-template-columns: 210px minmax(0, 1fr) 130px; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; text-decoration: none; }
.rows h3 { margin: 0; font-size: 1.2rem; }
.rows p { margin: 0; color: var(--ink-2); }
.rows .go { font-size: .9rem; font-weight: 600; white-space: nowrap; text-align: right; }
.rows > a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.later { font: italic 400 .95rem/1 var(--serif); color: var(--ink-3); white-space: nowrap; text-align: right; }

/* the two-list bill */
.bill { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-2); }
.bill > div { padding: 24px 28px; }
.bill > div + div { border-left: 1px solid var(--rule-2); }
.bill h3 { font-size: 1.15rem; margin-bottom: 12px; }
.bill ul { list-style: none; padding: 0; margin: 0; }
.bill li { padding: 8px 0; border-bottom: 1px dotted var(--rule-2); margin: 0; display: flex; justify-content: space-between; gap: 12px; }
.bill li:last-child { border-bottom: 0; }
.bill li::after { font-family: var(--mono); font-size: .78rem; white-space: nowrap; padding-top: 2px; }
.bill .no li { color: var(--ink-2); }
.bill .no li::after { content: "none"; color: var(--ink-3); }
.bill .yes li::after { content: "included"; color: var(--ok); }
.billfoot { padding: 18px 28px; border: 1px solid var(--rule-2); border-top: 0; background: var(--paper-2); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.billfoot p { margin: 0; max-width: 58ch; }

/* timeline as a dated list */
.dated { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--rule-2); }
.dated li { position: relative; padding: 0 0 26px 26px; margin: 0; }
.dated li::before { content: ""; position: absolute; left: -4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.dated li:last-child { padding-bottom: 0; }
.dated li:last-child::before { background: var(--gold); }
.dated b { display: block; font: 500 1.1rem/1.3 var(--serif); margin-bottom: 2px; }
.dated p { margin: 0; color: var(--ink-2); max-width: 58ch; }

/* tables */
table.t { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.t th { text-align: left; font-weight: 600; font-size: .82rem; color: var(--ink-3); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
table.t td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.t .r { text-align: right; font-variant-numeric: tabular-nums; }
table.t tr.sum td { border-top: 1px solid var(--ink); border-bottom: 0; font-weight: 600; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* glossary (statement decoder) */
.glossary { columns: 2; column-gap: 48px; }
.glossary details { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.glossary summary { list-style: none; cursor: pointer; padding: 14px 28px 14px 0; position: relative; font: 500 1.14rem/1.3 var(--serif); }
.glossary summary::-webkit-details-marker { display: none; }
.glossary summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font: 400 1.2rem/1 var(--sans); color: var(--ink-3); }
.glossary details[open] summary::after { content: "\2013"; }
.glossary details p { color: var(--ink-2); padding: 0 0 16px; margin: 0; }

/* FAQ */
.faq { max-width: 780px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 25px; width: 8px; height: 8px; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 29px; }
.faq details p { color: var(--ink-2); padding: 0 0 20px; margin: 0; max-width: 64ch; }

/* little panels */
.boxed { border: 1px solid var(--rule-2); padding: 24px 26px; background: var(--paper); }
.boxed.warm { background: var(--paper-2); }
.boxed h3 { font-size: 1.15rem; }
.plain { background: var(--paper-2); border-left: 3px solid var(--gold); padding: 20px 24px; margin: 0 0 36px; }
.plain h2 { font-size: 1.25rem; margin-bottom: 8px; }
.plain ul { margin: 0; }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 24px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px; border-left: 1.6px solid var(--ok); border-bottom: 1.6px solid var(--ok); transform: rotate(-45deg); }

/* status pills in tables */
.pill { font-size: .78rem; padding: 2px 7px; border-radius: 3px; border: 1px solid var(--rule-2); color: var(--ink-3); white-space: nowrap; }
.pill.ok { border-color: var(--ok); color: var(--ok); }
.pill.wait { border-color: var(--gold-text); color: var(--gold-text); }
.pill.bad { border-color: var(--warn); color: var(--warn); }

/* pass it on */
.passon { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 32px; align-items: center; }
.passon img { width: 150px; height: 150px; background: #fff; padding: 8px; border: 1px solid var(--rule-2); }

/* closing line before the footer */
.closing { padding: 80px 0 64px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.closing h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 400; max-width: 16ch; margin: 0; }

/* ---------- forms ---------- */
form { margin: 0; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
label .hint { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
input, select, textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--rule-2); border-radius: 4px; padding: 12px 13px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; padding: 0; accent-color: var(--ink); flex: none; margin: 2px 0 0; }
input[aria-invalid="true"] { border-color: var(--warn); }
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { font: 500 1.4rem/1.25 var(--serif); padding: 0; margin-bottom: 16px; }
.fields { display: grid; gap: 18px; }
.fields.two { grid-template-columns: 1fr 1fr; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.choice { display: grid; gap: 8px; }
.choice label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; padding: 14px 16px; border: 1px solid var(--rule-2); border-radius: 4px; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.choice label b { display: block; font-weight: 600; }
.choice label span { display: block; color: var(--ink-3); font-size: .9rem; }
.choice.inline { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.formstatus { min-height: 1.4em; color: var(--ink-2); margin-top: 12px; }
.formstatus.err { color: var(--warn); }
.steplist { display: flex; list-style: none; padding: 0; margin: 0 0 32px; border-bottom: 1px solid var(--rule); font-size: .9rem; overflow-x: auto; }
.steplist li { margin: 0 0 -1px; padding: 10px 16px 12px 0; color: var(--ink-3); white-space: nowrap; border-bottom: 2px solid transparent; }
.steplist li + li { padding-left: 16px; }
.steplist li.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; padding-bottom: 40px; }
.aside { border-top: 1px solid var(--ink); padding-top: 18px; font-size: .95rem; color: var(--ink-2); position: sticky; top: 92px; }
.aside h2, .aside h3 { font-size: 1.15rem; color: var(--ink); }
.aside p { margin-bottom: .9em; }
.aside ul { padding-left: 0; }

/* location blocks inside the application */
.loc { border: 1px solid var(--rule-2); border-radius: 4px; padding: 18px 18px 20px; margin-bottom: 14px; }
.loc .lochead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.loc .lochead b { font: 500 1.15rem/1.2 var(--serif); }
.linkbtn { background: none; border: 0; color: var(--ink-2); font: 500 .9rem/1 var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.linkbtn:hover { color: var(--ink); }
.addrow { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 6px 0 18px; align-items: center; }
.csvbox textarea { font-family: var(--mono); font-size: .85rem; }
dl.review { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 20px; margin: 0 0 20px; font-size: .95rem; }
dl.review dt { color: var(--ink-3); }
dl.review dd { margin: 0; }

/* drop zone for a statement */
.drop { display: grid; gap: 6px; border: 1.5px dashed var(--rule-2); border-radius: 4px; padding: 22px; cursor: pointer; font-weight: 400; }
.drop:hover, .drop.over { border-color: var(--ink); background: var(--paper-2); }
.drop b { font-weight: 600; }
.drop span { color: var(--ink-3); font-size: .9rem; }
.or { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font: italic 400 1.05rem/1 var(--serif); margin: 32px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }

/* exit fee math on the result page */
.exitcalc { border: 1px solid var(--rule-2); padding: 20px 22px; margin-top: 32px; }
.exitcalc h2 { font-size: 1.25rem; margin-bottom: 6px; }
.exitcalc .fields { grid-template-columns: 1fr 1fr; margin: 14px 0; }
.exitcalc output { display: block; font-size: 1.02rem; color: var(--ink); }

/* ---------- dashboard ---------- */
.dash-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; padding: 40px 0 24px; border-bottom: 1px solid var(--rule); }
.dash-top h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.dash-top .who { color: var(--ink-3); margin: 6px 0 0; }
.dash-ctrls { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.dash-ctrls label { font-size: .8rem; color: var(--ink-3); font-weight: 500; }
.dash-ctrls select { padding: 9px 11px; min-width: 170px; }
.banner { background: var(--gold-wash); border: 1px solid var(--gold); padding: 12px 16px; font-size: .92rem; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; }
.banner p { margin: 0; }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
.figs > div { padding: 24px 20px 24px 0; }
.figs > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.figs span { display: block; font-size: .85rem; color: var(--ink-3); }
.figs b { display: block; font: 400 2rem/1.15 var(--serif); margin: 6px 0 4px; font-variant-numeric: tabular-nums lining-nums; }
.figs small { color: var(--ink-3); }
.figs .gold b { color: var(--gold-text); }
.dgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0 48px; }
.dgrid > section { padding: 28px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.dgrid > section.wide { grid-column: 1 / -1; }
.dgrid h2 { font-size: 1.3rem; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dgrid h2 small { font: 400 .85rem/1.2 var(--sans); color: var(--ink-3); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 170px; border-bottom: 1px solid var(--ink); }
.bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.bars i { display: block; width: 100%; max-width: 34px; background: var(--ink); height: var(--h); min-height: 1px; }
.bars div:hover i, .bars div:focus i { background: var(--gold); }
.bars div em { position: absolute; bottom: calc(var(--h) + 4px); font-style: normal; font-size: .72rem; color: var(--ink-2); opacity: 0; white-space: nowrap; background: var(--paper); padding: 1px 4px; }
.bars div:hover em, .bars div:focus em { opacity: 1; }
.barlabels { display: flex; gap: 4px; font-size: .72rem; color: var(--ink-3); margin-top: 6px; }
.barlabels span { flex: 1; text-align: center; overflow: hidden; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }
.dot.off { background: var(--warn); }
.onb { list-style: none; padding: 0; margin: 8px 0 0; }
.onb li { display: flex; gap: 10px; align-items: baseline; margin: 6px 0; font-size: .95rem; }
.onb li::before { content: ""; width: 11px; height: 11px; border: 1.5px solid var(--rule-2); border-radius: 2px; flex: none; transform: translateY(1px); }
.onb li.done { color: var(--ink-3); }
.onb li.done::before { background: var(--ok); border-color: var(--ok); }

/* sign in */
.signbox { max-width: 460px; padding: 72px 0 40px; }

/* statement sample page */
.paper { border: 1px solid var(--rule-2); padding: clamp(20px, 4vw, 48px); background: var(--paper); max-width: 860px; }
.paper .phead { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--ink); padding-bottom: 16px; margin-bottom: 22px; }
.paper .bignum { font: 400 3.4rem/1 var(--serif); color: var(--gold-text); font-variant-numeric: tabular-nums lining-nums; }
.paper h3 { font-size: 1.1rem; margin-top: 28px; }

/* terminals */
.device { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 44px; padding: 44px 0; border-top: 1px solid var(--rule); align-items: start; }
.device .pic { background: var(--paper-2); border: 1px solid var(--rule); display: grid; place-items: center; padding: 22px; }
.device .pic svg { width: 120px; height: auto; }
dl.specs { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 20px; margin: 18px 0 0; font-size: .95rem; }
dl.specs dt { color: var(--ink-3); }
dl.specs dd { margin: 0; }

/* status */
.statusrow { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }

/* printable counter card */
.countercard { width: 6in; max-width: 100%; border: 1px solid #d3cdbf; padding: 28px; display: grid; grid-template-columns: 1fr 150px; gap: 20px; align-items: center; background: #fff; color: #1a1917; }
.countercard h2 { font-size: 2.1rem; margin: 12px 0 6px; }
.countercard p { color: #48453f; margin: 0; }
.countercard img { width: 150px; height: 150px; }
.countercard svg.m { width: 36px; height: 36px; color: #1a1917; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--ink); margin-top: 40px; padding: 44px 0 36px; font-size: .92rem; color: var(--ink-2); background: var(--paper); }
footer.site .fgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
footer.site .fmark { display: flex; gap: 14px; align-items: flex-start; }
footer.site .fmark svg { width: 30px; height: 30px; color: var(--ink); flex: none; }
footer.site .fmark p { margin: 0; max-width: 32ch; }
footer.site h4 { font-size: .85rem; color: var(--ink); margin-bottom: 10px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 0 0 7px; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; color: var(--ink-3); font-size: .85rem; }
footer.site .legal p { margin: 0; max-width: 80ch; }
.lang { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; font-size: .85rem; color: var(--ink-3); }
.lang svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang select { width: auto; padding: 5px 8px; font-size: .85rem; }

/* ---------- pieces made by site.js ---------- */
.langmenu { position: absolute; right: 0; top: 48px; width: min(420px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; background: var(--paper); border: 1px solid var(--rule-2); border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.4); padding: 10px; z-index: 60; }
.langmenu input { margin-bottom: 8px; }
.langmenu .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.langmenu button { display: flex; justify-content: space-between; gap: 8px; background: none; border: 0; padding: 8px 10px; border-radius: 4px; font: 400 .92rem/1.2 var(--sans); color: var(--ink); cursor: pointer; text-align: left; }
.langmenu button:hover, .langmenu button.on { background: var(--paper-2); }
.langmenu button small { color: var(--ink-3); }
.sheet { position: fixed; inset: 68px 0 0 0; background: var(--paper); z-index: 70; overflow: auto; padding: 8px var(--gut) 40px; border-top: 1px solid var(--rule); }
.sheet .grp { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.sheet .grp > b { display: block; font: italic 400 1rem/1.2 var(--serif); color: var(--ink-3); margin-bottom: 4px; }
.sheet a { display: block; padding: 9px 0; text-decoration: none; font-size: 1.05rem; }
.sheet a span { display: none; }
.sheet a b { font-weight: 500; }
.sheet .row { padding-top: 20px; }
body.noscroll { overflow: hidden; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--btn); color: var(--btn-text); padding: 10px 16px; border-radius: 4px; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.help { position: fixed; left: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 40; box-shadow: 0 6px 18px -10px rgba(0,0,0,.4); }
.help svg { width: 24px; height: 24px; }
.help.on { border-color: var(--ink); }
.helppanel { position: fixed; left: 18px; bottom: 74px; width: min(380px, calc(100vw - 36px)); max-height: min(560px, calc(100vh - 110px)); overflow: auto; background: var(--paper); border: 1px solid var(--rule-2); border-radius: 6px; box-shadow: 0 20px 40px -22px rgba(0,0,0,.45); padding: 16px; z-index: 41; }
.helppanel .hh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.helppanel .hh b { font: 500 1.15rem/1 var(--serif); }
.helppanel .x { background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--ink-3); cursor: pointer; padding: 2px 6px; }
.helppanel details { border-bottom: 1px solid var(--rule); }
.helppanel summary { cursor: pointer; padding: 10px 0; font-weight: 600; font-size: .92rem; }
.helppanel details p { font-size: .9rem; color: var(--ink-2); margin: 0 0 10px; }
.helppanel .ha { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 14px 0 8px; font-size: .9rem; font-weight: 600; }
.helppanel .hf, .helppanel .none { font-size: .82rem; color: var(--ink-3); margin: 6px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  nav.main > a, nav.main .menu, .signin { display: none; }
  .burger { display: inline-flex; flex-direction: column; }
  .burger span { display: block; width: 18px; height: 1.6px; background: currentColor; margin: 2.5px 0; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 48px 0 64px; }
  .slipcol { justify-items: start; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .aside { position: static; }
  .howgrid { grid-template-columns: 1fr; }
  footer.site .fgrid { grid-template-columns: 1fr 1fr 1fr; }
  footer.site .fmark { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .sec { grid-template-columns: 1fr; padding: 52px 0; }
  .sec > .note { padding: 0 0 6px; }
  .rows > div, .rows > a { grid-template-columns: 1fr; gap: 4px; }
  .rows .go, .later { text-align: left; }
  .bill { grid-template-columns: 1fr; }
  .bill > div + div { border-left: 0; border-top: 1px solid var(--rule-2); }
  .glossary { columns: 1; }
  .cols2, .cols3, .fields.two { grid-template-columns: 1fr; }
  .figs { grid-template-columns: 1fr 1fr; }
  .figs > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .figs > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .dgrid { grid-template-columns: 1fr; }
  .device { grid-template-columns: 1fr; gap: 20px; }
  .device .pic { justify-self: start; }
  dl.review, dl.specs { grid-template-columns: 1fr; gap: 2px 0; }
  dl.review dd, dl.specs dd { margin-bottom: 10px; }
  .passon { grid-template-columns: 1fr; }
  .exitcalc .fields { grid-template-columns: 1fr; }
  .closing { grid-template-columns: 1fr; }
  footer.site .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  header.top .wrap { gap: 6px; }
  .cta.btn { padding: 10px 12px; font-size: .88rem; }
  .globe span { display: none; }
  .hero h1 { font-size: 3.4rem; }
  .slip { padding: 22px 18px 20px; }
  .slip .big { font-size: 3.1rem; }
  .ledger { font-size: .76rem; }
  .ledger td { padding: 9px 8px; }
  .ledger td.d { width: 44px; }
  .figs b { font-size: 1.55rem; }
  .countercard { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- print ---------- */
@media print {
  header.top, footer.site, .help, .helppanel, .sky, .noprint, .toast { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { text-decoration: none; }
}

/* terminal drawings (terminals page) */
.ill { display: block; height: 220px; width: auto; max-width: 100%; margin: 0 auto;  }
.ill.a80 { height: 190px; }
.ill .scr { fill: #fbf8f1; }
.ill text { font-family: var(--sans); fill: #161513; }
.ill .t-sm { font-size: 9px; fill: #7a766d; letter-spacing: .02em; }
.ill .t-xs { font-size: 7.5px; fill: #9a9589; letter-spacing: .04em; }
.ill .t-md { font-size: 9.5px; fill: #3d3a35; }
.ill .t-amt { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; }
.ill .t-amt.t-lg { font-size: 30px; }
.ill .t-ok { font-size: 9.5px; font-weight: 600; fill: #2f9e5b; }
.ill .t-rule { stroke: #e8e3d6; stroke-width: 1; }
.ill .t-icon rect { fill: #161513; }
.ill .t-icon rect + rect { fill: #c9a227; }
.ill .t-wave path { fill: none; stroke: #c9a227; stroke-width: 1.8; stroke-linecap: round; }
.ill .keys rect { fill: rgba(255,255,255,.12); }
.ill .keys .kx { fill: rgba(180,65,47,.75); }
.ill .keys .kok { fill: rgba(47,158,91,.8); }
.ill .k { font-size: 9px; fill: rgba(255,255,255,.75); text-anchor: middle; }
.ill .ring { fill: none; stroke: #c9a227; stroke-width: 1.5; opacity: 0; transform-origin: center; }
.device .pic .ill { height: 220px; width: auto; }

/* fixes after the first test pass */
.split > * { min-width: 0; }
.bars div:nth-child(-n+3) em { left: 0; }
.bars div:nth-last-child(-n+3) em { right: 0; }
.dated li::before { left: -4px; }
.barlabels span { overflow: visible; white-space: nowrap; text-align: left; }
.aside .dated p { margin: 0; }
.aside .dated li { padding-bottom: 16px; }
@media (max-width: 600px) { .help { width: 40px; height: 40px; left: 12px; bottom: 12px; } .help svg { width: 20px; height: 20px; } .helppanel { left: 12px; bottom: 60px; } }

/* interactive bits on the home page (Nov 1 2026) */
.tryit { margin: 22px 0 0; max-width: 440px; border-top: 1px dashed var(--rule-2); padding-top: 18px; }
.tryit > p { font-size: .95rem; color: var(--ink-2); margin-bottom: 12px; }
.tryfields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; align-items: end; }
.tryfields label { font-size: .82rem; color: var(--ink-3); font-weight: 500; }
.tryfields input { font-family: var(--mono); font-size: .95rem; padding: 10px 11px; }
.tryout { display: grid; gap: 6px; }
.tryout span { font-size: .82rem; color: var(--ink-3); font-weight: 500; }
.tryout output { display: block; font: 400 1.9rem/1.15 var(--serif); color: var(--gold-text); font-variant-numeric: tabular-nums lining-nums; min-height: 44px; border-bottom: 1px solid var(--rule-2); transition: color .2s; }
.tryit .fine { margin: 10px 0 0; min-height: 1.5em; }
.ledgerhint { margin: 0; padding: 8px 16px 0; font-size: .8rem; color: var(--ink-3); background: var(--paper-2); font-family: var(--sans); }
#how [data-k], #how [data-hi] { transition: opacity .25s, background-color .25s, box-shadow .25s; }
#how ol.steps li[data-hi] { cursor: default; margin-left: -12px; padding-left: 56px; padding-right: 12px; border-radius: 4px; }
#how ol.steps li[data-hi]::before { left: 12px; }
#how .dimmed { opacity: .38; }
#how ol.steps li.lit { background: var(--paper-2); }
#how .ledger tr.lit td { background: var(--gold-wash); color: var(--ink); opacity: 1; box-shadow: inset 3px 0 0 var(--gold); }
#how .ledger tr.lit td + td { box-shadow: none; }
#how .ledgernotes li.lit span { color: var(--ink); }
#how .formula span.lit { background: var(--gold-wash); box-shadow: 0 0 0 3px var(--gold-wash); border-radius: 2px; }
#how .ledger tr.dimmed td, #how .ledgernotes li.dimmed { opacity: .4; }
#how .ledger tr[data-k] { cursor: default; }
@media (max-width: 480px) { .tryfields { grid-template-columns: 1fr 1fr; } .tryout { grid-column: 1 / -1; } }

/* ---------- home page chapters (Nov 2 2026): one idea per screen ---------- */
.ch { text-align: center; padding: clamp(80px, 12vw, 150px) 0; }
.ch + .ch:not(.dark) { border-top: 1px solid var(--rule); }
.ch.dark + .ch, .ch + .ch.dark { border-top: 0; }
.ch h2 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.035em; line-height: 1.04; max-width: 20ch; margin: 0 auto .35em; }
.ch .sub { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.45; color: var(--ink-2); max-width: 36em; margin: 0 auto; }
.ch .sub.small { font-size: 1.05rem; margin-top: 18px; min-height: 1.5em; }
.ch .sub a { color: var(--gold-text); text-decoration: none; }
.ch .sub a:hover { text-decoration: underline; }
.ch .sub + * { margin-top: 44px; }
.ch h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.ctas { display: flex; gap: 10px 28px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.ctas .btn { padding: 17px 30px; font-size: 1.05rem; border-radius: 999px; }
.arrow { font-weight: 500; color: var(--gold-text); text-decoration: none; white-space: nowrap; }
.arrow::after { content: "\00a0\203A"; display: inline-block; transition: transform .2s; }
.arrow:hover::after { transform: translateX(3px); }
.arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero2 { padding-top: clamp(64px, 10vw, 120px); padding-bottom: 72px; }
.hero2 h1 { font-size: clamp(3.6rem, 9.5vw, 7.4rem); letter-spacing: -0.045em; line-height: .96; margin: 0 0 24px; }
.hero2 .status { justify-content: center; margin-top: 10px; }
.hero2 .fine { margin-top: 16px; }
.hero2 .slipwrap { margin-inline: auto; }
.hero2 .caption { max-width: 440px; }

.ch.dark { background: var(--ink); color: var(--paper); margin-inline: calc(50% - 50vw); padding-inline: var(--gut); }
.ch.dark h2 { color: var(--paper); }
.ch.dark .sub, .ch.dark .fine { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.ch.dark .sub a { color: var(--gold); }
.ch.dark .arrow { color: var(--gold); }
.btn.invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 28px; justify-content: center; text-align: left; }
.pair > div { border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); padding: 24px 26px; border-radius: 14px; }
.pair .stamp { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; border: 1.5px solid var(--ok); color: #7fbf8c; border-color: #7fbf8c; padding: 3px 7px 2px; display: inline-block; margin-bottom: 12px; }
.pair .stamp.est { color: var(--gold); border-color: var(--gold); }
.pair p { margin: 0; color: color-mix(in srgb, var(--paper) 80%, transparent); }

/* the scrolling statement scene */
.scene-wrap { min-height: 260vh; padding: 0; border-top: 0 !important; }
.scene { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 90px 0 40px; }
.scene h2, .scene .sub { transition: opacity .5s, transform .5s; }
.scene[data-step="4"] h2, .scene[data-step="4"] .sub, .scene[data-step="3"] .sub { opacity: 0; transform: translateY(-10px); }
.ledger2 { width: min(560px, 100%); margin-top: 28px; font-size: .82rem; }
.ledger2 td { padding: 8px 14px; }
.scene h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.ledger2 { text-align: left; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .5s; }
.ledger2 tr td { transition: opacity .5s, background-color .5s, box-shadow .5s, color .5s; }
.scene[data-step="0"] .ledger2 tr.keep td { background: transparent; box-shadow: none; }
.scene:not([data-step="0"]) .ledger2 tr.skip td { opacity: .18; }
.scene:not([data-step="0"]) .ledger2 tr.keep td { background: var(--gold-wash); }
.scene:not([data-step="0"]) .ledger2 tr.keep td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.scene[data-step="2"] .ledger2 tr.dep td, .scene[data-step="3"] .ledger2 tr.dep td { background: var(--paper-2); box-shadow: none; }
.scene[data-step="4"] .ledger2 { opacity: 0; transform: translateY(-30px) scale(.96); }
.scene-cap { position: relative; width: 100%; min-height: 90px; margin-top: 28px; }
.scene-cap .s { position: absolute; left: 0; right: 0; top: 0; margin: 0 auto; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.scene-cap .s.mono { font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--ink); }
.scene[data-step="0"] .s1, .scene[data-step="1"] .s2, .scene[data-step="2"] .s2, .scene[data-step="3"] .s3, .scene[data-step="4"] .s4 { opacity: 1; transform: none; }
.scene[data-step="4"] .s4 { top: -40vh; }
.huge { display: block; font: 600 clamp(5rem, 16vw, 11rem)/1 var(--sans); letter-spacing: -0.05em; color: var(--gold-text); font-variant-numeric: tabular-nums lining-nums; }
.hugelabel { display: block; margin-top: 18px; font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .scene-wrap { min-height: 0; } .scene { position: static; min-height: 0; } .scene-cap .s { position: static; opacity: 1; transform: none; display: block; margin-top: 14px; } .scene[data-step="4"] .ledger2 { opacity: 1; transform: none; } .scene[data-step="4"] h2, .scene[data-step="4"] .sub { opacity: 1; transform: none; } .scene[data-step="4"] .s4 { top: auto; } }

/* two numbers, one rate */
.tryit2 { display: flex; align-items: end; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tryit2 label { text-align: left; font-size: .85rem; color: var(--ink-3); font-weight: 500; width: 200px; }
.tryit2 input { font-family: var(--mono); font-size: 1.25rem; padding: 14px 16px; border-radius: 10px; }
.tryit2 .op { font: 400 2rem/1 var(--sans); color: var(--ink-3); padding-bottom: 8px; }
.tryit2 .tryout { text-align: left; width: 200px; }
.tryit2 .tryout span { display: block; font-size: .85rem; color: var(--ink-3); font-weight: 500; margin-bottom: 6px; }
.tryit2 output { display: block; font: 600 2.6rem/1 var(--sans); letter-spacing: -0.03em; color: var(--gold-text); padding: 6px 0 8px; border-bottom: 2px solid var(--rule-2); min-height: 56px; font-variant-numeric: tabular-nums; }

/* the bill, two lists */
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 48px; justify-content: center; text-align: left; }
.cmp h3 { font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; }
.cmp ul { list-style: none; padding: 0; margin: 0; }
.cmp li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--rule); margin: 0; font-size: 1.1rem; position: relative; }
.cmp li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.cmp .no li { color: var(--ink-2); }
.cmp .no li::before { border: 0; width: 12px; height: 2px; background: var(--ink-3); top: 1.2em; transform: none; }

/* a glimpse of the dashboard */
.glimpse { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 26px 28px; max-width: 760px; margin: 0 auto; text-align: left; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.gtop { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.gtop b { font-size: 1.35rem; letter-spacing: -0.02em; }
.gtop span { color: var(--ink-3); font-size: .9rem; }
.gfigs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.gfigs div { background: var(--paper-2); border-radius: 10px; padding: 12px 14px; }
.gfigs span { display: block; font-size: .78rem; color: var(--ink-3); }
.gfigs b { display: block; font-size: 1.45rem; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.gfigs .gold b { color: var(--gold-text); }
.links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.tiles > * { background: var(--paper-2); border-radius: 16px; padding: 26px 26px 24px; text-decoration: none; color: inherit; display: grid; align-content: start; gap: 8px; transition: transform .25s, box-shadow .25s; }
.tiles > a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.tiles h3 { margin: 0; }
.tiles p { margin: 0; color: var(--ink-2); }
.tiles .arrow, .tiles .later { margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; text-align: left; max-width: 1000px; margin-inline: auto; }
.facts b { display: block; font-size: .85rem; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.facts p { margin: 0; color: var(--ink-2); }
.closing2 { padding: clamp(100px, 14vw, 180px) var(--gut); }
.ch .faq { margin-inline: auto; }
.ch .faq summary { font-size: 1.1rem; }
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .rv.in { opacity: 1; transform: none; }
}
@media (max-width: 820px) {
  .pair, .cmp { grid-template-columns: 1fr; gap: 20px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .gfigs { grid-template-columns: 1fr 1fr; }
  .tryit2 .op { display: none; }
  .tryit2 label, .tryit2 .tryout { width: calc(50% - 7px); }
  .tryit2 .tryout { width: 100%; text-align: center; }
  .tryit2 .tryout span { text-align: center; }
  .scene-wrap { min-height: 280vh; }
}
@media (max-width: 480px) {
  .tiles, .facts { grid-template-columns: 1fr; }
  .hero2 h1 { font-size: 3.6rem; }
  .huge { font-size: 5rem; }
}

/* dashboard notices and passkeys (Nov 2 2026) */
.alerts { margin: 20px 0 0; display: grid; gap: 8px; }
.alerts .al { margin: 0; padding: 11px 16px; border: 1px solid var(--rule-2); border-left: 3px solid var(--gold); background: var(--paper-2); font-size: .95rem; }
.alerts .al.deposit_held, .alerts .al.terminal_offline { border-left-color: var(--warn); }
#pkbox .or { margin: 28px 0 20px; }
