/* Color and type tokens, light and dark.
   One slice of the page's stylesheet. The files load in the order of their numbers (the <link> list in
   web/site_template.html) and several rules rely on that order at equal specificity: never reorder or merge
   them without running tests/layout_check.js. */
:root {
  --bg: #eef1f4;
  --surface: #ffffff;
  --ink: #16202a;
  --muted: #5a6776;
  --line: #d3d9e0;
  --line-strong: #788594;   /* 3.3:1 on --bg, 3.8:1 on --surface: the edge of a control (WCAG 1.4.11) */
  --score: #1d5cba;
  --score-tint: #dbe7fa;
  --turn: #a35000;          /* 5.0:1 on --bg, 5.7:1 on --surface, 4.6:1 on --turn-tint */
  --turn-tint: #fbe4cd;
  --on-accent: #ffffff;     /* text on a --score, --turn or --muted fill: 5.7:1 or more on each */
  --shadow: rgba(22, 32, 42, 0.18);
  --sel: #16202a;
  /* one family, Manrope (the 10X brand's font, the owner Dec 3): Light for the masthead and the menus, Regular to
     ExtraBold elsewhere. The three names stay so each use says what it is for. */
  --f-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Manrope", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1419; --surface: #17202a; --ink: #e5eaf0; --muted: #94a2b2; --line: #29343f; --line-strong: #6a7888;
    --score: #79abff; --score-tint: #17304f; --turn: #f2994e; --turn-tint: #3b2512; --sel: #e5eaf0; --shadow: rgba(0, 0, 0, 0.55);
    --on-accent: #0f1419;   /* 7:1 or more on the dark --score, --turn and --muted */
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1419; --surface: #17202a; --ink: #e5eaf0; --muted: #94a2b2; --line: #29343f; --line-strong: #6a7888;
  --score: #79abff; --score-tint: #17304f; --turn: #f2994e; --turn-tint: #3b2512; --sel: #e5eaf0; --shadow: rgba(0, 0, 0, 0.55);
  --on-accent: #0f1419;
  color-scheme: dark;
}
