/* HoltPay stylesheet, Midnight preset.
   Fonts (Inter, Instrument Serif) are self-hosted from /fonts; system fallbacks render while they load. */
/* Self-hosted fonts, Latin subset. Both are under the SIL Open Font License (see /fonts/LICENSE-*.txt).
   Text in other scripts falls back to the system fonts named in --font-sans and --font-serif. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/inter-latin-wght-normal.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-400-normal.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-400-italic.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  color-scheme: dark;
  /* colour */
  --bg: #08090c;
  --bg-2: #0e1014;
  --bg-glass: rgba(8, 9, 12, 0.72);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --surface-2: #13161b;
  --border: rgba(235, 240, 255, 0.08);
  --border-strong: rgba(235, 240, 255, 0.16);
  --track: rgba(255, 255, 255, 0.1);
  --text: #eef0f4;
  --muted: #9aa0aa;
  --faint: #7d8491;
  --accent: #6b93ff;
  --accent-soft: rgba(107, 147, 255, 0.16);
  --on-accent: #f5f8ff;
  --glow: radial-gradient(48% 55% at 50% 0%, rgba(107, 147, 255, 0.26), transparent 72%);
  --card-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  --warn: #e5b454;
  --warn-soft: rgba(229, 180, 84, 0.12);
  --on-warn: #1c1300;
  --danger: #ea7d72;
  --danger-soft: rgba(234, 125, 114, 0.12);
  --info: #93b7df;
  --info-soft: rgba(147, 183, 223, 0.12);
  --qr-bg: #eef0f4;
  --qr-ink: #08090c;
  --backdrop: rgba(0, 0, 0, 0.6);
  /* type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 21px;
  --fs-xl: 28px;
  --fs-2xl: clamp(28px, 3.6vw, 38px);
  --fs-3xl: clamp(32px, 5vw, 50px);
  --fs-hero: clamp(2.6rem, 5.6vw, 4.75rem);
  /* shape */
  --radius-pill: 999px;
  --radius-input: 14px;
  --radius-tile: 20px;
  --radius-card: 24px;
  --radius-frame: 32px;
  --shadow-lit: 0 40px 80px -40px rgba(0, 0, 6, 0.9);
  /* spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-5xl: 96px;
  --space-6xl: 128px;
  --gutter: var(--space-lg);
  --grid-gap: var(--space-lg);
  --section-y: var(--space-2xl);
  --container: 1200px;
  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-press: 140ms;
  --dur-fast: 180ms;
  --dur-ui: 220ms;
}
@media (min-width: 768px) { :root { --gutter: var(--space-2xl); --grid-gap: var(--space-xl); --section-y: var(--space-3xl); } }
@media (min-width: 1200px) { :root { --gutter: var(--space-3xl); --section-y: var(--space-4xl); } }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--space-5xl); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: var(--fs-md); line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
p { text-wrap: pretty; }
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--font-mono); font-size: 0.92em; font-variant-numeric: tabular-nums; }
.label { font-size: var(--fs-sm); color: var(--muted); }
.muted { color: var(--muted); }
.wrap { max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-copy { position: fixed; left: -9999px; top: 0; opacity: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: var(--space-sm); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.logo em { font-family: var(--font-serif); font-weight: 400; font-size: 1.2em; }
.logo-mark { display: block; width: 30px; height: 30px; object-fit: contain; background: transparent; flex-shrink: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); min-height: 44px; padding: var(--space-md) var(--space-xl); border: 0; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--text); font-weight: 600; font-size: var(--fs-sm); line-height: 1.4; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) ease; }
.btn:hover { color: var(--text); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); box-shadow: none; color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); }
.btn-light { background: var(--text); box-shadow: none; color: var(--bg); }
.btn-light:hover { color: var(--bg); }
.btn-danger { box-shadow: inset 0 0 0 1px var(--danger); color: var(--danger); }
.btn-danger:hover { color: var(--danger); }
.btn-sm { min-height: 36px; padding: var(--space-sm) var(--space-lg); font-size: var(--fs-xs); }
.btn-block { width: 100%; }
.btn { font-weight: 500; }
.btn:has(.btn-ico) { padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-xl); gap: var(--space-md); }
.btn-light:has(.btn-ico) { padding-left: var(--space-lg); }
.btn-light .btn-ico { background: var(--accent); color: var(--on-accent); }
.btn-ico { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--text); color: var(--accent); transition: transform var(--dur-fast) var(--ease-out); }
.btn-ico svg, .icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) ease; }
.icon-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); background: var(--surface-hover); }
  .btn:active { transform: scale(0.97); }
  .btn-primary:hover { background: var(--accent); }
  .btn-light:hover { background: var(--text); }
  .btn-danger:hover { background: var(--danger-soft); }
  .btn:hover .btn-ico { transform: translateX(3px); }
  .icon-btn:hover { background: var(--surface-hover); }
}

/* Forms */
.field { display: grid; gap: var(--space-sm); }
.field + .field { margin-top: var(--space-lg); }
.field label { font-size: var(--fs-sm); font-weight: 500; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.input, .select { width: 100%; min-height: 48px; padding: var(--space-md) var(--space-lg); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-input); color: var(--text); transition: border-color var(--dur-fast) ease; }
.input::placeholder { color: var(--faint); }
.input:focus, .select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.input:user-invalid { border-color: var(--danger); }
.input.mono { font-size: var(--fs-sm); }
.select option { background: var(--surface-2); color: var(--text); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-lg); margin-bottom: var(--space-lg); }
.form-row .field + .field { margin-top: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }

