/*
 * UNTRACE — design tokens. The ONLY file in the project that holds colour literals.
 *
 * PALETTE PROVENANCE (sampled from brand/ with Pillow, nothing invented):
 *   brand/LOGO UNTRACE PNG.png   IHDR 2000x2000, 8-bit, colour type 6 (RGBA), alpha 255 everywhere
 *   brand/LOGO UNTRACE JPG.jpg   JFIF 2000x2000, RGB, no alpha
 *   brand/LOGO UNTRACE PNG...png IHDR 2000x2000, 8-bit, colour type 6 (RGBA), alpha 0 on 3,655,202 px,
 *                                partial alpha on 344,798 px, RGB of every alpha-0 px is pure black (0,0,0)
 *                                -> premultiplied resize used for the shipped logo-*.png derivatives
 *
 *   --bg      #0b1f28  rgb(11,31,40)    dominant px of opaque PNG + JPG (228,576 of sampled px)
 *   --fg      #f1f8fa  rgb(241,248,250) dominant px of the arcs (opaque PNG, transparent PNG)
 *   --accent  #7dd4ed  rgb(125,212,237) dominant px of the centre pill (1,515 hits in 50x110 window)
 *   --gain    #16a34a  --loss #dc2626   stated in the project brief (not from the asset)
 *
 * Every other surface / line / glow in styles.css is a colour-mix() of these five, never a new hex.
 * assets/favicon.svg is a traced pixel grid of the logo and embeds the same three sampled values.
 *
 * Motion + geometry numbers below are the measured values from the reference site study
 * (panel radius 3px, hero-in .9s/1.1s, row-arrive .9s, flash .6s, tape n*3.2s, pulse 2s, dawn 2.4s).
 */
:root {
  --bg: #0b1f28;
  --fg: #f1f8fa;
  --accent: #7dd4ed;
  --gain: #16a34a;
  --loss: #dc2626;

  --color-accent: var(--accent);

  --radius: 3px;
  --radius-sm: 2px;
  --radius-pill: 999px;

  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --dur-hero: 0.9s;
  --dur-hero-foot: 1.1s;
  --dur-row: 0.9s;
  --dur-flash: 0.6s;
  --dur-dawn: 2.4s;
  --dur-pulse: 2s;
  --dur-tape-per-item: 3.2s;

  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: min(100% - 2rem, 80rem);
}
@media (min-width: 48rem) {
  :root {
    --wrap: min(100% - 4rem, 80rem);
  }
}
