:root {
  --grape: #5B2EFF; --on-grape: #FFFFFF; --grape-text: #5B2EFF;
  --tangerine: #FF8A1F; --mint: #2ED9A0; --bubblegum: #FFB8D9; --money-out: #1C1530; --on-bright: #1C1530;
  --ink: #1C1530; --ink-muted: #5E5873; --surface: #FFFFFF; --surface-soft: #F3F0FF;
  --outline: #1C1530; --hairline: #E2DDF5;
  --sticker-paper: #FFFFFF; --sticker-ink: #1C1530; --sticker-muted: #5E5873;
  --success: #18D26E; --warning: #F59E0B; --danger: #EF4444; --focus: #5B2EFF;
  --err: #B3261E;
  --font-display: Fredoka, Nunito, system-ui, sans-serif;
  --font-body: Nunito, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px;
  --radius-s: 12px; --radius-m: 20px; --radius-l: 32px; --radius-pill: 999px;
  --stroke-s: 2px; --stroke-m: 3px; --stroke-l: 4px; --stroke-xl: 5px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grape-text: #B3A1FF; --ink: #F4F1FF; --ink-muted: #B9B2CC; --surface: #17121F; --surface-soft: #221B30;
    --outline: #E9E4FF; --hairline: #3A3150; --focus: #B3A1FF; --err: #FF9B94;
  }
}

/* Grup components. Tokens come from tokens.css (generated from tokens.json). Classes are prefixed g-. */

.g-root { font-family: var(--font-body); color: var(--ink); background: var(--surface); }

/* Chat image scope: images keep one look whatever the reader's theme. */
.g-card, .g-sticker, .g-preview {
  --ink: var(--sticker-ink);
  --ink-muted: var(--sticker-muted);
  --outline: var(--sticker-ink);
  --surface: var(--sticker-paper);
}

/* Button */
.g-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5); box-sizing: border-box;
  font-family: var(--font-body); font-size: 16px; line-height: 24px; font-weight: 800;
  border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-pill);
  background: var(--surface); color: var(--ink); text-decoration: none; cursor: pointer;
}
.g-btn--primary { background: var(--grape); color: var(--on-grape); }
.g-btn--celebrate { background: var(--tangerine); color: var(--on-bright); }
.g-btn--block { display: flex; width: 100%; }
.g-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.g-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Status chip: colour plus the word, always */
.g-chip {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: 3px 10px; border: var(--stroke-s) solid var(--outline); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-bright);
}
.g-chip--paid { background: var(--success); }
.g-chip--waiting { background: var(--warning); }
.g-chip--failed { background: var(--danger); }

/* Pill: percentages and short labels on cards */
.g-pill {
  display: inline-flex; align-items: center; padding: 2px 12px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 20px; line-height: 24px; font-weight: 600;
  background: var(--grape); color: var(--on-grape);
}
.g-pill--tangerine { background: var(--tangerine); color: var(--on-bright); }
.g-pill--mint { background: var(--mint); color: var(--on-bright); }
.g-pill--out { background: var(--money-out); color: var(--on-grape); }

/* Progress bar: set the fill width inline on the span */
.g-progress {
  height: 22px; box-sizing: border-box; border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-pill);
  background: var(--surface); overflow: hidden;
}
.g-progress > span { display: block; height: 100%; background: var(--tangerine); }
.g-progress--thin { height: 12px; border-width: var(--stroke-s); }

/* Avatars */
.g-avatars { display: flex; align-items: center; }
.g-avatar {
  width: 34px; height: 34px; box-sizing: border-box; border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 13px; font-weight: 800; color: var(--on-bright); background: var(--mint);
}
.g-avatar + .g-avatar { margin-left: calc(-1 * var(--space-2)); }
.g-avatar--gum { background: var(--bubblegum); }
.g-avatar--tan { background: var(--tangerine); }
.g-avatar--empty { background: var(--surface); border-style: dashed; color: var(--ink-muted); }
.g-avatars__count { margin-left: var(--space-3); font-size: 14px; font-weight: 800; }

