/* Colours and radii follow the app (ios/FineCalc/Design/Theme.swift). */
:root {
  --bg: #f3f2ee;
  --card: #ffffff;
  --inset: #f3f2ee;
  --band: #ebe9e3;
  --ink: #10151f;
  --ink-soft: #535d6e;
  --hairline: #e3e1da;
  --accent: #c8102e;
  --ok: #18724a;
  --warn: #a85208;
  --sign-red: #d3061f;
  --hero-top: #1b2436;
  --hero-bottom: #0d121c;
  --on-hero: #f5f6f8;
  --on-hero-soft: #aeb7c6;
  --radius: 22px;
  --radius-in: 14px;
  --gutter: 20px;
  --shadow: 0 4px 12px rgba(16, 21, 31, .04);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "PingFang SC", "PingFang TC", "Microsoft YaHei", "Microsoft JhengHei", sans-serif;
  --round: ui-rounded, "SF Pro Rounded", var(--sans);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d13;
    --card: #151a23;
    --inset: #1e2531;
    --band: #0f131b;
    --ink: #f2f4f7;
    --ink-soft: #a6b0c0;
    --hairline: #273040;
    --accent: #ff6b7a;
    --ok: #4fcb92;
    --warn: #f6b556;
    --hero-top: #1c2536;
    --hero-bottom: #10151f;
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--card); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.flip { transform: scaleX(-1); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(13, 18, 28, .88); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); color: var(--on-hero); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.top-row { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.logo { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.top-nav { display: flex; gap: 4px; margin-left: auto; }
.top-nav a { padding: 8px 12px; border-radius: 10px; color: var(--on-hero-soft); font-size: 15px; font-weight: 550; text-decoration: none; transition: color .15s, background .15s; }
.top-nav a:hover, .top-nav a[aria-current] { color: var(--on-hero); background: rgba(255, 255, 255, .08); }

.lang { position: relative; }
.lang summary { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; user-select: none; transition: background .15s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: rgba(255, 255, 255, .08); }
.chev { width: .95em; height: .95em; opacity: .7; transition: transform .2s; }
details[open] > summary .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 320px; max-width: calc(100vw - 2 * var(--gutter)); padding: 8px; border: 1px solid var(--hairline); border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.lang-menu a { padding: 9px 12px; border-radius: 10px; font-size: 15px; text-decoration: none; }
.lang-menu a:hover { background: var(--inset); }
.lang-menu a[aria-current] { color: var(--accent); font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 16px; font-size: 17px; font-weight: 650; text-decoration: none; transition: transform .15s, opacity .15s, background .15s; }
a.btn:hover { transform: translateY(-1px); }
a.btn:active { transform: scale(.98); opacity: .9; }
.btn-store { background: #c8102e; color: #fff; box-shadow: 0 8px 24px rgba(200, 16, 46, .35); }
.btn-soon { background: rgba(255, 255, 255, .1); color: var(--on-hero); border: 1px solid rgba(255, 255, 255, .18); cursor: default; }
.btn-ghost { color: var(--on-hero); border: 1px solid rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); }
.btn-line { color: var(--ink); border: 1px solid var(--hairline); background: var(--card); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #ff6b7a; box-shadow: 0 0 0 0 rgba(255, 107, 122, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 107, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 122, 0); } }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 650; text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 78% 30%, rgba(211, 6, 31, .16), transparent 70%), linear-gradient(180deg, var(--hero-bottom), var(--hero-top) 55%, var(--hero-bottom)); color: var(--on-hero); padding: 64px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.eyebrow { text-wrap: balance; color: var(--on-hero-soft); font-size: 14px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-top: 18px; font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.lead { margin-top: 22px; max-width: 58ch; color: var(--on-hero-soft); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }
.ticks { display: grid; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; }
.ticks .icon { margin-top: .2em; padding: 3px; border-radius: 50%; background: rgba(79, 203, 146, .16); color: #4fcb92; width: 1.3em; height: 1.3em; stroke-width: 3; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 16px; color: var(--on-hero-soft); font-size: 14px; }
.hero-copy, .hero-phone { min-width: 0; }
.hero-phone { display: grid; justify-items: center; gap: 18px; }
.hero-phone figcaption { max-width: 300px; color: var(--on-hero-soft); font-size: 13px; text-align: center; opacity: .8; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); }
.stats > div { padding: 26px 20px 30px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dd { white-space: nowrap; font: 750 clamp(21px, 2.5vw, 30px)/1.1 var(--round); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stats dt { margin-top: 6px; color: var(--on-hero-soft); font-size: 14px; }
.stats-card { margin: 0 0 40px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.stats-card > div, .stats-card > div:first-child { padding: 22px; border-left: 0; box-shadow: -1px 0 0 var(--hairline), 0 -1px 0 var(--hairline); }
.stats-card dd { font-size: 24px; }
.stats-card dt { color: var(--ink-soft); }

/* ---------- phone ---------- */
.phone { width: 310px; padding: 10px; border-radius: 52px; background: #05070b; box-shadow: 0 0 0 1.5px #3a4252, 0 40px 80px rgba(0, 0, 0, .5), 0 0 120px rgba(211, 6, 31, .12); transform: rotate(1.5deg); }
.phone-screen { display: grid; gap: 10px; padding: 12px 14px 0; border-radius: 42px; background: var(--bg); color: var(--ink); font-size: 13px; line-height: 1.35; overflow: hidden; }
.p-status { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 650; }
.p-island { width: 84px; height: 24px; border-radius: 20px; background: #05070b; }
.p-battery { justify-self: end; width: 22px; height: 11px; border-radius: 3.5px; background: var(--ink); opacity: .85; }
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 4px 0; }
.p-title { font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 800; letter-spacing: -.03em; }
.p-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--card); border: .5px solid var(--hairline); font-size: 12px; font-weight: 650; white-space: nowrap; }
.p-chip .flag { width: 18px; height: 12px; border-radius: 2px; }
.p-card { padding: 13px 14px; border-radius: 18px; background: var(--card); border: .5px solid var(--hairline); }
.p-dial { position: relative; display: grid; justify-items: center; padding: 12px 14px 4px; }
.gauge { width: 168px; fill: none; }
.gauge circle { stroke-width: 18; }
.g-track { stroke: var(--inset); }
.g-ok { stroke: var(--ink); opacity: .82; }
.g-over { stroke: var(--sign-red); }
.g-tol { stroke: var(--warn); opacity: .45; }
.g-tick { fill: var(--sign-red); }
.p-reading { position: absolute; top: 56px; left: 0; right: 0; display: grid; justify-items: center; }
.p-reading b { font: 800 44px/1 var(--round); font-variant-numeric: tabular-nums; }
.p-reading span { margin-top: 2px; color: var(--ink-soft); font-size: 11px; font-weight: 550; }
.p-sign { position: absolute; bottom: 8px; }
.p-result { display: grid; gap: 2px; padding: 15px 16px; border-radius: 18px; background: linear-gradient(180deg, #1b2436, #0d121c); color: #f5f6f8; }
.p-label { color: var(--ink-soft); font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.p-result .p-label, .p-result .p-line, .p-split span { color: #aeb7c6; }
.p-amount { font: 800 36px/1.1 var(--round); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.p-line { font-size: 12px; }
.p-split { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; }
.p-split b { font: 650 14px var(--round); white-space: nowrap; }
.p-steps { display: grid; gap: 5px; }
.p-row { display: flex; justify-content: space-between; color: var(--ink-soft); }
.p-row b { color: var(--ink); font: 600 13px var(--round); font-variant-numeric: tabular-nums; }
.p-row-strong { padding-top: 6px; border-top: 1px solid var(--hairline); color: var(--ink); font-weight: 650; }
.p-row-strong b { color: var(--accent); font-weight: 750; }
.p-law { display: grid; gap: 3px; }
.p-tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 -14px; padding: 9px 6px 18px; border-top: .5px solid var(--hairline); background: var(--card); }
.p-tab { display: grid; justify-items: center; gap: 3px; color: var(--ink-soft); font-size: 10px; font-weight: 600; text-align: center; overflow: hidden; }
.p-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-tab .icon { width: 21px; height: 21px; }
.p-tab.is-on { color: var(--accent); }

/* The round traffic sign, used wherever a number needs a frame. */
.sign { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 5px solid var(--sign-red); border-radius: 50%; background: #fafaf8; color: #10151f; font: 800 15px/1 var(--round); font-variant-numeric: tabular-nums; letter-spacing: -.03em; flex: none; }
.sign.is-default { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--ink); }
.sign-big { width: 120px; height: 120px; border-width: 13px; font-size: 38px; }

/* ---------- sections ---------- */
.band { padding: 96px 0; }
.band-alt { background: var(--band); }
.band-tight { padding: 48px 0 72px; }
.band-last { padding-top: 0; }
.head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.head p { margin-top: 16px; color: var(--ink-soft); font-size: 19px; }
.head-left { margin: 0; text-align: start; }
.head-left .more { margin-top: 22px; }
.sub { margin: 0 0 20px; font-size: 26px; font-weight: 780; }
* + .sub { margin-top: 56px; }
.stats-card + .sub, .page-head + .band .sub:first-child { margin-top: 0; }

.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.stack { display: grid; gap: 16px; }
.columns { columns: 2; column-gap: 16px; }
.columns > * { break-inside: avoid; margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.card { padding: 24px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.card h3 { font-size: 19px; font-weight: 720; }
.card p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.chip-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: var(--radius-in); background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.chip-icon .icon { width: 22px; height: 22px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--inset); color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.band-alt .tag, .card .tag { border: 1px solid var(--hairline); }
.count { margin-inline-start: 10px; padding: 2px 9px; border-radius: 999px; background: var(--inset); color: var(--ink-soft); font: 650 13px var(--round); vertical-align: middle; }
.flag { width: 30px; height: 20px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(16, 21, 31, .12); flex: none; }
.ref { display: inline-block; margin-top: 10px; color: var(--ink-soft); font: 12.5px/1.4 var(--mono); }

.country { display: grid; gap: 4px; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.country:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--hairline)); box-shadow: 0 16px 40px rgba(16, 21, 31, .09); }
.country-head { display: flex; align-items: center; gap: 12px; }
.country-head h3 { font-size: 23px; }
.country-head .tag { margin-inline-start: auto; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.facts > div { display: flex; flex-direction: column-reverse; padding: 12px 14px; border-radius: var(--radius-in); background: var(--inset); }
.facts dd { font: 750 24px/1.1 var(--round); }
.facts dt { margin-top: 2px; color: var(--ink-soft); font-size: 13px; }
.country .more { margin-top: 2px; }
.asof { color: var(--ink-soft); font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; counter-reset: step; }
.steps .sign { margin-bottom: 18px; }
.checks { display: grid; gap: 4px; padding: 12px 24px; }
.checks li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--hairline); font-weight: 600; }
.checks li:first-child { border-top: 0; }
.checks .icon { padding: 4px; width: 1.5em; height: 1.5em; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); stroke-width: 3; }

.faq { display: grid; gap: 10px; }
.faq details { padding: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 18px; font-weight: 680; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0; padding: 0 24px 22px; }

.final { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 14px; padding: 72px 28px; border-radius: 32px; background: radial-gradient(600px 300px at 50% 0, rgba(211, 6, 31, .22), transparent 70%), linear-gradient(180deg, var(--hero-top), var(--hero-bottom)); color: var(--on-hero); text-align: center; }
.final h2 { max-width: 20ch; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.final p { color: var(--on-hero-soft); font-size: 19px; }
.final .btn { margin-top: 14px; }
.final-sign { position: absolute; right: -90px; bottom: -110px; width: 320px; height: 320px; border: 38px solid var(--sign-red); border-radius: 50%; opacity: .16; }

/* ---------- inner pages ---------- */
.page-head { padding: 44px 0 52px; background: linear-gradient(180deg, var(--hero-bottom), var(--hero-top)); color: var(--on-hero); }
.page-head h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; max-width: 22ch; font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -.035em; }
.page-head h1 .flag { width: 48px; height: 32px; border-radius: 6px; }
.page-head .lead { margin-top: 16px; max-width: 64ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--on-hero-soft); font-size: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--on-hero); text-decoration: underline; }
.lost { min-height: 62vh; display: grid; align-items: center; }
.lost .wrap { display: grid; justify-items: start; gap: 18px; }
.lost .lead { margin-top: 0; }
.lost .btn-line { background: transparent; color: var(--on-hero); border-color: rgba(255, 255, 255, .22); }

.prose h2 { font-size: 22px; font-weight: 760; }
.prose h3 { margin-top: 22px; }
.prose h3:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }
.prose a:not(.more) { color: var(--accent); text-underline-offset: 3px; }
.legal { padding: 36px; }
.legal h2 { margin-top: 34px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink); }
.legal .muted { margin-top: 30px; color: var(--ink-soft); }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px !important; }
.plain { display: grid; gap: 10px; margin-top: 14px; color: var(--ink-soft); font-size: 15px; }
.plain b { color: var(--ink); }

.note { display: flex; gap: 16px; }
.note > .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--ink-soft); }
.note-warning { border-color: color-mix(in srgb, var(--warn) 40%, var(--hairline)); }
.note-warning > .icon, .note-critical > .icon { color: var(--warn); }