/* Badges */
.badge { display: inline-flex; align-items: center; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 500; line-height: 1.4; white-space: nowrap; background: var(--surface-hover); color: var(--muted); }
.badge-paid { background: var(--accent-soft); color: var(--accent); }
.badge-pending { background: var(--warn-soft); color: var(--warn); }
.badge-confirming { background: var(--info-soft); color: var(--info); }
.badge-failed { background: var(--danger-soft); color: var(--danger); }

/* Code */
.code { margin: 0; padding: var(--space-xl); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-tile); color: var(--text); font-family: var(--font-mono); font-size: var(--fs-xs); line-height: 1.7; overflow-x: auto; }
.code code { font: inherit; white-space: pre; }
.code .k { color: var(--accent); }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 52px; padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-xl); background: var(--surface-2); border: 1px solid var(--border); border-bottom: 0; border-radius: var(--radius-tile) var(--radius-tile) 0 0; color: var(--muted); font-size: var(--fs-xs); }
.code-head + .code { border-radius: 0 0 var(--radius-tile) var(--radius-tile); }
.code-head .copy-btn { min-height: 36px; padding: var(--space-xs) var(--space-lg); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); color: var(--text); font-size: var(--fs-xs); font-weight: 500; cursor: pointer; transition: transform var(--dur-press) var(--ease-out); }
.code-head .copy-btn:active { transform: scale(0.97); }
code.inline { font-family: var(--font-mono); font-size: 0.88em; padding: 0 var(--space-xs); background: var(--surface-hover); border-radius: var(--space-xs); color: var(--text); }

/* Test strip */
.test-strip { padding: var(--space-md) var(--space-lg); text-align: center; font-size: var(--fs-sm); font-weight: 600; color: var(--on-warn); background: var(--warn); }

/* ---------- Public site ---------- */
.site-header { position: relative; z-index: 20; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); }
.nav-pill { display: flex; gap: var(--space-xs); padding: var(--space-xs); border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--bg-2); }
.nav-pill a { padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); font-size: var(--fs-sm); color: var(--muted); text-decoration: none; white-space: nowrap; transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.nav-pill a:hover { color: var(--text); }
.nav-pill a.active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.header-actions { display: flex; align-items: center; gap: var(--space-sm); }
.header-actions .link { padding: var(--space-sm) var(--space-md); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; }

.hero { position: relative; padding-block: var(--space-4xl) var(--section-y); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 640px; margin-top: calc(-1 * var(--space-5xl)); background: var(--glow); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-4xl); align-items: center; }
.h-hero { font-size: var(--fs-hero); line-height: 1.04; letter-spacing: -0.035em; }
.h-hero em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--muted); letter-spacing: -0.02em; }
.lead { margin-top: var(--space-xl); color: var(--muted); font-size: var(--fs-md); max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }

