/* tokens.css: the ONE set of colour tokens of MyFuturePlans (STYLE.md ch 2-3; T-008).
   build/tokens_fix.py links it as /tokens.css on every page that used to carry its own copy,
   and STOPS the build if a page's copy has different values. Change a colour HERE.
   Contrast: build/CONTRAST_check.js (build/CONTRAST_full_check.js for every page). */

/* ---- Bright light and dark, Midnight, Forest, Sunset ---- */
:root {
  --bg: #eef3ff; --card: #ffffff; --ink: #16204a; --soft: #4d5888; --line: #d5ddf5;
  --pop: #3355ff; --pop-ink: #ffffff; --zing: #ffcf3a; --mint: #19b98a; --coral: #ff6b5a; --tint: #e3e9ff;
  --face: #ffcf3a; --face-ink: #2b2100;
  --shade: rgba(16, 22, 60, 0.45);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f1430; --card: #1a2147; --ink: #eef1ff; --soft: #aab3dd; --line: #2d376a;
  --pop: #7d93ff; --pop-ink: #0f1430; --zing: #ffd659; --mint: #3fd6a8; --coral: #ff8a7c; --tint: #232c5c;
  --face: #ffd659; --face-ink: #2b2100; --shade: rgba(0, 0, 0, 0.6); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0f1430; --card: #1a2147; --ink: #eef1ff; --soft: #aab3dd; --line: #2d376a;
  --pop: #7d93ff; --pop-ink: #0f1430; --zing: #ffd659; --mint: #3fd6a8; --coral: #ff8a7c; --tint: #232c5c;
  --face: #ffd659; --face-ink: #2b2100; --shade: rgba(0, 0, 0, 0.6); color-scheme: dark; }
html:root[data-vibe="midnight"] { --bg: #0b0e17; --card: #161b2b; --ink: #e8eaf2; --soft: #9aa1b8; --line: #2a3047;
  --pop: #6a3df0; --pop-ink: #ffffff; --zing: #c9b8ff; --mint: #3fd6a8; --coral: #ff8a7c; --tint: #222842; --face: #c9b8ff; --face-ink: #1b1240; --shade: rgba(0,0,0,0.6); color-scheme: dark; }
html:root[data-vibe="forest"] { --bg: #eef5ef; --card: #ffffff; --ink: #13261b; --soft: #4a6354; --line: #cfe0d4;
  --pop: #1f7a4d; --pop-ink: #ffffff; --zing: #ffcf3a; --mint: #19b98a; --coral: #ff6b5a; --tint: #dcebe0; --face: #ffcf3a; --face-ink: #2b2100; --shade: rgba(16,40,26,0.45); color-scheme: light; }
html:root[data-vibe="sunset"] { --bg: #fff1ec; --card: #ffffff; --ink: #2a1520; --soft: #6e4a58; --line: #f3d3c8;
  --pop: #c93a64; --pop-ink: #ffffff; --zing: #ffcf3a; --mint: #19b98a; --coral: #ff8a5a; --tint: #fde0d6; --face: #ffcf3a; --face-ink: #2b2100; --shade: rgba(42,21,32,0.45); color-scheme: light; }

/* ---- --teal and --teal-ink (the Graduate kind): Apprenticeships and School stage only.
   Set on <body> by page name, so the other pages look exactly as before.
   School stage has never had --teal-ink. ---- */
body[data-page="apprenticeship"], body[data-page="school-stage"] { --teal: #0d7ba3; }
body[data-page="apprenticeship"] { --teal-ink: #ffffff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body[data-page="apprenticeship"], :root:not([data-theme="light"]) body[data-page="school-stage"] { --teal: #3fc0dc; }
  :root:not([data-theme="light"]) body[data-page="apprenticeship"] { --teal-ink: #062a1f; } }
:root[data-theme="dark"] body[data-page="apprenticeship"], :root[data-theme="dark"] body[data-page="school-stage"] { --teal: #3fc0dc; }
:root[data-theme="dark"] body[data-page="apprenticeship"] { --teal-ink: #062a1f; }
html:root[data-vibe="midnight"] body[data-page="apprenticeship"], html:root[data-vibe="midnight"] body[data-page="school-stage"] { --teal: #3fc0dc; }
html:root[data-vibe="midnight"] body[data-page="apprenticeship"] { --teal-ink: #062a1f; }
html:root[data-vibe="forest"] body[data-page="apprenticeship"], html:root[data-vibe="forest"] body[data-page="school-stage"] { --teal: #0d7ba3; }
html:root[data-vibe="forest"] body[data-page="apprenticeship"] { --teal-ink: #ffffff; }
html:root[data-vibe="sunset"] body[data-page="apprenticeship"], html:root[data-vibe="sunset"] body[data-page="school-stage"] { --teal: #0d7ba3; }
html:root[data-vibe="sunset"] body[data-page="apprenticeship"] { --teal-ink: #ffffff; }
