/* tiles used by the closing wall */
.wall__col { --tw: 168px; width: var(--tw); height: calc((var(--tw) * 1.19 + 14px) * var(--per, 10)); }
.wall__col:nth-child(3n+2) { margin-top: 110px; }
.wall__col:nth-child(3n) { margin-top: 36px; }
.wall__run { display: flex; flex-direction: column; }
.rv .wall__run { animation: wall-up var(--d, 46s) linear infinite; }
.rv .wall__col[data-dir="down"] .wall__run { animation-name: wall-down; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.mt { width: var(--tw); height: calc(var(--tw) * 1.19); margin-bottom: 14px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 24px; border: 1px solid var(--line); background: var(--tile); box-shadow: 0 10px 24px rgb(var(--sh-c) / calc(.4 * var(--sh-k))); }
.mt--paid { background: var(--tile-paid); }
.rv .mt--paid { animation: paid-glow 4.8s ease-in-out infinite; }
@keyframes paid-glow { 0%, 70%, 100% { border-color: var(--line); } 82% { border-color: rgb(var(--money-c) / .5); box-shadow: 0 14px 30px rgb(var(--sh-c) / calc(.42 * var(--sh-k))); } }
.mt p { margin: 0; font-size: 13px; line-height: 1.3; color: var(--subtle); }
.mt b { display: block; margin-top: 3px; font: 500 22px/1.1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.mt b.pos { color: var(--num); }
.mt__bars { display: flex; align-items: flex-end; gap: 6px; height: 48px; }
.mt__bars i { width: 12px; border-radius: 3px; background: rgb(var(--fg) / .25); }
.mt__bars i:last-child { background: var(--hi); }

/* ===== Product chapters ===== */
.ch { position: relative; border-top: 1px solid var(--line); }
.ch__rail { display: none; }
.ch__item { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: var(--sec); }
.ch__item + .ch__item { border-top: 1px solid var(--line); }
.ch__copy { display: grid; gap: 22px; align-content: center; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 7px; background: rgb(var(--fg) / .08) var(--tick) center / 12px no-repeat; }
.ch__vis { position: relative; height: 600px; }
.fitbox { position: absolute; left: 50%; top: 50%; width: 560px; height: 600px; transform: translate(-50%, -50%) scale(var(--s, 1)); }
.scn { position: absolute; inset: 0; perspective: 1500px; }
@media (max-width: 900px) {
  .ch__item { grid-template-columns: minmax(0, 1fr); }
  .ch__vis { height: auto; aspect-ratio: 560 / 600; }
  .ch__vis { --s: .6; }
}
.ch__segs { display: flex; gap: 10px; width: min(460px, 100%); }
.ch__seg { flex: 1; display: grid; gap: 9px; margin: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: 600 12.5px/1 var(--body); color: var(--muted); transition: color .3s; }
.ch__seg:hover, .ch__seg.is-on { color: var(--ink); }
.ch__seg i { position: relative; height: 2px; border-radius: 2px; background: rgb(var(--fg) / .12); overflow: hidden; }
.ch__seg .ch__fill { position: absolute; inset: 0; background: var(--hi); transform-origin: left; transform: scaleX(0); }
/* Motion, 761px and up: the copy scrolls in the page's own flow, and one sticky panel beside it shows the active
   chapter's scene. No pin, so the page is as tall as it looks. clip, not hidden: sticky needs no scrolling ancestor.
   The articles step aside (display: contents) so every copy block and every scene sits in one grid:
   copy down column 1, all five scenes stacked in the same sticky slot in column 2. Behaviour: src/js/home.js. */
@media (min-width: 761px) {
  /* --ch-top is where the space under the nav and rail starts; --ch-room ends above the floating bar (nav.css), which is up
     all through this section. The scene panel and the active copy are both centred in that room. */
  .motion .ch { --ch-top: calc(var(--nav-h) + 72px); --ch-room: calc(100vh - var(--ch-top) - 96px); overflow: clip; padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 104px); }
  /* The rail lives in the scene column, held just above the sticky panel. Its box runs down to the panel's bottom edge,
     so the two let go together at the end of the section and the rail never slides over the scene. */
  .motion .ch__rail { display: block; grid-column: 2; grid-row: 1 / -1; align-self: start; height: calc(min(600px, var(--ch-room)) + 62px); position: sticky; top: calc(var(--ch-top) + (var(--ch-room) - min(600px, var(--ch-room))) / 2 - 62px); z-index: 5; pointer-events: none; }
  .motion .ch__segs { pointer-events: auto; width: min(560px, 100%); margin-inline: auto; padding: 11px 16px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgb(var(--bg-c) / .78); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
  /* The last row is spare room, so the panel can stay held while the fifth chapter is read on a short screen. */
  .motion .ch__grid { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: repeat(5, auto) 6vh; column-gap: clamp(32px, 5vw, 80px); }
  .motion .ch__item { display: contents; }
  /* The padding moves the centre of the copy to the centre of the room, level with the panel. */
  .motion .ch__copy { grid-column: 1; min-height: 78vh; padding-block: var(--ch-top) 96px; opacity: .45; transform: translateX(-10px); transition: opacity .5s, transform .5s; }
  .motion .ch__item:nth-of-type(1) .ch__copy { grid-row: 1; }
  .motion .ch__item:nth-of-type(2) .ch__copy { grid-row: 2; }
  .motion .ch__item:nth-of-type(3) .ch__copy { grid-row: 3; }
  .motion .ch__item:nth-of-type(4) .ch__copy { grid-row: 4; }
  .motion .ch__item:nth-of-type(5) .ch__copy { grid-row: 5; }
  .motion .ch__item.is-active .ch__copy { opacity: 1; transform: none; }
  /* All five scenes share one sticky slot, never taller than the room. Inactive ones fade out, then leave the tab order. */
  .motion .ch__vis { grid-column: 2; grid-row: 1 / -1; align-self: start; margin-top: 62px; position: sticky; top: calc(var(--ch-top) + (var(--ch-room) - min(600px, var(--ch-room))) / 2); height: min(600px, var(--ch-room)); aspect-ratio: auto; min-width: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(18px) scale(.98); transition: opacity .5s, transform .5s var(--ease), visibility 0s linear .5s; }
  .motion .ch__item.is-active .ch__vis { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .5s, transform .5s var(--ease), visibility 0s; }
}
@media (min-width: 761px) and (max-height: 760px) { .motion .ch .h2 { font-size: clamp(2.2rem, 8.4vh, 4.6rem); } }
@media (min-width: 761px) and (max-width: 900px) {
  .motion .ch__grid { column-gap: 28px; }
  .motion .ch .h2 { font-size: clamp(2rem, 4.6vw, 2.6rem); }
  .motion .ch .lead { font-size: 15px; }
}

/* Scene: invoice */
.scn--inv { display: grid; place-items: center; }
.doc { position: relative; width: 480px; padding: 28px; border-radius: 28px; }
.doc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.doc__brand { display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--body); letter-spacing: .3em; }
.doc__brand img { width: 22px; }
.doc__title { margin: 22px 0 4px; font: 500 38px/1 var(--display); letter-spacing: -.03em; }
.doc__no { color: var(--muted); font-size: 14px; }
.doc__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 6px; padding: 14px 0; border-block: 1px solid var(--line); }
.doc__meta dt { font-size: 12.5px; color: var(--muted); }
.doc__meta dd { margin: 2px 0 0; font-size: 14.5px; }
.doc__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgb(var(--fg) / .09); font-size: 15px; }
.doc__row span:first-child { color: var(--ink-2); }
.doc__row span:last-child { font-variant-numeric: tabular-nums; }
.doc__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.doc__total span { color: var(--muted); font-size: 14px; }
.doc__total b { font: 500 36px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.doc__lut { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: rgb(var(--fg) / .06); color: var(--ink-2); font-size: 13px; }
.doc__pay { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.paybtn { height: 46px; padding: 0 20px; border-radius: 12px; background: var(--hi); color: var(--btn-ink); font: 700 15px/1 var(--body); display: inline-flex; align-items: center; }
.doc__pay small { font-size: 12.5px; color: var(--muted); line-height: 1.3; max-width: 15ch; }
.doc__fira { position: absolute; right: 28px; bottom: 28px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 12px; background: var(--tile-paid); border: 1px solid rgb(var(--money-c) / .3); font: 600 13px/1 var(--body); }
.doc__fira .ic { width: 28px; height: 28px; border-radius: 8px; color: var(--money); background: rgb(var(--money-c) / .12); }
.doc__fira .ic svg { width: 15px; height: 15px; }
.cursor { position: absolute; left: 0; top: 0; width: 28px; height: 28px; z-index: 5; opacity: 0; pointer-events: none; filter: drop-shadow(0 4px 8px rgb(var(--sh-c) / calc(.5 * var(--sh-k)))); }
.ripple { position: absolute; left: 0; top: 0; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--hi); opacity: 0; pointer-events: none; z-index: 4; }

/* Scene: payment link */
.plink { position: absolute; left: 14px; top: 34px; width: 362px; padding: 22px; border-radius: 26px; z-index: 1; }
.plink__top { display: flex; align-items: center; gap: 10px; }
.plink__lbl { flex: 1; font: 600 13px/1 var(--body); color: var(--ink-2); }
.plink .plink__t { margin: 20px 0 2px; color: var(--ink); font: 500 26px/1.15 var(--display); letter-spacing: -.02em; }
.plink p { margin: 0; font-size: 13.5px; color: var(--muted); }
.plink__amt { display: block; margin-top: 18px; font: 500 46px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plink__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.plink__btns { display: flex; gap: 8px; }
.btn--xs { height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13px; gap: 6px; }
.btn--xs svg { width: 15px; height: 15px; }
.paycard { position: absolute; left: 262px; top: 300px; width: 284px; padding: 20px; border-radius: 26px; z-index: 2; background: var(--tile-hi); }
.paycard__amt { display: block; margin-top: 6px; font: 500 34px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.paycard__for { margin: 4px 0 12px; font-size: 13px; color: var(--muted); }
.paycard__field { margin-top: 8px; padding: 9px 12px; border-radius: 12px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); }
.paycard__field span { display: block; font-size: 11.5px; color: var(--muted); }
.paycard__field b { display: block; margin-top: 2px; font: 600 14px/1.25 var(--body); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.paycard__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paycard__btn { margin-top: 14px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--hi); color: var(--btn-ink); font: 700 15px/1 var(--body); transition: background-color .3s, color .3s; }
.paycard__btn.is-paid { background: rgb(var(--money-c) / .14); color: var(--money); }
.paycard__btn.is-paid::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 25l9 8.5L39 13'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 25l9 8.5L39 13'/%3E%3C/svg%3E") center / contain no-repeat; }
.psettle { position: absolute; left: 18px; top: 410px; width: 228px; padding: 14px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; border-radius: 20px; z-index: 2; }
.psettle p { margin: 0; font-size: 12.5px; color: var(--subtle); }
.psettle b { display: block; margin-top: 2px; font: 500 24px/1.05 var(--display); color: var(--num); font-variant-numeric: tabular-nums; }

/* Scene: accounts */
.acard { position: absolute; left: 40px; top: 70px; width: 480px; padding: 22px 24px 24px; border-radius: 28px; z-index: 2; }
.acard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.acard__top b { font: 500 18px/1.2 var(--display); letter-spacing: -.01em; }
.acc__tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.ctab { justify-content: center; min-width: 0; height: 36px; padding: 0 6px; border: 0; border-radius: 10px; background: rgb(var(--fg) / .06); color: var(--ink-2); font: 600 12.5px/1 var(--body); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; transition: background-color .25s, color .25s; }
.ctab img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; flex: none; }
.ctab:hover { background: rgb(var(--fg) / .1); }
.ctab[aria-selected="true"] { background: var(--btn); color: var(--btn-ink); }
.ctab__ic { flex: none; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; background: rgb(var(--fg) / .12); }
.ctab__ic svg { width: 13px; height: 13px; }
.ctab--more { cursor: default; padding: 0 12px; color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.acc__panel { margin-top: 18px; padding: 20px; border-radius: 20px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); min-height: 284px; }
.acc__head { display: flex; align-items: center; gap: 14px; }
.acc__flag { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; flex: none; }
.acc__flag img { width: 100%; height: 100%; object-fit: cover; }
.acc__name { flex: 1; min-width: 0; }
.acc__name b { display: block; font: 500 19px/1.2 var(--display); letter-spacing: -.01em; }
.acc__name span { font-size: 13.5px; color: var(--muted); }
.acc__dl { margin: 14px 0 0; }
.acc__dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.acc__dl dt { font-size: 14px; color: var(--muted); }
.acc__dl dd { margin: 0; font: 500 15.5px/1.3 var(--body); font-variant-numeric: tabular-nums; letter-spacing: .02em; text-align: right; }
.acc__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.copybtn { height: 34px; padding: 0 12px 0 10px; border-radius: 10px; border: 0; background: rgb(var(--fg) / .08); color: var(--ink); font: 600 13px/1 var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.copybtn svg { width: 15px; height: 15px; }
.fl { position: absolute; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; z-index: 1; }
.fl img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }

/* Scene: FIRA */
.fstack { position: absolute; left: 0; right: 0; top: 0; height: 470px; }
.fdoc { position: absolute; left: 115px; top: 122px; width: 330px; padding: 20px; }
.fdoc:nth-child(1) { transform: translate(-90px, -110px) rotate(-8deg); }
.fdoc:nth-child(2) { transform: translate(-40px, -60px) rotate(-5deg); }
.fdoc:nth-child(3) { transform: translate(10px, -10px) rotate(-1.5deg); }
.fdoc:nth-child(4) { transform: translate(60px, 40px) rotate(2.5deg); }
.fdoc__top { display: flex; justify-content: space-between; align-items: center; }
.fdoc h3 { margin: 18px 0 2px; font: 500 22px/1.2 var(--display); letter-spacing: -.01em; }
.fdoc p { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.fdoc dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.fdoc dt { font-size: 12px; color: var(--muted); }
.fdoc dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fbar { position: absolute; left: 60px; right: 60px; bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 20px; }
.fbar__t b { display: block; font: 500 17px/1.2 var(--display); }
.fbar__t span { font-size: 13px; color: var(--muted); }
.fbar .btn { height: 42px; padding: 0 16px; font-size: 14px; }
.fbar .btn svg { width: 16px; height: 16px; }

/* Scene: income */
.scn--trk { display: grid; grid-template-columns: 300px 248px; grid-template-rows: 318px 270px; gap: 12px; align-content: center; }
.dsum { grid-row: span 2; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.dsum__big { margin-top: 4px; font: 500 46px/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.up { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--num); }
.up svg { width: 13px; height: 13px; flex: none; }
.bars { margin-top: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; height: 330px; }
.bar { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; height: 100%; }
.bar i { display: block; align-self: end; border-radius: 7px 7px 4px 4px; background: rgb(var(--fg) / .25); transform-origin: bottom; }
.bar.is-now i { background: var(--hi); }
.bar span { font-size: 12px; color: var(--muted); text-align: center; }
.bar em { font-style: normal; font-size: 11.5px; text-align: center; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dcli { padding: 20px 20px 8px; }
.dtitle { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.dtitle b { font: 500 17px/1.2 var(--display); }
.crow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.crow b { display: block; font-weight: 600; font-size: 14px; line-height: 1.25; }
.crow span { font-size: 12px; color: var(--muted); }
.crow .amt { display: grid; gap: 4px; justify-items: end; font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: var(--ink); }
.crow .pill { height: 22px; padding: 0 8px; font-size: 11.5px; }
.dtax { padding: 20px; display: grid; gap: 18px; align-content: center; }
.meter b { display: flex; justify-content: space-between; align-items: baseline; font: 500 17px/1.2 var(--display); }
.meter b span { font: 500 13px var(--body); color: var(--muted); }
.meter p { margin: 4px 0 10px; font-size: 13px; color: var(--muted); }
.track { height: 8px; border-radius: 99px; background: rgb(var(--fg) / .08); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: inherit; background: var(--hi); transform-origin: left; }

/* ===== Fees ===== */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.price { padding: var(--pad-lg); border-radius: 28px; display: grid; gap: 18px; align-content: start; }
.price__top { display: flex; align-items: center; gap: 12px; }
.price__top b { font: 500 22px/1.2 var(--display); letter-spacing: -.01em; }
.price__num { font: 500 clamp(4rem, 8vw, 6.6rem)/.9 var(--display); letter-spacing: -.035em; }
.price__num span { margin-left: 10px; font: 500 clamp(1rem, 1.6vw, 1.3rem) var(--body); letter-spacing: 0; color: var(--ink-2); vertical-align: .9em; }
.price .ticks { margin: 0; }
.dom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 14px; padding: 22px var(--pad-lg); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.dom__t b { display: block; font: 500 22px/1.2 var(--display); letter-spacing: -.01em; }
.dom__t span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.dom__p { flex: none; display: flex; align-items: baseline; gap: 10px; }
.dom__p b { font: 500 clamp(2rem, 3.6vw, 2.8rem)/1 var(--display); letter-spacing: -.03em; }
.dom__p span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .dom { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; } }
.incl { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.incl li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.incl li::before { content: ""; width: 20px; height: 20px; border-radius: 7px; background: rgb(var(--money-c) / .14) var(--tick) center / 11px no-repeat; }
.calc__h { margin: clamp(56px, 7vw, 88px) 0 18px; font: 500 clamp(1.4rem, 2.2vw, 1.8rem)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink-2); }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } .incl { justify-content: flex-start; flex-direction: column; } }
.calc { padding: var(--pad-lg); border-radius: 28px; }
.calc__q, .calc__a { margin: 0; font: 500 clamp(1.9rem, 4.4vw, 3.9rem)/1.14 var(--display); letter-spacing: -.035em; }
.calc__q { color: var(--ink-2); max-width: 22ch; }
.calc__a { margin-top: 18px; }
.calc__cur { margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.calc__a output { color: var(--num); font-variant-numeric: tabular-nums; }
.inl { display: inline-flex; align-items: baseline; gap: .12em; border-bottom: 2px solid var(--line-2); color: var(--ink); transition: border-color .2s; }
.inl:focus-within { border-color: var(--ink); }
.inl input, .inl select { font: inherit; letter-spacing: inherit; color: inherit; background: transparent; border: 0; outline: 0; padding: 0; margin: 0; -webkit-appearance: none; appearance: none; font-variant-numeric: tabular-nums; }
.inl input { width: 4.2ch; min-width: 1ch; }
.inl select { cursor: pointer; padding-right: .55em; background: var(--chev) no-repeat right .05em center / .32em auto; }
.inl select option { background: var(--panel); color: var(--ink); font: 500 16px var(--body); }
.calc__bd { margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.calc__bd b { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp { margin-top: clamp(28px, 3.6vw, 44px); border-top: 1px solid var(--line); }
.cmp__h { margin: 18px 0 4px; font-size: 13.5px; color: var(--muted); }
.cmp__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cmp__row[hidden] { display: none; }
.cmp__who { font: 500 clamp(18px, 1.8vw, 22px)/1.2 var(--display); letter-spacing: -.01em; color: var(--ink-2); }
.cmp__who small { display: block; margin-top: 3px; font: 400 13px/1.3 var(--body); letter-spacing: 0; color: var(--muted); }
.cmp__v { display: grid; justify-items: end; gap: 2px; text-align: right; }
.cmp__v b { font: 500 clamp(20px, 2vw, 26px)/1.1 var(--display); letter-spacing: -.015em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cmp__d { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cmp__d.is-less { color: var(--ink-2); }
.cmp__src { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cmp__src a { color: var(--ink-2); text-underline-offset: 3px; }
.cmp__off { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 4px; }
.cmp__off[hidden], .cmp__on[hidden], .cmp__row[hidden], .cmp__off .btn[hidden] { display: none; }
.cmp__off p { margin: 0; max-width: 52ch; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.calc .note { margin-top: 20px; max-width: 64ch; }

/* ===== Phone frame (used by the app section) ===== */
.sp__phone { --w: clamp(176px, 17vw, 240px); position: relative; aspect-ratio: 419 / 878; padding: calc(var(--w) * .031); border-radius: calc(var(--w) * .165); background: linear-gradient(140deg, #3d3d41 0%, #1c1c1f 22%, #101012 55%, #2a2a2d 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16), 0 40px 70px -34px rgba(0, 0, 0, .9); }
.sp__screen { position: relative; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: #141414; }
.sp__screen img { position: absolute; left: 0; top: calc(var(--w) * .135); width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 calc(var(--w) * .05)); mask-image: linear-gradient(to bottom, transparent 0, #000 calc(var(--w) * .05)); }
.sp__screen::before { content: ""; position: absolute; z-index: 3; top: calc(var(--w) * .034); left: 50%; width: 31%; height: calc(var(--w) * .086); transform: translateX(-50%); border-radius: 999px; background: #000; }
.sp__screen::after { content: "9:41"; position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--w) * .034); height: calc(var(--w) * .086); display: flex; align-items: center; padding-left: calc(var(--w) * .1); font: 600 calc(var(--w) * .052)/1 -apple-system, "SF Pro Text", var(--body); letter-spacing: .01em; color: #fff; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 12' fill='%23fff'%3E%3Crect x='0' y='8' width='3' height='4' rx='1'/%3E%3Crect x='4.5' y='6' width='3' height='6' rx='1'/%3E%3Crect x='9' y='3.5' width='3' height='8.5' rx='1'/%3E%3Crect x='13.5' y='1' width='3' height='11' rx='1'/%3E%3Cpath d='M29 3.2a10 10 0 0 1 13 0l-1.5 1.6a7.8 7.8 0 0 0-10 0z M31.6 6a6.2 6.2 0 0 1 7.8 0l-1.5 1.6a4 4 0 0 0-4.8 0z M34.2 8.9a2.4 2.4 0 0 1 2.6 0L35.5 10.4z'/%3E%3Crect x='47.5' y='1' width='17' height='10' rx='3' fill='none' stroke='%23fff' stroke-opacity='.5' stroke-width='1'/%3E%3Crect x='49.3' y='2.8' width='13.4' height='6.4' rx='1.6'/%3E%3Crect x='65.6' y='4' width='1.6' height='4' rx='.8' fill-opacity='.5'/%3E%3C/svg%3E") no-repeat right calc(var(--w) * .09) center / auto calc(var(--w) * .03); }
.sp__phone::after { content: ""; position: absolute; z-index: 3; left: 50%; bottom: calc(var(--w) * .058); width: 34%; height: max(3px, calc(var(--w) * .015)); transform: translateX(-50%); border-radius: 99px; background: rgba(255, 255, 255, .75); }

/* ===== FAQ ===== */
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font: 500 clamp(18px, 1.8vw, 23px)/1.3 var(--display); letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa .pm { position: relative; width: 36px; height: 36px; flex: none; border-radius: 12px; background: rgb(var(--fg) / .06); }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 11px; top: 17px; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); }
.qa .pm::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.qa[open] .pm::after { transform: rotate(0deg); }
.qa.is-closing .pm::after { transform: rotate(90deg); }
.qa p { margin: -8px 0 26px; color: var(--ink-2); max-width: 64ch; }
.faq .lead a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.faq__in { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec__head { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 40px); }
@media (max-width: 900px) { .faq__in { grid-template-columns: minmax(0, 1fr); gap: 0; } .faq .sec__head { position: static; margin-bottom: clamp(36px, 5vw, 56px); } }

/* ===== Closing: the wall rebuilds ===== */
.get { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); min-height: max(720px, 100svh); display: grid; place-items: center; text-align: center; padding-block: var(--sec); }
.gwall { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.gwall__tilt { position: absolute; left: 50%; top: 50%; display: flex; gap: 14px; transform: translate(-50%, -50%) rotate(-12deg); }
.gwall { --per: 7; }
.gwall .wall__col { --tw: 160px; }
.gwall__tilt { opacity: .62; }
.gwall__veil { position: absolute; inset: 0; background: radial-gradient(ellipse 52% 58% at 50% 50%, var(--bg) 0%, var(--bg) 30%, rgb(var(--bg-c) / .9) 52%, rgb(var(--bg-c) / .35) 82%, rgb(var(--bg-c) / .2) 100%), linear-gradient(to bottom, var(--bg) 0%, rgb(var(--bg-c) / 0) 18%, rgb(var(--bg-c) / 0) 82%, var(--bg) 100%); }
.get__in { display: grid; justify-items: center; gap: 28px; }
.get .h2 { font-size: clamp(2.8rem, 7.4vw, 6.4rem); max-width: 12ch; letter-spacing: -.035em; line-height: .92; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.stores a { display: block; border-radius: 9px; transition: transform .2s var(--ease); }
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 48px; width: auto; }
.qr-tile { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 20px; text-align: left; }
.qr { width: 76px; height: 76px; padding: 7px; border-radius: 12px; background: #fff; flex: none; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.qr svg { width: 100%; height: 100%; display: block; color: #141414; }
.qr-tile b { display: block; font: 500 16px/1.2 var(--display); }
.qr-tile span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .gwall .wall__col { --tw: 140px; } .gwall__veil { background: radial-gradient(ellipse 80% 44% at 50% 50%, var(--bg) 0%, rgb(var(--bg-c) / .94) 50%, rgb(var(--bg-c) / .4) 85%, rgb(var(--bg-c) / .25) 100%), linear-gradient(to bottom, var(--bg) 0%, rgb(var(--bg-c) / 0) 14%, rgb(var(--bg-c) / 0) 86%, var(--bg) 100%); } }

.web-btn svg { width: 18px; height: 18px; }
/* Light: the closing wall becomes paper tiles, so the last screen stays bright */
[data-theme="light"] .gwall__tilt { opacity: .9; }
.get__cta { height: 54px; padding: 0 30px; font-size: 16px; }
@media (min-width: 901px) { .get__cta--phone { display: none; } }

/* A QR code is for a computer screen. On phones and tablets the store buttons above already open the right store. */
@media (max-width: 1024px) and (pointer: coarse) { .qr-tile { display: none; } }

/* ===== Inner pages: one set of pieces for every page that isn't the homepage ===== */

/* Page hero */
.ph { position: relative; overflow: hidden; isolation: isolate; padding-block: calc(var(--nav-h) + clamp(48px, 8vw, 112px)) clamp(64px, 8vw, 112px); }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 44% 60% at 76% 46%, rgb(var(--fg) / .07), rgb(var(--fg) / 0) 70%); }
.ph__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ph--plain .ph__in { grid-template-columns: minmax(0, 1fr); }
.ph--plain::before { background: radial-gradient(ellipse 50% 70% at 50% 0%, rgb(var(--fg) / .06), rgb(var(--fg) / 0) 70%); }
.ph__copy { display: grid; gap: 22px; justify-items: start; }
.ph__title { margin: 0; max-width: 13ch; font: 500 clamp(2.9rem, 6.4vw, 5.6rem)/.92 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.ph--plain .ph__title { max-width: 16ch; }
.ph .lead { max-width: 34rem; }
/* Long answers at the top of guides and comparisons read better on a wider measure, about 75 characters a line */
.ph .lead--wide { max-width: 46rem; }
.ph__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ph__note { margin: 0; font-size: 13px; color: var(--muted); }
.ph__vis { position: relative; display: grid; place-items: center; min-height: 420px; }
.ph__vis::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--fg) / .07), rgb(var(--fg) / 0)); filter: blur(10px); }
.ph__vis .sp__phone { --w: clamp(220px, 22vw, 300px); width: var(--w); transform: rotate(-6deg); box-shadow: 0 50px 90px rgb(var(--sh-c) / calc(.55 * var(--sh-k))), inset 0 0 0 1.5px rgb(var(--fg) / .12); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.crumb li + li::before { content: "/"; margin-right: 8px; color: rgb(var(--fg) / .25); }
@media (max-width: 900px) {
  .ph__in { grid-template-columns: minmax(0, 1fr); }
  .ph__vis { min-height: 0; margin-top: 12px; }
  .ph__vis .sp__phone { --w: min(62vw, 260px); }
}

/* Hero intro: pages.js plays it once. Without it, nothing is hidden. */
.iw [data-intro] { opacity: 0; }
.ph__vis .sp__phone { will-change: transform; }

/* The calculator heading has no gap above it when it opens a section */
.sec__head + .calc__h, .wrap > .calc__h:first-child { margin-top: 0; }

/* Features: short title and line, on a thin rule */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 44px); }
.feats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat { position: relative; padding-top: 22px; }
.feat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); transform-origin: 0 50%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rv .feat:not(.in)::before { transform: scaleX(0); }
.feat b { display: block; font: 500 22px/1.2 var(--display); letter-spacing: -.015em; }
.feat p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) { .feats, .feats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feats, .feats--2, .feats--4 { grid-template-columns: minmax(0, 1fr); gap: 28px; } .feat b { font-size: 20px; } }

/* The money path: a line fills as you scroll and each step lights as the line reaches it.
   Without motion everything is lit. The last step is where the money lands, so it ends in green. */
.rail { position: relative; --gap: clamp(20px, 2.6vw, 36px); }
.rail__track { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line-2); border-radius: 2px; }
.rail__fill { position: absolute; inset: 0; transform-origin: 0 50%; border-radius: inherit; background: linear-gradient(90deg, rgb(var(--fg) / .55), var(--num)); }
.rail__dot { position: absolute; top: 50%; left: 100%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--num); box-shadow: 0 0 0 6px color-mix(in srgb, var(--num) 16%, transparent); }
.rail__list { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.rail__s { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 44px; transition: opacity .5s var(--ease); }
.rail__s::before { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px rgb(var(--fg) / .5); transition: background .4s, box-shadow .4s; }
.rail__s--end::before { box-shadow: inset 0 0 0 2px var(--num); }
.rail__n { font: 500 14px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.rail__s b { font: 500 clamp(20px, 1.9vw, 24px)/1.15 var(--display); letter-spacing: -.02em; }
.rail__s p { margin: 0; max-width: 30ch; font-size: 15px; line-height: 1.55; color: var(--muted); }
/* motion: steps wait in the dark until the line reaches them */
.motion .rail__s { opacity: .32; }
.motion .rail__s.on { opacity: 1; }
.motion .rail__s.on::before { background: var(--hi); box-shadow: inset 0 0 0 2px var(--hi), 0 0 0 5px rgb(var(--fg) / .08); }
.motion .rail__s--end.on::before { background: var(--num); box-shadow: inset 0 0 0 2px var(--num), 0 0 0 6px color-mix(in srgb, var(--num) 18%, transparent); }
.motion .rail__fill { transform: scaleX(0); }
.motion .rail__dot { left: 0; opacity: 0; }
@media (max-width: 760px) {
  /* phones: the path runs down the left edge */
  .rail { padding-left: 34px; }
  .rail__track { left: 5px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .rail__fill { transform-origin: 50% 0; background: linear-gradient(180deg, rgb(var(--fg) / .55), var(--num)); }
  .rail__dot { top: 100%; left: 50%; }
  .motion .rail__fill { transform: scaleY(0); }
  .motion .rail__dot { top: 0; left: 50%; }
  .rail__list { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rail__s { padding-top: 0; }
  .rail__s::before { left: -34px; top: 1px; }
}

/* One statement per page, lit word by word as you scroll */
.say { padding-block: clamp(96px, 13vw, 200px); border-top: 1px solid var(--line); }
.say__t { margin: 0; max-width: 20ch; font: 500 clamp(2.4rem, 6.2vw, 5.4rem)/1 var(--display); letter-spacing: -.032em; text-wrap: balance; }
.say__t .sw { transition: opacity .2s linear; }
.say__s { margin: clamp(24px, 3vw, 36px) 0 0; max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); }

/* Cost bars with an amount switcher. Shorter is better. */
.cost { padding: var(--pad-lg); border-radius: 28px; background: var(--tile); border: 1px solid var(--line); box-shadow: var(--tile-shadow); }
.cost__top { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.4vw, 44px); }
.cost__cap { margin: 0; font: 500 clamp(1.15rem, 1.8vw, 1.5rem)/1.25 var(--display); letter-spacing: -.015em; color: var(--ink-2); }
.cost__cap b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(var(--sh-c) / calc(.35 * var(--sh-k))); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { appearance: none; border: 0; cursor: pointer; height: 34px; padding: 0 14px; border-radius: 999px; background: none; color: var(--muted); font: 600 13.5px/1 var(--body); font-variant-numeric: tabular-nums; transition: background .25s, color .25s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--hi); color: var(--btn-ink); }
.seg__s { display: none; }
.seg button:focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; }
.cost__list { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.cost__row { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) minmax(96px, auto); align-items: center; gap: 18px; }
.cost__who { display: grid; gap: 2px; font: 500 17px/1.2 var(--display); letter-spacing: -.01em; }
.cost__who small { font: 400 12.5px/1.35 var(--body); letter-spacing: 0; color: var(--muted); }
.cost__track { position: relative; height: 12px; border-radius: 999px; background: rgb(var(--fg) / .05); overflow: hidden; }
.cost__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); min-width: 6px; border-radius: inherit; background: rgb(var(--fg) / .34); transition: width .8s var(--ease); }
.cost__row--z .cost__fill { background: var(--num); box-shadow: none; }
.cost__v { font: 500 17px/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.cost__row--z .cost__v { color: var(--num); }
.motion .cost:not(.in) .cost__fill { width: 0; }
@media (max-width: 640px) {
  .cost__row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; }
  .cost__track { grid-column: 1 / -1; grid-row: 2; }
  .seg { width: 100%; flex-wrap: nowrap; justify-content: space-between; }
  .seg button { padding: 0 6px; flex: 1; }
  .seg__l { display: none; } .seg__s { display: inline; }
}

