/* TomEster Studio — generated from tokens.json by tools/build_tokens.py. Do not edit by hand. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --surface-sunken: #F7F5EE;
  --line: #E6E3D9;
  --line-strong: #8C887B;
  --ink: #17160F;
  --ink-muted: #5C594E;
  --green: #94BC3C;
  --green-strong: #4A6A14;
  --green-soft: #EEF4DC;
  --on-green: #17160F;
  --yellow: #FFC93C;
  --yellow-strong: #865F00;
  --yellow-soft: #FFF3CF;
  --on-yellow: #17160F;
  --clay: #E07A52;
  --clay-strong: #A9472A;
  --clay-soft: #FBE7DD;
  --on-clay: #17160F;
  --success: #237A35;
  --warning: #8A5A00;
  --danger: #B8283A;
  --focus: var(--green-strong);
  --shadow-sm: 0 1px 2px rgba(23, 22, 15, 0.08);
  --shadow-card: 0 1px 2px rgba(23, 22, 15, 0.06), 0 8px 24px rgba(23, 22, 15, 0.08);
  --shadow-lift: 0 2px 4px rgba(23, 22, 15, 0.08), 0 16px 40px rgba(23, 22, 15, 0.14);
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #12110D;
    --surface: #1C1B16;
    --surface-sunken: #0B0A08;
    --line: #302E27;
    --line-strong: #77746A;
    --ink: #F4F2EA;
    --ink-muted: #AEAA9D;
    --green: #A3CB4E;
    --green-strong: #BEDE7C;
    --green-soft: #232A14;
    --on-green: #17160F;
    --yellow: #FFD058;
    --yellow-strong: #FFD058;
    --yellow-soft: #30280F;
    --on-yellow: #17160F;
    --clay: #EB8D66;
    --clay-strong: #F4A788;
    --clay-soft: #36201A;
    --on-clay: #17160F;
    --success: #6FD08A;
    --warning: #F2B755;
    --danger: #FF7F8A;
    --focus: var(--green-strong);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.55), 0 16px 40px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #12110D;
  --surface: #1C1B16;
  --surface-sunken: #0B0A08;
  --line: #302E27;
  --line-strong: #77746A;
  --ink: #F4F2EA;
  --ink-muted: #AEAA9D;
  --green: #A3CB4E;
  --green-strong: #BEDE7C;
  --green-soft: #232A14;
  --on-green: #17160F;
  --yellow: #FFD058;
  --yellow-strong: #FFD058;
  --yellow-soft: #30280F;
  --on-yellow: #17160F;
  --clay: #EB8D66;
  --clay-strong: #F4A788;
  --clay-soft: #36201A;
  --on-clay: #17160F;
  --success: #6FD08A;
  --warning: #F2B755;
  --danger: #FF7F8A;
  --focus: var(--green-strong);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.55), 0 16px 40px rgba(0, 0, 0, 0.6);
}

.type-display {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 68px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.type-h1 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 50px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.type-h2 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.type-h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}

.type-lead {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
}

.type-body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.type-body-strong {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
}

.type-small {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.type-label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.type-code {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}

@media (max-width: 640px) {
  .type-display { font-size: 44px; line-height: 48px; }
  .type-h1 { font-size: 34px; line-height: 40px; }
}
