/* Spout landing page. Tokens and fonts live in base.css.
   Frame: a market-watch product page. The nav is two rows: a slim ticker of sample transfers,
   and under it a plain bar (logo, links, download). The first screen is "the wall": the pitch
   sits top left, the amount moved in the sample hour and the latest alert sit top right, and a
   wall of 24 wallet tiles runs across the full width under them. A spout rises from the tile
   that moves, travels above the wall and lands where the funds came up; it runs in the gutters
   between tiles and never over one. The biggest one lands in a dashed tile under the wall. Below: the alert as a Windows notification next to the same alert opened, the watch
   controls (they work on the sample moves), what it reads, questions as one card with filled
   alternating rows, and a closing card with the spout behind the text.
   Flat colour only. Corners are 8px everywhere. Foam is the wallet that moves, its spout,
   the big number and the main button. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 17px/1.5 var(--sans); }
h1, h2, h3, p, ul, ol, dl, dt, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
b { font-weight: 500; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--bg); font-weight: 500; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:root { --gutter: max(24px, calc((100vw - 1240px) / 2)); }

/* ---------- small pieces ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--foam); color: var(--foam-ink); font: 500 16px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .15s ease-out, transform .15s ease-out; }
.btn:hover { background: #E4FBF9; }
.btn:active { transform: scale(.98); }
.btn svg { flex: none; width: 18px; height: 18px; }
.btn--sm { padding: 0 20px; font-size: 15px; }
.btn--quiet { background: var(--panel-2); color: var(--text); }
.btn--quiet:hover { background: #1C3F49; }
.card { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.note { font-size: 14px; color: var(--text-3); }
.tag { display: inline-flex; align-items: center; flex: none; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--panel-2); font-size: 12px; line-height: 1; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.logo img { border-radius: 7px; }

/* ---------- nav: a ticker, then a plain bar ---------- */

/* The whole header sticks 40px above the viewport, so the ticker scrolls away and the bar stays. */
.nav { position: sticky; top: -40px; z-index: 50; background: var(--bg); }
.tape { display: flex; align-items: center; height: 40px; padding: 0 var(--gutter); background: var(--panel); }
.tape__tag { display: inline-flex; align-items: center; flex: none; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--panel-2); font-size: 12px; line-height: 1; font-weight: 500; color: var(--text-2); white-space: nowrap; }
/* position: relative makes the strip the containing block of the visually hidden words inside it, so they are clipped too. */
.tape__run { position: relative; display: flex; flex: 1; min-width: 0; margin: 0 8px 0 14px; overflow: hidden; }
.tape__list { display: flex; flex: none; animation: tape 90s linear infinite; }
.tape__list li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 26px 0 0; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.tape__list li::after { content: ''; width: 4px; height: 4px; margin-left: 18px; border-radius: 50%; background: var(--wire); }
.tape__list b { margin-right: 4px; font: 500 13px var(--mono); color: var(--text); }
.tape__list svg { width: 14px; height: 14px; color: var(--text-3); }
@keyframes tape { to { transform: translateX(-100%); } }
.tape:hover .tape__list, .tape:focus-within .tape__list, .tape.is-paused .tape__list { animation-play-state: paused; }
.tape__pause { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-right: -12px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--text-2); cursor: pointer; }
.tape__pause:hover { color: var(--text); }
.tape__pause:focus-visible { outline-offset: -4px; }
.tape__pause svg { width: 16px; height: 16px; }
.i-pause { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.i-play { display: none; fill: currentColor; }
.tape__pause[aria-pressed="true"] .i-pause { display: none; }
.tape__pause[aria-pressed="true"] .i-play { display: block; }

.bar { display: flex; align-items: center; height: 70px; padding: 0 var(--gutter); border-bottom: 1px solid transparent; transition: border-color .2s ease-out; }
.nav.is-stuck .bar { border-color: var(--line); }
.bar__links { display: flex; gap: 2px; margin-left: auto; }
.bar__links a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 8px; font-size: 15px; font-weight: 400; color: var(--text-2); transition: background-color .15s ease-out, color .15s ease-out; }
.bar__links a:hover { background: var(--panel); color: var(--text); }
.bar .btn { margin-left: 12px; }

