/* Fonts: bundled latin subsets (Inter for text, JetBrains Mono for keys/code),
   the same two the extension ships, with the same unicode-range. Served from
   this site, never a font CDN. */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  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+2212, U+2215, U+FEFF, U+FFFD;
}

/* Palette mirrors the extension: navy surfaces, teal accent, and the key colors
   (teal motion, orange operator, yellow command). Dark by default; light follows
   the visitor's system setting. */
:root {
  color-scheme: dark;
  --bg: #0b1120;
  --bg2: #111a2e;
  --bg3: #1e293b;
  --border: #26334d;
  --accent: #7dd3c0;
  --accent-dim: #2f6f64;
  --accent-soft: rgba(125, 211, 192, 0.12);
  --purple: #a78bfa;
  --yellow: #fbbf24;
  --orange: #fb923c;
  --red: #f87171;
  --blue: #60a5fa;
  --text: #cbd5e1;
  --text-dim: #8b98a9;
  --text-bright: #f1f5f9;
  --nav-bg: rgba(11, 17, 32, 0.88);
  --shadow: rgba(0, 0, 0, 0.5);
  --chrome-blue: #4285F4;
  --radius: 8px;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #ffffff;
    --bg2: #f5f7fa;
    --bg3: #eaeff5;
    --border: #dbe2ea;
    --accent: #0f766e;
    --accent-dim: #8fd0c6;
    --accent-soft: rgba(15, 118, 110, 0.08);
    --purple: #7c3aed;
    --yellow: #b45309;
    --orange: #c2410c;
    --red: #dc2626;
    --blue: #2563eb;
    --text: #334155;
    --text-dim: #64748b;
    --text-bright: #0f172a;
    --nav-bg: rgba(255, 255, 255, 0.88);
    --shadow: rgba(15, 23, 42, 0.14);
  }
}
