/* The only stylesheet that may contain color literals. tests/contrast.mjs reads both blocks. */
:root {
  color-scheme: light;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-2: #F2F3EF;
  --line: #DCDFD8;
  --line-strong: #7C828E;
  --ink: #16181D;
  --muted: #545A65;
  --primary: #2345C2;
  --on-primary: #FFFFFF;
  --primary-soft: #EAF0FF;
  --success: #146C43;
  --success-soft: #E6F4EC;
  --danger: #B42318;
  --danger-soft: #FDECEA;
  --warn: #8A5300;
  --warn-soft: #FFF3DC;
  --twk: #6F3A94;
  --twk-soft: #F4ECFA;
  --tiu: #0B6680;
  --tiu-soft: #E5F4F8;
  --tkp: #7A4F00;
  --tkp-soft: #FBF0DD;
  --focus: #2345C2;
  --scrim: rgb(10 12 18 / 0.5);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.06);

  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --r1: 10px;
  --r2: 14px;
  --r3: 20px;
  --nav-h: 56px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111318;
  --surface: #181B21;
  --surface-2: #20242C;
  --line: #2E333D;
  --line-strong: #737C8D;
  --ink: #ECEEF2;
  --muted: #A9B0BC;
  --primary: #93B1FF;
  --on-primary: #0B1430;
  --primary-soft: #1C2745;
  --success: #62D49B;
  --success-soft: #16301F;
  --danger: #FF8E85;
  --danger-soft: #3A1A18;
  --warn: #F4C150;
  --warn-soft: #33270F;
  --twk: #D6AAF2;
  --twk-soft: #2A1D35;
  --tiu: #74D2EA;
  --tiu-soft: #13303A;
  --tkp: #EDBE6A;
  --tkp-soft: #33270F;
  --focus: #93B1FF;
  --scrim: rgb(0 0 0 / 0.65);
  --shadow: none;
}
