/*
 * KhataOS website. Plain CSS, no build step.
 * Colours are the app's Ledger tokens (branding/README.md); every text pair is
 * WCAG 2.2 AA. Light and dark follow the system, and the toggle in the header
 * sets data-theme on <html> to override it.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------ tokens */

:root {
  --bg: #f5f3ee;
  --bg-2: #eeebe3;
  --surface: #ffffff;
  --surface-2: #f0eee8;
  --ink: #1c1e2a;
  --muted: #5e6276;
  --line: #e2ded4;
  --line-strong: #cdc8bb;
  --field-line: #87857f;
  --brand: #2b2f77;
  --brand-2: #3f45a8;
  --brand-ink: #ffffff;
  --accent: #c76a12;
  --accent-text: #a5580e;
  --accent-text-2: #954f0b;
  --sel: #e3e6fc;
  --pos: #1b6a8a;
  --pos-soft: #e4f0f4;
  --warn: #9c5104;
  --warn-soft: #f9ecdc;
  --focus: #2b2f77;
  --band: #2b2f77;
  --band-ink: #ffffff;
  --band-muted: #c3c5dc;
  --band-key: #f2a65a;
  --band-line: rgba(255, 255, 255, 0.16);
  --logo-spine: #c76a12;
  --logo-cover: #2b2f77;
  --glow: rgba(63, 69, 168, 0.13);
  --glow-2: rgba(199, 106, 18, 0.08);
  --shadow-sm: 0 1px 2px rgba(28, 30, 42, 0.06);
  --shadow: 0 1px 2px rgba(28, 30, 42, 0.06), 0 8px 24px -8px rgba(28, 30, 42, 0.1);
  --shadow-lg: 0 1px 3px rgba(28, 30, 42, 0.08), 0 24px 48px -16px rgba(28, 30, 42, 0.11);
  --device: #1c1e2a;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --wrap: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14151c;
    --bg-2: #181a22;
    --surface: #1b1d27;
    --surface-2: #232633;
    --ink: #e9e9f0;
    --muted: #a3a6b8;
    --line: #2b2e3c;
    --line-strong: #3b3f52;
    --field-line: #7a7e94;
    --brand: #8f96ff;
    --brand-2: #aab0ff;
    --brand-ink: #14151c;
    --accent: #f2a65a;
    --accent-text: #f2a65a;
    --accent-text-2: #f2a65a;
    --sel: #2c3263;
    --pos: #6cc4ee;
    --pos-soft: rgba(108, 196, 238, 0.12);
    --warn: #f2b06d;
    --warn-soft: rgba(242, 166, 90, 0.12);
    --focus: #aab0ff;
    --band: #20234a;
    --band-ink: #f3f3f8;
    --band-muted: #c3c5dc;
    --band-key: #f2a65a;
    --logo-spine: #f2a65a;
    --logo-cover: #faf7f0;
    --glow: rgba(143, 150, 255, 0.14);
    --glow-2: rgba(242, 166, 90, 0.06);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 1px 3px rgba(0, 0, 0, 0.3), 0 24px 48px -16px rgba(0, 0, 0, 0.11);
    --device: #2a2d3a;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #14151c;
  --bg-2: #181a22;
  --surface: #1b1d27;
  --surface-2: #232633;
  --ink: #e9e9f0;
  --muted: #a3a6b8;
  --line: #2b2e3c;
  --line-strong: #3b3f52;
  --field-line: #7a7e94;
  --brand: #8f96ff;
  --brand-2: #aab0ff;
  --brand-ink: #14151c;
  --accent: #f2a65a;
  --accent-text: #f2a65a;
  --accent-text-2: #f2a65a;
  --sel: #2c3263;
  --pos: #6cc4ee;
  --pos-soft: rgba(108, 196, 238, 0.12);
  --warn: #f2b06d;
  --warn-soft: rgba(242, 166, 90, 0.12);
  --focus: #aab0ff;
  --band: #20234a;
  --band-ink: #f3f3f8;
  --band-muted: #c3c5dc;
  --band-key: #f2a65a;
  --logo-spine: #f2a65a;
  --logo-cover: #faf7f0;
  --glow: rgba(143, 150, 255, 0.14);
  --glow-2: rgba(242, 166, 90, 0.06);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 1px 3px rgba(0, 0, 0, 0.3), 0 24px 48px -16px rgba(0, 0, 0, 0.11);
  --device: #2a2d3a;
  color-scheme: dark;
}

