/* site-tokens.css — the one copy of the visual register that the hand-built
 * pages under `site/` share. HW-DR-0050 rules it.
 *
 * `tools/site/refresh-site-tokens.sh` writes this block into every hand-built page,
 * between the two `headwater:tokens` markers inside that page's `<style>`
 * element. Edit this file, run that script, and read the diff. Editing the
 * block inside a page instead is what `--check` catches.
 *
 * IT IS INLINED INTO EACH PAGE RATHER THAN LINKED, AND THAT IS THE POINT
 *
 *   `site/_headers` gives every hand-built path `default-src 'none'` with
 *   `style-src 'unsafe-inline'` and no `'self'`. So a hand-built page reaches
 *   nothing at read time, which is the property HW-DR-0037 states as a
 *   measurement and HW-DR-0039 relies on. Serving this file as a stylesheet
 *   would need `'self'` added to `style-src` on all eight paths, which trades a
 *   recorded security posture for a saved copy-paste. The interpolation runs
 *   before the commit instead, which is the form HW-DR-0039 already ruled for a
 *   figure on the same pages.
 *
 * WHAT IS HERE, AND WHAT IS DELIBERATELY NOT
 *
 *   Here: the seven color tokens, the three type stacks, and the two utility
 *   classes that name the stacks. Every one of these was byte-identical in each
 *   page that carried it, so no page loses anything it declared.
 *
 *   Not here: the measure. `max-width` differs from page to page on purpose — a
 *   comparison table is not set to the width of a prose column — so a shared
 *   value would be a figure invented to make the file look complete.
 *
 *   A page that does not use `--accent-on-ink`, `.sans` or `.mono` carries it
 *   anyway. An unused custom property and an unmatched class rule cost bytes
 *   and change no rendering, and one block that is the same in eight files is
 *   worth more than eight blocks that are nearly the same.
 */
  /* headwater:tokens */
  :root {
    --bg: #fbfaf8; --fg: #1a1917; --muted: #5f5b54;
    --rule: #e2ddd4; --accent: #1d5c54; --code-bg: #f1eee8;
    --accent-on-ink: #6fb3a6;
    --serif: ui-serif, Charter, "Iowan Old Style", Georgia, serif;
    --sans: ui-sans-serif, system-ui, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #14161a; --fg: #e6e3dd; --muted: #9b968c;
      --rule: #2a2e35; --accent: #6fb3a6; --code-bg: #1c1f25;
      --accent-on-ink: #1d5c54;
    }
  }
  .sans { font-family: var(--sans); }
  .mono { font-family: var(--mono); }
  /* headwater:tokens end */