.shot { position: relative; width: 100%; max-width: 420px; margin-inline: auto; }
.shot-card { display: grid; gap: var(--space-lg); padding: var(--space-xl); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--card-glass), var(--surface-2); box-shadow: var(--shadow-lit); }
.shot-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); font-size: var(--fs-sm); color: var(--muted); }
.shot-head strong { color: var(--text); font-weight: 600; }
.shot-head { align-items: center; }
.shot .pay-amount { padding-block: var(--space-sm); }
.shot .copy-field, .shot .timer { margin-top: 0; }
.shot .copy-btn { display: grid; place-items: center; min-height: 40px; }

.section { padding-block: var(--section-y); }
.section-head { max-width: 40em; margin-bottom: var(--space-2xl); }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { margin-top: var(--space-md); color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); counter-reset: step; }
.step { display: flex; flex-direction: column; min-height: 240px; padding: var(--space-xl); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--card-glass); counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); margin-bottom: auto; padding-bottom: var(--space-2xl); }
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--space-sm); }
.step p { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } .step { min-height: 0; } }
.step-lit { background: radial-gradient(90% 70% at 50% 0%, var(--accent-soft), transparent), var(--surface-2); box-shadow: var(--shadow-lit); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-2xl); }
.fact { padding-top: var(--space-xl); border-top: 1px solid var(--border-strong); }
.fact h3 { font-size: var(--fs-lg); margin-bottom: var(--space-md); }
.fact p { color: var(--muted); font-size: var(--fs-sm); }

.matrix-panel { padding: var(--space-sm) var(--space-xl); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--card-glass); }
.matrix { width: 100%; border-collapse: collapse; }
.matrix th, .matrix td { padding: var(--space-lg) var(--space-sm); text-align: left; border-bottom: 1px solid var(--border); }
.matrix thead th { font-size: var(--fs-sm); color: var(--muted); font-weight: 400; }
.matrix tbody th { font-weight: 500; }
.matrix td { font-size: var(--fs-sm); }
.matrix .no { color: var(--faint); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-4xl); align-items: start; }
.checklist { display: grid; gap: var(--space-md); color: var(--muted); }
.checklist li { padding-left: var(--space-xl); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: var(--space-md); height: 1px; background: var(--muted); }
.stack { display: grid; gap: var(--space-lg); min-width: 0; }

.sandbox { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: var(--space-2xl); align-items: center; padding: var(--space-2xl); border: 1px solid var(--border); border-radius: var(--radius-frame); background: var(--card-glass); }
.sandbox h2 { font-size: var(--fs-2xl); }
.sandbox p { margin-top: var(--space-md); color: var(--muted); max-width: 56ch; }

.cta-final .wrap { display: grid; justify-items: center; text-align: center; }
.cta-final h2 { font-size: var(--fs-3xl); max-width: 18em; }
.cta-final p { margin-top: var(--space-md); color: var(--muted); }

.site-footer { padding-block: 0 var(--space-xl); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--grid-gap); }
.foot-card { display: grid; gap: var(--space-lg); align-content: space-between; padding: var(--space-xl); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-2); font-size: var(--fs-sm); color: var(--muted); }
.foot-chips { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.foot-chips a { padding: var(--space-sm) var(--space-lg); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); color: var(--text); text-decoration: none; font-size: var(--fs-sm); }

