/* Tern — generated from tokens.json */
:root, [data-theme="light"] {
  --ground: #f3f0e8;
  --surface: #faf8f3;
  --surface-raised: #ffffff;
  --surface-sunken: #e9e4d8;
  --line: #dcd5c6;
  --line-strong: #8f8676;
  --ink: #1d1b17;
  --ink-muted: #5a5449;
  --ink-faint: #6f685c;
  --bedrock: #1d1b17;
  --on-bedrock: #f3f0e8;
  --ochre: #985016;
  --ochre-soft: #f4e3d2;
  --on-ochre: #ffffff;
  --slate: #2f5f86;
  --slate-soft: #dde8f1;
  --lichen: #4f6b2a;
  --lichen-soft: #e3ead3;
  --clay: #8f3f33;
  --clay-soft: #f2dfda;
  --mineral: #126b66;
  --mineral-soft: #d6ece9;
  --amber: #875f00;
  --amber-soft: #f6ecc9;
  --vermilion: #b8321b;
  --vermilion-soft: #f7dcd5;
  --focus: #1f5fb8;
  --shadow-float: 0 1px 2px rgba(29,27,23,0.06), 0 8px 24px rgba(29,27,23,0.10);
}
[data-theme="dark"] {
  --ground: #100f0d;
  --surface: #171613;
  --surface-raised: #201e1a;
  --surface-sunken: #0b0a09;
  --line: #2f2c26;
  --line-strong: #756d60;
  --ink: #f1ece2;
  --ink-muted: #b3ab9b;
  --ink-faint: #9a9282;
  --bedrock: #f1ece2;
  --on-bedrock: #100f0d;
  --ochre: #e39a5a;
  --ochre-soft: #3a2716;
  --on-ochre: #1d1b17;
  --slate: #7fb2db;
  --slate-soft: #1b2a36;
  --lichen: #a6c47a;
  --lichen-soft: #232c18;
  --clay: #e3907f;
  --clay-soft: #36201b;
  --mineral: #5cc9bd;
  --mineral-soft: #12302d;
  --amber: #e5b94a;
  --amber-soft: #33280d;
  --vermilion: #ff8a70;
  --vermilion-soft: #3b1a13;
  --focus: #7fb2ff;
  --shadow-float: 0 1px 2px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.45);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --control-sm: 28px;
  --control-md: 34px;
  --control-lg: 44px;
  --band: 6px;
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
.display { font-family: var(--font-sans); font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -0.02em; }
.title { font-family: var(--font-sans); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; }
.heading { font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 600; }
.label { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 550; }
.body { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.small { font-family: var(--font-sans); font-size: 12px; line-height: 18px; font-weight: 400; }
.numeral { font-family: var(--font-mono); font-size: 24px; line-height: 28px; font-weight: 500; }
.code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }
.code-small { font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.02em; }
