/* The website. The product's own tokens (tokens.css) and typeface, used plainly: flat colour, no gradients, no tinted boxes around icons, no pills, no label above every heading.
   One idea runs through it: a receipt. The hero prints one, the ticket is itemised like one, and a strip shows the 30 seconds Vehra keeps rolling until you point.
   Motion is for those, and nothing else. Everything is readable at rest; with reduced motion the finished state is shown and nothing moves. */
@font-face { font-family: "Vehra Sans"; src: url("manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
:root {
  --field: #2d5bff; --field-ink: #ffffff; --slot: #14267a;
  --night: #12151b; --night-ink: #eceef2; --night-muted: #b4bbc8; --night-line: #2f3542; --night-ok: #41c79b;
  --paper-tint: color-mix(in srgb, var(--v-accent) 7%, var(--v-surface));
  --leader: color-mix(in srgb, var(--v-ink) 28%, transparent);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--v-surface); color: var(--v-ink); font: 17px/1.7 var(--v-font-ui); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.skip { position: absolute; left: var(--space-3); top: -56px; background: var(--v-accent); color: var(--v-on-accent); padding: var(--space-1) var(--space-2); border-radius: 8px; z-index: 20; }
.skip:focus { top: var(--space-1); }
a { color: var(--v-accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: text-decoration-color 160ms; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--v-accent); outline-offset: 3px; }
.icon { width: 24px; height: 24px; flex: none; display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* header */
.top { position: relative; z-index: 5; padding: var(--space-2) 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--v-ink); text-decoration: none; }
.brand img { border-radius: 6px; }
nav { display: flex; gap: var(--space-4); flex-wrap: wrap; }
nav a { color: var(--v-ink-muted); text-decoration: none; padding: 12px 0; font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 220ms ease, color 160ms; }
nav a:hover, nav a[aria-current="page"] { color: var(--v-ink); background-size: 100% 2px; }
body.home .top { position: absolute; inset: 0 0 auto 0; }
body.home .brand, body.home nav a, body.home nav a:hover { color: var(--field-ink); }
body.home .brand img { box-shadow: 0 0 0 2px #ffffff; }
body.home .top a:focus-visible, .hero .button:focus-visible, .hero a:focus-visible, .band a:focus-visible, .band .button:focus-visible { outline-color: #ffffff; }

/* type */
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 84px); line-height: 1; font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-3); }
.lede { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; max-width: 31em; }
.note { font-size: 15px; color: var(--v-ink-muted); }
.mono { font-family: var(--v-font-mono); }

/* the button, and the plain line that stands in for it before launch */
.button { display: inline-block; background: var(--v-accent); color: var(--v-on-accent); text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 10px; transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20, 30, 90, 0.28); }
.beta-line { margin: 0 0 var(--space-3); font-weight: 700; }

