/* ADR-0015: the one place where the palette lives. Change a colour here and the public site, the
   dashboard, the Tailwind slate/orange/brand scales, the charts and the WebGL background follow.
   Values are RGB channels so they work with alpha: rgb(var(--ink-900) / 0.5).
   Palette: aurora mood (black and blue, violet glow in the background, fuchsia accents). */

/* Optitext Sans: self-hosted Avenir Next Variable (W05), identical on every OS. Normal width only:
   cut from the variable font with `fonttools varLib.instancer ... wdth=100`. Italic is synthesized.
   Weights: 400 for body and titles, 600 for emphasis. */
@font-face { font-family: "Optitext Sans"; font-weight: 250 900; src: url("../fonts/avenir-next.a3cbc4ef3182.woff2") format("woff2"); }

:root {
  /* ink: the neutral scale (Tailwind slate) */
  --ink-50: 247 248 252;
  --ink-100: 235 237 246;
  --ink-200: 222 225 238;
  --ink-300: 194 199 220;
  --ink-350: 173 179 204;
  --ink-400: 150 157 185;
  --ink-500: 104 112 150;
  --ink-600: 52 60 110;
  --ink-700: 36 42 78;
  --ink-800: 19 24 52;
  --ink-850: 13 16 34;
  --ink-900: 14 8 28;
  --ink-950: 9 5 18;

  /* brand: light blue ink (50-300), fuchsia accents (400-500), ultramarine below (Tailwind orange) */
  --brand-50: 238 241 255;
  --brand-75: 230 234 255;
  --brand-100: 214 221 254;
  --brand-200: 186 197 252;
  --brand-300: 150 166 250;
  --brand-400: 232 72 220;
  --brand-500: 214 31 200;
  --brand-550: 74 98 240;
  --brand-600: 43 52 230;
  --brand-700: 29 36 190;
  --brand-800: 22 28 150;
  --brand-900: 15 22 100;
  --brand-950: 10 14 50;

  /* the far end of the fuchsia CTA gradient (public.css --pub-cta-grad) */
  --cta-deep: 178 16 160;
  /* the near end: brand-500 a step darker, so white CTA text clears 4.5:1 (4.9:1; brand-500 is 4.3:1) */
  --cta-start: 200 24 186;

  /* glow: the aurora in the WebGL background (mood image) */
  --glow-magenta: 103 11 163;
  --glow-violet: 66 14 171;
  --glow-blue: 19 14 151;
  --glow-ocean: 4 73 130;
  --glow-teal: 6 97 113;

  /* status (charts) */
  --status-ok: 34 197 94;
  --status-bad: 239 68 68;
  --status-warn: 245 158 11;
  --status-info: 14 165 233;
}