/* Card: the base of every chat image */
.g-card {
  box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-5); background: var(--surface); color: var(--ink);
  border: var(--stroke-l) solid var(--outline); border-radius: var(--radius-l);
  font-family: var(--font-body);
}
.g-card--square { width: 360px; height: 360px; }
.g-card__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.g-card__title { font-family: var(--font-display); font-size: 28px; line-height: 32px; font-weight: 700; margin: 0; }
.g-card__amount { font-family: var(--font-display); font-size: 44px; line-height: 48px; font-weight: 700; margin: 0; font-variant-numeric: tabular-nums; }
.g-card__sub { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-muted); margin: 0; }
.g-card__rows { display: flex; flex-direction: column; gap: var(--space-1); font-size: 14px; font-weight: 600; }
.g-card__rows > div { display: flex; justify-content: space-between; gap: var(--space-3); }
.g-card__rows dt, .g-card__rows dd { margin: 0; }
.g-card__rows dd { font-weight: 800; text-align: right; }
.g-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.g-card__foot img { height: 20px; }
.g-mono { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 500; }

/* Split tracker rows */
.g-split { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.g-split li { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 700; }

/* Milestone sticker: die-cut ring around an outlined disc */
.g-sticker {
  width: 200px; height: 200px; box-sizing: border-box; padding: 9px; border-radius: 50%;
  background: var(--surface);
}
.g-sticker__face {
  width: 100%; height: 100%; box-sizing: border-box; border-radius: 50%;
  border: var(--stroke-xl) solid var(--outline); background: var(--tangerine); color: var(--on-bright);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}
.g-sticker__big { font-size: 64px; line-height: 1; }
.g-sticker__small { font-size: 22px; line-height: 1.1; }
.g-sticker--mint .g-sticker__face { background: var(--mint); }
.g-sticker--gum .g-sticker__face { background: var(--bubblegum); }

/* Link preview image (1200 x 630) */
.g-preview {
  aspect-ratio: 1200 / 630; width: 100%; max-width: 600px; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: space-between; padding: 6%;
  background: var(--grape); color: var(--on-grape); border-radius: var(--radius-m);
  font-family: var(--font-body);
}
.g-preview__title { font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 700; margin: 0; }
.g-preview__meta { font-size: 18px; font-weight: 800; margin: 0; }
.g-preview .g-progress { border-color: var(--on-grape); background: var(--on-grape); height: 24px; }
.g-preview__badge { font-family: var(--font-display); font-weight: 700; font-size: 26px; background: var(--sticker-paper); color: var(--grape); padding: 0 14px; border-radius: var(--radius-pill); }

/* Pocket page (grup.cash/g/CODE) */
.g-page {
  max-width: 420px; box-sizing: border-box; background: var(--surface); color: var(--ink);
  border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-l); overflow: hidden;
  font-family: var(--font-body);
}
.g-page__bar { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) var(--space-4); border-bottom: var(--stroke-m) solid var(--outline); }
.g-page__bar img { height: 26px; }
.g-page__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5) var(--space-4); }
.g-label { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.g-fine { font-size: 12px; line-height: 16px; color: var(--ink-muted); margin: 0; }
.g-page a:not(.g-btn) { color: var(--grape-text); }

/* grup.cash page styles. Tokens and g- components come first (tokens.css, bundle.css). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/24px var(--font-body); overflow-x: clip; }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--grape-text); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.g-btn:focus-visible { outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 20; background: var(--surface); color: var(--ink); padding: 10px 16px; border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-pill); font-weight: 800; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 640px) { .wrap { padding: 0 var(--space-6); } }
.narrow { max-width: 760px; }

/* Type */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: inherit; }
h1 { font-size: clamp(2.5rem, 8.6vw, 4rem); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.875rem, 5.6vw, 2.75rem); line-height: 1.08; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; line-height: 1.15; }
.lead { font-size: 18px; line-height: 28px; }
.muted { color: var(--ink-muted); }
.eyebrow { background: var(--bubblegum); }
.g-chip.eyebrow { font-size: 13px; padding: 5px 14px; border-width: var(--stroke-m); }

/* Buttons */
.g-btn { text-align: center; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; }
.g-btn--lg { min-height: 58px; font-size: 18px; padding-left: var(--space-6); padding-right: var(--space-6); }
.g-btn svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.textlink { font-weight: 800; display: inline-flex; align-items: center; min-height: 44px; }
.g-btn:active { transform: translateY(2px); }

