@font-face {
  font-family: "Georama";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/georama-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Georama";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/georama-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Resolved from tokens/ on every build — see tools/lib/theme.mjs.
   Colour imported from Figma 2026-10-21 09:28Z. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-sunken: #f8fafc;
  --bg-raised: #edf1f5;
  --selected: #ebf0ff;
  --fg: #1a2a3a;
  --fg-quiet: #445668;
  --fg-faint: #60758a;
  --fg-disabled: #a3b3c4;
  --fg-on-brand: #f8fafc;
  --accent: #4338ca;
  --brand: #5752f1;
  --rule: #e2e8f0;
  --rule-strong: #a3b3c4;
  --rule-accent: #4338ca;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #cc342e;
  --info: #2448b8;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-round: 1000px;
  --text-micro: 10px;
  --text-small: 12px;
  --text-meta: 14px;
  --text-body: 16px;
  --text-lead: 18px;
  --text-section: 24px;
  --text-title: 40px;
  --text-display: 48px;
  --font-sans: Georama, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-sunken: #091621;
    --bg-raised: #222f3c;
    --selected: #333655;
    --fg: #edf1f5;
    --fg-quiet: #cbd5e1;
    --fg-faint: #b6c2d0;
    --fg-disabled: #788c9f;
    --fg-on-brand: #091621;
    --accent: #cbd5fd;
    --brand: #b2bff8;
    --rule: #364655;
    --rule-strong: #788c9f;
    --rule-accent: #cbd5fd;
    --ok: #8aeeae;
    --warn: #fbd356;
    --bad: #fdcbcb;
    --info: #c0dbfd;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-sunken: #f8fafc;
  --bg-raised: #edf1f5;
  --selected: #ebf0ff;
  --fg: #1a2a3a;
  --fg-quiet: #445668;
  --fg-faint: #60758a;
  --fg-disabled: #a3b3c4;
  --fg-on-brand: #f8fafc;
  --accent: #4338ca;
  --brand: #5752f1;
  --rule: #e2e8f0;
  --rule-strong: #a3b3c4;
  --rule-accent: #4338ca;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #cc342e;
  --info: #2448b8;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-sunken: #091621;
  --bg-raised: #222f3c;
  --selected: #333655;
  --fg: #edf1f5;
  --fg-quiet: #cbd5e1;
  --fg-faint: #b6c2d0;
  --fg-disabled: #788c9f;
  --fg-on-brand: #091621;
  --accent: #cbd5fd;
  --brand: #b2bff8;
  --rule: #364655;
  --rule-strong: #788c9f;
  --rule-accent: #cbd5fd;
  --ok: #8aeeae;
  --warn: #fbd356;
  --bad: #fdcbcb;
  --info: #c0dbfd;
}