/* ---------- Auth ---------- */
.auth { position: relative; min-height: 100vh; display: grid; align-content: start; justify-items: center; gap: var(--space-2xl); padding: var(--space-3xl) var(--gutter); }
.auth::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; background: var(--glow); pointer-events: none; }
.auth > * { position: relative; }
.auth-card { width: 100%; max-width: 440px; padding: var(--space-2xl); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--card-glass), var(--surface-2); }
.auth-card h1 { font-size: var(--fs-xl); }
.auth-card .sub { margin-top: var(--space-md); margin-bottom: var(--space-xl); color: var(--muted); }
.auth-card .btn { margin-top: var(--space-xl); }
.auth-alt { margin-top: var(--space-lg); font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.auth-fine { max-width: 440px; font-size: var(--fs-xs); color: var(--muted); text-align: center; }

/* ---------- Dashboard ---------- */
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; gap: var(--space-2xl); padding: var(--space-xl) var(--space-lg); background: var(--bg-2); border-right: 1px solid var(--border); position: sticky; top: 0; height: 100vh; }
.sidebar .logo { padding-inline: var(--space-md); }
.side-nav { display: grid; gap: var(--space-xs); }
.side-nav a, .side-foot a { display: block; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-pill); color: var(--muted); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease; }
.side-nav a:hover, .side-foot a:hover { color: var(--text); }
.side-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.side-foot { margin-top: auto; display: grid; gap: var(--space-xs); }
.app-main { min-width: 0; }
.app-main > .test-strip { display: none; }
.app[data-env="test"] .app-main > .test-strip { display: block; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); padding: var(--space-2xl) var(--space-2xl) 0; max-width: 1240px; }
.topbar h1 { font-size: var(--fs-3xl); letter-spacing: -0.03em; margin-right: auto; }
.seg { display: inline-flex; gap: var(--space-xs); padding: var(--space-xs); border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); }
.seg button { min-height: 36px; padding: var(--space-xs) var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); cursor: pointer; transition: transform var(--dur-press) var(--ease-out); }
.seg button:active { transform: scale(0.97); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.app[data-env="test"] .seg button[aria-pressed="true"] { background: var(--warn); color: var(--on-warn); }
.view { display: none; padding: var(--space-2xl) var(--space-2xl) var(--space-4xl); max-width: 1240px; }
.view.is-active { display: block; }
.view-intro { color: var(--muted); max-width: 65ch; margin-bottom: var(--space-xl); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { display: grid; gap: var(--space-md); align-content: space-between; min-height: 132px; padding: var(--space-xl); border: 1px solid var(--border); border-radius: var(--radius-tile); background: var(--surface-2); }
.stat-value { font-size: var(--fs-xl); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-value small { display: block; margin-top: var(--space-xs); font-size: var(--fs-xs); font-weight: 400; color: var(--muted); letter-spacing: 0; }

.panel { margin-top: var(--grid-gap); padding: var(--space-xl); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface-2); }
.view > .panel:first-child { margin-top: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-lg); margin-bottom: var(--space-xl); }
.panel-head h2 { font-size: var(--fs-lg); letter-spacing: -0.01em; }
.panel-head a { font-size: var(--fs-sm); }
.chart { width: 100%; height: auto; }
.chart .bar { fill: var(--accent); }
.chart .bar-zero { fill: var(--track); }
.chart .axis { stroke: var(--border); stroke-width: 1; }
.chart text { font-family: var(--font-sans); font-size: 12px; fill: var(--muted); }

.table-scroll { overflow-x: auto; margin-inline: calc(-1 * var(--space-sm)); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.table th, .table td { padding: var(--space-md) var(--space-sm); text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table th { font-size: var(--fs-xs); font-weight: 400; color: var(--muted); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; }
.table td.mono { font-size: var(--fs-xs); }
.table tr.is-clickable { cursor: pointer; }
.table .empty { padding: var(--space-3xl) var(--space-lg); text-align: center; color: var(--muted); white-space: normal; }
.row-btn { min-height: 32px; padding: var(--space-xs) var(--space-md); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: transparent; color: var(--text); font-size: var(--fs-xs); font-weight: 500; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .table tr.is-clickable:hover td { background: var(--surface); } .seg button:hover, .chip:hover { color: var(--text); } }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.chip { white-space: nowrap; min-height: 36px; padding: var(--space-xs) var(--space-lg); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: transparent; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); cursor: pointer; transition: transform var(--dur-press) var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

.reveal-key { margin-bottom: var(--grid-gap); padding: var(--space-xl); border: 1px solid var(--accent); border-radius: var(--radius-card); background: var(--accent-soft); }
.reveal-key p { font-size: var(--fs-sm); margin-bottom: var(--space-md); }
.secret-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.secret { flex: 1 1 240px; min-width: 0; padding: var(--space-md) var(--space-lg); background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-input); font-family: var(--font-mono); font-size: var(--fs-xs); overflow-wrap: anywhere; }
.inline-form { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: flex-end; }
.inline-form .field { flex: 1 1 240px; }

dialog { border: 1px solid var(--border-strong); border-radius: var(--radius-card); padding: 0; background: var(--surface-2); color: var(--text); width: min(520px, calc(100vw - 2 * var(--space-lg))); max-height: calc(100vh - 2 * var(--space-lg)); }
dialog[open] { opacity: 1; transform: none; transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out); }
@starting-style { dialog[open] { opacity: 0; transform: scale(0.95); } }
dialog::backdrop { background: var(--backdrop); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-xl) var(--space-xl) 0; }
.dialog-head h2 { font-size: var(--fs-lg); }
.dialog-close { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); font-size: var(--fs-lg); line-height: 1; cursor: pointer; }
.dialog-body { padding: var(--space-xl); }
.dialog-body > p:not(.detail-amount) { color: var(--muted); }
.detail { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-md) var(--space-lg); font-size: var(--fs-sm); }
.detail dt { color: var(--muted); }
.detail dd { overflow-wrap: anywhere; }
.detail-amount { font-size: var(--fs-2xl); font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-block: var(--space-md) var(--space-xl); }

