/* larpwallet.pro — site.css
   One stylesheet for every page. Mobile first; breakpoints 640 / 900 / 1100.
   Pages are generated by utils/larpwallet-pro/build.mjs, which stamps ?v= on this file. */

/* ── Fonts ── */
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-v1.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
/* Arial, resized to Instrument Sans' metrics so the swap does not shift the layout */
@font-face {
  font-family: "Instrument Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 102.25%;
  ascent-override: 94.86%;
  descent-override: 24.45%;
  line-gap-override: 0%;
}

/* ── Tokens ── */
:root {
  --paper: #ffffff;
  --paper-2: #f5f5f2;
  --paper-3: #ecece8;
  --line: #e7e7e3;
  --line-2: #d9d9d4;
  --ink: #0a0a0b;
  --ink-2: #36363c;
  --ink-3: #6c6c74;
  --ink-4: #8b8b93;            /* large text only (3.4:1) */
  --acc: #ff4a1c;              /* vermilion: dots, marks, large accents */
  --acc-ink: #c8350c;          /* vermilion that passes as small text */
  --acc-soft: #fff0ea;
  --gain: #0b7a43;
  --gain-bg: #e6f5ed;
  --night: #0b0b0c;
  --night-2: #151517;
  --night-line: #26262a;
  --night-ink: #f5f5f3;
  --night-ink-2: #a7a7ae;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --hdr: 68px;

  --font: "Instrument Sans", "Instrument Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 640px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
/* zero specificity, so any class that sets padding (track gutters, gallery) still wins */
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(760px + var(--gutter) * 2); }
.wrap--mid { max-width: calc(980px + var(--gutter) * 2); }

/* ── Type ── */
.display {
  font-size: clamp(42px, 11.6vw, 72px);
  line-height: .93;
  letter-spacing: -0.052em;
  font-weight: 660;
}
.display .l { display: block; }
.h1 { font-size: clamp(38px, 6vw, 72px); line-height: .98; letter-spacing: -0.048em; font-weight: 650; }
.h2 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1; letter-spacing: -0.046em; font-weight: 650; }
.h3 { font-size: clamp(22px, 2.4vw, 26px); line-height: 1.15; letter-spacing: -0.028em; font-weight: 620; }
.muted { color: var(--ink-4); }
.dot-acc { color: var(--acc); }
.lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.012em; }
.small { font-size: 14px; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; line-height: 1; color: var(--ink-2);
  padding: 8px 14px 8px 11px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); flex: none; }
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  font-stretch: 88%; color: var(--ink-3); line-height: 1;
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 1.5px solid var(--line-2); padding-bottom: 2px;
  transition: border-color .2s var(--ease);
}
.link:hover { border-color: var(--ink); }
.link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ── Buttons & status pill ── */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a2a2f; }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--night { background: var(--night-ink); color: var(--night); }
.btn--night:hover { background: #fff; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn--sm svg { width: 14px; height: 14px; }

.soon {
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 52px; padding: 0 24px 0 20px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em; line-height: 1;
  white-space: nowrap; cursor: default; user-select: none;
}
.soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; animation: soon-pulse 2.4s var(--ease) infinite; }
.soon--sm { min-height: 38px; padding: 0 15px 0 13px; font-size: 14px; gap: 9px; }
.soon--sm i { width: 7px; height: 7px; }
.soon--night { background: var(--night-ink); color: var(--night); }
@keyframes soon-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 74, 28, .55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 74, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 74, 28, 0); }
}

