/* Trinomial Labs — generated from tokens.json */
@font-face{font-family:"Space Grotesk";src:url("../fonts/space-grotesk/SpaceGrotesk-Variable.woff2") format("woff2");font-weight:300 700;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url("../fonts/jetbrains-mono/JetBrainsMono-Variable.woff2") format("woff2");font-weight:100 800;font-display:swap}

:root, [data-theme="light"] {
  color-scheme: light;
  --paper: #f5f6f8;
  --surface: #ffffff;
  --line: #e3e6eb;
  --line-strong: #848b98;
  --ink: #0d1117;
  --graphite: #5b6270;
  --signal: #f2541b;
  --signal-text: #b93a0b;
  --on-signal: #0d1117;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0d1117;
    --surface: #161b22;
    --line: #262c36;
    --line-strong: #6b7280;
    --ink: #f5f6f8;
    --graphite: #9aa3b2;
    --signal: #f2541b;
    --signal-text: #ff7a45;
    --on-signal: #0d1117;
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d1117;
  --surface: #161b22;
  --line: #262c36;
  --line-strong: #6b7280;
  --ink: #f5f6f8;
  --graphite: #9aa3b2;
  --signal: #f2541b;
  --signal-text: #ff7a45;
  --on-signal: #0d1117;
}

:root {
  --space-2: 8px;
  --space-4: 16px;
  --space-8: 32px;
  --space-16: 64px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-icon: 22.5%;
  --font-sans: "Space Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

.t-display { font-family: var(--font-sans); font-size: 64px; line-height: 60px; font-weight: 600; letter-spacing: -0.035em; }
.t-h1 { font-family: var(--font-sans); font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.03em; }
.t-h2 { font-family: var(--font-sans); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.02em; }
.t-body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.t-small { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.t-label { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.t-code { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 400; }
