/* Hermitbox Design System — generated from tokens.json */
@font-face { font-family: "Redaction 50"; src: url("fonts/Redaction50-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Redaction 50"; src: url("fonts/Redaction50-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Redaction 20"; src: url("fonts/Redaction20-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Redaction 20"; src: url("fonts/Redaction20-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/SchibstedGrotesk-Variable.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Departure Mono"; src: url("fonts/DepartureMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root, [data-theme="dark"] {
  --bg: #0A1150;
  --surface: #0E185F;
  --surface-sunk: #070C3D;
  --surface-hover: #16237A;
  --ink: #F3EEDD;
  --ink-muted: #AAB3E6;
  --ink-subtle: #8792D2;
  --ink-inverse: #0A1150;
  --border: #1C2A80;
  --border-strong: #2E3DA0;
  --border-control: #6F7BC4;
  --coral: #E02A1B;
  --coral-bright: #FF3B2F;
  --coral-deep: #A81A0F;
  --on-coral: #FFFFFF;
  --coral-ink: #FF7B69;
  --coral-soft: #3A1240;
  --sea: #2F6BFF;
  --sea-deep: #1B3FC2;
  --sea-ink: #86AEFF;
  --sea-soft: #13246E;
  --foam: #E8EEFF;
  --pincher: #9B5CFF;
  --pincher-ink: #C7A6FF;
  --pincher-soft: #22195E;
  --kraft: #F2912B;
  --kraft-soft: #2A1F4E;
  --sand: #F3EEDD;
  --sun: #FFD23F;
  --glass: #4DE3D0;
  --glass-soft: #0B2E5C;
  --danger: #FF6B7A;
  --danger-soft: #3A1240;
  --warning: #FFD23F;
  --focus: #FFD23F;
  --term-bg: #050A2E;
  --term-ink: #F3EEDD;
  --term-muted: #8792D2;
  --term-prompt: #FF5A47;
  --term-claw: #C7A6FF;
  --term-box: #FFA94D;
  --term-error: #FF6B7A;
  --term-ok: #4DE3D0;
  --code-bg: #050A2E;
  --code-keyword: #C7A6FF;
  --code-string: #FFB866;
  --code-fn: #4DE3D0;
  --code-comment: #8792D2;
  --shadow-pixel: 4px 4px 0 #02051C;
}
[data-theme="light"] {
  --bg: #F3F2ED;
  --surface: #FFFFFF;
  --surface-sunk: #E9E8E1;
  --surface-hover: #E0DFD6;
  --ink: #0A1150;
  --ink-muted: #3A4080;
  --ink-subtle: #585E94;
  --ink-inverse: #F3EEDD;
  --border: #D8D7CE;
  --border-strong: #B5B4A9;
  --border-control: #6A6F9A;
  --coral: #E02A1B;
  --coral-bright: #FF3B2F;
  --coral-deep: #A81A0F;
  --on-coral: #FFFFFF;
  --coral-ink: #B81D10;
  --coral-soft: #FBDCD7;
  --sea: #2F6BFF;
  --sea-deep: #1B3FC2;
  --sea-ink: #1D47C8;
  --sea-soft: #DCE5FF;
  --foam: #E8EEFF;
  --pincher: #9B5CFF;
  --pincher-ink: #5B23B8;
  --pincher-soft: #E8DDFF;
  --kraft: #F2912B;
  --kraft-soft: #FBE6CC;
  --sand: #F3EEDD;
  --sun: #FFD23F;
  --glass: #087063;
  --glass-soft: #D3F3EE;
  --danger: #B0142C;
  --danger-soft: #FADADF;
  --warning: #7A4600;
  --focus: #1D47C8;
  --term-bg: #050A2E;
  --term-ink: #F3EEDD;
  --term-muted: #8792D2;
  --term-prompt: #FF5A47;
  --term-claw: #C7A6FF;
  --term-box: #FFA94D;
  --term-error: #FF6B7A;
  --term-ok: #4DE3D0;
  --code-bg: #050A2E;
  --code-keyword: #C7A6FF;
  --code-string: #FFB866;
  --code-fn: #4DE3D0;
  --code-comment: #8792D2;
  --shadow-pixel: 4px 4px 0 #0A1150;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-22: 88px;
  --radius-0: 0px;
  --radius-pill: 999px;
  --control-sm: 28px;
  --control-md: 36px;
  --control-lg: 44px;
  --topnav-height: 64px;
  --sidebar-width: 248px;
  --content-max: 1200px;
  --prose-max: 720px;
  --pixel: 4px;
  --bp-sm: 560px;
  --bp-md: 900px;
  --bp-lg: 1200px;
  --font-display: "Redaction 50", Georgia, serif;
  --font-heading: "Redaction 20", Georgia, serif;
  --font-sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Departure Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
.display-xl { font-family: var(--font-display); font-size: 84px; line-height: 80px; font-weight: 400; letter-spacing: -1.5px; }
.display { font-family: var(--font-display); font-size: 56px; line-height: 56px; font-weight: 400; letter-spacing: -0.8px; }
.h1 { font-family: var(--font-heading); font-size: 40px; line-height: 44px; font-weight: 400; letter-spacing: -0.5px; }
.h2 { font-family: var(--font-heading); font-size: 28px; line-height: 34px; font-weight: 400; letter-spacing: -0.3px; }
.h3 { font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 650; }
.body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 15px; line-height: 24px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 13px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-mono); font-size: 13px; line-height: 16px; font-weight: 400; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; line-height: 16px; font-weight: 400; }
.code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }
