/* Tom White Design System — generated from tokens.json */
:root, [data-theme="paper"] {
  --paper-0: #f7f5ef;
  --paper-1: #f1efe8;
  --paper-2: #e7e4da;
  --paper-3: #dad6c9;
  --ink-1: #161513;
  --ink-2: #45423c;
  --ink-3: #6b675e;
  --ink-4: #9a958a;
  --rule-1: #cfcbbf;
  --rule-2: #161513;
  --mustard-100: #f6e7b8;
  --mustard-300: #e8c25a;
  --mustard-500: #d7a220;
  --mustard-700: #8f6a0a;
  --mustard-900: #5c4405;
  --live-dot: #d7a220;
  --error: #9e2a1c;
  --surface-page: var(--paper-1);
  --surface-raised: var(--paper-0);
  --surface-sunk: var(--paper-2);
  --surface-archive: var(--paper-2);
  --surface-inverse: var(--ink-1);
  --surface-accent: var(--mustard-500);
  --surface-media: var(--paper-3);
  --text-primary: var(--ink-1);
  --text-secondary: var(--ink-2);
  --text-meta: var(--ink-3);
  --text-disabled: var(--ink-4);
  --text-inverse: var(--paper-1);
  --text-on-accent: var(--ink-1);
  --text-accent: var(--mustard-700);
  --border-hairline: var(--rule-1);
  --border-strong: var(--rule-2);
  --highlight: var(--mustard-300);
  --selection: var(--mustard-300);
  --focus-ring: var(--ink-1);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 192px;
  --border-w: 1px;
  --border-w-strong: 1.5px;
  --width-text: 38rem;
  --width-prose: 44rem;
  --width-wide: 76rem;
  --width-max: 1520px;
  --header-h: 64px;
  --bp-sm: 640px;
  --bp-md: 960px;
  --bp-lg: 1280px;
  --radius-0: 0;
  --radius-dot: 999px;
  --grid-cols: 12;
  --ratio-portrait: 4/5;
  --ratio-tall: 3/4;
  --ratio-landscape: 3/2;
  --ratio-video: 16/9;
  --ratio-cinema: 21/9;
  --ratio-square: 1/1;
  --font-display: "Gloock", "Times New Roman", serif;
  --font-text: "Familjen Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
.display-xl { font-family: var(--font-display); font-size: 176px; line-height: 0.92; font-weight: 400; letter-spacing: -0.02em; }
.display { font-family: var(--font-display); font-size: 112px; line-height: 0.92; font-weight: 400; letter-spacing: -0.02em; }
.h1 { font-family: var(--font-display); font-size: 68px; line-height: 1.04; font-weight: 400; letter-spacing: -0.01em; }
.h2 { font-family: var(--font-display); font-size: 40px; line-height: 1.1; font-weight: 400; letter-spacing: -0.01em; }
.h3 { font-family: var(--font-text); font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; }
.body-lg { font-family: var(--font-text); font-size: 21px; line-height: 1.45; font-weight: 400; }
.body { font-family: var(--font-text); font-size: 17px; line-height: 1.55; font-weight: 400; }
.small { font-family: var(--font-text); font-size: 15px; line-height: 1.5; font-weight: 400; }
.caption { font-family: var(--font-text); font-size: 14px; line-height: 1.4; font-weight: 400; font-style: italic; }
.meta { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.4; font-weight: 400; letter-spacing: 0.08em; }
.mono { font-family: var(--font-mono); font-size: 13px; line-height: 1.4; font-weight: 400; }
@font-face { font-family: "Familjen Grotesk"; src: url("fonts/FamiljenGrotesk-normal-400_700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Familjen Grotesk"; src: url("fonts/FamiljenGrotesk-italic-400_700.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Gloock"; src: url("fonts/Gloock-normal-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-normal-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-normal-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