/* ---------- Checkout (phone first) ---------- */
.pay-body { min-height: 100vh; display: flex; flex-direction: column; }
.pay-body .test-strip { display: none; position: sticky; top: 0; z-index: 5; }
.pay-body.is-test .test-strip { display: block; }
.pay { width: 100%; max-width: 472px; margin-inline: auto; padding: var(--space-lg) var(--space-lg) var(--space-xl); flex: 1; }
.pay-card { display: grid; gap: var(--space-xl); padding: var(--space-xl); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--card-glass), var(--surface-2); }
.pay-body.is-test .pay-card { border-color: var(--warn); }
.pay-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); }
.pay-merchant { display: block; font-size: var(--fs-md); font-weight: 600; overflow-wrap: anywhere; }
.pay-order { color: var(--muted); font-size: var(--fs-xs); }
.pay-amount { text-align: center; }
.pay-amount-value { display: block; font-size: clamp(2.2rem, 11vw, 3rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; margin-block: var(--space-xs) var(--space-md); }
.pay-amount-value small { font-size: 0.42em; letter-spacing: 0; color: var(--muted); margin-left: var(--space-sm); }
.net-pill { display: inline-flex; padding: var(--space-sm) var(--space-lg); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); font-size: var(--fs-sm); font-weight: 500; }
.pay-body.is-test .net-pill { border-color: var(--warn); color: var(--warn); }
.pay-state, .pay-shared { display: none; }
body[data-state="waiting"] [data-show~="waiting"], body[data-state="confirming"] [data-show~="confirming"], body[data-state="paid"] [data-show~="paid"], body[data-state="expired"] [data-show~="expired"], body[data-state="notfound"] [data-show~="notfound"] { display: block; }
body[data-state="notfound"] .pay-head { display: none; }
.qr-box { width: 200px; margin-inline: auto; padding: var(--space-md); background: var(--qr-bg); border-radius: var(--radius-tile); }
.qr-box svg { width: 100%; height: auto; shape-rendering: crispEdges; }
.qr-box rect { fill: var(--qr-ink); }
.qr-caption { margin-top: var(--space-md); text-align: center; font-size: var(--fs-xs); color: var(--muted); }
.copy-field { margin-top: var(--space-lg); }
.copy-field .label { display: block; margin-bottom: var(--space-sm); }
.copy-row { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg); border: 1px solid var(--border-strong); border-radius: var(--radius-tile); background: var(--bg); }
.copy-value { flex: 1; min-width: 0; padding-block: var(--space-sm); font-family: var(--font-mono); font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.copy-value b { color: var(--text); font-weight: 600; }
#amountCopy { color: var(--text); }
.copy-row .copy-btn { flex: none; min-width: 80px; min-height: 48px; padding: var(--space-sm) var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--text); color: var(--bg); font-weight: 600; font-size: var(--fs-sm); cursor: pointer; transition: transform var(--dur-press) var(--ease-out); }
.copy-row .copy-btn:active { transform: scale(0.97); }
.copy-row .copy-btn.is-copied { background: var(--accent); color: var(--on-accent); }
.warn { display: grid; gap: var(--space-xs); margin-top: var(--space-lg); padding: var(--space-lg); border: 1px solid var(--warn); border-radius: var(--radius-tile); background: var(--warn-soft); font-size: var(--fs-sm); color: var(--text); }
.warn strong { color: var(--warn); font-weight: 600; }
.timer { display: grid; gap: var(--space-sm); margin-top: var(--space-xl); }
.timer-row { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-sm); color: var(--muted); }
.timer-value { font-family: var(--font-mono); font-size: var(--fs-lg); font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.timer.is-low .timer-value { color: var(--danger); }
progress { display: block; width: 100%; height: 8px; appearance: none; -webkit-appearance: none; border: 0; border-radius: var(--radius-pill); background: var(--track); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--track); }
progress::-webkit-progress-value { background: var(--accent); border-radius: var(--radius-pill); }
progress::-moz-progress-bar { background: var(--accent); border-radius: var(--radius-pill); }
.timer.is-low progress::-webkit-progress-value { background: var(--danger); }
.timer.is-low progress::-moz-progress-bar { background: var(--danger); }
.status { padding-block: var(--space-lg); text-align: center; }
.status-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto var(--space-lg); border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--muted); }
.status-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.status-ok .status-icon { border-color: var(--accent); background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-lit); }
.status-bad .status-icon { border-color: var(--danger); background: var(--danger-soft); color: var(--danger); }
.status h1 { font-size: var(--fs-xl); margin-bottom: var(--space-md); }
.status p { color: var(--muted); font-size: var(--fs-sm); max-width: 32em; margin-inline: auto; }
.status p strong { color: var(--text); }
.spinner { width: 64px; height: 64px; margin: 0 auto var(--space-lg); border: 3px solid var(--track); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.receipt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm) var(--space-lg); margin-top: var(--space-lg); padding: var(--space-lg); border: 1px solid var(--border); border-radius: var(--radius-tile); font-size: var(--fs-sm); }
.receipt dt { color: var(--muted); }
.receipt dd { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pay-foot { display: grid; justify-items: center; gap: var(--space-sm); padding: 0 var(--space-lg) var(--space-5xl); font-size: var(--fs-xs); color: var(--muted); }
.pay-foot .logo { font-size: var(--fs-sm); }
.pay-foot .logo-mark { width: 22px; height: 22px; }
.demo-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; gap: var(--space-sm); align-items: center; padding: var(--space-sm) var(--space-md); background: var(--bg-2); border-top: 1px solid var(--border); overflow-x: auto; font-size: var(--fs-xs); white-space: nowrap; }
.demo-bar span { color: var(--muted); }
.demo-bar a { padding: var(--space-sm) var(--space-md); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); color: var(--text); text-decoration: none; }
.demo-bar a.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- Docs ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-4xl); padding-block: var(--space-3xl) var(--section-y); }
.docs-nav { position: sticky; top: var(--space-5xl); align-self: start; display: grid; gap: var(--space-xs); }
.docs-nav a { padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); color: var(--muted); text-decoration: none; font-size: var(--fs-sm); transition: color var(--dur-fast) ease; }
.docs-nav a:hover { color: var(--text); }
.docs-content { min-width: 0; max-width: 760px; }
.docs-content > header h1 { font-size: var(--fs-3xl); }
.docs-content section { margin-top: var(--space-4xl); }
.docs-content h2 { font-size: var(--fs-xl); margin-bottom: var(--space-lg); }
.docs-content h3 { font-size: var(--fs-lg); margin-block: var(--space-2xl) var(--space-md); letter-spacing: -0.01em; }
.docs-content p { color: var(--muted); margin-bottom: var(--space-lg); max-width: 65ch; }
.docs-content .lead { margin-top: var(--space-md); }
.docs-content .code { margin-bottom: var(--space-xl); }
.docs-content ul.bullets { display: grid; gap: var(--space-sm); margin-bottom: var(--space-lg); color: var(--muted); }
.docs-content ul.bullets li { padding-left: var(--space-xl); position: relative; }
.docs-content ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: var(--space-md); height: 1px; background: var(--muted); }
.docs-content strong { color: var(--text); }
.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-bottom: var(--space-lg); padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-sm); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.method { padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; }
.method-get { background: var(--surface-hover); color: var(--text); }
.params { width: 100%; border-collapse: collapse; margin-bottom: var(--space-xl); font-size: var(--fs-sm); }
.params th, .params td { padding: var(--space-md) var(--space-lg) var(--space-md) 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.params th { font-size: var(--fs-xs); font-weight: 400; color: var(--muted); }
.params td { color: var(--muted); }
.params td:first-child { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text); white-space: nowrap; }
.docs-content .note { padding: var(--space-lg); border: 1px solid var(--warn); background: var(--warn-soft); border-radius: var(--radius-tile); font-size: var(--fs-sm); color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .menu-btn { display: grid; }
  .nav-pill { display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); flex-direction: column; padding: var(--space-sm); border-radius: var(--radius-card); background: var(--surface-2); }
  .nav-pill a { padding: var(--space-md) var(--space-lg); }
  .site-header.is-open .nav-pill { display: flex; }
}
@media (max-width: 900px) {
  .hero .wrap, .split, .sandbox, .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: var(--space-3xl); }
  .shot-float { right: 0; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; height: auto; flex-direction: row; align-items: center; gap: var(--space-md); padding: var(--space-md); border-right: 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
  .sidebar .logo span { display: none; }
  .sidebar .logo { padding-inline: var(--space-sm); }
  .side-nav, .side-foot { display: flex; }
  .side-foot { margin: 0 0 0 auto; }
  .topbar { padding: var(--space-xl) var(--space-lg) 0; }
  .view { padding: var(--space-xl) var(--space-lg) var(--space-4xl); }
  .docs { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-top: var(--space-xl); }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: var(--space-sm); }
  .docs-nav a { border: 1px solid var(--border-strong); }
}
@media (max-width: 520px) {
  .header-actions .link { padding-inline: var(--space-sm); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { min-height: 0; }
  .sandbox, .auth-card { padding: var(--space-xl); }
  .detail { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs) 0; }
  .detail dd { margin-bottom: var(--space-md); }
  .pay-card { padding: var(--space-lg); }
}