/* Elements that exist once per colour scheme (logos, the QR card). */
.only-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: revert !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
}
:root[data-theme="dark"] .only-dark { display: revert !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

/* ------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 680; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--sel); color: var(--ink); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

kbd, .key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9em;
  padding: 0.1em 0.5em;
  font: 600 0.82em/1.5 var(--font);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  white-space: nowrap;
  vertical-align: 0.08em;
}

code {
  font: 0.88em/1.5 var(--mono);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0.05em 0.4em;
  border-radius: 5px;
  overflow-wrap: anywhere;
}

pre {
  margin: 0 0 1em;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow-x: auto;
  font: 0.86rem/1.6 var(--mono);
}
pre code { background: none; border: 0; padding: 0; font-size: 1em; }

/* ------------------------------------------------------------ type */

.eyebrow, .label {
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 620;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.display {
  font-size: clamp(2.4rem, 1.35rem + 3.8vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 720;
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--accent); }

.h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--accent); }

.h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 650;
}

.lede {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
  text-wrap: pretty;
}

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 1.3rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 620 0.98rem/1.2 var(--font);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
}
.btn-primary:hover { background: var(--brand-2); }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--field-line);
}
.btn-secondary:hover { background: var(--surface-2); }

.btn-lg { min-height: 54px; padding: 0 1.25rem; font-size: 1rem; border-radius: 14px; }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.92rem; border-radius: 10px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 620;
  text-decoration: none;
  color: var(--brand);
}
.link-arrow::after {
  content: "";
  width: 0.55em; height: 0.55em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(2px) rotate(45deg); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 560px) {
  .hero .actions .btn, .closing .actions .btn { width: 100%; }
}
.nw { white-space: nowrap; }

/* ------------------------------------------------------------ tags */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 640;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: var(--surface);
}
.tag svg { width: 12px; height: 12px; flex: none; }
.tag-live { color: var(--pos); background: var(--pos-soft); border-color: transparent; }
.tag-test { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.tag-val { color: var(--muted); background: var(--surface-2); border-color: var(--line-strong); }
.tag-brand { color: var(--brand); background: var(--sel); border-color: transparent; }
.tag-plain { text-transform: none; letter-spacing: 0; font-size: 0.8rem; font-weight: 560; }

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: var(--bg); }
}

.header-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 620;
  font-size: 1.22rem;
  letter-spacing: -0.012em;
  flex: none;
  border-radius: 8px;
}
.brand svg { width: 30px; height: 30px; }
.brand b { font-weight: 620; color: var(--accent-text); }
/* The footer band is a shade darker than the page: the darker marigold keeps 4.5:1. */
.site-footer .brand b { color: var(--accent-text-2); }
.brand .wm { color: var(--brand); }
:root[data-theme="dark"] .brand .wm { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .wm { color: var(--ink); } }

.logo-spine { fill: var(--logo-spine); }
.logo-cover { fill: var(--logo-cover); }

.nav { display: none; margin-inline-start: 20px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 540;
  font-size: 0.95rem;
}
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--sel); }
.nav svg { width: 17px; height: 17px; }

.header-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.header-end .btn { display: none; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn::-webkit-details-marker { display: none; }

.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { background: var(--surface-2); }
.menu-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  width: min(280px, calc(100vw - 2 * var(--gutter)));
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 8px;
}
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
}
.menu-panel a:hover { background: var(--surface-2); }
.menu-panel a[aria-current="page"] { color: var(--brand); background: var(--sel); }
.menu-panel .btn { width: 100%; margin-top: 6px; color: var(--brand-ink); }

@media (min-width: 860px) {
  .nav { display: block; }
  .menu { display: none; }
  .header-end .btn { display: inline-flex; }
}

/* ------------------------------------------------------------ sections */

.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec + .sec { padding-top: 0; }

.sec-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 3px double var(--line-strong);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.sec-label .num { color: var(--accent-text); font-weight: 700; }
.sec-label .sep { color: var(--line-strong); margin-inline: 0.5em; }
.sec-label .aside { display: none; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.875rem; }
@media (min-width: 700px) { .sec-label .aside { display: inline; } }

.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 4.5vw, 60px); max-width: 880px; }
.sec-head .lede { margin: 0; }

