@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../assets/fonts/sora-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --bg: #100e0f;
  --paper: #171316;
  --surface-subtle: #211a1e;
  --surface-hover: #30252b;
  --wash: #302025;
  --wash-strong: #42242b;
  --code-bg: #100e0f;
  --disabled-bg: #292226;
  --ink: #f0ede9;
  --dim: #c4babe;
  --quiet: #a29b9d;
  --accent-ink: #160d0d;
  --highlight-ink: #192824;
  --stroke: #3a3035;
  --control-stroke: #806d75;
  --glass-edge: #806d75;
  --signal-dormant: #491b22;
  --signal-primed: #a5242d;
  --signal: #ff303f;
  --accent: #ff6547;
  --signal-core: #ffb3a0;
  --accent-strong: #ffb3a0;
  --signal-wash: #ff303f12;
  --signal-glow: #ff303f33;
  --focus: #86dce5;
  --focus-on-dark: #86dce5;
  --ok: #8fb9a3;
  --ok-bg: #1b2721;
  --ok-stroke: #648975;
  --warn: #dbbc80;
  --warn-bg: #2b241a;
  --warn-stroke: #a58b5e;
  --danger: #ff4268;
  --danger-bg: #30141d;
  --danger-stroke: #ab5365;
  --info: #a9a5cc;
  --info-bg: #24212e;
  --info-stroke: #78758f;
  --navy: #171316;
  --on-navy: #f0ede9;
  --glass-surface: #211a1e;
  --content-surface: #171316;
  --glass-filter: none;
  --glass-shadow: inset 0 1px 0 #f0ede91c, inset 0 -1px 0 #00000080, 0 8px 24px #00000033;
  --ambient-backdrop: linear-gradient(118deg, #171114 0%, #100e0f 45%, #1b1317 100%);
  --graph-surface: linear-gradient(145deg, #21191e 0%, #100e0f 48%, #1b1114 100%);
  --node-surface: linear-gradient(145deg, #30282ce8 0%, #171316fa 36%, #21171bf5 100%);
  --shadow-soft: 0 2px 8px #00000020;
  --glow-primed: inset 0 2px 0 var(--signal-primed);
  --glow-active: inset 0 2px 0 var(--signal), 0 0 12px var(--signal-wash);
  --glow-current: inset 0 1px 0 var(--signal-core), var(--glass-shadow), 0 0 12px var(--signal-wash);
  --glow-line: drop-shadow(0 0 3px var(--signal-glow));
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --fs-body: 0.9375rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;
  --fs-title: 1.5rem;
  --space: 8px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --target: 44px;
  --target-min: 32px;
  --radius: 2px;
  --radius-sm: 2px;
  --radius-floating: 4px;
  --border-width: 1px;
  --focus-ring: 2px solid var(--focus);
  --focus-offset: 4px;
  --icon-size: 18px;
  --icon-stroke: 1.75;
  --icon-cap: square;
  --icon-join: miter;
  --motion-fast: 120ms;
  --motion-enter: 180ms;
  --motion-settle: 240ms;
  --motion-easing: cubic-bezier(.2, .8, .2, 1);
}

@supports (backdrop-filter: blur(1px)) {
  :root {
    --glass-surface: #211a1eeb;
    --glass-filter: blur(18px) saturate(1.08);
  }
}

@media (prefers-reduced-transparency: reduce) {
  :root {
    --glass-surface: #211a1e;
    --glass-filter: none;
    --glass-shadow: none;
    --ambient-backdrop: none;
    --graph-surface: #100e0f;
    --node-surface: #171316;
    --shadow-soft: none;
    --glow-primed: none;
    --glow-active: none;
    --glow-current: none;
    --glow-line: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 0ms;
    --motion-enter: 0ms;
    --motion-settle: 0ms;
    --glow-line: none;
  }
}

@media (forced-colors: active) {
  :root {
    color-scheme: light dark;
    --bg: Canvas;
    --paper: Canvas;
    --surface-subtle: Canvas;
    --surface-hover: Canvas;
    --wash: Canvas;
    --wash-strong: Canvas;
    --code-bg: Canvas;
    --disabled-bg: Canvas;
    --ink: CanvasText;
    --dim: CanvasText;
    --quiet: CanvasText;
    --accent-ink: Canvas;
    --highlight-ink: CanvasText;
    --stroke: CanvasText;
    --control-stroke: ButtonText;
    --glass-edge: CanvasText;
    --accent: LinkText;
    --accent-strong: LinkText;
    --focus: Highlight;
    --focus-on-dark: Highlight;
    --signal: Highlight;
    --signal-core: Highlight;
    --signal-wash: Canvas;
    --signal-glow: transparent;
    --ok: CanvasText;
    --ok-bg: Canvas;
    --ok-stroke: CanvasText;
    --warn: CanvasText;
    --warn-bg: Canvas;
    --warn-stroke: CanvasText;
    --danger: CanvasText;
    --danger-bg: Canvas;
    --danger-stroke: CanvasText;
    --info: CanvasText;
    --info-bg: Canvas;
    --info-stroke: CanvasText;
    --glass-surface: Canvas;
    --content-surface: Canvas;
    --glass-filter: none;
    --glass-shadow: none;
    --ambient-backdrop: none;
    --graph-surface: Canvas;
    --node-surface: Canvas;
    --glow-primed: none;
    --glow-active: none;
    --glow-current: none;
    --glow-line: none;
  }
}