/* ---- App additions (not from the design file): hooks the live pages need ---- */
.form-error { min-height: 1.4em; margin-top: var(--space-md); font-size: var(--fs-sm); color: var(--danger); }
.form-error:empty { display: none; }
.badge-delivered { background: var(--accent-soft); color: var(--accent); }
.qr-box img { display: block; width: 100%; height: auto; }
.receipt a { color: var(--accent); }
.status .btn { margin-top: var(--space-xl); }
.side-foot button { display: block; width: 100%; padding: var(--space-md) var(--space-lg); border: 0; border-radius: var(--radius-pill); background: none; color: var(--muted); font: inherit; font-size: var(--fs-sm); font-weight: 500; text-align: left; white-space: nowrap; cursor: pointer; }
.side-foot button:hover { color: var(--text); }
body[data-state="loading"] .pay-card, body[data-state="loading"] .pay-foot { visibility: hidden; }

/* Audit fixes */
/* Code samples no longer push their column wider than a phone screen (the Copy button was cut off). */
.stack > * { min-width: 0; }
/* A long description or merchant name gets its own full-width line instead of squeezing the header. */
.pay-head { flex-wrap: wrap; }
.pay-head > div { min-width: 0; }
.pay-head .pay-order { flex: 1 1 100%; overflow-wrap: anywhere; }
.pay-head .pay-order:empty { display: none; }