/* A row of big numbers */
.figs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; }
.fig { padding: var(--pad-lg); border-radius: 28px; display: grid; gap: 14px; align-content: start; }
.fig__num { font: 500 clamp(3.4rem, 6.6vw, 5.6rem)/.9 var(--display); letter-spacing: -.035em; }
.fig__num .fig__u { margin-left: 8px; font: 500 clamp(1rem, 1.5vw, 1.25rem) var(--body); letter-spacing: 0; color: var(--ink-2); vertical-align: .9em; }
.fig b { font: 500 20px/1.2 var(--display); letter-spacing: -.01em; }
.fig p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .figs { grid-template-columns: minmax(0, 1fr); } }

/* Tables (fees, comparisons) */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { padding-top: 0; font: 600 13px var(--body); color: var(--muted); border-bottom-color: var(--line-2); }
.tbl tbody th { font-weight: 500; color: var(--ink); width: 34%; }
.tbl td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tbl td b { color: var(--ink); font-weight: 600; }
.tbl .is-z { color: var(--ink); }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) { .tbl { font-size: 14px; } .tbl th, .tbl td { padding: 14px 12px; } .tbl tbody th { width: 46%; } }
/* phones: rows with three or more columns stack, each cell labelled with its column */
@media (max-width: 640px) {
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr, .tbl--stack th, .tbl--stack td { display: block; width: auto; }
  .tbl--stack tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .tbl--stack th, .tbl--stack td { padding: 0; border: 0; }
  .tbl--stack tbody th, .tbl--stack tr > td:first-child { width: auto; margin-bottom: 10px; font: 500 17px/1.3 var(--display); color: var(--ink); }
  .tbl--stack td[data-label] { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
  .tbl--stack td[data-label]::before { content: attr(data-label); color: var(--muted); }
  .tbl--stack tr > td:first-child::before { content: none; }
}
.src { margin: 16px 0 0; max-width: 80ch; font-size: 13px; line-height: 1.55; color: var(--muted); }
.src a { color: var(--ink-2); text-underline-offset: 3px; }

/* Link cards for hubs */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; display: grid; gap: 10px; align-content: start; min-height: 190px; padding: var(--pad-lg); border-radius: 26px; text-decoration: none; color: var(--ink); transition: border-color .3s; }
.card:hover { border-color: var(--line-2); }
.card:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.card small { font-size: 13px; color: var(--muted); }
.card b { font: 500 24px/1.15 var(--display); letter-spacing: -.02em; }
.card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.card::after { content: ""; position: absolute; right: 24px; top: 24px; width: 14px; height: 14px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: rotate(45deg); opacity: .7; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards, .cards--2 { grid-template-columns: minmax(0, 1fr); } .card { min-height: 0; } }

