/* Every colour of the header, the blog pages and the post figures lives in this file. The stylesheets and the
   figure script only ever use the variables, so changing the palette is an edit here and nowhere else.
   (The About page keeps its own Tailwind classes and is not affected.) */

:root {
  /* 1. The video's palette, verbatim from ncm/flextok/video/palette.css (as of 2026-11-26 01:14 UTC): neutrals
        follow this site (white ground, Tailwind neutral greys), every accent is a desert pastel. To follow a new
        version of the video, paste its block over this one. */
  --bg:#ffffff; --card:#ffffff; --panel:#f5f5f5; --line:#d4d4d4; --grid:#e5e5e5; --off:#e5e5e5;
  --ink:#262626; --muted:#737373;
  --ncm:#d9622b; --ours:#17a2a5;                       /* terracotta, turquoise: the two decoders */
  --place:#0e7f88; --same:#e8a723; --rep:#f6a9a0;      /* word marks: deep teal, mustard; repeats in pink */
  --pillN:#fbd5bb; --pillO:#bfeae5; --pill2:#f8e3a6;   /* pale orange, pale turquoise, pale yellow */
  --problem:#fcd9d3; --solution:#c5ece6; --chg:#f6cf5e;  /* words that differ from the previous sample */
  --ramp0:#f8e3a6; --ramp1:#eda63a; --ramp2:#d9622b;   /* levels, coarse to fine */

  /* 2. Colours the pages need that the video does not define. */
  --soft: #525252;                 /* secondary text (Tailwind neutral-600) */
  --faint: #a3a3a3;                /* hover colour of links, as on the About page (neutral-400) */
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);   /* the About page's card shadow */
  --shadow-lift: 0 8px 24px rgb(0 0 0 / 0.18);

  /* 3. Roles: what each part of a page is painted with. */
  --page-bg: var(--bg);
  --page-ink: var(--ink);
  --page-muted: var(--muted);
  --page-soft: var(--soft);
  --rule: var(--grid);             /* hairlines */
  --link-line: var(--line);        /* underline of links on blog pages */
  --link-hover: var(--faint);
  --nav-bg: var(--card);           /* header buttons on the About page: raised, and pressed for the current page */
  --nav-current-bg: var(--off);
  --slot-bg: var(--panel);         /* a sentence that waits for a result */
  --figure-bg: var(--bg);
  --tip-bg: var(--ink);
  --tip-ink: var(--bg);
  --tip-muted: var(--line);
  --control-bg: var(--ink);        /* pressed chips, slider thumb */
  --control-ink: var(--bg);
}