.sidebar { scrollbar-width: none; }
/* Present for password managers and screen-reader conventions, not shown on screen. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#passwordReason { margin-bottom: var(--space-lg); }
/* Sign-up code step, confirmation dialogs, seller contact on the checkout page. */
.link-btn { padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--accent); }
.dialog-lead { margin-bottom: var(--space-lg); }
.dialog-field { margin-top: var(--space-lg); }
.dialog-body .qr-caption { margin-bottom: var(--space-md); }
.dialog-body pre.code { margin-top: var(--space-md); }
.pay-support { color: var(--text); }
.pay-support a { color: var(--accent); font-weight: 600; }
.pay-support { font-size: var(--fs-sm); text-align: center; }

/* Admin panel */
.admin-tag { display: inline-flex; align-items: center; justify-self: start; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--warn-soft); color: var(--warn); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.auth-card .admin-tag { margin-bottom: var(--space-md); }
.side-user { display: block; padding: var(--space-sm) var(--space-lg); font-size: var(--fs-xs); color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); flex: 1 1 420px; }
.toolbar .input { flex: 1 1 240px; width: auto; min-height: 40px; }
.toolbar .select { width: auto; min-height: 40px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--space-sm); margin-top: var(--space-lg); }
.pager .label { margin-right: auto; }
.attention { display: grid; gap: var(--space-md); margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
.attention li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.attention a { color: var(--text); }
.detail-wide { grid-template-columns: 220px minmax(0, 1fr); }
dialog.dialog-wide { width: min(880px, calc(100vw - 2 * var(--space-lg))); }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.suspended-note { margin-bottom: var(--space-lg); padding: var(--space-md) var(--space-lg); border: 1px solid var(--danger); border-radius: var(--radius-tile); background: var(--danger-soft); font-size: var(--fs-sm); }
.dialog-section { margin: var(--space-2xl) 0 var(--space-md); font-size: var(--fs-md); }
.tag-test { margin-left: var(--space-xs); padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: var(--warn-soft); color: var(--warn); font-size: var(--fs-xs); }
textarea.input { min-height: 96px; resize: vertical; font: inherit; }
@media (max-width: 520px) { .detail-wide { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs) 0; } .detail-wide dd { margin-bottom: var(--space-md); } }