/* Header and footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 14px 0; }
.logo { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--grape); border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-pill); }
.logo img { height: 24px; width: auto; display: block; }
.top nav { display: flex; align-items: center; gap: var(--space-4); }
.top nav a:not(.g-btn) { min-width: 44px; justify-content: center; font-weight: 800; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; }
.top nav a:not(.g-btn):hover { text-decoration: underline; }
.top .g-btn { min-height: 44px; padding: 0 var(--space-4); font-size: 15px; }
.top .hide-s { display: none; }
@media (min-width: 720px) { .top .hide-s { display: inline-flex; } }
.foot { background: var(--surface-soft); border-top: var(--stroke-m) solid var(--outline); margin-top: 0; padding: 40px 0 32px; }
.foot__row { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); align-items: center; justify-content: space-between; }
.foot__by { display: flex; align-items: center; gap: var(--space-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.foot nav a { min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; font-weight: 800; color: var(--ink); }
.foot small { display: block; margin-top: var(--space-4); max-width: 720px; font-size: 13px; line-height: 19px; color: var(--ink-muted); }

/* Hero */
.hero { padding: 8px 0 112px; }
.hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 32px 0 96px; } .hero__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.hero h1 { text-wrap: balance; }
.hero__copy .lead { max-width: 30em; }
.hero__copy .g-btn { align-self: stretch; }
@media (min-width: 560px) { .hero__copy .g-btn { align-self: flex-start; } }
.hero__note { margin-top: calc(-1 * var(--space-3)); color: var(--ink-muted); font-weight: 700; }
.hero__visual { position: relative; width: 100%; max-width: 640px; }
.hero__card { position: absolute; left: 12px; bottom: -80px; width: 196px; padding: 12px 14px; gap: 6px; border-width: var(--stroke-m); border-radius: var(--radius-m); }
@media (min-width: 560px) { .hero__card { bottom: -48px; } }
@media (min-width: 900px) { .hero__card { left: -36px; bottom: -40px; } }
.hero__card .g-card__title { font-size: 18px; line-height: 22px; }
.hero__card .g-card__amount { font-size: 24px; line-height: 28px; }
.hero__card .g-card__amount small { font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.hero__card .dots { gap: 5px; }
.hero__card .dots i { width: 22px; height: 22px; }
.photo { display: block; width: 100%; height: auto; border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-l); background: var(--surface-soft); }
.photo--wide { aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: var(--space-8); }
@media (min-width: 760px) { .photo--wide { aspect-ratio: 5 / 2; object-position: 50% 55%; } }
.count { display: flex; align-items: center; gap: var(--space-3); font-weight: 700; }
.count strong { font-family: var(--font-display); font-size: 22px; background: var(--mint); color: var(--on-bright); padding: 0 12px; border: var(--stroke-s) solid var(--outline); border-radius: var(--radius-pill); }
.cta-row { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.qr { display: none; }
@media (min-width: 900px) and (hover: hover) {
  .cta-row { flex-direction: row; align-items: center; gap: var(--space-6); }
  .qr { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); width: 128px; }
  .cta-row .g-btn { white-space: nowrap; }
  .qr svg { width: 112px; height: 112px; flex: none; border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-s); background: #fff; }
  .qr p { font-size: 13px; line-height: 17px; font-weight: 700; }
}
.dots { display: flex; gap: 6px; }
.dots i { width: 24px; height: 24px; border-radius: 50%; border: var(--stroke-s) dashed var(--ink-muted); background: var(--surface); }
.dots i.on { border: var(--stroke-s) solid var(--outline); background: var(--mint); }
.dots i.on::after { content: ""; display: block; width: 7px; height: 12px; margin: 2px auto 0; border: solid var(--on-bright); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg) translate(-1px, -1px); }
@media (max-width: 380px) { .g-btn--lg { padding-left: var(--space-4); padding-right: var(--space-4); } }
@media (prefers-reduced-motion: no-preference) {
  .card, .step-card { animation: rise 0.4s ease-out both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Bands */
.band { padding: 56px 0; }
@media (min-width: 900px) { .band { padding: 88px 0; } }
.band--soft { background: var(--surface-soft); }
.band--grape { background: var(--grape); color: var(--on-grape); border-block: var(--stroke-l) solid var(--outline); }
.band--gum { background: var(--bubblegum); color: var(--on-bright); border-block: var(--stroke-l) solid #1C1530; --outline: #1C1530; --focus: #1C1530; }
.band h2 + * { margin-top: var(--space-5); }
.head { max-width: 720px; margin-bottom: var(--space-8); }
.head h2 + p { margin-top: var(--space-3); }
.grid { display: grid; gap: var(--space-6); }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); color: var(--ink); border: var(--stroke-l) solid var(--outline); border-radius: var(--radius-l); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.card p { color: var(--ink-muted); }
.card h3 { color: var(--ink); }
.num { display: inline-grid; place-items: center; width: 52px; height: 52px; border: var(--stroke-m) solid var(--outline); border-radius: 50%; font: 700 26px/1 var(--font-display); color: var(--on-bright); background: var(--tangerine); }
.card:nth-child(2) .num { background: var(--mint); }
.card:nth-child(3) .num { background: var(--bubblegum); }
.panel { border-radius: var(--radius-m); background: var(--surface-soft); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); font-weight: 800; margin-bottom: var(--space-2); }
.panel .g-card__amount { font-size: 28px; line-height: 32px; color: var(--ink); }
.panel small { font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.panel .g-progress { background: var(--surface); }
.panel .g-avatar { width: 38px; height: 38px; }
.ico { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-wrap { display: grid; place-items: center; width: 56px; height: 56px; border: var(--stroke-m) solid var(--outline); border-radius: 50%; background: var(--mint); }
.ico-wrap svg { stroke: #1C1530; }
.card:nth-child(2) .ico-wrap { background: var(--bubblegum); }
.card:nth-child(3) .ico-wrap { background: var(--tangerine); }
.card:nth-child(4) .ico-wrap { background: var(--surface-soft); }
.card:nth-child(4) .ico-wrap svg { stroke: var(--ink); }
.band--grape h2 { color: var(--on-grape); }
.band--grape .lead { color: var(--on-grape); }
.band--grape .card { border-color: var(--outline); }
.band--grape a.g-btn { border-color: var(--outline); }
.split2 { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .split2 { grid-template-columns: 1.4fr 0.6fr; } }
.split2 .photo--tall { justify-self: center; max-width: 340px; }
.band--gum .cta-row { margin-top: var(--space-5); }
.band--gum p + p { margin-top: var(--space-3); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: var(--space-3); max-width: 800px; }
.faq details { border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-m); background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 14px 64px 14px 20px; min-height: 56px; display: flex; align-items: center; font: 700 18px/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 12px; top: 50%; margin-top: -17px; width: 34px; height: 34px; display: grid; place-items: center; border: var(--stroke-m) solid var(--outline); border-radius: 50%; background: var(--mint); color: var(--on-bright); font: 700 22px/1 var(--font-body); }
.faq details[open] summary::after { content: "\2212"; background: var(--tangerine); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-muted); }
.faq details[open] > div { color: var(--ink); }
.faq summary:focus-visible { outline-offset: 2px; border-radius: var(--radius-m); }

/* Focus pages: invite, grup, pocket, messages */
.focus { padding: 28px 0 56px; background: var(--surface-soft); }
.focus__card { max-width: 560px; margin: 0 auto; padding: var(--space-6) var(--space-5); border: var(--stroke-l) solid var(--outline); border-radius: var(--radius-l); background: var(--surface); display: flex; flex-direction: column; gap: var(--space-4); position: relative; }
@media (min-width: 640px) { .focus__card { padding: 32px; } }
.focus__card h1 { font-size: clamp(2rem, 7.5vw, 3rem); }
.focus__card .g-card__amount { font-size: clamp(2.5rem, 12vw, 3.5rem); line-height: 1; }
.focus__card .g-card__amount small { display: block; margin-top: 4px; font: 700 16px/20px var(--font-body); color: var(--ink-muted); }
.emoji { font-size: 56px; line-height: 1; }
.focus .g-fine { font-size: 13px; line-height: 19px; }
.focus .tag { align-self: flex-start; }
.stats { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.stats .g-chip { text-transform: none; letter-spacing: 0; font-size: 14px; background: var(--surface-soft); color: var(--ink); }
.big-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.big-dots i { width: 32px; height: 32px; border-radius: 50%; border: var(--stroke-m) dashed var(--ink-muted); background: var(--surface); }
.big-dots i.on { border: var(--stroke-m) solid var(--outline); background: var(--mint); position: relative; }
.big-dots i.on::after { content: ""; position: absolute; left: 10px; top: 4px; width: 7px; height: 13px; border: solid var(--on-bright); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.shares { display: grid; gap: var(--space-2); }
.shares li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.shares i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: var(--stroke-m) dashed var(--ink-muted); background: var(--surface); }
.shares li.on i { border: var(--stroke-m) solid var(--outline); background: var(--mint); position: relative; }
.shares li.on i::after { content: ""; position: absolute; left: 8px; top: 3px; width: 6px; height: 11px; border: solid var(--on-bright); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.shares .who { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.shares .amt { font-family: var(--font-display); white-space: nowrap; }
.shares .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.done { align-self: flex-start; font-family: var(--font-display); font-size: 20px; font-weight: 600; padding: 4px 16px; border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-pill); background: var(--mint); color: var(--on-bright); }
.done--closed { background: var(--surface-soft); color: var(--ink); }
.pockets { display: grid; gap: var(--space-3); }
.pcard { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-m); background: var(--surface); text-decoration: none; color: var(--ink); min-height: 48px; }
.pcard:hover { background: var(--surface-soft); }
.pcard b { font: 700 20px/24px var(--font-display); display: flex; gap: 8px; }
.pcard span { font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.empty { padding: var(--space-4); border: var(--stroke-m) dashed var(--ink-muted); border-radius: var(--radius-m); color: var(--ink-muted); font-weight: 700; }
.focus .band-note { text-align: center; margin-top: var(--space-5); }
.msg { text-align: left; }

/* Prose pages */
.prose { padding: 24px 0 56px; }
.prose h1 { font-size: clamp(2.25rem, 8vw, 3.25rem); margin-bottom: var(--space-5); }
.prose h2 { font-size: 1.75rem; margin: var(--space-8) 0 var(--space-3); }
.prose p, .prose li { margin-top: var(--space-3); max-width: 44em; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { display: list-item; }
.prose .faq { margin-top: var(--space-4); }
.prose .when { color: var(--ink-muted); font-weight: 700; }
.helpcard { margin-top: var(--space-5); padding: var(--space-5); border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-m); background: var(--surface-soft); }
.helpcard h2 { margin-top: 0; font-size: 1.375rem; }

/* Verification form */
.verify .focus__card { max-width: 640px; }
.verify h1 { font-size: clamp(1.875rem, 6.5vw, 2.5rem); }
.steps { display: flex; gap: var(--space-2); margin: 0 0 var(--space-5); }
.steps li { flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 6px; font-size: 13px; font-weight: 800; border: var(--stroke-s) solid var(--outline); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-muted); }
.steps li b { display: none; }
.steps li[aria-current="step"] { background: var(--grape); color: var(--on-grape); }
.steps li.done-step { background: var(--mint); color: var(--on-bright); }
@media (min-width: 560px) { .steps li b { display: inline; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
fieldset + fieldset { margin-top: var(--space-6); padding-top: var(--space-6); border-top: var(--stroke-s) solid var(--hairline); }
.js fieldset + fieldset { margin-top: 0; padding-top: 0; border-top: 0; }
legend { padding: 0; font: 700 1.5rem/1.2 var(--font-display); margin-bottom: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .lab { font-weight: 800; }
.field .hint { font-size: 14px; line-height: 19px; color: var(--ink-muted); }
.field input[type=text], .field input[type=email], .field input[type=date], .field input[type=tel], .field input[inputmode] {
  width: 100%; min-height: 52px; padding: 0 16px; font: 600 17px/1.2 var(--font-body); color: var(--ink); background: var(--surface);
  border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-m); }
.field input[type=file] { width: 100%; padding: 12px; font: 600 15px/1.3 var(--font-body); color: var(--ink); background: var(--surface-soft); border: var(--stroke-m) dashed var(--outline); border-radius: var(--radius-m); min-height: 56px; }
.field input[type=file]::file-selector-button { min-height: 44px; margin-right: 12px; padding: 0 16px; font: 800 15px var(--font-body); color: var(--on-grape); background: var(--grape); border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-pill); cursor: pointer; }
.field input[type=text]:focus-visible, .field input[type=email]:focus-visible, .field input[type=date]:focus-visible, .field input[type=file]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field.bad input { border-color: var(--err); }
.err { display: none; color: var(--err); font-weight: 800; font-size: 15px; line-height: 20px; }
.field.bad .err, .err.on { display: block; }
.err::before { content: "! "; }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-m); background: var(--surface-soft); }
.consent input { width: 28px; height: 28px; flex: none; margin: 0; accent-color: var(--grape); }
.consent label { font-weight: 700; }
.field--consent .err { margin-top: 6px; }
.banner { padding: var(--space-3) var(--space-4); border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-m); background: var(--warning); color: var(--on-bright); font-weight: 800; }
.review { border: var(--stroke-m) solid var(--outline); border-radius: var(--radius-m); padding: var(--space-4); display: grid; gap: 10px; background: var(--surface); }
.review div { display: flex; justify-content: space-between; gap: var(--space-4); font-size: 15px; }
.review dt { color: var(--ink-muted); font-weight: 700; }
.review dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.nav { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.nav .g-btn { flex: 1; }
.nav .g-btn--back { flex: 0 0 auto; }
.nojs-only { display: block; }
.js .nojs-only { display: none; }
.js-only { display: none; }
.js .js-only { display: block; }
[hidden] { display: none !important; }
.fine-top { margin-top: var(--space-4); }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

.w0{width:0%}.w1{width:1%}.w2{width:2%}.w3{width:3%}.w4{width:4%}.w5{width:5%}.w6{width:6%}.w7{width:7%}.w8{width:8%}.w9{width:9%}.w10{width:10%}.w11{width:11%}.w12{width:12%}.w13{width:13%}.w14{width:14%}.w15{width:15%}.w16{width:16%}.w17{width:17%}.w18{width:18%}.w19{width:19%}.w20{width:20%}.w21{width:21%}.w22{width:22%}.w23{width:23%}.w24{width:24%}.w25{width:25%}.w26{width:26%}.w27{width:27%}.w28{width:28%}.w29{width:29%}.w30{width:30%}.w31{width:31%}.w32{width:32%}.w33{width:33%}.w34{width:34%}.w35{width:35%}.w36{width:36%}.w37{width:37%}.w38{width:38%}.w39{width:39%}.w40{width:40%}.w41{width:41%}.w42{width:42%}.w43{width:43%}.w44{width:44%}.w45{width:45%}.w46{width:46%}.w47{width:47%}.w48{width:48%}.w49{width:49%}.w50{width:50%}.w51{width:51%}.w52{width:52%}.w53{width:53%}.w54{width:54%}.w55{width:55%}.w56{width:56%}.w57{width:57%}.w58{width:58%}.w59{width:59%}.w60{width:60%}.w61{width:61%}.w62{width:62%}.w63{width:63%}.w64{width:64%}.w65{width:65%}.w66{width:66%}.w67{width:67%}.w68{width:68%}.w69{width:69%}.w70{width:70%}.w71{width:71%}.w72{width:72%}.w73{width:73%}.w74{width:74%}.w75{width:75%}.w76{width:76%}.w77{width:77%}.w78{width:78%}.w79{width:79%}.w80{width:80%}.w81{width:81%}.w82{width:82%}.w83{width:83%}.w84{width:84%}.w85{width:85%}.w86{width:86%}.w87{width:87%}.w88{width:88%}.w89{width:89%}.w90{width:90%}.w91{width:91%}.w92{width:92%}.w93{width:93%}.w94{width:94%}.w95{width:95%}.w96{width:96%}.w97{width:97%}.w98{width:98%}.w99{width:99%}.w100{width:100%}