:root {
  /* Palette: white + ink black, one blue family. Cerulean is the ONLY colour for things you click to move forward.
     Fresh Sky is decoration only (glows, focus, active lines): it is too light for text. */
  --bg: #F3F9FC;           /* white with a whisper of sky */
  --surface: #FFFFFF;
  --ink: #00171F;          /* ink black: text */
  --ink-2: #003459;        /* deep space blue */
  --muted: #425C69;        /* 6.6:1 on --bg */
  --line: #DCE8EE;
  --line-strong: #B9CDD7;
  --accent: #00739A;       /* cerulean, a shade deeper than #007EA7 for AA: 5.0:1 as text on --bg, 4.7:1 on --accent-soft, white on it 5.4:1 */
  --accent-hover: #003459;
  --accent-soft: #E1F3FA;
  --sky: #00A7E1;          /* fresh sky: decoration only */
  --on-accent: #FFFFFF;
  --dark: #003459;
  --dark-deep: #00171F;
  --on-dark: #F3F9FC;
  --on-dark-muted: #A9C6D4;
  --dark-line: rgba(243, 249, 252, 0.14);

  /* Meaning colours for before/after, used sparingly */
  --bad-soft: #FDEEEA;  --bad-line: #F3C9BC;  --bad-ink: #9A3412;
  --good-soft: #E8F5EC; --good-line: #BFE1CA; --good-ink: #1D6B3A;
  --code-bg: #EAF2F6;

  --tint-ui: #FFE6D9;
  --tint-api: #D6EEF8;
  --tint-logic: #ECE3FF;
  --tint-data: #DDF3E4;
  --tint-external: #FFF1C9;
  --tint-config: #E8EEF1;

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-head: "Space Grotesk", "Inter Tight", system-ui, sans-serif;
  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-serif: var(--font-display);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0, 23, 31, 0.06);
  --shadow: 0 1px 2px rgba(0, 23, 31, 0.05), 0 8px 24px -6px rgba(0, 23, 31, 0.10);
  --shadow-lg: 0 2px 4px rgba(0, 23, 31, 0.04), 0 24px 60px -18px rgba(0, 52, 89, 0.28);
  --ring: 0 0 0 4px rgba(0, 167, 225, 0.28);
  --ease: 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --measure: 68ch;
  --page: 1160px;
}
