/* Shared WCAG ink tokens — single source of truth for the contrast-audited
   values used by index.html, tools.html and learn.html.

   Known, deliberate AA exception (owner's call): the brand gold (#C9A84C) is
   used for decorative display text (italic headline words, eyebrows, badges)
   on the light grounds, where it measures ~2.0-2.2:1 — below the 3:1 large-text
   minimum. The grounds are kept as light as the palette allows (--light #FAFAF7,
   --parch #F2F2EC) to maximise what contrast is available; pure white would cap
   at 2.29:1. All FUNCTIONAL text on light grounds is compliant via --mid-ink,
   navy, or the subtle grays.

   - --mid-ink #5B6B84  small gray text on light grounds  4.8-5.2:1

   Ink on DARK (navy) grounds — warm parchment ramp, replaces pure white.
   Decided Jul 2026: pure white halates on navy and reads cold next to the
   gold; parchment is warm, cohesive, and reuses the same off-white as the
   light-section grounds. Legibility is a non-issue (both crush AAA):
   - --on-navy      #F4F1E8  headings / primary text on navy   12.6:1
   - --on-navy-mid  #B8B2A2  body / secondary / nav on navy     6.7:1
   Pure white (--white) is reserved for pop/active states and motion flashes.
   On GOLD grounds, text is always --navy (white/parchment on gold ~1.9:1).
   Re-validate with a contrast checker before changing any value. */
:root {
  --mid-ink: #5B6B84;
  --on-navy: #F4F1E8;
  --on-navy-mid: #B8B2A2;
}
