@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f4f7fb;
  --surface: #ffffff;
  --text: #142235;
  --muted: #506277;
  --accent: #1d5fd1;
  --accent-hover: #12469f;
  --accent-soft: #eaf2ff;
  --accent-wash: #f5f8ff;
  --line: #cbd8e6;
  --focus: #2f80ed;
  --brand-panel: #102b4a;
  --brand-mark: #8bd8ff;
  --band: #1d5fd1;
  --band-edge: #12469f;
  --band-ink: #ffffff;
  --band-text: #dbe8ff;
  --band-line: rgba(255, 255, 255, 0.34);
  --body-font: "IBM Plex Sans", system-ui, sans-serif;
  --name-font: "Space Grotesk", system-ui, sans-serif;
  --mono-font: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --gutter: clamp(1rem, 4vw, 4rem);
  --measure: 64ch;
  --container: 72rem;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #101923;
  --surface: #172535;
  --text: #edf4fc;
  --muted: #b6c7da;
  --accent: #88bbff;
  --accent-hover: #b9dbff;
  --accent-soft: #233b56;
  --accent-wash: #192b3e;
  --line: #374b61;
  --focus: #96ceff;
  --band: #16345a;
  --band-edge: #385779;
}
