/*
 * TOKENS — the only file in src/ that may hold colour literals (standing rule 4).
 *
 * PALETTE PROVENANCE (sampled with sharp from brand/ pixels, nothing invented):
 *   --void         #021420  mean of 200x200 top-left block of "LOGO OFFTRACK PNG.png" (opaque, colourtype 6)
 *   --deep         #061a2c  pixel (300,1000) of the same opaque logo (mid background)
 *   --glow         #0d3752  pixel (1350,520) of the same opaque logo (halo behind glyph)
 *   --accent-deep  #129dfd  pixel (520,1250) of "LOGO OFFTRACK PNG...png" (lower-left arc, deepest blue)
 *   --accent       #58d2fc  pixel (1123,1009) of the transparent logo (arrow shaft)
 *   --accent-mid   #85eafd  50th luminance percentile of all opaque glyph pixels
 *   --ice          #c2ebfd  75th luminance percentile of all opaque glyph pixels
 *   --white        #f4f9fd  97th luminance percentile of all opaque glyph pixels
 *   --gain/--loss  #16a34a / #dc2626  supplied by the brief (market direction colours)
 * Every translucent tone below is color-mix() of the above, never a new hex.
 */
:root {
  color-scheme: dark;

  --void: #021420;
  --deep: #061a2c;
  --glow: #0d3752;
  --accent-deep: #129dfd;
  --accent: #58d2fc;
  --accent-mid: #85eafd;
  --ice: #c2ebfd;
  --white: #f4f9fd;
  --gain: #16a34a;
  --loss: #dc2626;

  --color-accent: var(--accent);
  --ink: var(--white);
  --ink-2: color-mix(in srgb, var(--ice) 72%, var(--void));
  --ink-3: color-mix(in srgb, var(--ice) 48%, var(--void));
  --line: color-mix(in srgb, var(--accent-mid) 14%, transparent);
  --line-2: color-mix(in srgb, var(--accent-mid) 30%, transparent);
  --panel: color-mix(in srgb, var(--accent-mid) 5%, transparent);
  --panel-2: color-mix(in srgb, var(--accent-mid) 10%, transparent);
  --glass: color-mix(in srgb, var(--deep) 78%, transparent);
  --shade: color-mix(in srgb, var(--void) 70%, transparent);
  --spot: color-mix(in srgb, var(--accent) 16%, transparent);
  --wash-gain: color-mix(in srgb, var(--gain) 22%, transparent);
  --wash-loss: color-mix(in srgb, var(--loss) 22%, transparent);
  --on-accent: var(--void);

  --ui: "Space Grotesk", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* measurements lifted from the reference study (px) */
  --bar-h: 60px;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-pill: 999px;
  --gutter: 24px;
}
