/* =========================================================
   Staying at the Helm: the site's colours (one file for every app)
   ---------------------------------------------------------
   Decided 2026-11-01 and 2026-11-10 (docs/site/DECISIONS.md).
   This is the ONLY file with actual colour values in it. Every page
   loads it first; app code uses these names, never typed-in colours.

   Colours are named by their JOB, not by what colour they are, so a
   different colour scheme later only changes this file.
   Most come in pairs: --colour-X is the background and --colour-on-X
   is the text that goes on it. Use them together and the contrast
   rules come along automatically.

   Rules that stay true whatever the scheme:
   - Highlight (coral today) at most ONCE per screen. It means "this needs you".
   - Never colour alone for meaning: always a word, number or icon too.
   - Focus and accent (Clear Blue today) are never used for body text.
   - Text-faint and inactive (Steel today) only for large text (16px+) or
     decoration: on white it's 4.48:1, just under the 4.5 needed for small text.
   - Line is for dividers only (too faint for the edge of a text box).
   Tints (lighter shades) are made from these with color-mix(), e.g.
     color-mix(in srgb, var(--colour-done), transparent 85%)
   ========================================================= */

:root {
  /* ---------- Text ---------- */
  --colour-text: #0B2545;          /* Deep Navy: body text and headings */
  --colour-text-quiet: #134074;    /* Mid Blue: small labels, dates, secondary headings */
  --colour-text-faint: #5B7A99;    /* Steel: large text or decoration only */
  --colour-link: #134074;          /* Mid Blue */

  /* ---------- Surfaces ---------- */
  --colour-page: #F4F7FB;          /* Cloud Gray: page background */
  --colour-card: #FFFFFF;          /* White: boxes and panels */
  --colour-line: #DCE4EE;          /* thin dividing lines */
  --colour-dark: #0B2545;          /* Deep Navy: dark bands (headers, footers) */
  --colour-on-dark: #FFFFFF;

  /* ---------- Buttons and focus ---------- */
  --colour-button: #134074;        /* Mid Blue */
  --colour-on-button: #FFFFFF;
  --colour-button-quiet: #FFFFFF;  /* secondary buttons */
  --colour-on-button-quiet: #134074;
  --colour-focus: #3E92CC;         /* Clear Blue: keyboard focus ring */
  --colour-accent: #3E92CC;        /* Clear Blue: decoration only (brand mark, card tops, shapes) */

  /* ---------- Meaning (always with a word or icon too) ---------- */
  --colour-highlight: #FF7A5C;     /* Coral: once per screen */
  --colour-on-highlight: #0B2545;  /* never white */
  --colour-done: #2A9D8F;          /* Growth Green: done, correct */
  --colour-on-done: #0B2545;
  --colour-watch: #F2A65A;         /* Apricot: watch out, due soon */
  --colour-on-watch: #0B2545;      /* never white */
  --colour-problem: #9C3B24;       /* Terracotta: problem, error */
  --colour-on-problem: #FFFFFF;
  --colour-inactive: #5B7A99;      /* Steel: inactive, parked */
  --colour-on-inactive: #FFFFFF;   /* large or bold text only */
  --colour-emphasis: #6B3FA0;      /* Plum: extra emphasis */
  --colour-on-emphasis: #FFFFFF;
  --colour-soft: #A8DDE8;          /* Soft Aqua: soft decoration */
  --colour-on-soft: #0B2545;

  /* ---------- The set of 10 (wheel slices, charts, one colour per app) ----------
     The order is locked: never re-sort it. Use slots 1, 2, 3... for fewer than 10. */
  --colour-set-1: #3E92CC;  --colour-on-set-1: #0B2545;   /* Clear Blue */
  --colour-set-2: #FF7A5C;  --colour-on-set-2: #0B2545;   /* Coral */
  --colour-set-3: #2A9D8F;  --colour-on-set-3: #0B2545;   /* Growth Green */
  --colour-set-4: #6B3FA0;  --colour-on-set-4: #FFFFFF;   /* Plum */
  --colour-set-5: #F2A65A;  --colour-on-set-5: #0B2545;   /* Apricot */
  --colour-set-6: #0B2545;  --colour-on-set-6: #FFFFFF;   /* Deep Navy */
  --colour-set-7: #9C3B24;  --colour-on-set-7: #FFFFFF;   /* Terracotta */
  --colour-set-8: #A8DDE8;  --colour-on-set-8: #0B2545;   /* Soft Aqua */
  --colour-set-9: #E884A8;  --colour-on-set-9: #0B2545;   /* Rose */
  --colour-set-10: #116B54; --colour-on-set-10: #FFFFFF;  /* Pine */
}