/* ── Header ── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__word { font-size: 19px; font-weight: 680; letter-spacing: -0.045em; line-height: 1; }
.brand__word i { font-style: normal; color: var(--acc); }
.brand__word span { color: var(--ink-3); font-weight: 600; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 550; color: var(--ink-2); text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current] { color: var(--ink); background: var(--paper-2); }
.hdr__end { display: flex; align-items: center; gap: 8px; flex: none; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 999px; border: 0;
  background: var(--paper-2); cursor: pointer; place-items: center;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 16px; height: 1.8px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -5px; }
.menu-btn__bars::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 759px) {
  .hdr__in { gap: 12px; }
  .hdr__end { margin-left: auto; }
  .menu-btn { display: grid; }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav ul { flex-direction: column; gap: 2px; }
  .js .nav a { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); background: none; }
  .js .nav li:last-child a { border-bottom: 0; }
  .nav { order: 3; margin-left: 0; }
  html:not(.js) .nav { position: static; }
  html:not(.js) .hdr__in { height: auto; min-height: var(--hdr); flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .menu-btn { display: none; }
}
/* launch mode: the header's "Get Larp Wallet" link is wider than the "Coming soon" pill, so it drops its arrow on phones */
@media (max-width: 420px) {
  .hdr .btn--sm { padding: 0 14px; }
  .hdr .btn--sm svg { display: none; }
}
@media (max-width: 380px) {
  .brand__word { font-size: 17px; }
  .hdr .soon--sm { padding: 0 12px 0 11px; font-size: 13px; }
  .hdr .btn--sm { padding: 0 12px; font-size: 13px; }
}

/* ── Breadcrumbs ── */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 550; }

/* ── Phone ── */
.phone {
  --w: 280px;
  position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * .03);
  border-radius: calc(var(--w) * .168);
  background: #0c0c0e;
  box-shadow:
    inset 0 0 0 1px #3a3a40,
    inset 0 0 0 calc(var(--w) * .008) #1b1b1f,
    0 calc(var(--w) * .2) calc(var(--w) * .26) calc(var(--w) * -.14) rgba(10, 10, 11, .42),
    0 calc(var(--w) * .05) calc(var(--w) * .1) calc(var(--w) * -.05) rgba(10, 10, 11, .22);
}
.phone__screen {
  position: relative; overflow: hidden; aspect-ratio: 390 / 844;
  border-radius: calc(var(--w) * .14);
  background: #000;
  transform: translateZ(0);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
/* the island: same place and size as the one baked into some captures (124x36 at 11px on a 390x844 screen) */
.phone__screen::after {
  content: ""; position: absolute; left: 34.1%; width: 31.8%; top: 1.303%; height: 4.265%;
  border-radius: 999px; background: #000;
}

/* ── Sections ── */
.sec { padding-block: clamp(80px, 11vw, 150px); }
.sec--tight { padding-block: clamp(64px, 8vw, 110px); }
.sec--paper2 { background: var(--paper-2); }
.sec--night { background: var(--night); color: var(--night-ink); }
.shead { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.shead--center { margin-inline: auto; text-align: center; justify-items: center; }
.shead__sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-3); line-height: 1.55; max-width: 60ch; }
.sec--night .kicker { color: var(--night-ink-2); }
.sec--night .muted { color: #8e8e96; }
.sec--night .shead__sub { color: var(--night-ink-2); }

/* ── Home: hero ── */
.hero { position: relative; padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); overflow-x: clip; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__copy .lead { max-width: 33ch; }
.hero__notes { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--ink-3); }
.hero__notes li { display: inline-flex; align-items: center; gap: 7px; }
.hero__notes svg { width: 15px; height: 15px; color: var(--ink); }
.hero__stage { position: relative; height: clamp(430px, 118vw, 560px); }
.hero__stage::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: min(92%, 560px); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, #f1f1ee 0%, #f6f6f3 58%, rgba(255, 255, 255, 0) 100%);
}
.hero__stage .phone { position: absolute; left: 50%; top: 50%; }
.hero__stage .ph-c { --w: clamp(208px, 58vw, 250px); transform: translate(-50%, -50%); z-index: 3; }
.hero__stage .ph-l { --w: clamp(170px, 46vw, 205px); transform: translate(-106%, -46%) rotate(-8deg); z-index: 2; }
.hero__stage .ph-r { --w: clamp(170px, 46vw, 205px); transform: translate(6%, -46%) rotate(8deg); z-index: 1; }
.hero__chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border-radius: 999px; padding: 9px 14px 9px 11px;
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(10, 10, 11, .25), 0 0 0 1px var(--line);
}
.hero__chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
/* chips sit on the side phones, clear of the centre phone's numbers; hidden on small screens */
.hero__chip--a { left: calc(50% + 124px); top: 15%; }
.hero__chip--b { right: calc(50% + 116px); bottom: 15%; }
@media (max-width: 639px) { .hero__chip { display: none; } }
.hero__chip--b b { color: var(--gain); font-weight: 650; }