/* A table of hairline cells: the ledger's ruling. */
.ruled {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ruled > * { background: var(--surface); padding: clamp(22px, 2.6vw, 34px); min-width: 0; }

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding-top: clamp(48px, 8vw, 104px);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 8%, var(--glow), transparent 70%),
    radial-gradient(40% 40% at 12% 30%, var(--glow-2), transparent 70%);
  pointer-events: none;
}

.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; } }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); max-width: 66ch; }
.hero-note a { color: inherit; }

/* The key strip beside the hero text: what Tally users press every day. */
.keys-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 22px;
}
.keys-card .label { margin-bottom: 14px; display: block; }
.keys-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.keys-list li { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; min-width: 0; }
.keys-list kbd { min-width: 3.4em; }
.keys-card p { margin: 16px 0 0; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 380px) { .keys-list { grid-template-columns: 1fr; } }

/* The big product shot, on a stage ruled like ledger paper. */
.showcase { margin-top: clamp(48px, 7vw, 88px); }
.stage {
  padding: clamp(10px, 3vw, 40px);
  border-radius: calc(var(--r-lg) + 10px);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--line) 70%, transparent) 31px 32px),
    var(--bg-2);
}

.frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame-bar span { margin-inline-start: auto; margin-inline-end: auto; font-size: 0.72rem; color: var(--muted); font-weight: 560; letter-spacing: 0.02em; transform: translateX(-16px); }
.frame img { width: 100%; aspect-ratio: 1360 / 820; object-fit: cover; background: var(--surface-2); }
.frame-lg { border-radius: var(--r-lg); }

figure { margin: 0; }
.caption { margin-top: 14px; font-size: 0.875rem; color: var(--muted); text-align: center; text-wrap: balance; }

.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  padding: 9px;
  border-radius: 42px;
  background: var(--device);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.phone img { border-radius: 34px; width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; background: var(--surface-2); }

/* ------------------------------------------------------------ 01 why */

.why-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.feature h3 { display: flex; align-items: center; gap: 12px; }
.feature h3 svg { width: 24px; height: 24px; flex: none; color: var(--brand); }
.feature h3 { margin-bottom: 10px; }
.feature { display: flex; flex-direction: column; }
.feature p { margin: 0; color: var(--muted); }
.feature .keys-inline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

/* ------------------------------------------------------------ 02 countries */

.legend {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
@media (min-width: 900px) { .legend { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.legend div { display: grid; gap: 6px; align-content: start; }
.legend .tag { justify-self: start; }
.legend p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.country-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .country-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .country-grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) and (max-width: 1099px) { .country-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

.country { display: flex; flex-direction: column; gap: 14px; }
.country-head { display: flex; align-items: center; gap: 12px; }
.cc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 30px;
  padding: 0 6px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  font: 700 0.78rem/1 var(--font);
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--surface-2);
}
.country h3 { font-size: 1.15rem; }
.country > p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.status-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.status-list li span:first-child { font-weight: 560; }
.status-list .note { flex-basis: 100%; color: var(--muted); font-size: 0.84rem; margin-top: -2px; }
.country .link-arrow { margin-top: auto; padding-top: 4px; font-size: 0.93rem; }

.sub-label { margin: 44px 0 16px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sub-label h3 { font-size: 1.05rem; }
.disclaimer { margin-top: 22px; font-size: 0.9rem; color: var(--muted); }

/* ------------------------------------------------------------ 03 theme switcher */

.tswitch { display: grid; gap: 24px; }
@media (min-width: 1000px) { .tswitch { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; } }

.tlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1000px) { .tlist { flex-direction: column; flex-wrap: nowrap; gap: 4px; } }

.tbtn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font: 600 0.95rem/1.3 var(--font);
  text-align: start;
  cursor: pointer;
}
.tbtn:hover { background: var(--surface-2); text-decoration: none; }
.tbtn small { display: none; font-weight: 450; color: var(--muted); font-size: 0.84rem; }
.tbtn .tb-text { display: grid; gap: 1px; }
.tbtn[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; background: var(--sel); }
@media (min-width: 1000px) {
  .tbtn { padding: 12px 16px; border-color: transparent; background: transparent; }
  .tbtn small { display: block; }
  .tbtn[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow), 0 0 0 1px var(--line-strong) inset; border-color: transparent; }
}

.swatch { display: inline-flex; flex: none; }
.swatch i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--surface); margin-inline-start: -5px; box-shadow: 0 0 0 1px var(--line-strong); }
.swatch i:first-child { margin-inline-start: 0; }

