/* Till design system: generated from tokens.json. Edit tokens.json, then regenerate (see README.md). */
:root {
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-serif: Gambetta, 'Source Serif 4', Newsreader, Georgia, serif;
    --electric-blue: #5196fe;
    --ember-orange: #f9754e;
    --coral-pink: #ff8fb0;
    --ink-black: #1b1d20;
    --midnight: #101828;
    --paper-white: #ffffff;
    --parchment: #f2f1ec;
    --parchment-soft: #f6f4f1;
    --sand: #e1dfd8;
    --graphite: #27272a;
    --steel: #6e6e6e;
    --ash: #797876;
    --fog: #a3a3a3;
    --canvas: var(--paper-white);
    --surface: var(--paper-white);
    --soft: var(--parchment-soft);
    --line: var(--sand);
    --text: var(--ink-black);
    --text-muted: var(--steel);
    --control-line: var(--fog);
    --wash: #e4eeff;
    --blue-tint: #e4eeff;
    --blue-text: #1f5fd1;
    --ink-surface: var(--ink-black);
    --on-ink: #ffffff;
    --on-brand: #ffffff;
    --focus-ring: #2f73e8;
    --space-4: 4px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-28: 28px;
    --space-32: 32px;
    --space-40: 40px;
    --space-48: 48px;
    --space-64: 64px;
    --space-80: 80px;
    --radius-card: 24px;
    --radius-visual: 22px;
    --radius-badge: 12.8px;
    --radius-input: 12.8px;
    --radius-tile: 12px;
    --radius-pill: 9999px;
    --shadow-md: rgba(0, 0, 0, 0.1) 0px 2px 10px 0px;
}

:root[data-theme='dark'] {
    --canvas: #141517;
    --surface: #1d1f22;
    --soft: #24262a;
    --line: #34363b;
    --text: #f2f1ec;
    --text-muted: #a3a3a3;
    --control-line: #6b6d72;
    --wash: #1c2a45;
    --blue-tint: #1f3358;
    --blue-text: #8bb8ff;
    --ink-surface: #0d0e10;
    --on-ink: #ffffff;
    --on-brand: #ffffff;
    --focus-ring: #8bb8ff;
}

/* Type styles: class per style in tokens.json */
.type-display {
    font-family: var(--font-sans);
    font-size: 64px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.1em;
}
.type-heading {
    font-family: var(--font-sans);
    font-size: 48px;
    line-height: 1.13;
    font-weight: 600;
    letter-spacing: -0.06em;
}
.type-heading-sm {
    font-family: var(--font-sans);
    font-size: 32px;
    line-height: 1.16;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.type-stat {
    font-family: var(--font-sans);
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.06em;
}
.type-accent {
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.08em;
    font-style: italic;
}
.type-accent-sm {
    font-family: var(--font-serif);
    font-size: 51px;
    line-height: 1.16;
    font-weight: 500;
    letter-spacing: -0.04em;
    font-style: italic;
}
.type-subheading {
    font-family: var(--font-sans);
    font-size: 20px;
    line-height: 1.42;
    font-weight: 600;
    letter-spacing: -0.023em;
}
.type-body {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.43;
    font-weight: 400;
    letter-spacing: -0.02em;
}
.type-body-sm {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.02em;
}
.type-button {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: -0.02em;
}
.type-caption {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.type-overline {
    font-family: var(--font-sans);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