.zone { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.zone h3 { margin: 0; font-size: 16px; }
.prose h3 + .zone { margin-top: 14px; }
.signs { display: flex; flex-wrap: wrap; gap: 10px; }
.zone + p { padding-top: 16px; border-top: 1px solid var(--hairline); }

.group h3 { padding-bottom: 14px; }
.group li { padding: 16px 0; border-top: 1px solid var(--hairline); }
.group li:last-child { padding-bottom: 0; }
.group h4, .guides h4 { font-size: 16.5px; font-weight: 680; letter-spacing: -.01em; }
.group p, .guides p { margin-top: 6px; font-size: 15px; }

.proc { display: flex; flex-direction: column; }
.plain-name { color: var(--ink) !important; font-weight: 600; }
.cap b { color: var(--ink); font-family: var(--round); }
.deadlines { display: grid; gap: 8px; margin-top: 16px; }
.deadlines li { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius-in); background: var(--inset); font-size: 14px; color: var(--ink-soft); }
.deadlines b { color: var(--ink); font-family: var(--round); }
.proc .ref { margin-top: auto; padding-top: 14px; }

.guides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; padding: 8px 24px; }
.guides li { padding: 16px 0; border-bottom: 1px solid var(--hairline); }

.sources { display: grid; margin-top: 8px; }
.sources li { display: grid; gap: 3px; padding: 13px 0; border-top: 1px solid var(--hairline); }
.sources li:first-child { border-top: 0; }
.sources a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.sources a:hover { text-decoration: underline; }
.sources a .icon { display: inline; width: .85em; height: .85em; margin-inline-start: 6px; vertical-align: -.05em; opacity: .7; }
.sources span { color: var(--ink-soft); font-size: 14px; }
.prose > h3 + .sources + h3 { margin-top: 34px; }