.tview-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tview-top h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.tview-top .aud { display: block; margin-top: 2px; font-size: 0.9rem; color: var(--muted); }
.tview-why { margin: 18px 0 0; color: var(--muted); max-width: 62ch; }

.seg {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
}
.seg button {
  min-height: 38px;
  min-width: 64px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: 600 0.88rem/1 var(--font);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.seg button svg { width: 15px; height: 15px; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-strong); }

.js-only { display: none !important; }
.js .js-only { display: revert !important; }
.js .no-js { display: none !important; }

/* ------------------------------------------------------------ 04 everywhere */

.every { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .every { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; } }

.platforms { list-style: none; margin: 0; padding: 0; }
.platforms { grid-template-columns: 1fr; }
@media (min-width: 560px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
.platform { display: flex; align-items: center; gap: 16px; }
.platform svg { width: 30px; height: 30px; flex: none; color: var(--ink); }
.platform strong { display: block; font-size: 1.02rem; font-weight: 640; }
.platform span { display: block; font-size: 0.88rem; color: var(--muted); }
.platform.later svg { color: var(--muted); }
.platform span.tag { display: inline-flex; margin-top: 8px; font-size: 0.74rem; color: var(--muted); }
.platforms > .platform:last-child:nth-child(odd) { grid-column: 1 / -1; }

.phone-pair { display: flex; justify-content: center; }

/* ------------------------------------------------------------ 05 principles */

.principles { grid-template-columns: 1fr; }
@media (min-width: 700px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle h3 { font-size: 1.08rem; margin-bottom: 8px; }
.principle p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.principle .pn { display: block; margin-bottom: 18px; font: 700 0.8rem/1 var(--font); letter-spacing: 0.1em; color: var(--accent-text); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ Tally callout */

.band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--r-lg) + 4px);
  background: var(--band);
  color: var(--band-ink);
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  gap: 32px;
  isolation: isolate;
}
.band::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 140%;
  background: radial-gradient(closest-side, rgba(242, 166, 90, 0.16), transparent);
  z-index: -1;
  pointer-events: none;
}
@media (min-width: 960px) { .band { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 56px; } }
.band .eyebrow { color: var(--band-key); }
.band h2 { color: var(--band-ink); margin: 0 0 16px; }
.band p strong { color: var(--band-ink); font-weight: 600; }
.band p { color: var(--band-muted); max-width: 58ch; }
.band a:not(.btn) { color: var(--band-ink); }
.band .btn-primary { background: #ffffff; color: #2b2f77; box-shadow: none; }
.band .btn-primary:hover { background: #e3e6fc; }
.band .btn-secondary { background: transparent; color: var(--band-ink); border-color: rgba(255, 255, 255, 0.55); }
.band .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.band :focus-visible { outline-color: #ffffff; }
.band-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.band-keys div {
  display: grid;
  gap: 6px;
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--band-line);
  text-align: center;
  min-width: 0;
}
.band-keys kbd { justify-self: center; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); color: var(--band-key); font-size: 0.95rem; }
.band-keys span { font-size: 0.82rem; color: var(--band-muted); overflow-wrap: anywhere; }

/* ------------------------------------------------------------ closing CTA */

.closing { text-align: center; display: grid; justify-items: center; gap: 18px; }
.closing .lede { margin: 0 auto 10px; }
.closing .actions { justify-content: center; }

/* ------------------------------------------------------------ footer */

.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.93rem;
}
.foot-grid {
  display: grid;
  gap: 36px 24px;
  padding-block: 56px 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.foot-brand { grid-column: 1 / -1; max-width: 360px; }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
  .foot-brand { grid-column: auto; }
}
.foot-brand p { color: var(--muted); margin: 14px 0 0; }
.foot-col h2 { font-size: 0.75rem; font-weight: 640; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-col a { display: inline-flex; min-height: 34px; align-items: center; color: var(--ink); text-decoration: none; }
.foot-col a:hover { color: var(--brand); text-decoration: underline; }
.foot-legal {
  border-top: 1px solid var(--line);
  padding-block: 24px 40px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}
.foot-legal p { margin: 0; max-width: 80ch; }
.foot-legal a { color: inherit; }

/* ------------------------------------------------------------ download page */

.dl-hero { display: grid; gap: 40px; align-items: center; }
.dl-visual { display: none; }
@media (min-width: 1000px) {
  .dl-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; }
  .dl-visual { display: block; position: relative; padding: 0 28px 56px 0; }
  .dl-visual .frame { box-shadow: var(--shadow); }
  .dl-visual .phone { position: absolute; right: 0; bottom: 0; width: 29%; max-width: none; padding: 6px; border-radius: 26px; }
  .dl-visual .phone img { border-radius: 21px; }
}
.page-hero .notice + .notice { margin-top: 12px; }
.dl-sec { padding-top: clamp(32px, 5vw, 56px); }
.dl-more summary:hover { border-radius: 0; }
.dl:last-child .dl-more summary { border-radius: 0; }

