/* The only file allowed to hold colour literals.
   Palette provenance lives in src/palette.json: brand colours are sampled from the supplied
   artwork; surface tints reuse the sampled cover violet hue (275.3) at low chroma. */
:root {
  color-scheme: dark;

  /* brand, sampled */
  --b-blue: oklch(0.432 0.288 264.2);
  --b-indigo: oklch(0.473 0.293 268.2);
  --b-violet: oklch(0.529 0.289 294.3);
  --b-orchid: oklch(0.605 0.284 309.7);
  --b-magenta: oklch(0.692 0.317 328.4);
  --b-glow: oklch(0.731 0.248 325.6);
  --b-white: oklch(0.992 0.002 325.6);
  --b-mark: oklch(0.877 0.062 287.1);

  /* brand with alpha, same sampled values */
  --b-violet-28: oklch(0.529 0.289 294.3 / 0.28);
  --b-violet-45: oklch(0.529 0.289 294.3 / 0.45);
  --b-magenta-22: oklch(0.692 0.317 328.4 / 0.22);
  --b-magenta-40: oklch(0.692 0.317 328.4 / 0.4);
  --b-blue-30: oklch(0.432 0.288 264.2 / 0.3);
  --b-indigo-18: oklch(0.473 0.293 268.2 / 0.18);
  --b-glow-60: oklch(0.731 0.248 325.6 / 0.6);

  /* surfaces, derived: hue 275.3 at low chroma */
  --n-canvas: oklch(0.13 0.035 275.3);
  --n-panel: oklch(0.16 0.04 275.3);
  --n-card: oklch(0.19 0.045 275.3);
  --n-card-2: oklch(0.22 0.05 275.3);
  --n-tile: oklch(0.175 0.045 275.3);

  /* text, derived from the mark's soft shade hue (287.1) */
  --n-ink: oklch(0.992 0.002 325.6);
  --n-ink-2: oklch(0.9 0.03 287.1);
  --n-faint: oklch(0.76 0.045 287.1);
  --n-dim: oklch(0.68 0.05 287.1);
  --n-on-light: oklch(0.2 0.05 275.3);

  /* neutral light overlays (chroma 0 alpha steps) */
  --w-03: oklch(1 0 0 / 0.03);
  --w-04: oklch(1 0 0 / 0.04);
  --w-06: oklch(1 0 0 / 0.06);
  --w-08: oklch(1 0 0 / 0.08);
  --w-10: oklch(1 0 0 / 0.1);
  --w-14: oklch(1 0 0 / 0.14);
  --w-18: oklch(1 0 0 / 0.18);
  --w-22: oklch(1 0 0 / 0.22);
  --w-34: oklch(1 0 0 / 0.34);
  --w-44: oklch(1 0 0 / 0.44);
  --w-72: oklch(1 0 0 / 0.72);

  /* neutral dark overlays */
  --k-00: oklch(0 0 0 / 0);
  --k-20: oklch(0 0 0 / 0.2);
  --k-32: oklch(0 0 0 / 0.32);
  --k-45: oklch(0 0 0 / 0.45);
  --k-70: oklch(0 0 0 / 0.7);
  --k-solid: oklch(0 0 0 / 1);

  /* favicon (written into favicon.svg at build) */
  --fav-a: oklch(0.432 0.288 264.2);
  --fav-b: oklch(0.529 0.289 294.3);
  --fav-c: oklch(0.692 0.317 328.4);
  --fav-fg: oklch(0.992 0.002 325.6);
}
