/**
 * Catalisa Biometrics theme — tokens ONLY. No layout rule goes here.
 *
 * Light is the default (owner decision on 2026-09-18, after seeing both); dark is an explicit
 * choice and persists. `:root` defines the COMPLETE light palette and `[data-theme="dark"]` swaps
 * only the tokens. Neutrals lean toward the accent violet — pure gray reads as unconsidered.
 *
 * `--night*` and `--on-night*` paint the dark bands (video, security, code) in BOTH themes: they
 * are dark on purpose, and emphasis inside them uses `--on-night`, never `--ink`.
 */
:root{
  /* dark color of each token in the code snippets; Shiki overrides it per <span>. */
  --shiki-dark:var(--ink);
  --ground:#FBFAFB; --surface:#FFFFFF; --surface-2:#F6F4F8; --sunken:#EFECF3;
  --line:#E9E6ED; --line-2:#D9D4E0;
  --ink:#171320; --ink-2:#3A3347; --ink-3:#5A5468; --ink-4:#6A647A;
  --brand:#734B9C; --brand-deep:#5A3880; --brand-lit:#734B9C; --brand-wash:#F2ECF8; --brand-edge:rgba(115,75,156,.3);
  --mark:#FDC234;
  --ok:#1E8A3A; --ok-wash:#E7F5EB; --no:#B42318; --no-wash:#FBEAE8; --warn:#8A5A00; --warn-wash:#FFF4DA;
  --paper:#FFFFFF; --paper-ink:#171320; --paper-2:#5A5468; --paper-line:#E0DBE6;
  --night:#0E0A16; --night-2:#171123; --on-night:#F0ECF6; --on-night-2:#B7AFC6; --night-line:rgba(255,255,255,.1); --night-lit:#C3A3E6;
  --sil-a:#B9B4C2; --sil-b:#8F8A99;
  --code-ink:#D9D2E4; --code-dim:#9A91AA; --code-key:#C3A3E6; --code-str:#9FD8A9;
  --shadow:0 1px 2px rgba(23,19,32,.05),0 8px 24px rgba(23,19,32,.07);
  --shadow-lg:0 20px 60px rgba(23,19,32,.14);
  --r:10px; --r-lg:18px;
  --sans:'Geist',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'Geist Mono',ui-monospace,Menlo,monospace;
  --gutter:clamp(20px,5vw,64px); --head-h:72px;
  /* defaults for variables the pieces receive via style= (sample color, gesture delay, layer index, brand color in the mock) */
  --c:#734B9C; --ini:0s; --k:0; --mc:#734B9C;
}
:root[data-theme="dark"]{
  --ground:#0E0A16; --surface:#171123; --surface-2:#130E1D; --sunken:#0A0710;
  --line:rgba(255,255,255,.08); --line-2:rgba(255,255,255,.16);
  --ink:#F0ECF6; --ink-2:#D9D2E4; --ink-3:#B7AFC6; --ink-4:#A197B2;
  --brand:#8458B0; --brand-deep:#734B9C; --brand-lit:#C3A3E6; --brand-wash:#221930; --brand-edge:rgba(195,163,230,.4);
  --ok:#4CC46E; --ok-wash:rgba(76,196,110,.12); --no:#F0776A; --no-wash:rgba(240,119,106,.12); --warn:#E6B84A; --warn-wash:rgba(230,184,74,.12);
  --paper:#FBFAFB; --paper-ink:#171320; --paper-2:#5A5468; --paper-line:#D9D4E0;
  --night:#07050C; --night-2:#120D1B;
  --sil-a:#3A3148; --sil-b:#262033;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 10px 30px rgba(0,0,0,.35);
  --shadow-lg:0 24px 70px rgba(0,0,0,.55);
}