.page-hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(28px, 4vw, 44px); position: relative; isolation: isolate; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 620px;
  z-index: -1;
  background: radial-gradient(55% 60% at 80% 0%, var(--glow), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin: 18px 0 20px; }
.page-hero .lede { margin-bottom: 0; }

.release-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; font-size: 0.93rem; color: var(--muted); }
.release-line[hidden] { display: none; }
.release-line strong { color: var(--ink); font-weight: 640; font-variant-numeric: tabular-nums; }

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: var(--warn-soft);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
  color: var(--ink);
  font-size: 0.95rem;
  max-width: 820px;
}
.notice svg { width: 20px; height: 20px; flex: none; color: var(--warn); margin-top: 2px; }
.notice p { margin: 0; }
.notice[hidden] { display: none; }
.notice.info { background: var(--surface); border-color: var(--line-strong); }
.notice.info svg { color: var(--brand); }

.dl-list { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.dl {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.dl.is-yours {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg);
}
.dl-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 18px;
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
}
.dl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
}
.dl-icon svg { width: 28px; height: 28px; }
.dl-title h2 { font-size: 1.35rem; letter-spacing: -0.02em; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.dl-title p { margin: 4px 0 0; color: var(--muted); font-size: 0.94rem; max-width: 62ch; }
.you-badge { display: none; }
.dl.is-yours .you-badge { display: inline-flex; }
.dl-meta { margin: 6px 0 0; font-size: 0.86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dl-meta[hidden] { display: none; }
.dl-cta { grid-column: 1 / -1; display: grid; gap: 8px; }
.dl-cta .btn { width: 100%; }
.dl-cta .file { font-size: 0.82rem; color: var(--muted); text-align: center; }
.btn-size { margin-inline-start: -0.25em; font-weight: 500; opacity: 0.85; font-variant-numeric: tabular-nums; }
.btn-size::before { content: "· "; }
.btn-size[hidden] { display: none; }
.dl-title .dl-which { margin-top: 8px; font-size: 0.88rem; }
.dl-which strong { color: var(--ink); font-weight: 600; }
@media (max-width: 759px) {
  .dl-main { align-items: start; }
  .dl-icon { width: 48px; height: 48px; border-radius: 14px; }
  .dl-icon svg { width: 24px; height: 24px; }
}
@media (min-width: 760px) {
  .dl-main { grid-template-columns: auto minmax(0, 1fr) auto; }
  .dl-cta { grid-column: auto; justify-items: end; }
  .dl-cta .btn { width: auto; min-width: 250px; }
  .dl-cta .file { text-align: end; }
}

.dl-more { display: grid; border-top: 1px solid var(--line); }
.dl-more details { min-width: 0; }
.dl-more details + details { border-top: 1px solid var(--line); }
.dl-more summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 clamp(20px, 3vw, 30px);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  color: var(--ink);
}
.dl-more summary::-webkit-details-marker { display: none; }
.dl-more summary::after {
  content: "";
  margin-inline-start: auto;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.dl-more details[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.dl-more summary:hover { background: var(--surface-2); }
.dl-more summary:focus-visible { outline-offset: -3px; }
.dl-more summary .count { font-weight: 500; color: var(--muted); font-size: 0.86rem; }
.dl-body { padding: 8px clamp(20px, 3vw, 30px) 26px; max-width: 72ch; }
.dl-body ol { margin: 0 0 1em; padding-inline-start: 1.3em; display: grid; gap: 8px; }
.dl-body li::marker { color: var(--accent-text); font-weight: 700; }
.dl-body h3 { font-size: 1rem; margin: 18px 0 8px; }
.dl-body h3:first-child { margin-top: 6px; }
.formats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.formats li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); }
.formats a { font-weight: 620; }
.formats span { font-size: 0.86rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.callout {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--warn-soft);
  font-size: 0.93rem;
  margin: 12px 0 0;
}
.callout svg { width: 18px; height: 18px; flex: none; color: var(--warn); margin-top: 3px; }
.callout p { margin: 0; }

.dl.soon .dl-icon { color: var(--muted); }

.side-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .side-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.qr-card {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
@media (hover: none) and (pointer: coarse) { .qr-card.qr-only-desktop { display: none; } }
.qr-card img { width: 148px; height: 148px; flex: none; border-radius: 12px; background: #ffffff; padding: 6px; border: 1px solid var(--line); }
.qr-card h2 { font-size: 1.2rem; margin-bottom: 8px; }
.qr-card p { margin: 0; color: var(--muted); }
@media (max-width: 480px) { .qr-card { flex-direction: column; align-items: flex-start; } }

.safe-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .safe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .safe-grid { grid-template-columns: repeat(3, 1fr); } }
.safe h3 { font-size: 1.05rem; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.safe h3 svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.safe p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ------------------------------------------------------------ themes page */

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; padding: 0; }
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
  font-size: 0.92rem;
}
.jump a:hover { background: var(--surface-2); }

.hint-card {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .hint-card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; } }
.hint-card h2 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.hint-card ol { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 8px; color: var(--muted); }
.hint-card ol strong { color: var(--ink); font-weight: 600; }
.hint-card li::marker { color: var(--accent-text); font-weight: 700; }
.hint-card .frame { box-shadow: var(--shadow); }