/* the hero: flat colour, and the real receipt printing out of a slot */
.hero { position: relative; overflow: hidden; background: var(--field); color: var(--field-ink); padding: clamp(128px, 15vw, 184px) 0 clamp(40px, 5vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-5); align-items: start; }
.hero .copy { padding-bottom: clamp(72px, 9vw, 128px); min-width: 0; }
.hero .copy > * { animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .copy > :nth-child(2) { animation-delay: 120ms; }
.hero .copy > :nth-child(3) { animation-delay: 220ms; }
.hero .copy > :nth-child(4) { animation-delay: 300ms; }
.hero .copy > :nth-child(5) { animation-delay: 380ms; }
.hero h1, .hero .lede, .hero .beta-line { color: var(--field-ink); }
.hero .lede .name { color: #fff0b3; font-weight: 800; }
.hero .lede { margin: var(--space-4) 0 var(--space-5); font-weight: 500; }
.hero .button { background: #ffffff; color: #1a39bf; }
.hero .note { color: var(--field-ink); opacity: 0.92; margin: var(--space-5) 0 0; padding-top: var(--space-2); border-top: 1px solid rgba(255, 255, 255, 0.28); font-size: 14px; line-height: 1.55; max-width: 32em; }
/* The button's own caption (what pressing it does) belongs to the button: close under it, full strength. The note below it is fine print about how Vehra behaves: set apart, smaller, quieter. */
.cta { margin: 0; }
.cta-note { margin: var(--space-2) 0 0; font-size: 17px; font-weight: 500; line-height: 1.45; max-width: 26em; color: var(--v-ink-muted); }
.hero .cta-note { color: var(--field-ink); }
.hero a:not(.button) { color: var(--field-ink); text-decoration-thickness: 2px; }
.printer { position: relative; width: min(100%, 380px); margin-left: auto; padding-top: 12px; }
/* The housing is behind the paper; the dark opening is in front of it. The paper starts AT the opening, so there is no strip between the two. */
.slot { position: absolute; left: -16px; right: -16px; top: 0; height: 28px; border-radius: 14px; background: var(--slot); box-shadow: 0 10px 22px rgba(10, 20, 80, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.14); }
.slot i { position: absolute; z-index: 3; left: 12px; right: 12px; top: 10px; height: 4px; border-radius: 2px; background: #060b2b; }
.paper { position: relative; z-index: 2; overflow: hidden; animation: print 3.2s steps(64, end) 450ms both; padding-bottom: 12px; -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 12px repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 12px repeat-x; padding-top: 12px; background: #ffffff; } /* a little leading edge of paper above the first line */
/* The picture is the interface's own card, which has rounded corners. Paper does not: its first 14px (the rounding) are cut off, so the receipt leaves the slot with a straight, square top edge. */
.paper img { display: block; width: 100%; height: auto; margin-top: -14px; }

/* sections */
section { padding: clamp(88px, 11vw, 144px) 0; }
.sectionhead { max-width: 26em; margin-bottom: clamp(48px, 7vw, 96px); }
.sectionhead p { color: var(--v-ink-muted); font-size: 19px; margin: var(--space-3) 0 0; max-width: 30em; }

/* three facts: a coloured icon, a statement, one plain sentence; wide gutters, deep padding */
.trust { padding: clamp(104px, 12vw, 168px) 0; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 7vw, 112px); }
.fact { min-width: 0; }
.fact .icon { width: 44px; height: 44px; margin-bottom: var(--space-4); stroke-width: 1.6; }
.fact h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; margin-bottom: var(--space-2); text-wrap: wrap; }
.fact p { margin: 0; color: var(--v-ink-muted); font-size: 18px; line-height: 1.6; max-width: 20em; }
.ok { color: var(--v-ok); } .partial { color: var(--v-partial); } .missing { color: var(--v-ink-muted); } .accent { color: var(--v-accent); }

/* the 30 seconds: rolls, you point, it freezes, the failure lands on the receipt (a loop of 12 seconds) */
.recorder { background: var(--night); color: var(--night-ink); }
.recorder { padding: clamp(112px, 13vw, 176px) 0 clamp(96px, 11vw, 144px); }
.recorder h2 { color: var(--night-ink); max-width: 15em; }
.recorder .sectionhead p { color: var(--night-muted); }
.tape { position: relative; margin: var(--space-5) 0 var(--space-3); height: 200px; overflow: hidden; animation: tape-life 12s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.tape::before { content: ""; position: absolute; left: 0; right: 14%; bottom: 36px; height: 1px; background: var(--night-line); }
.tape .rollclip { position: absolute; inset: 0 14% 0 0; overflow: hidden; }
.tape .ticks { position: absolute; inset: 0 auto 0 0; width: 260%; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 0 36px; animation: roll 12s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.tape .ticks i { display: block; width: 3px; height: var(--h); background: var(--night-muted); opacity: 0.75; border-radius: 1px; }
.tape .ticks i.err { background: #ff7a70; opacity: 1; }
.tape .ticks i.fail { background: #ff7a70; opacity: 1; width: 5px; }
.tape .now { position: absolute; top: 0; bottom: 36px; right: 14%; width: 2px; background: var(--night-ink); }
.tape .now::before { content: "now"; position: absolute; top: -2px; left: 8px; font: 13px var(--v-font-mono); color: var(--night-muted); }
.tape .window { position: absolute; top: 6px; bottom: 36px; right: 14%; width: 56%; border: 2px solid var(--night-ok); border-right: 0; border-radius: 6px 0 0 6px; background: color-mix(in srgb, var(--night-ok) 12%, transparent); opacity: 0; animation: window-in 12s linear infinite; }
.tape .window::after { content: "the last 30 seconds, frozen"; position: absolute; left: 10px; bottom: -30px; white-space: nowrap; font: 13px var(--v-font-mono); color: var(--night-ok); }
.tape .point { position: absolute; right: calc(14% + 12px); top: 14px; padding: 6px 12px; border-radius: 8px; background: var(--v-accent); color: #fff; font: 600 13px var(--v-font-ui); opacity: 0; animation: point-in 12s linear infinite; }
.lines { margin: var(--space-4) 0 var(--space-4); display: grid; gap: 8px; font: 15px/1.5 var(--v-font-mono); min-height: 60px; }
.lines span { opacity: 0; transform: translateX(-8px); }
.lines .l1 { color: #ff7a70; animation: line1 12s linear infinite; }
.lines .l2 { color: var(--night-muted); animation: line2 12s linear infinite; }
.recorder .note { color: var(--night-muted); max-width: 40em; font-size: 15px; }
.pause { all: unset; cursor: pointer; margin-top: var(--space-2); font-size: 15px; color: var(--night-ink); text-decoration: underline; text-underline-offset: 3px; }
.pause:focus-visible { outline: 3px solid var(--night-ink); outline-offset: 3px; }
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* three moves: big numerals, no containers */
.moves ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 6vw, 88px); counter-reset: move; }
.move { counter-increment: move; display: flex; flex-direction: column; min-width: 0; }
.move::before { content: counter(move); font-size: 64px; line-height: 0.9; font-weight: 800; letter-spacing: -0.06em; color: var(--v-accent); margin-bottom: var(--space-2); }
.move h3 { margin-bottom: var(--space-1); }
.move p { color: var(--v-ink-muted); margin: 0; }
.move .shot { margin-top: var(--space-3); padding-top: var(--space-2); min-height: 250px; display: flex; align-items: flex-start; }
.move .shot img { display: block; width: 100%; max-width: 360px; height: auto; max-height: 240px; object-fit: contain; object-position: left top; filter: drop-shadow(0 8px 16px rgba(20, 30, 80, 0.18)); transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.move:hover .shot img { transform: translateY(-6px); }

/* the ticket, itemised like a receipt */
.ledgerband { background: var(--paper-tint); }
.ledgerband .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.ledgerband .sectionhead { margin-bottom: 0; }
.ledger { list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.ledger li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-2); margin: 0; padding: var(--space-3) 0; }
.ledger .icon { color: var(--v-accent); margin-top: 2px; transition: transform 200ms ease; }
.ledger li:hover .icon { transform: translateX(3px); }
.ledger .line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-1); }
.ledger .name { font-weight: 700; flex: 0 1 auto; min-width: 0; }
.ledger .leader { flex: 1 1 auto; min-width: 16px; border-bottom: 2px dotted var(--leader); transform: translateY(-4px); }
.ledger .kind { flex: none; font-size: 14px; color: var(--v-ink-muted); }
.ledger p { margin: 2px 0 0; color: var(--v-ink-muted); font-size: 15px; line-height: 1.5; }
.total { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 2px solid var(--v-ink); display: flex; justify-content: space-between; gap: var(--space-2); font-weight: 700; }
.total span:last-child { font-size: 15px; font-weight: 500; color: var(--v-ink-muted); text-align: right; }

/* the receipt, and its three statuses */
.receipt { background: var(--paper-tint); }
.integrations .ledger .icon { width: 28px; height: 28px; color: var(--v-ink); } /* one colour for all four: the company marks are black, so the plain icons match them */
.receipt .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.receipt .art img { display: block; width: min(100%, 400px); height: auto; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(20, 30, 80, 0.22)); }
.legend { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.legend li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--space-2); align-items: start; margin: 0; }
.legend .icon { width: 36px; height: 36px; }
.legend strong { display: block; font-size: 18px; }
.legend span { color: var(--v-ink-muted); }

/* what it does not do */
.limits { display: grid; gap: var(--space-4); list-style: none; margin: 0; padding: 0; max-width: 42em; }
.limits li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-2); margin: 0; align-items: start; font-size: 19px; line-height: 1.6; }
.limits .icon { color: var(--v-ink-muted); margin-top: 4px; }
.more { margin-top: var(--space-5); }

/* the closing band */
.band { background: var(--field); color: var(--field-ink); padding: clamp(96px, 13vw, 176px) 0; overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.bandcopy { min-width: 0; }
.pair { position: relative; height: 480px; min-width: 0; }
.pair img { position: absolute; display: block; height: auto; filter: drop-shadow(0 20px 36px rgba(8, 20, 70, 0.32)) drop-shadow(0 3px 8px rgba(8, 20, 70, 0.2)); transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.pair .behind { width: min(60%, 330px); right: 2%; top: 0; transform: rotate(3deg); }
.pair .ahead { width: min(72%, 400px); left: 0; bottom: 20px; transform: rotate(-2.4deg); z-index: 2; }
.pair:hover .behind { transform: rotate(1.4deg) translateY(-6px); }
.pair:hover .ahead { transform: rotate(-1deg) translateY(4px); }
.band h2, .band p, .band .beta-line { color: var(--field-ink); }
.band h2 { max-width: 12em; }
.band p { max-width: 31em; margin: var(--space-3) 0 var(--space-4); font-size: 19px; }
.band .button { background: #ffffff; color: #1a39bf; }
.band a:not(.button) { color: var(--field-ink); }

/* inner pages */
.pagehead { background: var(--paper-tint); padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 80px); }
.pagehead h1 { font-size: clamp(38px, 5.6vw, 60px); }
.pagehead .lede { margin: var(--space-2) 0 0; color: var(--v-ink-muted); }
.prose, .doc { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(80px, 10vw, 144px); }
.prose > *, .doc > * { max-width: 44rem; }
.prose h2, .doc h2 { font-size: 28px; margin: var(--space-6) 0 var(--space-3); }
.prose h3 { margin: var(--space-4) 0 var(--space-1); }
.steps { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: var(--space-3); counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-2); margin: 0; align-items: first baseline; }
.steps li::before { content: counter(step); font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.05em; color: var(--v-accent); }
.demofig { margin: var(--space-4) 0; background: var(--field); padding: var(--space-5) var(--space-3); display: flex; justify-content: center; border-radius: 4px; }
.demofig img { max-width: min(100%, 520px); height: auto; }
.cardlist { list-style: none; padding: 0; margin: 0 0 var(--space-3); }
.cardlist li { margin: 0; padding: var(--space-2) 0; border-top: 1px solid var(--v-line); }
.cardlist li:last-child { border-bottom: 1px solid var(--v-line); }
.cardlist strong { display: block; margin-bottom: 2px; }

ul, ol { margin: 0 0 var(--space-3); padding-left: var(--space-4); }
li { margin: 0 0 var(--space-1); }
code { font-family: var(--v-font-mono); font-size: 0.88em; background: var(--v-surface-raised); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }
pre { background: var(--v-surface-raised); padding: var(--space-3); white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--v-font-mono); font-size: 13px; line-height: 1.5; }
pre code { background: none; padding: 0; }
blockquote { margin: 0 0 var(--space-3); padding: var(--space-2) var(--space-3); background: var(--v-surface-raised); }
blockquote p { margin: 0; color: var(--v-ink-muted); }
.table { margin: 0 0 var(--space-3); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td { text-align: left; vertical-align: top; padding: var(--space-1) var(--space-2) var(--space-1) 0; overflow-wrap: anywhere; font-weight: 400; }
th[scope="col"] { color: var(--v-ink-muted); font-size: 13px; font-weight: 600; }
th[scope="row"] { font-weight: 600; }
tbody tr { border-top: 1px solid var(--v-line); }

footer { background: var(--night); color: var(--night-muted); padding: clamp(72px, 9vw, 112px) 0 clamp(56px, 7vw, 88px); font-size: 16px; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
footer .brand { color: var(--night-ink); font-size: 22px; }
footer .foot-brand p { margin: var(--space-2) 0 0; max-width: 20em; line-height: 1.55; }
footer .foot-brand .foot-line { color: var(--night-ink); font-weight: 700; margin-top: var(--space-4); }
footer .foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-5); }
footer .foot-title { margin: 0 0 var(--space-2); color: var(--night-ink); font-weight: 700; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 0 0 10px; }
footer a { color: var(--night-muted); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color 160ms, background-size 200ms ease; padding: 2px 0; }
footer a:hover { color: var(--night-ink); background-size: 100% 1px; }
footer .foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: var(--space-2) var(--space-4); flex-wrap: wrap; margin-top: clamp(24px, 4vw, 56px); padding-top: var(--space-4); font-size: 14px; }
footer .foot-base p { margin: 0; }
footer a:focus-visible { outline: 3px solid var(--night-ink); outline-offset: 3px; color: var(--night-ink); }
/* the home header turns every nav link white; the footer's links keep their own colour on every page */
footer .foot-cols a, body.home footer .foot-cols a { color: var(--night-muted); }
footer .foot-cols a:hover, body.home footer .foot-cols a:hover { color: var(--night-ink); }