@media (min-width: 640px) {
  .hero__stage { height: 600px; }
  .hero__stage .ph-c { --w: 268px; }
  .hero__stage .ph-l, .hero__stage .ph-r { --w: 222px; }
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; }
  .display { font-size: clamp(60px, 6.1vw, 88px); }
  .hero__stage { height: 660px; }
  .hero__stage .ph-c { --w: 292px; }
  .hero__stage .ph-l, .hero__stage .ph-r { --w: 240px; }
  .hero__stage .ph-l { transform: translate(-108%, -45%) rotate(-7deg); }
  .hero__stage .ph-r { transform: translate(8%, -45%) rotate(7deg); }
  .hero__chip--a { left: calc(50% + 136px); top: 12%; }
  .hero__chip--b { right: calc(50% + 128px); bottom: 15%; }
}

/* wallet strip under the hero */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip__in { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; padding-block: 22px; }
.strip__label { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.strip a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px;
  border-radius: 999px; background: var(--paper-2); text-decoration: none;
  font-size: 15px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink);
  transition: background-color .2s var(--ease);
}
.strip a:hover { background: var(--paper-3); }
.swatch { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--c, var(--ink)); }
/* one colour per wallet style (classes, not inline styles: the CSP allows no inline style) */
.c-ghost { --c: #ab9ff2; }
.c-trust { --c: #3b5bff; }
.c-ledger { --c: #1b1b1f; }
.c-exodus { --c: #6c3cff; }
.c-bank { --c: #13a88f; }
.c-fomo { --c: #ffb020; }
.c-money { --c: #00c244; }
/* stagger steps for .rise / .rise-phone / [data-reveal] */
.i1 { --i: 1; } .i2 { --i: 2; } .i3 { --i: 3; } .i4 { --i: 4; }
.i5 { --i: 5; } .i6 { --i: 6; } .i7 { --i: 7; } .i8 { --i: 8; }

/* ── Home: balance band ── */
.balance { text-align: center; }
.balance .shead { margin-bottom: clamp(28px, 4vw, 44px); }
/* every character is a 1em box, top-aligned: digit columns clip (overflow hidden),
   which would otherwise move their baseline to the bottom edge */
.odo {
  display: inline-flex; align-items: flex-start; justify-content: center;
  font-size: clamp(38px, 11vw, 150px); font-weight: 600; letter-spacing: -0.045em; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--night-ink); white-space: nowrap;
  margin: 0;
}
.odo__c { display: inline-flex; align-items: flex-start; color: #6f6f77; }
.odo__d { display: block; height: 1em; overflow: hidden; line-height: 1; }
.odo__strip { display: flex; flex-direction: column; transition: transform 1.4s var(--ease-out); will-change: transform; }
.odo__strip span { height: 1em; line-height: 1; display: block; }
.odo__s { display: block; height: 1em; line-height: 1; }
.odo-wrap { position: relative; padding-block: .12em; }
.odo-chg {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  padding: 8px 14px; border-radius: 999px; background: rgba(46, 204, 113, .12);
  color: #45d483; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.odo-chg svg { width: 10px; height: 10px; }
.balance__sub { max-width: 56ch; margin: 28px auto 0; color: var(--night-ink-2); font-size: clamp(17px, 1.6vw, 19px); }
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  margin: clamp(48px, 6vw, 72px) auto 0; max-width: 980px; list-style: none; padding: 0;
  background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--r-lg); overflow: hidden;
}
.facts li { background: var(--night); padding: 24px 20px; display: grid; gap: 6px; text-align: left; }
.facts b { font-size: clamp(26px, 3vw, 34px); font-weight: 620; letter-spacing: -0.04em; line-height: 1; color: var(--night-ink); }
.facts span { font-size: 14px; color: var(--night-ink-2); line-height: 1.4; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .facts li { padding: 28px 26px; } }

/* ── Home: wallet lineup ── */
.lineup { position: relative; }
.lineup__track {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  list-style: none; margin: 0;
}
.lineup__track::-webkit-scrollbar { display: none; }
.wcard { flex: none; width: min(78vw, 320px); scroll-snap-align: start; }
.wcard__link {
  display: grid; height: 100%; grid-template-rows: auto 1fr;
  border-radius: var(--r-xl); background: var(--paper-2); text-decoration: none; color: inherit; overflow: hidden;
  transition: background-color .3s var(--ease);
}
.wcard__link:hover { background: var(--paper-3); }
.wcard__media { position: relative; height: 330px; overflow: hidden; display: flex; justify-content: center; padding-top: 30px; }
.wcard__media .phone { --w: 236px; transition: transform .5s var(--ease-out); }
.wcard__link:hover .wcard__media .phone { transform: translateY(-8px); }
.wcard__body { display: grid; align-content: start; gap: 8px; padding: 22px 24px 26px; background: var(--paper); border-top: 1px solid var(--line); }
.wcard__tag { font-size: 13px; font-weight: 600; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.wcard__name { font-size: 28px; font-weight: 650; letter-spacing: -0.045em; line-height: 1; }
.wcard__txt { font-size: 15px; color: var(--ink-3); line-height: 1.5; }
.wcard__more { margin-top: 8px; display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; }
.wcard__more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.wcard__link:hover .wcard__more svg { transform: translateX(3px); }
.lineup__nav { display: none; gap: 8px; }
.js .lineup__nav { display: flex; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--paper-2); color: var(--ink);
  transition: background-color .2s var(--ease), opacity .2s var(--ease);
}
.icon-btn:hover { background: var(--paper-3); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn svg { width: 18px; height: 18px; }
.lineup__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.lineup__head .shead { margin-bottom: 0; }
.lineup-sec .lineup { margin-top: clamp(36px, 5vw, 56px); }
@media (max-width: 899px) { .js .lineup__nav { display: none; } }

/* ── Home: features ── */
.fgrid { display: grid; gap: 1px; list-style: none; padding: 0; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fcard { background: var(--paper); padding: 28px 26px 30px; display: grid; align-content: start; gap: 10px; }
.sec--paper2 .fcard { background: var(--paper); }
.ficon { width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; margin-bottom: 8px; color: var(--ink); }
.ficon svg { width: 22px; height: 22px; }
.fcard h3 { font-size: 20px; letter-spacing: -0.03em; font-weight: 620; }
.fcard p { font-size: 15.5px; color: var(--ink-3); line-height: 1.55; }
@media (min-width: 640px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fcard { padding: 34px 32px 36px; } }

/* ── Home: steps ── */
.steps { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; border-radius: var(--r-lg); background: var(--paper-2); padding: 30px 28px 32px; display: grid; gap: 12px; align-content: start; }
.step__n { font-size: 15px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 10px; }
.step__n::after { content: ""; height: 1px; width: 40px; background: var(--line-2); }
.step h3 { font-size: 24px; letter-spacing: -0.035em; }
.step p { color: var(--ink-3); font-size: 16px; line-height: 1.55; }
.step .soon { min-height: 40px; font-size: 14px; padding: 0 16px 0 14px; justify-self: start; margin-top: 6px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .step { padding: 36px 32px 38px; } }

/* ── Home: rules ── */
.rules { display: grid; gap: 40px; }
.rules__head { display: grid; gap: 20px; align-content: start; justify-items: start; }
.rules__head p { color: var(--ink-3); font-size: clamp(17px, 1.6vw, 19px); max-width: 46ch; }
.rules__cols { display: grid; gap: 16px; }
.rules__col { border-radius: var(--r-lg); padding: 28px 28px 30px; display: grid; gap: 16px; align-content: start; }
.rules__col--yes { background: var(--paper-2); }
.sec--paper2 .rules__col--yes { background: var(--paper); }
.rules__col--no { background: var(--night); color: var(--night-ink); }
.rules__col h3 { font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-stretch: 88%; }
.rules__col--yes h3 { color: var(--ink-3); }
.rules__col--no h3 { color: var(--night-ink-2); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 16.5px; line-height: 1.45; letter-spacing: -0.012em; }
.ticks svg { width: 22px; height: 22px; margin-top: 0; }
.ticks--yes svg { color: var(--gain); }
.ticks--no svg { color: var(--acc); }
@media (min-width: 1000px) {
  .rules { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 56px; }
  .rules__cols { grid-template-columns: 1fr 1fr; }
  .rules__col { padding: 34px 32px 36px; }
}

/* ── Cards (guides) ── */
.cards { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.gcard { height: 100%; }
.gcard a {
  display: grid; gap: 12px; align-content: start; height: 100%;
  padding: 28px 26px 30px; border-radius: var(--r-lg); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.gcard a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.sec--paper2 .gcard a { box-shadow: none; }
.sec--paper2 .gcard a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.gcard__meta { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.gcard__meta span + span::before { content: "·"; margin-inline: 7px; color: var(--line-2); }
.gcard h3 { font-size: 22px; letter-spacing: -0.035em; line-height: 1.15; }
.gcard p { font-size: 15.5px; color: var(--ink-3); line-height: 1.55; }
.gcard__more { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; margin-top: 6px; }
.gcard__more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.gcard a:hover .gcard__more svg { transform: translateX(3px); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── FAQ ── */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 56px; } .faq-wrap .shead { position: sticky; top: calc(var(--hdr) + 32px); align-self: start; } }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3, .faq__q h2 { font-size: clamp(18px, 1.8vw, 20px); font-weight: 600; letter-spacing: -0.022em; line-height: 1.3; text-wrap: pretty; }
.faq__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); flex: none; transition: background-color .2s var(--ease), transform .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__q:hover .faq__icon { background: var(--paper-3); }
.faq__item[open] .faq__q:hover .faq__icon { background: var(--ink); }
.faq__a { padding: 0 2px 24px 2px; color: var(--ink-2); display: grid; gap: 12px; }
@media (min-width: 640px) { .faq__a { padding-right: 52px; } }
.faq__a p, .faq__a li { font-size: 16.5px; line-height: 1.65; }
.faq__a ul { padding-left: 20px; display: grid; gap: 6px; }
.faq__a a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.faq__a a:hover { text-decoration-color: var(--ink); }
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 72px); }
.faq-group > h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.035em; margin-bottom: 18px; }

/* ── CTA band ── */
.band-cta { text-align: center; }
.band-cta .h2 { font-size: clamp(44px, 8vw, 112px); letter-spacing: -0.055em; line-height: .92; }
.band-cta p { color: var(--night-ink-2); max-width: 46ch; margin: 24px auto 0; font-size: clamp(17px, 1.6vw, 19px); }
.band-cta .cta-row { justify-content: center; margin-top: 34px; }
.band-cta .btn--ghost { background: transparent; color: var(--night-ink); box-shadow: inset 0 0 0 1px var(--night-line); }
.band-cta .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--night-ink); }

/* ── Footer ── */
.ftr { background: var(--paper-2); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 15px; }
.ftr__top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-2); }
.ftr__brand { display: grid; gap: 16px; align-content: start; justify-items: start; max-width: 340px; }
.ftr__brand p { color: var(--ink-3); line-height: 1.55; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.ftr__col h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-stretch: 88%; color: var(--ink-3); margin-bottom: 14px; }
.ftr__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr__col a { color: var(--ink); text-decoration: none; font-weight: 500; }
.ftr__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__legal { display: grid; gap: 14px; padding-top: 28px; color: var(--ink-3); font-size: 13.5px; line-height: 1.6; }
.ftr__legal p { max-width: 110ch; }
.ftr__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (min-width: 900px) {
  .ftr__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .ftr__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Inner-page hero (wallets, guides hub, faq, legal) ── */
.phero { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px); }
.phero__in { display: grid; gap: 22px; justify-items: start; }
.phero .lead { max-width: 52ch; }
.phero--center .phero__in { justify-items: center; text-align: center; }
.phero--center .lead { margin-inline: auto; }

/* chips row (anchor links) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 12px; border-radius: 999px;
  background: var(--paper-2); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -0.015em;
  transition: background-color .2s var(--ease);
}
.chips a:hover { background: var(--paper-3); }
.chips svg { width: 16px; height: 16px; }

/* ── Wallets hub: rows ── */
.wrow { display: grid; gap: 36px; align-items: center; padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.wrow:first-of-type { border-top: 0; }
.wrow__media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; border-radius: var(--r-xl); background: var(--paper-2); padding: 40px 20px; overflow: hidden; }
.wrow__media .phone { --w: clamp(220px, 58vw, 270px); }
.wrow__media .phone + .phone { position: absolute; --w: clamp(170px, 42vw, 210px); opacity: .98; }
.wrow__media--pair .phone:first-child { transform: translateX(-24%) rotate(-5deg); }
.wrow__media--pair .phone + .phone { transform: translateX(34%) translateY(4%) rotate(6deg); z-index: 0; }
.wrow__media--pair .phone:first-child { z-index: 1; }
/* phones: a smaller pair so the front phone stays inside its box */
@media (max-width: 559px) {
  .wrow__media .phone { --w: clamp(186px, 50vw, 250px); }
  .wrow__media .phone + .phone { --w: clamp(146px, 38vw, 200px); }
  .wrow__media--pair .phone:first-child { transform: translateX(-20%) rotate(-5deg); }
}
.wrow__copy { display: grid; gap: 18px; align-content: start; justify-items: start; }
.wrow__tag { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.wrow__tag svg { width: 16px; height: 16px; }
.wrow__copy h2 { font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -0.05em; line-height: .95; }
.wrow__copy > p { color: var(--ink-2); font-size: 17.5px; line-height: 1.6; max-width: 54ch; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; width: 100%; margin: 6px 0 4px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.kv div { background: var(--paper); padding: 14px 16px; display: grid; gap: 4px; }
.kv dt { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.kv dd { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.bestfor { font-size: 15.5px; color: var(--ink-3); }
.bestfor b { color: var(--ink); font-weight: 600; }
@media (min-width: 1000px) {
  .wrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .wrow--flip .wrow__media { order: 2; }
  .wrow__media { min-height: 600px; }
  .wrow__media .phone { --w: 280px; }
  .wrow__media .phone + .phone { --w: 230px; }
}

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.4; }
.cmp thead th { font-size: 14px; font-weight: 650; letter-spacing: -0.01em; background: var(--paper-2); position: sticky; top: 0; }
.cmp tbody th { font-weight: 550; color: var(--ink-3); width: 170px; position: sticky; left: 0; background: var(--paper); }
.cmp thead th:first-child { position: sticky; left: 0; z-index: 1; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td { font-weight: 500; }
.cmp .no { color: var(--ink-4); }
/* frozen feature column: inset line, since collapsed borders don't travel with sticky cells */
.cmp tbody th, .cmp thead th:first-child { box-shadow: inset -1px 0 0 var(--line); }
@media (max-width: 759px) {
  .cmp { min-width: 1000px; font-size: 14.5px; }
  .cmp th, .cmp td { padding: 14px; }
  .cmp tbody th { width: 132px; }
}
.cmp-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* ── Wallet page ── */
.whero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 104px); overflow-x: clip; }
.whero__grid { display: grid; gap: 44px; align-items: center; }
.whero__copy { display: grid; gap: 22px; justify-items: start; }
.whero__copy .lead { max-width: 40ch; }
.whero__stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; border-radius: var(--r-xl); background: var(--paper-2); padding: 40px 16px; overflow: hidden; }
.whero__stage .phone { --w: clamp(220px, 62vw, 280px); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; width: 100%; max-width: 520px; list-style: none; padding: 0; margin: 4px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.stats li { background: var(--paper); padding: 16px 18px; display: grid; gap: 4px; }
.stats b { font-size: 26px; font-weight: 620; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .whero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
  .whero__stage { min-height: 680px; }
  .whero__stage .phone { --w: 300px; }
}

/* screen gallery */
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1); list-style: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery li { flex: none; scroll-snap-align: center; }
.shot { display: grid; gap: 16px; justify-items: center; width: 250px; }
.shot .phone { --w: 236px; }
.shot figcaption { text-align: center; display: grid; gap: 4px; padding-inline: 4px; }
.shot figcaption b { font-size: 16px; font-weight: 620; letter-spacing: -0.02em; }
.shot figcaption span { font-size: 14px; color: var(--ink-3); line-height: 1.45; }
@media (min-width: 1100px) {
  .gallery { overflow: visible; justify-content: center; gap: 32px; margin-inline: 0; padding-inline: 0; }
  .shot { width: 260px; }
  .shot .phone { --w: 250px; }
}
.themes { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: clamp(32px, 5vw, 56px); }
.themes .phone { --w: clamp(150px, 30vw, 250px); }
.themes .phone:nth-child(1) { transform: translateX(14%) rotate(-5deg); z-index: 1; }
.themes .phone:nth-child(2) { z-index: 2; transform: translateY(-4%); }
.themes .phone:nth-child(3) { transform: translateX(-14%) rotate(5deg); z-index: 1; }
.themes--2 .phone:nth-child(1) { transform: translateX(8%) rotate(-4deg); }
.themes--2 .phone:nth-child(2) { transform: translateX(-8%) rotate(4deg); z-index: 1; }

/* feature groups */
.fgroups { display: grid; gap: 16px; }
.fgroup { border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 28px 26px 30px; display: grid; gap: 18px; align-content: start; }
.sec--paper2 .fgroup { box-shadow: none; }
.fgroup h3 { font-size: 22px; letter-spacing: -0.035em; display: flex; align-items: center; gap: 12px; }
.fgroup h3 .ficon { margin: 0; width: 40px; height: 40px; }
.fgroup ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.fgroup li { display: grid; gap: 3px; }
.fgroup li b { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.fgroup li span { font-size: 15px; color: var(--ink-3); line-height: 1.5; }
@media (min-width: 760px) { .fgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fgroups--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* use cases */
.uses { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.uses li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 20px 22px; border-radius: var(--r-md); background: var(--paper-2); font-size: 16.5px; line-height: 1.5; }
.sec--paper2 .uses li { background: var(--paper); }
.uses svg { width: 22px; height: 22px; color: var(--gain); }
.uses b { font-weight: 600; }
@media (min-width: 760px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* note / disclaimer box */
.note { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 22px 24px; border-radius: var(--r-md); background: var(--paper-2); font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.note svg { width: 22px; height: 22px; color: var(--ink-3); margin-top: 1px; }
.note b { color: var(--ink); }
.note a { color: var(--ink); text-underline-offset: 3px; }

/* related links */
.related { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border-radius: var(--r-md); background: var(--paper-2); text-decoration: none;
  font-weight: 600; letter-spacing: -0.015em; transition: background-color .2s var(--ease);
}
.related a:hover { background: var(--paper-3); }
.related a > span { display: inline-flex; align-items: center; gap: 12px; }
.related a > span > span:not(.swatch) { display: block; }
.related a small { display: block; font-weight: 500; font-size: 14px; color: var(--ink-3); letter-spacing: -0.005em; margin-top: 2px; }
.related svg { width: 16px; height: 16px; flex: none; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .related--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Article (guides, legal) ── */
.article__head { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(32px, 4vw, 48px); display: grid; gap: 22px; justify-items: start; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--ink-3); }
.article__meta span + span::before { content: "·"; margin-right: 14px; color: var(--line-2); }
/* phones: the byline wraps, so give it its own line instead of a line that starts with a dot */
@media (max-width: 559px) {
  .article__meta span:last-child { flex-basis: 100%; }
  .article__meta span:last-child::before { content: none; }
}
.article__layout { display: grid; gap: 40px; padding-bottom: clamp(72px, 9vw, 120px); }
.toc { display: none; }
@media (min-width: 1100px) {
  .article__layout { grid-template-columns: 220px minmax(0, 760px); justify-content: center; gap: 72px; }
  .article__head { max-width: calc(760px + 220px + 72px + var(--gutter) * 2); }
  .toc { display: block; position: sticky; top: calc(var(--hdr) + 32px); align-self: start; font-size: 14px; }
  .toc p { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-stretch: 88%; color: var(--ink-3); margin-bottom: 12px; }
  .toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--ink-3); line-height: 1.35; transition: color .2s var(--ease), border-color .2s var(--ease); }
  .toc a:hover { color: var(--ink); }
  .toc a.is-active { color: var(--ink); border-left-color: var(--ink); font-weight: 550; }
}

.prose { color: var(--ink-2); font-size: 17.5px; line-height: 1.72; letter-spacing: -0.008em; min-width: 0; }
@media (min-width: 640px) { .prose { font-size: 18.5px; } }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--ink); font-size: clamp(28px, 3.2vw, 36px); letter-spacing: -0.04em; line-height: 1.08; margin-top: 2.1em; scroll-margin-top: calc(var(--hdr) + 24px); }
.prose h3 { color: var(--ink); font-size: clamp(21px, 2.1vw, 24px); letter-spacing: -0.03em; line-height: 1.2; margin-top: 1.7em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: var(--ink); text-decoration-color: var(--line-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease); }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 620; }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: .45em; }
.prose li::marker { color: var(--ink-4); }
.prose ol li::marker { font-weight: 600; color: var(--ink-3); }
.prose blockquote { border-left: 2px solid var(--acc); padding: 2px 0 2px 22px; color: var(--ink); font-size: 1.05em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.prose figure { margin-block: 2em; }
.prose figcaption { font-size: 14px; color: var(--ink-3); margin-top: 12px; text-align: center; }
.prose .table-wrap { margin-block: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--paper-2); color: var(--ink); font-weight: 620; font-size: 14.5px; }
.prose tbody tr:last-child td, .prose tbody tr:last-child th { border-bottom: 0; }
.prose tbody th { color: var(--ink); font-weight: 600; }

.answer {
  border-radius: var(--r-lg); background: var(--paper-2); padding: 26px 26px 28px;
  color: var(--ink); font-size: 1.04em; line-height: 1.62;
}
.answer > b:first-child, .answer__label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-stretch: 88%; color: var(--ink-3); margin-bottom: 10px; }
.keyfacts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-block: 1.6em; }
.keyfacts div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; background: var(--paper); font-size: 16px; }
.keyfacts dt { color: var(--ink-2); }
.keyfacts dd { margin: 0; font-weight: 650; color: var(--ink); text-align: right; }
.keyfacts dd.yes { color: var(--gain); }
.keyfacts dd.no { color: var(--acc-ink); }
.callout { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 22px 24px; border-radius: var(--r-md); background: var(--acc-soft); color: var(--ink); font-size: .95em; line-height: 1.6; }
.callout svg { width: 22px; height: 22px; color: var(--acc-ink); margin-top: 2px; }
.callout--plain { background: var(--paper-2); }
.callout--plain svg { color: var(--ink-3); }
.stat { display: grid; gap: 6px; padding: 26px 26px 24px; border-radius: var(--r-lg); background: var(--night); color: var(--night-ink); }
.stat b { font-size: clamp(40px, 6vw, 60px); font-weight: 620; letter-spacing: -0.05em; line-height: 1; }
.stat span { color: var(--night-ink-2); font-size: 15.5px; line-height: 1.5; }
.stat a { color: var(--night-ink); }
.steps-list { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 14px !important; }
.steps-list > li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); background: var(--paper-2); }
.steps-list > li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.steps-list > li > div > b:first-child { display: block; color: var(--ink); font-weight: 620; margin-bottom: 2px; }
.flags { list-style: none; padding: 0 !important; display: grid; gap: 10px !important; }
.flags li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.flags svg { width: 20px; height: 20px; color: var(--acc); margin-top: .28em; }
.article__main { min-width: 0; }
.article__end { display: grid; gap: 20px; margin-top: clamp(56px, 7vw, 80px); padding-top: clamp(36px, 4vw, 48px); border-top: 1px solid var(--line); }
.article__end .related { grid-template-columns: 1fr; }
/* FAQ inside an article: the summary heading keeps the FAQ size, not the prose h3 size */
.prose .faq { margin-top: 1.4em; }
.prose .faq__q h3 { margin-top: 0; font-size: clamp(18px, 1.8vw, 20px); letter-spacing: -0.022em; line-height: 1.3; }
.prose .faq__a { font-size: 16.5px; }
.prose .faq__a ul { padding-left: 20px; }
.source-list { font-size: 15px; color: var(--ink-3); padding-left: 1.2em; }

/* ── 404 ── */
.nf { min-height: calc(100svh - var(--hdr) - 200px); display: grid; place-items: center; text-align: center; padding-block: 72px; }
.nf__num { font-size: clamp(72px, 18vw, 200px); font-weight: 620; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.nf__num span { color: var(--ink-4); }
.nf .lead { margin: 20px auto 0; max-width: 34ch; }
.nf .cta-row { justify-content: center; margin-top: 32px; }

/* ── Motion: load + reveal (only with JS, never with reduced motion) ── */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 80ms + 60ms); }
  .js .rise-phone { opacity: 0; animation: rise-phone 1.1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 240ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-phone { from { opacity: 0; translate: 0 44px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