/* Payments to check, payment links, plan */
.nav-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: var(--space-sm); padding: 0 6px; border-radius: var(--radius-pill); background: var(--warn); color: var(--on-warn); font-size: var(--fs-xs); font-weight: 600; line-height: 1; vertical-align: 1px; }
.plan-strip { padding: var(--space-md) var(--space-lg); text-align: center; font-size: var(--fs-sm); font-weight: 500; color: var(--warn); background: var(--warn-soft); border-bottom: 1px solid var(--warn); }
.plan-strip.is-ended { color: var(--danger); background: var(--danger-soft); border-bottom-color: var(--danger); }
.plan-strip a { color: inherit; font-weight: 600; }
.plan-lead { font-size: var(--fs-lg); font-weight: 500; margin-bottom: var(--space-md); }
.link-url { margin-top: var(--space-xs); font-size: var(--fs-xs); overflow-wrap: anywhere; }
.row-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: flex-end; }
.mark-paid { margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--border); }
.login-code-status { margin-top: var(--space-xl); margin-bottom: 0; }
.login-code-status + .form-actions { margin-top: var(--space-md); }
/* Public payment link page */
.link-intro { text-align: center; margin-bottom: var(--space-xl); }
.link-title { font-size: var(--fs-xl); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.link-desc { margin-top: var(--space-sm); color: var(--muted); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.link-desc:empty { display: none; }
.link-form { display: grid; gap: var(--space-lg); margin-top: var(--space-xl); }
.link-form .field + .field { margin-top: 0; }
.link-go { width: 100%; }
.tag-sub { background: var(--accent-soft); color: var(--accent); }

/* Intro splash (home page, once per visit). The background is the video's own colour, so its edges disappear. */
.splash { display: none; }
.splash-on body { overflow: hidden; }
.splash-on .splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #0e0e0e; cursor: pointer; transition: opacity 0.55s var(--ease-out); }
.splash-leaving .splash { opacity: 0; pointer-events: none; }
.splash-stage { display: grid; justify-items: center; }
.splash-video { display: block; width: min(64vmin, 440px); aspect-ratio: 1; object-fit: cover; background: #0e0e0e; }
.splash-name { margin-top: calc(min(64vmin, 440px) * -0.22); font-weight: 600; font-size: clamp(1.6rem, 6vmin, 2.4rem); letter-spacing: -0.02em; color: #eef0f4; opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.splash-name em { font-family: var(--font-serif); font-weight: 400; font-size: 1.2em; }
.splash.show-name .splash-name { opacity: 1; transform: none; }
.splash-skip { position: absolute; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 40px; padding: var(--space-sm) var(--space-lg); border: 1px solid rgba(235, 240, 255, 0.16); border-radius: var(--radius-pill); background: transparent; color: #9aa0aa; font: inherit; font-size: var(--fs-sm); cursor: pointer; }
.splash-skip:hover, .splash-skip:focus-visible { color: #eef0f4; border-color: rgba(235, 240, 255, 0.4); }