/* motion */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* printed from the top, line by line, the way a receipt comes out */
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* the 12 second loop of the strip: 0-8% in, 8-56% rolling, 58% pointed, 60-70% frozen and framed, 72-90% the lines, 94-100% out */
@keyframes tape-life { 0% { opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes roll { 0% { transform: translateX(0); } 56% { transform: translateX(-38%); } 100% { transform: translateX(-38%); } }
@keyframes point-in { 0%, 56% { opacity: 0; transform: translateY(6px); } 58%, 70% { opacity: 1; transform: none; } 74%, 100% { opacity: 0; } }
@keyframes window-in { 0%, 58% { opacity: 0; width: 20%; } 66%, 94% { opacity: 1; width: 56%; } 100% { opacity: 0; width: 56%; } }
@keyframes line1 { 0%, 66% { opacity: 0; transform: translateX(-8px); } 72%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes line2 { 0%, 76% { opacity: 0; transform: translateX(-8px); } 82%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* the status icons draw themselves as they come into view (only where the browser can tie an animation to scroll; elsewhere they are simply drawn) */
@supports (animation-timeline: view()) {
  .draw :is(path, circle, line, rect, polyline, ellipse) { stroke-dasharray: 1; animation: draw linear both; animation-timeline: view(); animation-range: entry 15% entry 85%; }
}

@media (max-width: 900px) {
  footer .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .hero { padding-top: 104px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .hero .copy { padding-bottom: var(--space-2); }
  .printer { margin: 0 auto; width: min(86%, 360px); }
  .trio, .moves ol, .ledgerband .wrap, .receipt .wrap, .limits { grid-template-columns: minmax(0, 1fr); }
  .ledgerband .wrap, .receipt .wrap { gap: var(--space-4); }
  .move::before { font-size: 64px; }
  .tape .window { width: 70%; }
  .band .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .pair { height: 460px; max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 520px) { nav { gap: 0 var(--space-3); } nav a { padding: 8px 0; } .hero { padding-top: 168px; } .tape { height: 130px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* the finished frame of each moving thing */
  .tape .ticks { transform: translateX(-38%); }
  .tape .window { opacity: 1; }
  .tape .point { opacity: 0; }
  .lines span { opacity: 1; transform: none; }
}

/* illustration: the ticket as layers of evidence over the page (decorative; the list beside it says the same in words) */
.ledgerhead { position: sticky; top: var(--space-5); }
.layers { margin-top: clamp(88px, 11vw, 144px); height: 420px; perspective: 1100px; display: flex; align-items: center; justify-content: center; }
.stack { --lift: 52px; position: relative; width: 250px; height: 160px; margin-top: 90px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-32deg); animation: hover-stack 7s ease-in-out infinite; }
.plane { position: absolute; inset: 0; border-radius: 8px; border: 2px solid var(--c); background: transparent; transform: translateZ(calc(var(--i) * var(--lift, 44px))); transform-style: preserve-3d; }
.plane b { position: absolute; right: 10px; bottom: 8px; font: 600 13px var(--v-font-mono); letter-spacing: 0.02em; color: var(--v-ink); }
.plane.page { --c: var(--v-ink-muted); }
.plane.page b { right: auto; left: 10px; bottom: auto; top: 8px; }
.plane.page u { position: absolute; left: 10px; right: 10px; height: 8px; border-radius: 2px; background: color-mix(in srgb, var(--v-ink-muted) 28%, transparent); text-decoration: none; }
.plane.page u:nth-of-type(1) { top: 36px; width: 60%; } .plane.page u:nth-of-type(2) { top: 56px; } .plane.page u:nth-of-type(3) { top: 76px; width: 44%; background: color-mix(in srgb, var(--v-accent) 60%, transparent); height: 26px; border-radius: 6px; }
.plane.net { --c: var(--v-accent); } .plane.con { --c: var(--v-accent); } .plane.ele { --c: var(--v-ok); } .plane.stp { --c: var(--v-ok); } .plane.shot { --c: var(--v-partial); } .plane.rec { --c: var(--v-partial); }

/* illustration: the gap, drawn */
.gap { margin: 0; }
.gap svg { display: block; width: 100%; height: auto; overflow: visible; }
.gap text { font: 500 15px var(--v-font-mono); fill: var(--v-ink-muted); }
.gap .lab { font: 700 17px var(--v-font-ui); fill: var(--v-ink); }
.gap .axis line { stroke: var(--v-ink-muted); stroke-width: 1.5; }
.gap .axis text { text-anchor: middle; }
.gap .bar.ok { fill: var(--v-ok); }
.gap .hatch-bg { fill: color-mix(in srgb, var(--v-partial) 14%, var(--v-surface)); }
.gap .hatch-line { stroke: var(--v-partial); stroke-width: 3; }
.gap .gap-bar { stroke: var(--v-partial); stroke-width: 2; }
.gap .note path { fill: none; stroke: var(--v-partial); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gap .note text { fill: var(--v-ink); font-weight: 600; }
.gap .note .sub { fill: var(--v-ink-muted); font-weight: 400; }
.gap figcaption { margin-top: var(--space-3); color: var(--v-ink-muted); font-size: 14px; }
@keyframes hover-stack { 0%, 100% { --lift: 40px; transform: rotateX(58deg) rotateZ(-32deg) translateZ(0); } 50% { --lift: 54px; transform: rotateX(58deg) rotateZ(-26deg) translateZ(6px); } }
@property --lift { syntax: "<length>"; inherits: true; initial-value: 30px; }
@keyframes bar-in { from { transform: scaleX(0); } to { transform: none; } }
@supports (animation-timeline: view()) {
  .gap .bar { transform-box: fill-box; transform-origin: left center; animation: bar-in linear both; animation-timeline: view(); animation-range: entry calc(20% + var(--d, 0) * 8%) entry calc(75% + var(--d, 0) * 8%); }
}
@media (max-width: 900px) { .ledgerhead { position: static; } .layers { height: 340px; margin-top: 200px; } .stack { width: 210px; height: 135px; --lift: 52px; } }
@media (prefers-reduced-motion: reduce) { .stack { transform: rotateX(58deg) rotateZ(-30deg); --lift: 46px; } }

.watch { padding: clamp(72px, 9vw, 128px) 0 0; }
.watch .sectionhead { margin-bottom: clamp(32px, 4vw, 56px); }
.transcript { max-width: 960px; margin-top: var(--space-3); color: var(--v-ink-muted); }
.transcript summary { cursor: pointer; font-weight: 600; }
.transcript p { margin: var(--space-2) 0 0; max-width: 40em; }

/* How it works: pictures of the real interface beside the words, and plain icons (never in a box) leading each part. */
.hsec { padding: clamp(56px, 7vw, 104px) 0; }
.hsec h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 0 0 var(--space-4); max-width: 22em; }
.hsec h3 { margin: 0 0 var(--space-1); font-size: 24px; }
.hsec p { max-width: 36em; }
.hsec.htint { background: var(--paper-tint); }
.hsec.hwatch { padding-bottom: 0; }
.hlead { color: var(--v-ink-muted); font-size: 18px; margin: 0 0 var(--space-3); }
.hmore { color: var(--v-ink-muted); margin: var(--space-3) 0 0; }
.hsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 6vw, 88px); }
.hrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin: 0; }
.hrow:nth-child(even) .copy { order: 2; }
.hrow .num { display: block; font-size: 64px; line-height: 0.9; font-weight: 800; letter-spacing: -0.06em; color: var(--v-accent); margin-bottom: var(--space-2); }
.hrow .copy p { margin: 0; color: var(--v-ink-muted); font-size: 18px; }
.hart { background: var(--field); border-radius: 8px; padding: clamp(24px, 4vw, 56px); display: flex; justify-content: center; align-items: center; min-height: 220px; min-width: 0; }
.hart img { display: block; max-width: 100%; height: auto; filter: drop-shadow(0 8px 16px rgba(20, 30, 80, 0.25)); }
.hsplit { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hsplit .hart { position: sticky; top: var(--space-4); }
.hparts, .hafter, .hlegend { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.hafter { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-5); }
.hlegend { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-bottom: var(--space-3); }
.hparts li, .hafter li, .hlegend li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--space-2); margin: 0; align-items: start; }
.hparts .icon, .hafter .icon, .hlegend .icon { width: 28px; height: 28px; color: var(--v-accent); stroke-width: 1.7; }
.hlegend .icon { width: 36px; height: 36px; color: currentColor; }
.hlegend li { grid-template-columns: 40px minmax(0, 1fr); }
.hparts strong, .hafter strong, .hlegend strong { display: block; margin-bottom: 2px; color: var(--v-ink); }
.hparts p, .hafter p, .hlegend p { margin: 0; color: var(--v-ink-muted); }
@media (max-width: 860px) {
  .hrow, .hsplit, .hafter, .hlegend { grid-template-columns: minmax(0, 1fr); }
  .hrow:nth-child(even) .copy { order: 0; }
  .hsplit .hart { position: static; }
}

/* The video player: one cover for both modes. A flat dark wash over the poster, what the video is about at the bottom, a large play triangle in the middle (no circle, no box). */
.playerbox { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 10; background: var(--field); border-radius: 8px; box-shadow: 0 8px 28px rgba(20, 23, 28, 0.12); }
.playframe { position: absolute; inset: 0; border-radius: 8px; overflow: hidden; background: var(--field); }
.playframe .player { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; aspect-ratio: auto; background: var(--field); box-shadow: none; border-radius: 0; margin: 0; }
.playcover { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: #ffffff; cursor: pointer; text-decoration: none; font: inherit; text-align: left; }
.playcover[hidden] { display: none; }
.playlink img.player { position: absolute; inset: 0; }
.pc-wash { position: absolute; inset: 0; background: rgba(20, 23, 28, 0.5); }
.pc-play { position: absolute; left: 50%; top: 50%; width: clamp(64px, 12vw, 112px); height: clamp(64px, 12vw, 112px); margin: calc(clamp(64px, 12vw, 112px) / -2) 0 0 calc(clamp(64px, 12vw, 112px) / -2); color: #ffffff; }
.pc-play .icon { width: 100%; height: 100%; fill: currentColor; stroke: currentColor; stroke-width: 1; }
.pc-copy { position: absolute; left: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 28px); display: grid; gap: 4px; }
.pc-copy strong { font-size: clamp(18px, 2.6vw, 26px); letter-spacing: -0.02em; }
.pc-copy span { font-size: clamp(14px, 1.6vw, 17px); max-width: 34em; }
.playcover:hover .pc-play, .playcover:focus-visible .pc-play { transform: scale(1.06); }
.playcover:focus-visible { outline: 3px solid #ffffff; outline-offset: -6px; }
@media (prefers-reduced-motion: no-preference) { .pc-play { transition: transform 200ms ease; } }
/* Scrolled past while playing: the same element sits at the bottom right until the player is back in view. The box keeps its size, so the page does not jump. */
.playframe.mini { position: fixed; inset: auto 24px 24px auto; width: 320px; height: 200px; z-index: 60; border-radius: 8px; box-shadow: 0 16px 48px rgba(20, 23, 28, 0.45); }
.minibar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: flex-end; gap: var(--space-1); padding: 6px 8px; background: rgba(20, 23, 28, 0.72); }
.minibar[hidden] { display: none; }
.minibar button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: #ffffff; cursor: pointer; }
.minibar button:focus-visible { outline: 2px solid #ffffff; outline-offset: 1px; }
.minibar .icon { width: 18px; height: 18px; }
.playframe.mini .minibar + * { }
.playframe.mini video.player, .playframe.mini iframe.player { margin-top: 0; }
@media (max-width: 480px) { .playframe.mini { inset: auto 16px 16px auto; width: 240px; height: 150px; } }

/* Questions: plain native disclosure, no script. A hairline between rows, a plus that turns into a minus. */
.faq { padding: clamp(72px, 9vw, 128px) 0; background: var(--paper-tint); }
.faqlist { max-width: 46rem; }
.faqlist details { border-top: 1px solid var(--v-line); }
.faqlist details:last-child { border-bottom: 1px solid var(--v-line); }
.faqlist summary { cursor: pointer; list-style: none; padding: var(--space-3) 0; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: var(--space-3); }
.faqlist summary::-webkit-details-marker { display: none; }
.faqlist summary::after { content: "+"; font-weight: 400; color: var(--v-accent); flex: none; }
.faqlist details[open] summary::after { content: "\2212"; }
.faqlist summary:focus-visible { outline: 3px solid var(--v-accent); outline-offset: 2px; }
.faqlist details p { margin: 0 0 var(--space-3); color: var(--v-ink-muted); font-size: 18px; max-width: 38em; }