/* Long text: legal pages and guides */
.prose { max-width: 72ch; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin: 2.2em 0 .6em; font: 500 clamp(1.4rem, 2.2vw, 1.8rem)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 .4em; font: 600 18px/1.3 var(--body); color: var(--ink); }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .meta { font-size: 13px; color: var(--muted); }
.read { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
/* The contents list stays in view beside the article. The nav is the sticky box: it is the grid item, so it has the whole
   height of the article to travel. A list longer than the screen scrolls inside itself. */
.read > nav { position: sticky; top: calc(var(--nav-h) + 32px); max-height: calc(100vh - var(--nav-h) - 64px); overflow-y: auto; scrollbar-width: none; }
.read__toc { position: relative; display: grid; margin: 0; padding: 0; list-style: none; font-size: 14px; border-left: 1px solid var(--line); }
.read__toc a { display: block; padding: 6px 0 6px 16px; color: var(--muted); text-decoration: none; transition: color .25s; }
.read__toc a:hover, .read__toc a[aria-current] { color: var(--ink); }
/* The marker slides to the section being read (pages.js sets where and how tall) */
.read__toc::before { content: ""; position: absolute; left: -1px; top: 0; width: 2px; height: var(--toc-h, 0); background: var(--ink); border-radius: 2px; transform: translateY(var(--toc-y, 0)); transition: transform .35s cubic-bezier(.2, .7, .2, 1), height .35s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { .read__toc::before, .read__toc a { transition: none; } }
@media (max-width: 900px) { .read { grid-template-columns: minmax(0, 1fr); } .read__toc { display: none; } }

/* A quiet callout */
.callout { padding: 20px 22px; border-radius: 20px; background: rgb(var(--fg) / .04); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.callout b { color: var(--ink); }

/* Comparison header */
.vs { display: flex; align-items: baseline; gap: .3em; flex-wrap: wrap; }
.vs i { font-style: normal; color: var(--muted); }

/* Contact rows */
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact { display: grid; gap: 8px; padding: var(--pad-lg); border-radius: 26px; text-decoration: none; color: var(--ink); }
.contact small { font-size: 13px; color: var(--muted); }
.contact b { font: 500 clamp(17px, 1.45vw, 20px)/1.25 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
@media (max-width: 900px) { .contacts { grid-template-columns: minmax(0, 1fr); } }

.sec--tight { padding-block: clamp(56px, 7vw, 96px); }
.center { text-align: center; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 7px; background: rgb(var(--fg) / .08) var(--tick) center / 12px no-repeat; }

/* Partner names: the brand on top, the legal name under it */
.names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.names li { display: grid; gap: 6px; padding: 24px 24px 0 0; }
.names li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.names b { font: 500 clamp(22px, 2.2vw, 28px)/1.1 var(--display); letter-spacing: -.02em; }
.names span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 900px) { .names { grid-template-columns: repeat(2, minmax(0, 1fr)); } .names li:nth-child(3) { padding-left: 0; border-left: 0; } .names li { padding-bottom: 24px; } }
@media (max-width: 480px) { .names { grid-template-columns: minmax(0, 1fr); } .names li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Company facts */
.facts { display: grid; margin: 0; max-width: 980px; }
.facts > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child { border-top: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.facts a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 640px) { .facts > div { grid-template-columns: minmax(0, 1fr); } }
.addr { font: 500 clamp(1.6rem, 3.2vw, 2.6rem)/1.2 var(--display); font-style: normal; letter-spacing: -.025em; color: var(--ink); }

/* Long reads sit right under their hero */
.sec--doc { padding-top: clamp(40px, 5vw, 64px); }
.prose .callout { margin: 0 0 1.1em; }
.prose .tbl-wrap { margin: 0 0 1.4em; }
.srcs { list-style: none; padding-left: 0 !important; }
.srcs a { color: var(--ink-2); }

/* Light theme: the page hero keeps the warm glow and drops the grey spotlight */
[data-theme="light"] .ph::before { display: none; }

/* ===== Contact: the message form and every direct way to reach us, in one card ===== */
.ct { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: 28px; background: var(--tile); border: 1px solid var(--line); box-shadow: var(--tile-shadow); overflow: hidden; }
.ct__form, .ct__ok { padding: clamp(24px, 3.6vw, 52px); display: grid; gap: 18px; align-content: start; }
.ct__form[hidden], .ct__ok[hidden] { display: none; }
.ct__ok { align-content: center; justify-items: start; min-height: 420px; outline: 0; }
.ct__h { margin: 0; font: 500 clamp(1.8rem, 2.8vw, 2.4rem)/1.05 var(--display); letter-spacing: -.035em; }
.ct__sub { margin: -8px 0 6px; max-width: 44ch; font-size: 15px; line-height: 1.5; color: var(--muted); }
.ct__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.fld { display: grid; gap: 8px; }
.fld > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; margin: 0; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--sunk); color: var(--ink); font: 400 16px/1.4 var(--body); -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.fld textarea { min-height: 148px; resize: vertical; }
.fld select { padding-right: 44px; background-image: var(--chev); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px auto; cursor: pointer; }
.fld select option { background: var(--panel); color: var(--ink); }
.fld ::placeholder { color: var(--subtle); opacity: 1; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: rgb(var(--fg) / .5); box-shadow: 0 0 0 4px rgb(var(--fg) / .08); }
.fld [aria-invalid="true"] { border-color: var(--late); }
.ct__err { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--late); }
.ct__err[hidden] { display: none; }
.ct__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.ct__end .note a { color: var(--ink-2); text-underline-offset: 3px; }
.ic--ok { color: var(--money); background: rgb(var(--money-c) / .14); }
.ct__reach { display: flex; flex-direction: column; padding: clamp(24px, 3.6vw, 52px); border-left: 1px solid var(--line); background: var(--panel); }
.ct__lbl { margin: 0 0 8px; font: 600 14px/1.2 var(--body); color: var(--muted); }
.reach { list-style: none; margin: 0; padding: 0; display: grid; }
.reach li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.reach li:last-child { border-bottom: 0; }
.reach small { display: block; margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.reach a, .reach b { display: block; font: 500 17px/1.35 var(--body); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.reach a:hover { text-decoration: underline; text-underline-offset: 3px; }
.reach em { display: block; margin-top: 4px; font-style: normal; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.reach em a { display: inline; font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.reach__hours { margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 14px; }
.reach__hours span { color: var(--muted); }
.reach__hours b { font-weight: 600; color: var(--ink); }
@media (max-width: 900px) {
  .ct { grid-template-columns: minmax(0, 1fr); }
  .ct__reach { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) { .ct__row { grid-template-columns: minmax(0, 1fr); } .ct { border-radius: 22px; } }
[data-theme="light"] .fld input, [data-theme="light"] .fld select, [data-theme="light"] .fld textarea { background: var(--bg); }

/* ===== Trust: raise a problem. What to send on the left, the two ways to reach us on the right. The number shows once. ===== */
.rp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); border-radius: 28px; background: var(--tile); border: 1px solid var(--line); box-shadow: var(--tile-shadow); overflow: hidden; }
.rp__ask { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3.4vw, 44px); background: var(--panel); border-right: 1px solid var(--line); }
.rp__h { margin: 0; font: 600 14px/1.2 var(--body); color: var(--muted); }
.rp__hours { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; }
.rp__hours span { color: var(--muted); }
.rp__hours b { font-weight: 600; color: var(--ink); }
.rp__ways { display: grid; align-content: center; padding: clamp(8px, 1.6vw, 20px) clamp(24px, 3.4vw, 44px); }
.rp__way { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; }
.rp__way + .rp__way { border-top: 1px solid var(--line); }
.rp__txt small { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.rp__val { display: block; font: 500 clamp(18px, 1.6vw, 22px)/1.25 var(--display); letter-spacing: -.01em; word-spacing: .14em; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.rp__val:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.rp__acts { display: flex; gap: 8px; }
.rp__sec { display: flex; gap: 14px; align-items: flex-start; max-width: 74ch; margin: 22px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.rp__sec .ic { flex: none; width: 34px; height: 34px; }
.rp__sec b { color: var(--ink-2); font-weight: 600; }
@media (max-width: 900px) {
  .rp { grid-template-columns: minmax(0, 1fr); }
  .rp__ask { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .rp { border-radius: 22px; }
  .rp__way { grid-template-columns: auto minmax(0, 1fr); }
  .rp__acts { grid-column: 1 / -1; }
  .rp__acts .btn { flex: 1; }
}

/* ===== Pricing hero: what you keep from $1,000. Dark in both themes, like the app. ===== */
.ph__vis--keep { min-height: 0; place-items: stretch; }
.ph__vis--keep::before { display: none; }
.ph__in:has(> .ph__vis--keep) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.keep { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: 30px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .45), 0 2px 0 rgb(255 255 255 / .04) inset; }
.keep__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.keep__lbl { margin: 0; font-size: 14px; color: var(--muted); }
.keep__k { display: grid; gap: 6px; margin: 6px 0 0; }
.keep__k small { font-size: 14px; color: var(--muted); }
.keep__v { font: 500 clamp(3rem, 5.6vw, 4.6rem)/.95 var(--display); letter-spacing: -.032em; color: var(--ink); font-variant-numeric: tabular-nums; }
.keep__bar { display: flex; gap: 3px; height: 12px; }
.keep__bar i { display: block; border-radius: 99px; }
.keep__you { flex: 0 0 calc(var(--p) * 1% - 3px); background: var(--ink); transition: flex-basis .6s cubic-bezier(.2, .7, .2, 1); }
.keep__fee { flex: 1 1 auto; min-width: 4px; background: rgb(var(--fg) / .35); }
.keep__rows { display: grid; margin: 4px 0 0; }
.keep__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.keep__rows dt { color: var(--muted); }
.keep__rows dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.keep__rate { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: rgb(var(--fg) / .08); color: var(--ink); font-size: 12.5px; font-weight: 600; }
@media (max-width: 900px) { .ph__in:has(> .ph__vis--keep) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .keep__rows div { font-size: 14px; } .keep { border-radius: 24px; } }
@media (prefers-reduced-motion: reduce) { .keep__you { transition: none; } }

/* ===== Compare hub: one row per comparison, with the $1,000 cost of each side drawn to scale ===== */
.vs { list-style: none; margin: 0; padding: 0; border-radius: 28px; background: var(--tile); border: 1px solid var(--line); box-shadow: var(--tile-shadow); overflow: hidden; }
.vs li + li { border-top: 1px solid var(--line); }
.vs__row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(220px, 1.4fr) minmax(170px, 1fr) 40px; gap: clamp(16px, 2.6vw, 40px); align-items: center; padding: clamp(22px, 2.6vw, 32px) clamp(22px, 3vw, 40px); color: var(--ink); text-decoration: none; transition: background .25s; }
.vs__row:hover { background: rgb(var(--fg) / .03); }
.vs__row:focus-visible { outline: 2px solid var(--hi); outline-offset: -4px; border-radius: 22px; }
.vs small { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.vs__name b { font: 500 clamp(20px, 1.9vw, 26px)/1.15 var(--display); letter-spacing: -.02em; }
.vs__bars { display: grid; gap: 8px; }
.vs__bars small { margin-bottom: 0; }
.vs__bar { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 12px; align-items: center; font-size: 13.5px; }
.vs__bar i { grid-column: 2; grid-row: 1; height: 8px; width: calc(var(--w) * 1%); min-width: 6px; border-radius: 99px; background: rgb(var(--fg) / .22); }
.vs__bar em { grid-column: 1; grid-row: 1; font-style: normal; color: var(--muted); }
.vs__bar b { grid-column: 3; grid-row: 1; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.vs__bar--z i { background: var(--num); }
.vs__bar--z em { color: var(--ink); font-weight: 600; }
.vs__line { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.vs__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgb(var(--fg) / .06); color: var(--ink); transition: transform .25s, background .25s; }
.vs__row:hover .vs__go { transform: translateX(3px); background: rgb(var(--fg) / .1); }
@media (max-width: 900px) {
  .vs__row { grid-template-columns: minmax(0, 1fr) 40px; gap: 14px 16px; }
  .vs__name { grid-column: 1; grid-row: 1; }
  .vs__go { grid-column: 2; grid-row: 1; }
  .vs__bars, .vs__line { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .vs { border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { .vs__row:hover .vs__go { transform: none; } }

/* ===== Payment links: what a link costs, abroad (dark) and in India (rate list) ===== */
.lk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.lk > div { display: flex; flex-direction: column; gap: 22px; padding: clamp(26px, 3.4vw, 44px); border-radius: 28px; border: 1px solid var(--line); }
.lk__intl { background: var(--panel); color: var(--ink); box-shadow: 0 40px 80px -36px rgb(0 0 0 / .45); }
.lk__dom { background: var(--tile); box-shadow: var(--tile-shadow); }
.lk__who { margin: 0; font-size: 14px; color: var(--muted); }
.lk__num { display: flex; align-items: flex-start; gap: 10px; margin: 0; font: 500 clamp(4rem, 8vw, 6.6rem)/.85 var(--display); letter-spacing: -.04em; }
.lk__num small { margin-top: .35em; font: 500 18px/1 var(--body); letter-spacing: 0; color: var(--ink-2); }
.lk__intl .ticks { margin-top: auto; }
.lk__rates { display: grid; margin: 0; }
.lk__rates div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.lk__rates div:first-child { border-top: 0; padding-top: 0; }
.lk__rates dt { font-size: 15.5px; color: var(--ink-2); }
.lk__rates dd { margin: 0; font: 500 clamp(20px, 1.8vw, 24px)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lk__note { margin: auto 0 0; font-size: 13.5px; color: var(--muted); }
.lk__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 900px) { .lk { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .lk > div { border-radius: 22px; } }

/* ===== Guides: byline, short answer, dated sources, related guides ===== */
.byline { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 14px; color: var(--muted); }
.byline > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 12px; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .7; }
.byline a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose { color: rgb(var(--fg) / .84); }
.prose .short { margin: 0 0 2.4em; padding: clamp(22px, 2.6vw, 30px); border-radius: 22px; }
.prose .short h2 { margin: 0 0 .5em; font: 600 14px/1.2 var(--body); letter-spacing: 0; color: var(--muted); }
.prose .short ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.prose .short li { position: relative; margin: 0; padding-left: 22px; color: var(--ink); font-size: 16.5px; line-height: 1.5; }
.prose .short li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.srcs li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 10px 0; margin: 0 !important; border-top: 1px solid var(--line); }
.srcs li span { font-size: 13.5px; color: var(--muted); }
/* Read next (ui.readNext): the title on the left, quiet rows on the right, a line between each */
.nx { padding-block: clamp(48px, 6vw, 88px); }
.nx__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: clamp(20px, 5vw, 80px); align-items: start; }
.nx__h { margin: 0; font: 500 clamp(2rem, 3.6vw, 3rem)/1 var(--display); letter-spacing: -.032em; }
.nx__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.nx__list li { border-bottom: 1px solid var(--line); }
.nx__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 4px; align-items: center; padding: 22px 4px; color: var(--ink); text-decoration: none; }
.nx__t { font: 500 clamp(1.1rem, 1.6vw, 1.3rem)/1.25 var(--display); letter-spacing: -.02em; }
.nx__d { grid-column: 1; font-size: 15px; line-height: 1.45; color: var(--muted); }
.nx__go { grid-column: 2; grid-row: 1 / span 2; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.nx__list a:hover .nx__go, .nx__list a:focus-visible .nx__go { transform: translateX(4px); color: var(--ink); }
.nx__list a:hover .nx__t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 900px) { .nx__in { grid-template-columns: minmax(0, 1fr); } .nx__list a { padding: 18px 0; } }
@media (prefers-reduced-motion: reduce) { .nx__go { transition: none; } }

/* Closing wall: fewer, fainter tiles */
.gwall .mt:nth-child(even) { visibility: hidden; }
.gwall__tilt { opacity: .4 !important; }

/* Guides: text stays at reading width, wide tables use the full column and scroll sideways on small screens */
.read .prose { max-width: none; }
.read .prose > * { max-width: 72ch; }
.read .prose > .tbl-wrap--wide { max-width: none; }
.tbl-wrap--wide { border: 1px solid var(--line); border-radius: 18px; background: var(--tile); }
.tbl-wrap--wide .tbl th:first-child, .tbl-wrap--wide .tbl td:first-child { padding-left: 20px; color: var(--ink); }
.tbl-wrap--wide .tbl thead th { padding-top: 16px; }
.tbl-wrap--wide .tbl tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) { .tbl-wrap--wide .tbl { min-width: 620px; } }

/* Compare: where each one wins */
.wins { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.wins__col { padding: clamp(22px, 2.6vw, 32px); border-radius: 24px; }
.wins__col h3 { margin: 0 0 16px; font: 500 20px/1.2 var(--display); letter-spacing: -.01em; }
@media (max-width: 760px) { .wins { grid-template-columns: minmax(0, 1fr); } }
.wins--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .wins--3 { grid-template-columns: minmax(0, 1fr); } }

/* Purpose code finder */
.pcf { padding: clamp(22px, 3vw, 40px); border-radius: 28px; }
.pcf__q { display: grid; gap: 10px; margin-bottom: 18px; }
.pcf__q span { font: 500 clamp(20px, 2vw, 26px)/1.2 var(--display); letter-spacing: -.02em; }
.pcf__q input { width: 100%; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--sunk); color: var(--ink); font: 400 17px/1.4 var(--body); -webkit-appearance: none; appearance: none; }
.pcf__q input:focus { outline: 0; border-color: rgb(var(--fg) / .5); box-shadow: 0 0 0 4px rgb(var(--fg) / .08); }
.pcf__none { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.pcf__none[hidden] { display: none; }
.pcf__list { list-style: none; margin: 0; padding: 0; display: grid; }
.pcf__list li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.pcf__list li[hidden] { display: none; }
.pcf__code { font: 500 18px/1.3 var(--display); letter-spacing: -.01em; }
.pcf__list strong { display: block; font-weight: 600; color: var(--ink); line-height: 1.4; }
.pcf__list small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
[data-theme="light"] .pcf__q input { background: var(--bg); }

/* Product pages: Zendt's own $1,000 example */
.lx { width: 100%; max-width: 560px; border-collapse: separate; border-spacing: 0; border-radius: 22px; padding: 6px 22px; font-size: 16px; }
.lx td { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lx td:last-child { text-align: right; color: var(--ink); }
.lx tr:last-child td { border-bottom: 0; }
.lx__total td { color: var(--ink); font-weight: 600; }
.lx__total td:last-child { font: 500 22px/1 var(--display); letter-spacing: -.02em; }

/* Guides hub: category jump links and plain lists (title, category, date) */
.gcat { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.gcat a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: rgb(var(--fg) / .06); color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.gcat a:hover { background: rgb(var(--fg) / .1); }
.gcat span { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.glist { margin-bottom: clamp(32px, 4vw, 52px); scroll-margin-top: calc(var(--nav-h) + 24px); }
.glist h2 { margin: 0 0 8px; font: 500 clamp(1.4rem, 2.2vw, 1.8rem)/1.2 var(--display); letter-spacing: -.02em; }
.glist ul { list-style: none; margin: 0; padding: 0; }
.glist a { display: grid; grid-template-columns: minmax(0, 1fr) 180px 110px; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.glist a b { font: 500 17px/1.35 var(--display); letter-spacing: -.01em; }
.glist a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.glist a span, .glist a time { font-size: 14px; color: var(--muted); }
.glist a time { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .glist a { grid-template-columns: minmax(0, 1fr) auto; } .glist a span { display: none; } }
/* Larger hit areas for standalone text links (WCAG 2.5.8) */
a.rp__val, .reach a, .ct__end .note a, .strip__links a { display: inline-block; padding-block: 4px; }
/* Phones: the row label stays put while the columns swipe under it */
@media (max-width: 760px) {
  .tbl-wrap--wide { --tbl-bg: #1c1c1c; overscroll-behavior-x: contain; background: var(--tbl-bg); }
  [data-theme="light"] .tbl-wrap--wide { --tbl-bg: #FDFDFC; }
  .tbl-wrap--wide .tbl th:first-child, .tbl-wrap--wide .tbl td:first-child { position: sticky; left: 0; z-index: 1; background: var(--tbl-bg); max-width: 132px; box-shadow: 1px 0 0 var(--line); }
}
.lx .lx__inr { color: var(--num); }
/* Contact form: paper-form fields, a label and a line to type on. No fills, no glow. */
.ct { background: var(--panel); }
.ct__reach { background: none; }
.ct .fld { gap: 4px; }
.ct .fld > span { font-size: 13px; font-weight: 500; color: var(--muted); }
.ct .fld input, .ct .fld select, .ct .fld textarea, [data-theme="light"] .ct .fld input, [data-theme="light"] .ct .fld select, [data-theme="light"] .ct .fld textarea { padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background-color: transparent; box-shadow: none; font-size: 16px; }
.ct .fld select, [data-theme="light"] .ct .fld select { padding-right: 28px; background-image: var(--chev); background-repeat: no-repeat; background-position: right 2px center; background-size: 12px auto; }
.ct .fld textarea { min-height: 112px; }
.ct .fld input:focus, .ct .fld select:focus, .ct .fld textarea:focus { border-bottom-color: var(--ink); box-shadow: none; }
.ct .fld [aria-invalid="true"], [data-theme="light"] .ct .fld [aria-invalid="true"] { border-bottom-color: var(--late); }
.ct .fld .zsel__hit { border-radius: 0; }
.ct .ct__row { gap: 24px; }
.ct__note { margin: 18px 0 0; max-width: 72ch; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ct__note a { color: var(--ink-2); text-underline-offset: 3px; }

/* Export invoice generator */
.inv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.inv__form { padding: clamp(22px, 3vw, 36px); border-radius: 28px; display: grid; gap: 22px; }
.inv__form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.inv__form legend { padding: 0; margin-bottom: 4px; font: 500 clamp(18px, 1.6vw, 22px)/1.2 var(--display); letter-spacing: -.02em; }
.inv__form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.inv__form label a { color: inherit; }
.inv__form input:not([type="checkbox"]), .inv__form textarea, .inv__form select { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--sunk); color: var(--ink); font: 400 16px/1.4 var(--body); -webkit-appearance: none; appearance: none; }
.inv__form input:focus, .inv__form textarea:focus, .inv__form select:focus { outline: 0; border-color: rgb(var(--fg) / .5); box-shadow: 0 0 0 4px rgb(var(--fg) / .08); }
[data-theme="light"] .inv__form input:not([type="checkbox"]), [data-theme="light"] .inv__form textarea, [data-theme="light"] .inv__form select { background: var(--bg); }
.inv__two, .inv__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.inv__item { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.inv__items { display: grid; gap: 12px; }
.inv__add { justify-self: start; }
.inv__check { display: flex !important; align-items: center; gap: 10px; color: var(--ink) !important; font-size: 15px !important; }
.inv__check input { width: 20px; height: 20px; accent-color: currentColor; }
.inv__form [hidden] { display: none !important; }
.inv__doc { position: sticky; top: 96px; padding: clamp(24px, 3vw, 44px); border-radius: 20px; background: #fff; color: #141414; font: 400 14px/1.5 var(--body); box-shadow: 0 1px 0 rgb(0 0 0 / .04), 0 24px 60px -30px rgb(0 0 0 / .35); }
.inv__doc p { margin: 0; }
.inv__doc [hidden] { display: none; }
.inv__head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid #e6e6e6; }
.inv__head b { display: block; font: 500 18px/1.3 var(--display); }
.inv__title { text-align: right; }
.inv__title b { font-size: 26px; letter-spacing: -.02em; }
.inv__to { padding: 20px 0; }
.inv__to span, .inv__pay span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #6b6b6b; margin-bottom: 4px; }
.inv__to b { font-weight: 600; }
.inv__tbl { width: 100%; border-collapse: collapse; margin: 4px 0 18px; font-variant-numeric: tabular-nums; }
.inv__tbl th, .inv__tbl td { padding: 10px 0; text-align: left; border-bottom: 1px solid #e6e6e6; }
.inv__tbl th:last-child, .inv__tbl td:last-child { text-align: right; }
.inv__tbl thead th { font-size: 12px; font-weight: 600; color: #6b6b6b; }
.inv__tbl tfoot th { border-bottom: 0; font-size: 16px; }
.inv__lut { padding: 12px 14px; margin-bottom: 12px !important; border-radius: 10px; background: #f4f4f5; }
.inv__pay { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e6e6e6; white-space: pre-line; }
.inv__doc [data-o="fromAddr"], .inv__doc [data-o="toAddr"] { white-space: pre-line; }
@media (max-width: 900px) { .inv { grid-template-columns: minmax(0, 1fr); } .inv__doc { position: static; } }
.inv__app { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 28px; }
.inv__app h2 { margin: 0 0 8px; font: 500 clamp(24px, 2.4vw, 32px)/1.1 var(--display); letter-spacing: -.03em; }
.inv__app p { margin: 0; max-width: 60ch; color: var(--ink-2); line-height: 1.55; }
.inv__app-cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .inv__app { grid-template-columns: 1fr; } }
@media print { .inv__app { display: none !important; } }
.inv__next { display: grid; gap: 8px; justify-items: start; padding: 18px; border-radius: 16px; background: rgb(var(--fg) / .05); }
.inv__next[hidden] { display: none; }
.inv__end-in { display: grid; justify-items: center; gap: 28px; text-align: center; }
.inv__end .h2 { max-width: 14ch; }
.inv__next b { font: 500 18px/1.2 var(--display); }
.inv__next .btn { max-width: 100%; height: auto; min-height: 50px; padding-block: 14px; white-space: normal; text-align: center; line-height: 1.3; }
.inv__next p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.inv__reward { font-size: 13.5px !important; color: var(--muted) !important; }
.inv__reward a { color: inherit; }
.inv__reward--app { margin-top: 10px !important; }
@media print { .inv { display: none !important; } }



/* Short answer under the hero */
.ans { padding-block: clamp(48px, 6vw, 88px); }
.ans__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(20px, 5vw, 72px); align-items: start; }
.ans__q { margin: 0; font: 500 clamp(1.35rem, 2.2vw, 1.75rem)/1.15 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.ans__a { margin: 0; max-width: 40rem; font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 760px) { .ans__in { grid-template-columns: minmax(0, 1fr); } }

/* /switch */
.swc-grid { display: grid; gap: var(--gap, 20px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.swc, .tmpl { padding: clamp(20px, 3vw, 28px); }
.swc h3 { margin: 0 0 8px; }
.swc h4 { margin: 18px 0 6px; font-size: .95rem; }
.swc__num { font-weight: 600; }
.swc__more { margin-top: 16px; }
.tmpl { position: relative; }
.tmpl pre { white-space: pre-wrap; font: inherit; margin: 0 0 16px; }
.ticks--plain li::before { width: 6px; height: 6px; margin: 8px 8px 0; border-radius: 50%; background: rgb(var(--fg) / .35); }
.swc h3 { font-family: var(--display); }
.swc-cta { margin-top: clamp(24px, 3vw, 36px); }

/* ===== Scroll story: the app scene stays put while the steps scroll past it, and changes with each step =====
   One per page. The scene state comes from scroll position (src/js/pages.js), so a reload mid-page lands right.
   Without JavaScript every step shows and the scene shows its finished state. */
.story { border-top: 1px solid var(--line); padding-block: var(--sec) 0; }
.story__head { margin-bottom: clamp(8px, 2vw, 24px); }
.story__in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-areas: "copy stage"; gap: clamp(32px, 5vw, 80px); }
.story__stage { grid-area: stage; position: sticky; top: calc(var(--nav-h) + 3vh); align-self: start; height: calc(100vh - var(--nav-h) - 6vh); height: calc(100svh - var(--nav-h) - 6vh); min-height: 520px; }
.story__steps { grid-area: copy; list-style: none; margin: 0; padding: 0 0 18vh; }
.story__step { min-height: 64vh; display: grid; align-content: center; gap: 14px; padding-block: 24px; }
.story__n { font: 500 14px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.story__step b { font: 500 clamp(1.7rem, 3vw, 2.5rem)/1.05 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.story__step p { margin: 0; max-width: 40ch; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.55; color: var(--ink-2); }
.story__step .ticks { margin-top: 6px; }
.motion .story__step { opacity: .22; transition: opacity .6s var(--ease); }
.motion .story__step.on { opacity: 1; }
/* progress: one short line per step, lit as you go */
.story__dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; justify-content: center; }
.story__dots i { width: 28px; height: 3px; border-radius: 3px; background: rgb(var(--fg) / .12); transition: background .4s, width .4s; }
.story__dots i.on { width: 44px; background: var(--hi); }
.story__stage .fitbox { top: calc(50% - 14px); }

/* scene states: a piece shows when the scene's state is in its data-on list */
.scn [data-on] { opacity: 0; transform: var(--t0, translateY(28px) scale(.96)); transition: opacity .55s var(--ease), transform .8s var(--ease); pointer-events: none; }
.scn[data-s="0"] [data-on~="0"], .scn[data-s="1"] [data-on~="1"], .scn[data-s="2"] [data-on~="2"], .scn[data-s="3"] [data-on~="3"] { opacity: 1; transform: var(--t, none); }
/* small swaps inside a tile (a label or a pill that changes) */
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; --t0: translateY(6px); }
.swap--end { justify-items: end; }

@media (max-width: 900px) {
  .story { padding-top: clamp(64px, 12vw, 96px); }
  .story__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "copy"; gap: 0; }
  /* phones: the scene sits at the top and the steps scroll up under it */
  .story__stage { top: 0; height: 52svh; min-height: 340px; z-index: 2; margin-inline: calc(var(--gut) * -1); padding-top: env(safe-area-inset-top, 0px);
    background: linear-gradient(var(--bg) 82%, rgb(var(--bg-c) / 0)); }
  .story__step { min-height: 58svh; align-content: start; padding-top: 6vh; }
  .story__dots { bottom: 10px; }
}

/* ===== Hero: the real app screen, with live tiles that land around it ===== */
.ph__vis { --fw: clamp(220px, 22vw, 300px); }
.ph__float { position: absolute; z-index: 2; padding: 14px 16px; border-radius: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; min-width: 210px; box-shadow: 0 30px 60px rgb(var(--sh-c) / calc(.5 * var(--sh-k))), inset 0 0 0 1px rgb(var(--fg) / .06); }
.ph__float p { margin: 0; font-size: 12.5px; color: var(--subtle); line-height: 1.35; }
.ph__float b { display: block; margin-top: 2px; font: 500 20px/1.1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ph__float.tile--paid b { color: var(--num); }
.ph__float .ic { width: 36px; height: 36px; border-radius: 11px; }
.ph__float .mt__flag { width: 36px; height: 36px; border-radius: 11px; }
.ph__float--a { left: 0; top: 18%; }
.ph__float--b { right: -2%; bottom: 14%; }
@media (max-width: 900px) { .ph__float--a { left: 0; top: 10%; } .ph__float--b { right: 0; bottom: 8%; } .ph__float { min-width: 0; padding: 10px 12px; } .ph__float b { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .ph__float { animation: none; } .scn [data-on] { transition: none; } }

/* ===== Price strip: the fee, big, with what comes with it ===== */
.strip { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; border-radius: 28px; overflow: hidden; }
.strip__fee { padding: var(--pad-lg); display: grid; gap: 10px; align-content: center; border-right: 1px solid var(--line); }
.strip__num { font: 500 clamp(4rem, 9vw, 7.4rem)/.85 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.strip__num small { margin-left: 10px; font: 500 clamp(1rem, 1.5vw, 1.3rem) var(--body); letter-spacing: 0; color: var(--ink-2); vertical-align: 1.6em; }
.strip__name { font: 500 20px/1.2 var(--display); }
.strip__fee .note { max-width: 36ch; }
.strip__more { padding: var(--pad-lg); display: grid; gap: 22px; align-content: center; }
.strip__more .ticks li { font-size: 16px; }
.strip__links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .strip { grid-template-columns: minmax(0, 1fr); } .strip__fee { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ===== Scene pieces for the inner pages (the homepage tiles live in shared/chapters.css) ===== */
.paycard__swap { display: grid; }
.paybtn--paid { background: rgb(var(--money-c) / .14); color: var(--money); }
.btn--sent { color: var(--money); }
/* payment link: share sheet */
.sheet { position: absolute; left: 246px; top: 292px; width: 300px; padding: 18px; border-radius: 24px; z-index: 3; display: grid; gap: 4px; }
.sheet__t { font: 500 17px/1.2 var(--display); margin-bottom: 6px; }
.sheet__row { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.sheet__row .ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 11px; }
.sheet__row .ic svg { width: 18px; height: 18px; }
.sheet__row span:not(.ic) { font: 600 14px/1.2 var(--body); }
.sheet__row em { font-style: normal; font-size: 12.5px; color: var(--muted); }
/* accounts */
.scn--acc2 .acard { top: 64px; z-index: 2; }
.toast { position: absolute; left: 150px; top: 492px; width: 290px; padding: 12px 16px; border-radius: 18px; z-index: 3; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }
.toast .ic { width: 34px; height: 34px; border-radius: 10px; color: var(--money); background: rgb(var(--money-c) / .12); }
.toast .ic svg { width: 17px; height: 17px; }
.toast p { margin: 0; font-size: 12.5px; color: var(--muted); }
.toast b { display: block; margin-top: 2px; font: 600 14px/1.25 var(--body); color: var(--ink); }
.inc { position: absolute; right: 0; top: 380px; width: 262px; padding: 16px 18px; border-radius: 22px; z-index: 3; background: var(--tile-hi); }
.inc__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.inc__top .ic { width: 34px; height: 34px; border-radius: 10px; }
.inc__top .ic svg { width: 17px; height: 17px; }
.inc__top > span:nth-child(2) { font: 600 14px/1.2 var(--body); }
.inc__top small { display: block; margin-top: 2px; font: 400 12px var(--body); color: var(--muted); }
.inc__amt { display: block; margin-top: 14px; font: 500 34px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.psettle--low { top: 476px; left: 0; z-index: 4; }
.psettle--mid { left: 150px; top: 250px; width: 260px; }
/* invoice */
.rec { position: absolute; right: -6px; top: 14px; padding: 12px 16px; border-radius: 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; z-index: 3; }
.rec .ic { width: 34px; height: 34px; border-radius: 10px; }
.rec .ic svg { width: 17px; height: 17px; }
.rec p { margin: 0; font-size: 12.5px; color: var(--muted); }
.rec b { display: block; margin-top: 2px; font: 600 14px/1.25 var(--body); color: var(--ink); }
/* FIRA: the new FIRA lands in the middle first, then joins the fan */
.scn--fira2[data-s="1"] .fdoc--new { --t: translate(10px, -10px) rotate(-1deg); }
.scn--fira2 .fbar { z-index: 3; }
/* tax toolkit */
.scn--tax .dsum { position: absolute; left: 0; top: 20px; width: 300px; height: 560px; }
.scn--tax .bars { height: 300px; }
.dates { position: absolute; right: 0; top: 20px; width: 246px; padding: 18px 20px; border-radius: 24px; display: grid; gap: 2px; }
.dates__t { font: 500 17px/1.2 var(--display); margin-bottom: 8px; }
.dates__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.dates__row em { font-style: normal; font-variant-numeric: tabular-nums; }
.dates__row.is-done span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: rgb(var(--fg) / .35); vertical-align: 1px; }
.dates__row.is-next { color: var(--ink); font-weight: 600; }
.dates__row.is-next span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--money); box-shadow: 0 0 0 4px rgb(var(--money-c) / .18); vertical-align: 1px; }
.gst { position: absolute; right: 0; top: 262px; width: 246px; }
.check { position: absolute; left: 120px; top: 392px; width: 316px; padding: 18px 20px; border-radius: 24px; z-index: 3; background: var(--tile-hi); display: grid; gap: 12px; }
.check b { font: 500 17px/1.2 var(--display); }
.check .ticks { gap: 9px; }
.check .ticks li { font-size: 14px; }
/* marketplaces */
.mdet { position: absolute; left: 0; top: 20px; width: 360px; padding: 20px; border-radius: 24px; z-index: 1; }
.payout { position: absolute; right: 0; top: 214px; width: 290px; padding: 18px 20px; border-radius: 24px; z-index: 2; background: var(--tile-hi); display: grid; gap: 8px; }
.payout__top { display: flex; align-items: center; gap: 12px; }
.payout__top .ic { width: 34px; height: 34px; border-radius: 10px; }
.payout__top .ic svg { width: 17px; height: 17px; }
.payout__top b { font: 500 17px/1.2 var(--display); }
.payout__f { padding: 8px 12px; border-radius: 12px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line); }
.payout__f span { display: block; font-size: 11.5px; color: var(--muted); }
.payout__f b { display: block; margin-top: 2px; font: 600 14px/1.25 var(--body); font-variant-numeric: tabular-nums; }
.payout__ok { justify-self: start; margin-top: 4px; }
.wd { position: absolute; left: 24px; top: 372px; width: 260px; padding: 18px 20px; border-radius: 24px; z-index: 3; display: grid; gap: 8px; }
.wd__amt { font: 500 36px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wd .swap { display: grid; margin-top: 6px; }
.wd .paybtn { justify-content: center; height: 42px; font-size: 14px; }
/* trust: client, partner, bank, joined by a line */
.scn--chain { display: grid; align-content: center; justify-items: center; gap: 40px; }
.chain__t { position: relative; z-index: 2; width: 380px; padding: 18px 20px; border-radius: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.chain__t .ic { width: 44px; height: 44px; border-radius: 13px; }
.chain__t .ic svg { width: 22px; height: 22px; }
.chain__t .mt__flag { width: 44px; height: 44px; border-radius: 13px; }
.chain__t p { margin: 0; font-size: 13px; color: var(--muted); }
.chain__t b { display: block; margin-top: 3px; font: 500 22px/1.1 var(--display); letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.chain__t--end b { color: var(--num); }
.chain__line { position: absolute; left: 50%; top: 156px; bottom: 156px; width: 2px; margin-left: -1px; background: var(--line-2); z-index: 1; }
.chain__line b { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--fg) / .6), var(--num)); transform-origin: top; }
.chain__line .chain__line2 { --t: scaleY(1); }

/* Receipts: the maths of one payment, line by line */
.rcpts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rcpt { padding: var(--pad-lg); border-radius: 28px; display: grid; gap: 18px; align-content: start; }
.rcpt__t { font: 500 20px/1.2 var(--display); letter-spacing: -.01em; }
.rcpt dl { margin: 0; }
.rcpt dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px dashed rgb(var(--fg) / .1); font-size: 15.5px; }
.rcpt dt { color: var(--muted); }
.rcpt dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.rcpt .rcpt__end { border-top: 1px solid var(--line-2); padding-top: 18px; }
.rcpt .rcpt__end dt { color: var(--ink); font-weight: 600; }
.rcpt .rcpt__end dd { font: 500 clamp(26px, 2.6vw, 34px)/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.rcpt.tile--paid .rcpt__end dd { color: var(--num); }
@media (max-width: 760px) { .rcpts { grid-template-columns: minmax(0, 1fr); } }
/* a comparison hero carries the cost bars instead of a phone */
.ph__vis--cost { min-height: 0; place-items: stretch; }
.ph__vis--cost::before { display: none; }
.ph__vis--cost .cost { width: 100%; }

.ph__in:has(> .ph__vis--cost) { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.ph__vis--cost .cost__row { grid-template-columns: minmax(96px, 130px) minmax(0, 1fr) minmax(80px, auto); }
.ph__vis--cost .src { margin-top: 14px; }
@media (max-width: 900px) { .ph__in:has(> .ph__vis--cost) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .ph__vis--cost .cost__row { grid-template-columns: minmax(0, 1fr) auto; } }
/* Phones and tablets: the main bar stays at the top, so the scene sticks just below it, not under it */
@media (max-width: 900px) {
  .story__stage { top: var(--nav-h); height: 46svh; min-height: 320px; padding-top: 0; }
  .story__step { min-height: 52svh; }
}

/* ===== Story: where Zendt is now, the build log, the founder's line ===== */

/* Now: two states in one strip */
.st-now { border-top: 0; padding-top: 0; padding-bottom: 0; }
.now { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 22px; border: 1px solid var(--line); background: var(--tile); box-shadow: var(--tile-shadow); overflow: hidden; }
.now__i { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 22px var(--pad-lg); }
.now__i + .now__i { border-left: 1px solid var(--line); }
.now__i b { font: 500 18px/1.25 var(--display); letter-spacing: -.01em; }
.now__i span:last-child { grid-column: 2; font-size: 14px; color: var(--muted); }
.now__dot { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--money); box-shadow: 0 0 0 5px rgb(var(--money-c) / .16); }
.now__i--next .now__dot { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-2); }
@media (max-width: 700px) { .now { grid-template-columns: minmax(0, 1fr); } .now__i + .now__i { border-left: 0; border-top: 1px solid var(--line); } }

/* Band: one line about where it comes from, and four plain facts */
.st-band { margin-top: clamp(56px, 7vw, 96px); }
.band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.band__t { margin: 0; max-width: 16ch; font: 500 clamp(1.9rem, 3.4vw, 2.9rem)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.band__f { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.band__f > div { display: flex; flex-direction: column; padding: 4px clamp(14px, 1.8vw, 24px); border-left: 1px solid var(--line-2); }
.band__f dt { order: 1; font-size: 13px; color: var(--muted); }
.band__f dd { order: 2; margin: 10px 0 8px; font: 500 clamp(1.7rem, 2.8vw, 2.5rem)/1 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.band__f p { order: 3; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 1000px) { .band { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (max-width: 640px) { .band__f { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } .band__f > div:nth-child(3) { border-left: 0; padding-left: 0; } .band__f > div:first-child { padding-left: 0; border-left: 0; } }

/* The build log: one line runs down the page and fills as you read. Each year's numeral lights as you reach it. */
.log { --wc: 112px; --dc: 44px; position: relative; display: grid; gap: clamp(56px, 7vw, 96px); }
.log__line { position: absolute; left: calc(var(--wc) + var(--dc) / 2 - 1px); top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--line-2); }
.log__fill { position: absolute; left: 0; right: 0; top: 0; height: 100%; border-radius: inherit; background: linear-gradient(180deg, rgb(var(--fg) / .2), var(--hi)); transform-origin: top; transform: scaleY(var(--p, 1)); }
.log__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 24px; padding-left: calc(var(--wc) + var(--dc) + 8px); padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.log__name { grid-column: 1; grid-row: 1; margin: 0; font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--display); letter-spacing: -.025em; }
.log__sub { grid-column: 1; grid-row: 2; margin: 0; font-size: 14.5px; color: var(--muted); }
.log__yr { grid-column: 2; grid-row: 1 / span 2; font: 500 clamp(4.6rem, 12vw, 10.5rem)/.78 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px rgb(var(--fg) / .28); font-variant-numeric: tabular-nums; transition: color .9s var(--ease), -webkit-text-stroke-color .9s var(--ease); }
.log__y.on .log__yr { color: var(--ink); -webkit-text-stroke-color: transparent; }
.log__list { list-style: none; margin: 0; padding: 0; display: grid; }
.log__i { display: grid; grid-template-columns: var(--wc) var(--dc) minmax(0, 1fr); align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); transition: opacity .6s var(--ease); }
.log__i:last-child { border-bottom: 0; }
.log__when { padding-top: 3px; font: 500 14px/1.3 var(--display); letter-spacing: .01em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.log__i::before { content: ""; grid-column: 2; grid-row: 1; justify-self: center; margin-top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px rgb(var(--fg) / .5); transition: background .4s, box-shadow .4s; }
.log__body { grid-column: 3; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; max-width: 64ch; }
.log__body b { font: 500 clamp(19px, 1.7vw, 22px)/1.25 var(--display); letter-spacing: -.015em; }
.log__body p { flex-basis: 100%; margin: 2px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.log__i:not(.log__i--next).on::before, .log:not([data-live]) .log__i:not(.log__i--next)::before { background: var(--hi); box-shadow: inset 0 0 0 2px var(--hi), 0 0 0 5px rgb(var(--fg) / .08); }
.log__i--next::before { background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink-2); }
.log__i--next .log__when { color: var(--ink); }
.pill--next { background: rgb(var(--fg) / .08); color: var(--ink); }
/* with motion: what the line has not reached waits, dimmed */
.log[data-live] .log__i:not(.on) { opacity: .38; }
.log[data-live] .log__fill { transform: scaleY(var(--p, 0)); }
@media (max-width: 700px) {
  .log { --wc: 0px; --dc: 28px; }
  .log__head { padding-left: calc(var(--dc) + 8px); grid-template-columns: minmax(0, 1fr); }
  .log__yr { grid-column: 1; grid-row: 1; margin-bottom: 14px; }
  .log__name { grid-row: 2; }
  .log__sub { grid-row: 3; }
  .log__i { grid-template-columns: var(--dc) minmax(0, 1fr); row-gap: 4px; }
  .log__i::before { grid-column: 1; grid-row: 1 / span 2; }
  .log__when { grid-column: 2; grid-row: 1; padding-top: 0; }
  .log__body { grid-column: 2; grid-row: 2; }
}

/* The finale: the web app's glow card */
.fin { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 72px); border-radius: 32px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--tile-shadow); }
.fin__copy { display: grid; gap: 22px; justify-items: start; }
.fin__t { margin: 0; max-width: 14ch; font: 500 clamp(2.3rem, 4.6vw, 4rem)/.98 var(--display); letter-spacing: -.032em; text-wrap: balance; }
.fin__f { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fin__f > div { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 20px; background: rgb(var(--fg) / .04); box-shadow: inset 0 0 0 1px var(--line); }
.fin__f dd { margin: 0; font: 500 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.fin__f dt { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
@media (max-width: 900px) { .fin { grid-template-columns: minmax(0, 1fr); } }

/* The founder's line */
.st-quote { text-align: left; }
.quote { margin: 0 auto; max-width: 980px; }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font: 500 clamp(1.7rem, 3.4vw, 3rem)/1.16 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.quote p strong { font-weight: 500; color: var(--ink); background: linear-gradient(transparent 62%, rgb(var(--fg) / .12) 62%); }
.quote figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 28px; font-size: 15px; }
.quote figcaption span { color: var(--muted); }
.log:not([data-live]) .log__yr { color: var(--ink); -webkit-text-stroke-color: transparent; }
.quote__who { min-height: 32px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: inherit; text-decoration: none; }
.quote__who span:not(.sr) { color: var(--muted); }
.quote__who svg { width: 16px; height: 16px; color: var(--muted); transition: color .2s; }
.quote__who:hover b { text-decoration: underline; text-underline-offset: 4px; }
.quote__who:hover svg { color: var(--ink); }