.theme-sec { padding-block: clamp(48px, 6vw, 80px) 0; }
.theme-head { display: grid; gap: 18px; margin-bottom: 24px; }
@media (min-width: 900px) { .theme-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; } }
.theme-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.theme-head .aud { margin: 10px 0 0; font-weight: 600; color: var(--ink); }
.theme-head .why { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }
.theme-head .ctl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.theme-head .ctl .label { margin: 0; }

.gallery { display: grid; gap: 16px; margin-top: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.55fr); align-items: start; } }
.gallery figure { min-width: 0; }
.gallery .phone-fig { grid-row: span 2; }
@media (min-width: 900px) { .gallery .phone-fig { grid-row: auto; grid-column: 4; grid-row: 1; } }
.gallery .phone { max-width: 200px; padding: 6px; border-radius: 28px; }
.gallery .phone img { border-radius: 23px; }
.gallery figcaption { margin-top: 10px; font-size: 0.84rem; color: var(--muted); line-height: 1.45; }
.gallery figcaption b { color: var(--ink); font-weight: 600; }

.shot-link {
  display: block;
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
}
.shot-link .frame { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.shot-link:hover .frame { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.shot-link:focus-visible { outline-offset: 4px; }
.gallery .frame { box-shadow: var(--shadow); border-radius: 10px; }
.gallery .frame-bar { height: 20px; padding: 0 8px; gap: 5px; }
.gallery .frame-bar i { width: 7px; height: 7px; }

.main-shot .frame-bar { height: 30px; }

/* ------------------------------------------------------------ lightbox */

.lightbox {
  width: min(1400px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 11, 16, 0.78); }
.lb-inner { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: calc(100vh - 26px); }
.lb-top { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.lb-top p { margin: 0; font-size: 0.92rem; font-weight: 600; flex: 1; min-width: 0; }
.lb-count { font-size: 0.84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; background: var(--bg); min-height: 0; overflow: hidden; }
.lb-stage img { width: auto; max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lb-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }
.lb-bottom .keys { display: none; }
@media (min-width: 700px) { .lb-bottom .keys { display: inline; } }

/* ------------------------------------------------------------ 404 */

.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 18px; padding-block: 80px; }
.notfound .actions { justify-content: center; }

/* ------------------------------------------------------------ motion */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .fade-swap { transition: opacity 0.18s ease; }
  .fade-swap.is-swapping { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------ print */

@media print {
  .site-header, .site-footer, .theme-toggle, .menu { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Size and speed figures in 04 Everywhere */
.stats { display: grid; grid-template-columns: 1fr; gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .stats > div:nth-child(even) { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); } }
@media (min-width: 1100px) { .stats > div + div { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); } }
.stats dt { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.stats-note { margin: 10px 0 0; color: var(--muted); font-size: 0.8rem; }
