/* colors — two themes, one set of names. Terminal DNA only.
   Paper (warm cream / terracotta) was dropped 2026.09.02. Do not reintroduce. */
:root, [data-theme="dark"] {
  --bg: #08090A; --bg-2: #131917; --surface: #0B0E0D;
  --text: #E6EBE6; --text-2: #8B968E; --text-3: #6B776F;
  --line: #1E2422; --line-soft: #161B19;
  /* --sep is the SEPARATOR between two things on one line — the hairline in a
     header, the rule in a lockup. It is not a border. A border encloses a
     surface and can sit at --line; a separator has to survive alone on the
     ground, and on this theme a 1px light line on near-black disappears at
     --line (1.26:1 on --bg, the same number that reads fine as a dark line on
     the light theme). It steps up to --text-3 here — 4.26:1, measured — and
     stays at --line on the light theme, where nothing is wrong. Same name,
     two values, one job. */
  --sep: var(--text-3);
  --accent: #3ED49C; --accent-text: #3ED49C;
  --accent-weak: #12281F; --accent-deep: #7CE7BD; --on-accent: #08090A;
  --ok: #3ED49C; --warn: #E0B64A; --err: #E0685F; --info: #7FB8D9;
  --ok-weak: #12281F; --warn-weak: #2C2413; --err-weak: #2C1917; --info-weak: #14232C;
  --chart-1: #3ED49C; --chart-2: #2F6B52; --chart-3: #E0B64A; --chart-4: #7FB8D9; --chart-5: #E0685F;
}
[data-theme="light"] {
  --bg: #F4F6F4; --bg-2: #E8EBE8; --surface: #FFFFFF;
  --text: #101413; --text-2: #59635C; --text-3: #6E7A72;
  --line: #D3DAD4; --line-soft: #E4E9E5;
  --sep: var(--line);            /* 1.31:1 on --bg — a dark line on light ground holds */
  /* one accent, both themes. --accent-text used to be a darkened pair so the
     green would clear 3:1 as text on white; it now resolves to the same
     #3ED49C, because a mark that changes colour between themes stops being
     one mark. The token stays as a name so every call site keeps working and
     a future exception has one place to live.

     The consequence, decided 2026-09-17: mint as TEXT on this theme's ground
     is 1.74:1, under the 4.5:1 body minimum. So on a light ground mint is a
     FILL, not a letter — a label goes on an --accent field with --on-accent
     ink, emphasis inside a sentence is weight or --accent-weak behind it, and
     position is a 3px --accent bar or a 1px line. Print is the one exception
     that steps the token down (tokens/print.css, #0B6B4A, 6.53:1); the screen
     keeps one colour. See guidelines/colors-accent-on-light.html. */
  --accent: #3ED49C;
  --accent-text: #3ED49C;
  --accent-weak: #DCF2E8; --accent-deep: #2BC189; --on-accent: #08090A;
  --ok: #0B6B4A; --warn: #8A6410; --err: #B03A30; --info: #2A5F7D;
  --ok-weak: #DCF2E8; --warn-weak: #F5E9CC; --err-weak: #F6DCD8; --info-weak: #DDE9F0;
  --chart-1: #12805A; --chart-2: #0B6B4A; --chart-3: #8A6410; --chart-4: #2A5F7D; --chart-5: #B03A30;
}
/* shape, weight and type no longer vary by theme */
:root {
  --bw: 1px;
  --shadow: none; --shadow-sm: none;
  --font: var(--font-sans); --font-mono: var(--font-code);
  --w-strong: 600;
}