/* ---------- first screen: the wall ---------- */

.hero { padding: 20px var(--gutter) 0; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 28px 64px; }
h1 { max-width: 11.5em; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.03; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.lede { max-width: 36em; margin-top: 16px; font-size: clamp(16.5px, 1.25vw, 18px); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.pitch__go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; }
.pitch__go .note { text-wrap: balance; }

/* The one number of the page at the top of the column, the latest alert in words at its foot. */
.readout { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); scroll-margin-top: 84px; }
.readout__label { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 400; color: var(--text-2); }
.readout__sub { display: flex; flex-wrap: wrap; gap: 0 10px; margin-top: 6px; font: 400 12.5px/1.5 var(--mono); color: var(--text-3); }
.readout__sub span + span::before { content: '·'; margin-right: 10px; }
.readout__sub span:first-child { color: var(--text-2); }
.readout__n { margin-top: 2px; font-size: clamp(40px, 5vw, 72px); line-height: 1.08; font-weight: 600; letter-spacing: -.045em; color: var(--foam); white-space: nowrap; }
/* Lexend has no tabular figures. Each digit gets its own cell (site.js): equal widths while the number counts, the digit's own width at rest. */
.readout__n i { display: inline-block; min-width: 0; font-style: normal; text-align: center; transition: min-width .3s ease-out; }
.readout__n .is-counting i { min-width: .66em; transition: none; }
.alert { align-self: end; margin-top: 14px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.alert__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; color: var(--text-2); }
.alert__head img { border-radius: 4px; }
.alert__head time { margin-left: auto; font: 400 12.5px var(--mono); color: var(--text-3); }
.alert__what { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 9px; font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -.015em; }
.alert__usd { flex: none; font: 400 13.5px var(--mono); letter-spacing: 0; color: var(--text-2); }
.alert__where { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; min-height: 24px; margin-top: 4px; font-size: 14.5px; color: var(--text-2); }
.alert__where .addr { font: 400 13px var(--mono); color: var(--text-3); }
.alert__where .chip-app { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px dashed var(--text-3); border-radius: 6px; font: 500 12.5px var(--mono); color: var(--text); }
.alert__body.is-new { animation: fresh .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes fresh { from { opacity: 0; translate: 0 6px; } }

/* The space above the wall is the lane the spout travels in, with the amount riding on it. */
.stage { position: relative; margin-top: 44px; }
.stage:focus { outline: none; }
/* The gutters are wide enough for the spout to run in them: it never crosses a tile. */
.wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
/* A watched wallet: its label by kind, a shortened address, the balance and a bar for it.
   The li is the tile's fill; .tile is the container its contents measure themselves against. */
.wall li { min-width: 0; border-radius: 8px; background: var(--panel); transition: background-color .25s ease-out, box-shadow .25s ease-out; }
.tile { container-type: inline-size; }
.tile__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kind kind" "addr bal" "bar bar"; align-content: space-between; column-gap: 8px; height: 76px; padding: 10px 12px 12px; }
.tile__in span { transition: color .25s ease-out; }
.tile__kind { grid-area: kind; overflow: hidden; font-size: 13.5px; line-height: 1.3; font-weight: 400; color: var(--text); white-space: nowrap; text-overflow: ellipsis; }
.tile__kind .s { display: none; }
.tile__addr { grid-area: addr; margin-top: -5px; font: 400 12px/1.3 var(--mono); color: var(--text-3); white-space: nowrap; }
.tile__bal { grid-area: bal; margin-top: -5px; font: 400 12px/1.3 var(--mono); color: var(--text-2); white-space: nowrap; }
.tile__bar { grid-area: bar; display: block; height: 4px; border-radius: 2px; background: var(--panel-2); overflow: hidden; transition: background-color .25s ease-out; }
.tile__bar i { display: block; width: calc(var(--f) * 100%); height: 100%; border-radius: 2px; background: var(--bar); transition: width .6s cubic-bezier(.2, .7, .2, 1), background-color .25s ease-out; }
/* The wallet that is moving lights in foam; the one the funds reached gets an outline. */
.wall .is-moving { background: var(--foam); }
.wall .is-moving span { color: var(--foam-ink); }
.wall .is-moving .tile__bar { background: rgba(6, 34, 38, .2); }
.wall .is-moving .tile__bar i { background: var(--foam-ink); }
.wall .is-dest { box-shadow: inset 0 0 0 1.5px var(--text); }
.wall .is-dest .tile__bar i { background: var(--text); }
@container (max-width: 189px) {
  .tile__kind .l, .tile__bal { display: none; }
  .tile__kind .s { display: inline; }
}
@container (max-width: 116px) {
  .tile__in { height: 62px; padding: 8px 9px 10px; }
  .tile__kind { font-size: 12px; }
  .tile__addr { display: none; }
  .tile__bal { display: block; grid-area: addr; font-size: 10.5px; }
}

/* Under the wall: where a move goes when it leaves the watched wallets. It holds the offer once the run ends. */
.beyond { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 80px; margin-top: 12px; padding: 14px 14px 14px 20px; border: 1.5px dashed var(--wire); border-radius: 8px; transition: border-color .3s ease-out; }
.beyond__ring { width: 34px; height: 34px; border: 1.5px dashed var(--text-3); border-radius: 50%; transition: border-color .3s ease-out; }
.beyond__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 17px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; color: var(--text-2); }
.beyond__title .chip-app { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1px dashed var(--text-2); border-radius: 6px; font: 500 13px var(--mono); letter-spacing: 0; color: var(--text); }
.beyond__sub { margin-top: 2px; font-size: 14px; color: var(--text-3); text-wrap: pretty; }
/* On wide screens the tile keeps its height without the offer, so the buttons are simply absent until the run ends. */
.beyond__go { display: none; flex-wrap: wrap; gap: 8px; }
.stage.is-done .beyond { border-color: var(--text-3); }
.stage.is-done .beyond__ring { border-color: var(--text-2); }
.stage.is-done .beyond__title { color: var(--text); }
.stage.is-done .beyond__go { display: flex; animation: rise .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; translate: 0 8px; } }

