/* Return Ready palette overlay — colour tokens only.
   Type is deliberately untouched: --sans and --mono stay as the app's system
   stacks, so this change makes zero font requests. Adopting Geist and
   JetBrains Mono is a separate decision with a separate cost.

   The three tokens that carry meaning on this product keep their roles:
     --accent = proved        --warn = could not be checked      --bad = does not tie
   Values change; roles do not. Nothing else may borrow them for emphasis.

   R-081, 1 Sep 2026 — VIOLET. Pravin: "am going with purple theme", then
   "violet". The accent moved and `proved` moved with it, because they are one
   token. Values are the design file's and match what the contrast work
   proposed: #C4B5FD dark, #6D28D9 light.

   Two things measured before the swap, both recorded because one of them
   reversed an objection I had made:

   * #8B5CF6 — the violet everyone reaches for — scores 4.71 against this
     background and FAILS. The usable range is lighter than instinct suggests.
     #C4B5FD gives 10.79, against the green's 12.96.
   * I warned that violet would collide with --bad for colour-blind readers.
     The opposite is true and the GREEN was the problem: green against red is
     ΔE 22.3 under protanopia, where ~25 is the floor for "two colours".
     Violet is 65.9. The brand change is also an accessibility fix on the one
     distinction this product cannot afford to lose.

   DARK IS THE DEFAULT, 30 Aug 2026 (Pravin). Both palettes were already here;
   only which one is the default has moved, and prefers-color-scheme is gone —
   a brand default an OS setting can silently overturn is not a default. */

:root[data-brand="returnready"] {
  --bg: #08090A;
  --surface: #121517;
  --surface-2: #0E1012;
  --border: #1C2023;
  --border-strong: #2A3034;
  --ink: #F4F6F6;
  --ink-2: #9AA1A6;
  --ink-3: #666D72;
  --accent: #C4B5FD;
  --accent-soft: #1B1430;
  --warn: #FFB25C;
  --warn-soft: #241B10;
  --bad: #FF7A6B;
  --bad-soft: #241413;
  --good: #C4B5FD;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

:root[data-brand="returnready"][data-theme="light"] {
  --bg: #FBFAF8;
  --surface: #FFFFFF;
  --surface-2: #F3F1EC;
  --border: #E4E1DA;
  --border-strong: #C9C5BB;
  --ink: #14181D;
  --ink-2: #4A525C;
  --ink-3: #7C848C;
  --accent: #6D28D9;
  --accent-soft: #EDE9FE;
  --warn: #9E5C15;
  --warn-soft: #F8EFDF;
  --bad: #A3372C;
  --bad-soft: #F8E6E3;
  --good: #6D28D9;
  --shadow: 0 1px 2px rgba(20, 24, 29, .05), 0 4px 12px rgba(20, 24, 29, .04);
  color-scheme: light;
}