.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: var(--radius); background: linear-gradient(180deg, var(--hero-top), var(--hero-bottom)); color: var(--on-hero); }
.callout h2 { font-size: 24px; font-weight: 780; }
.callout p { margin-top: 8px; max-width: 56ch; color: var(--on-hero-soft); }
.row-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 28px; }
.callout ~ .muted { margin: 0 0 18px; }
.prose + .muted { margin: 18px 0 0; }

.table-wrap { padding: 4px 8px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 16px; text-align: start; white-space: nowrap; }
thead th { color: var(--ink-soft); font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
tbody tr { border-top: 1px solid var(--hairline); }
tbody th a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; }
tbody th a:hover { color: var(--accent); }
td { font-family: var(--round); font-variant-numeric: tabular-nums; }
.num { text-align: end; }
.act a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--hairline); border-radius: 999px; color: var(--ink-soft); font: 650 13px var(--sans); text-decoration: none; }
.act a:hover { color: var(--accent); border-color: currentColor; }

/* ---------- footer ---------- */
.foot { padding: 64px 0 40px; background: var(--hero-bottom); color: var(--on-hero-soft); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot .brand { color: var(--on-hero); }
.foot-about p { margin-top: 16px; max-width: 52ch; font-size: 14px; }
.foot h2 { margin-bottom: 14px; color: var(--on-hero); font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.foot nav a { display: block; padding: 5px 0; text-decoration: none; }
.foot nav a:hover { color: var(--on-hero); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.foot-legal { margin-top: 20px; font-size: 13px; opacity: .75; }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .ticks { justify-content: center; text-align: start; }
  .hero-cta { justify-content: center; }
  .top-nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .band { padding: 64px 0; }
  .band-tight { padding: 36px 0 56px; }
  .band-last { padding-top: 0; }
  .hero { padding-top: 40px; }
  .grid-2, .grid-3, .steps, .split, .guides, .foot-grid { grid-template-columns: 1fr; }
  .columns { columns: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 20px 16px; }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .stats-card > div, .stats-card > div:nth-child(odd) { padding: 18px; }
  .split { gap: 28px; }
  .head { margin-bottom: 32px; }
  .legal, .callout { padding: 24px; }
  .final { padding: 52px 22px; border-radius: 26px; }
  .btn { width: 100%; }
  .callout .btn, .center .btn, .lost .btn { width: auto; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .lang summary span { display: none; }
  .phone { width: 290px; transform: none; }
  .facts dd { font-size: 20px; }
}