/* The spout: a thin line from the wallet that moved to where the funds came up. site.js routes it through the
   gutters and over the top of the wall; the amount rides on the stretch above the wall. */
.spout { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .25s ease-out; }
.spout path { fill: none; stroke-linecap: round; }
.spout__case { stroke: var(--bg); stroke-width: 4.5; }
.spout__line { stroke: var(--foam); stroke-width: 2; }
.spout__drop { fill: var(--foam); stroke: var(--bg); stroke-width: 2.5; opacity: 0; transition: opacity .15s ease-out; }
.spout__amt { position: absolute; left: 0; top: 0; z-index: 3; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--foam); color: var(--foam-ink); font: 600 12.5px/1 var(--mono); white-space: nowrap; translate: -50% -50%; pointer-events: none; opacity: 0; transition: opacity .25s ease-out; }
.stage.has-spout .spout, .stage.has-spout .spout__amt, .stage.has-landed .spout__drop { opacity: 1; }
.stage.has-spout .spout__amt { transition-delay: .2s; }

/* ---------- sections ---------- */

/* A link from the bar lands with the heading just under the bar, not a screen of padding. */
.sec { padding: 128px var(--gutter) 0; scroll-margin-top: -30px; }
.sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 56px; align-items: end; }
h2 { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.sec__head p { font-size: 17px; color: var(--text-2); text-wrap: pretty; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 500; letter-spacing: -.015em; }

/* ---------- the alert: on the desktop, and opened ---------- */

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 40px; padding: 28px; }
.duo__half { display: grid; grid-template-rows: auto auto minmax(0, 1fr); }
.duo__half > p { margin-top: 6px; font-size: 15.5px; color: var(--text-2); text-wrap: pretty; }
.pc, .trail { margin-top: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }

/* The corner of a Windows desktop: the notification above the taskbar. */
.pc { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; align-items: end; min-height: 300px; overflow: hidden; }
/* Behind the notification: the app, as a small wall with one wallet moving. */
.pc__wall { position: absolute; left: 14px; top: 14px; width: calc(100% - 28px); height: calc(100% - 74px); }
.pc__wall rect { fill: var(--panel); }
.pc__wall path { fill: none; stroke: var(--panel-2); stroke-width: 4; stroke-linecap: round; }
.pc__wall .on rect { fill: var(--foam); }
.pc__wall .on path { stroke: var(--foam-ink); }
.toast { position: relative; justify-self: end; width: min(100% - 28px, 372px); margin: 28px 14px 12px; padding: 13px 16px 16px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 8px; background: #222C30; font-family: "Segoe UI Variable Text", "Segoe UI", var(--sans); }
.toast__app { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 400; color: #C4D0D2; }
.toast__app img { border-radius: 4px; }
.toast__app svg { width: 40px; height: 16px; margin-left: auto; fill: none; stroke: #C4D0D2; stroke-width: 1.6; stroke-linecap: round; }
.toast__title { margin-top: 10px; font-size: 15.5px; line-height: 1.3; font-weight: 500; color: #fff; }
.toast__text { margin-top: 3px; font-size: 14px; line-height: 1.4; font-weight: 400; color: #C4D0D2; }
.toast__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.toast__acts span { display: grid; place-items: center; height: 34px; border-radius: 5px; background: #333F44; font-size: 13px; font-weight: 400; color: #fff; }
.pc__bar { position: relative; display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px 0 12px; background: var(--panel-2); }
.pc__bar .tag { margin-right: auto; background: var(--bg); }
.pc__bar svg { width: 64px; height: 16px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pc__bar p { font-size: 11.5px; line-height: 1.3; font-weight: 400; text-align: right; color: var(--text); }

/* The same alert, opened: every hop as a filled row, joined by the spout down the left. */
.trail { padding: 18px; }
.trail__top { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 8px 16px; }
.trail__amt { font: 500 27px/1.15 var(--mono); letter-spacing: -.03em; }
.trail__amt span { display: block; margin-top: 4px; font: 300 14px/1.4 var(--sans); letter-spacing: 0; color: var(--text-2); }
.trail__when { display: flex; align-items: center; gap: 10px; }
.trail__when time { font: 400 12.5px var(--mono); color: var(--text-3); white-space: nowrap; }
.hops { display: grid; gap: 6px; margin-top: 16px; }
.hop { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 11px 12px 11px 40px; border-radius: 8px; background: var(--panel); }
.hop::before { content: ''; position: absolute; left: 15px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border: 2px solid var(--foam); border-radius: 50%; background: var(--panel); }
.hop--left::before, .hop--up::before { background: var(--foam); }
.hop:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: calc(50% + 7px); bottom: calc(-50% - 1px); width: 2px; background: var(--foam); }
.hop time { font: 400 12.5px var(--mono); color: var(--text-3); }
.hop p { font-size: 15px; line-height: 1.35; color: var(--text-2); }
.hop p b { color: var(--text); }
.hop p span { display: block; font: 400 12.5px/1.5 var(--mono); color: var(--text-3); }
.hop em { padding: 4px 8px; border-radius: 6px; background: var(--panel-2); font-size: 12px; line-height: 1.2; font-style: normal; font-weight: 400; color: var(--text-2); white-space: nowrap; }
.trail__sum { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.trail__sum span { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; font-size: 12.5px; color: var(--text-2); }

/* ---------- what you can watch: real controls on the sample moves ---------- */

.rule { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto minmax(0, 1fr); gap: 8px; margin-top: 40px; }
.ctl { padding: 24px 24px 26px; }
.ctl--size { grid-column: 2; grid-row: 1 / 3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px; border: 1px solid transparent; border-radius: 8px; background: var(--panel-2); font-size: 14.5px; font-weight: 400; color: var(--text); white-space: nowrap; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.chip svg { flex: none; width: 16px; height: 16px; }
.chip:hover { background: #1C3F49; }
.chip[aria-pressed="false"] { border-color: var(--bar); background: none; color: var(--text-2); }
.chip[aria-pressed="false"] svg { visibility: hidden; }
.chip[aria-pressed="false"]:hover { background: var(--panel-2); }
.field { display: grid; gap: 8px; margin-top: 22px; }
.field__label { font-size: 13.5px; color: var(--text-3); }
.field__box { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 10px 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.field__box b { font: 400 14px var(--mono); }

.rates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; font: 400 12.5px var(--mono); color: var(--text-2); }
.rates__label { flex: 0 0 100%; margin-bottom: 2px; font: 300 13.5px var(--sans); color: var(--text-3); }
.rates span:not(.rates__label) { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; }
.rates b { color: var(--text); }

.size { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.size__out { font: 500 30px/1.1 var(--mono); letter-spacing: -.03em; }
/* The range input is transparent; the track and its filled part are drawn under it, so no gradient is needed. */
.slide { position: relative; height: 40px; margin-top: 8px; }
.slide::before, .slide i { content: ''; position: absolute; left: 0; top: 17px; height: 6px; border-radius: 3px; }
.slide::before { right: 0; background: var(--panel-2); }
.slide i { width: calc(var(--p, 0) * (100% - 26px) + 13px); background: var(--text); }
.slider { position: relative; display: block; width: 100%; height: 40px; margin: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.slider::-webkit-slider-runnable-track { height: 6px; background: none; }
.slider::-moz-range-track { height: 6px; background: none; }
/* The handle is 20 by 28 inside a 3px ring of the card's colour, which parts it from the track. */
.slider::-webkit-slider-thumb { box-sizing: border-box; width: 26px; height: 34px; margin-top: -14px; border: 3px solid var(--panel); border-radius: 9px; background: var(--text); -webkit-appearance: none; appearance: none; }
.slider::-moz-range-thumb { box-sizing: border-box; width: 26px; height: 34px; border: 3px solid var(--panel); border-radius: 9px; background: var(--text); }
/* Focus rings the handle, not the whole track. */
.slider:focus-visible { outline: none; }
.slider:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--text); outline-offset: -1px; }
.slider:focus-visible::-moz-range-thumb { outline: 2px solid var(--text); outline-offset: -1px; }
.size__ends { display: flex; justify-content: space-between; font: 400 12px var(--mono); color: var(--text-3); }
.fired { margin-top: 22px; font-size: 16px; color: var(--text-2); text-wrap: balance; }
.fired b { color: var(--text); }
.moves { display: grid; gap: 6px; margin-top: 12px; }
.move { display: grid; grid-template-columns: 44px auto minmax(0, 1fr) auto 112px; grid-template-areas: "time amt route usd state"; align-items: center; gap: 2px 12px; min-height: 52px; padding: 8px 14px; border: 1px solid transparent; border-radius: 8px; background: var(--panel-2); font-size: 14px; color: var(--text-2); }
.move time { grid-area: time; }
.move time, .move__usd { font: 400 12.5px var(--mono); }
.move b { grid-area: amt; font: 500 13.5px var(--mono); color: var(--text); white-space: nowrap; }
.move__route { grid-area: route; display: flex; flex-wrap: wrap; align-items: center; gap: 0 7px; min-width: 0; }
.move__route svg { width: 13px; height: 13px; }
.move__usd { grid-area: usd; }
.move__state { grid-area: state; }
.move__usd { color: var(--text); }
.move__state { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; font-size: 13px; font-weight: 400; color: var(--text); text-align: right; }
.move__state::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--text); }
/* A muted move is an outline, not a fill: it stays readable and plainly off. */
.move.is-muted { border: 1px dashed var(--wire); background: none; color: var(--text-3); }
.move.is-muted b, .move.is-muted .move__usd, .move.is-muted .move__state { color: var(--text-3); }
.move.is-muted .move__state::before { display: none; }

/* ---------- what it reads ---------- */

.reads { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8px; margin-top: 40px; }
/* Both cards are columns whose rows share the spare height, so neither ends in a hole. */
.label, .chains { display: flex; flex-direction: column; padding: 24px 24px 26px; }
.label__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.tile--big { flex: none; width: 250px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.tile--big .tile__in { height: 84px; padding: 12px 14px 14px; }
.tile--big .tile__kind { font-size: 15px; }
.tile--big .tile__addr, .tile--big .tile__bal { font-size: 13px; }
.record { display: grid; align-content: space-between; height: 84px; margin-top: 18px; padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font: 400 13px var(--mono); }
.record__top, .record__line { display: flex; align-items: center; gap: 8px; }
.record__top { justify-content: space-between; color: var(--text-3); }
.record__line { color: var(--text-2); white-space: nowrap; }
.record__line svg { flex: none; width: 14px; height: 14px; color: var(--text-3); }
.record__line b { margin-left: auto; color: var(--text); }
.how { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 6px; margin-top: 18px; }
.how div { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-content: center; gap: 4px 16px; padding: 14px 16px; border: 1px solid transparent; border-radius: 8px; background: var(--panel-2); }
.how dt { font-size: 14px; line-height: 1.6; font-weight: 400; color: var(--text-2); }
.how dd { font-size: 15.5px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.how dd b { color: var(--text); }
.how .how__no { border: 1px dashed var(--bar); background: none; }
.ledger { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 6px; margin-top: 18px; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name assets" "what what"; align-items: baseline; align-content: center; gap: 2px 12px; padding: 14px 16px 15px; border-radius: 8px; background: var(--panel-2); }
.ledger b { grid-area: name; font-size: 17px; letter-spacing: -.01em; }
.ledger span { grid-area: what; font-size: 14.5px; line-height: 1.4; color: var(--text-2); }
.ledger em { grid-area: assets; font: 400 12.5px var(--mono); font-style: normal; color: var(--text); white-space: nowrap; }
.chains .note { margin-top: 16px; }

/* ---------- questions: one card, question left, answer right, every other row filled ---------- */

.faq__card { margin-top: 40px; overflow: hidden; }
.faq__card div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 48px; padding: 28px 32px 30px; }
.faq__card div:nth-child(odd) { background: var(--panel-2); }
.faq__card dt { font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.faq__card dd { font-size: 16.5px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }

/* ---------- closing card: the spout behind the text ---------- */

.final { scroll-margin-top: 94px; position: relative; display: grid; justify-items: center; align-content: center; min-height: 560px; margin: 128px var(--gutter) 0; padding: 48px 24px; text-align: center; overflow: hidden; }
.final__spout { position: absolute; left: 50%; bottom: 0; width: 640px; height: 100%; translate: -50% 0; fill: var(--panel-2); overflow: visible; }
.final__back { fill: #0F2930; }
.final > :not(svg) { position: relative; }
.final h2 { font-size: clamp(34px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
.final__for { max-width: 30em; margin-top: 16px; font-size: 17px; color: var(--text-2); text-wrap: balance; }
.final .btn { margin-top: 30px; }
.final .note { margin-top: 14px; color: var(--text-2); text-wrap: balance; }

/* ---------- footer ---------- */

.foot { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1.25fr)); gap: 20px 40px; align-items: start; padding: 56px var(--gutter) 64px; font-size: 14px; color: var(--text-3); }
.foot .logo { justify-self: start; color: var(--text); }
.foot p { max-width: 40ch; text-wrap: pretty; }
.foot b { display: block; margin-bottom: 4px; font-weight: 500; color: var(--text-2); }

.js [data-reveal] { opacity: 0; translate: 0 20px; transition: opacity .7s ease-out, translate .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------- smaller screens ---------- */

@media (max-width: 1100px) {
  .hero__top { grid-template-columns: minmax(0, 1fr) 400px; gap: 28px 40px; }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot .logo { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hero__top { grid-template-columns: minmax(0, 1fr); }
  .readout { max-width: 520px; }
  .beyond { grid-template-columns: auto minmax(0, 1fr); }
  .beyond__go { grid-column: 1 / -1; display: flex; visibility: hidden; }
  .stage.is-done .beyond__go { visibility: visible; }
  .sec { padding-top: 96px; scroll-margin-top: 0; }
  .sec__head { grid-template-columns: minmax(0, 1fr); }
  .sec__head p { max-width: 40em; }
  .duo, .rule, .reads { grid-template-columns: minmax(0, 1fr); }
  .ctl--size { grid-column: auto; grid-row: auto; }
  .final { margin-top: 96px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .bar { height: 64px; }
  .bar .btn { height: 44px; }
  .bar__links { display: none; }
  .bar .btn { margin-left: auto; }
  .tape__list li { padding-right: 20px; }
  .tape__list li::after { margin-left: 12px; }
  .hero { padding-top: 22px; }
  .pitch__go .btn { width: 100%; }
  .alert__what { font-size: 17px; }
  .stage { margin-top: 40px; }
  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .beyond { gap: 12px 14px; margin-top: 8px; padding: 14px; }
  .beyond__go .btn { flex: 1 1 auto; }
  .duo { gap: 32px; margin-top: 28px; padding: 20px 16px 16px; }
  .pc { min-height: 0; }
  .toast { margin-top: 20px; }
  .trail { padding: 14px; }
  .trail__amt { font-size: 24px; }
  .hop { grid-template-columns: minmax(0, 1fr) auto; padding: 11px 12px 11px 38px; }
  .hop time { grid-column: 1 / -1; }
  .rule, .reads, .faq__card { margin-top: 28px; }
  .ctl, .label, .chains { padding: 20px 16px; }
  .move { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "time amt usd" "time route route" "time state state"; padding: 11px 14px; }
  .move__state { justify-content: flex-start; text-align: left; }
  .readout__sub span:nth-child(2) { display: none; }
  .tile--big { width: 100%; }
  .how div { grid-template-columns: minmax(0, 1fr); }
  .faq__card div { grid-template-columns: minmax(0, 1fr); padding: 22px 18px 24px; }
  .final { min-height: 460px; padding: 40px 16px; }
  .final__spout { width: 460px; }
  .foot { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; translate: 0 0; transition: none; }
  /* The ticker stands still: one copy, cut at the edge, nothing to pause. */
  .tape__list { animation: none; }
  .tape__list[aria-hidden="true"], .tape__pause { display: none; }
  .wall li, .tile__in span, .tile__bar, .tile__bar i, .beyond, .beyond__ring, .spout, .spout__drop, .spout__amt, .readout__n i { transition: none; }
  .alert__body.is-new, .stage.is-done .beyond__go { animation: none; }
}

/* ---------- every screen size (added 2026-11-13) ---------- */
@media (min-width: 1600px) { :root { --gutter: max(24px, calc((100vw - min(1240px + (100vw - 1600px) * 1.013, 1798px)) / 2)); } }
@media (min-width: 1600px) {
  h1 { font-size: clamp(56px, 22.4px + 2.1vw, 70px); }
  h2 { font-size: clamp(44px, 24.2px + 1.238vw, 52.8px); }
  .lede { font-size: clamp(18px, 12.6px + 0.3375vw, 20.7px); }
}
/* ---------- end every screen size ---------- */
