@font-face {
  font-family: "Inter";
  src: url("/landing/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/landing/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/landing/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --canvas: #f6f5f2;
  --surface: #ffffff;
  --raised: #ffffff;
  --field: #efede8;
  --ink: #17161a;
  --muted: #57535e;
  --faint: #726e79;
  --line: #e4e1da;
  --line-strong: #cfcbc2;
  --accent: #5b4cf0;
  --on-accent: #ffffff;
  --accent-soft: #eceafe;
  --on-accent-soft: #4535d6;
  --danger: #d42a3a;
  --success: #0d7f55;
  --on-success: #ffffff;
  --warning: #a26100;
  --veil: #e9e7f0;
  --on-veil: #4a4560;
  --peach: #ffb199;
  --series-a: #3987e5;
  --series-b: #d95926;
  --inverse: #17161a;
  --on-inverse: #f6f5f2;
  --shadow: 23 22 26;
  --deep: 0.28;
  --highlight: rgb(255 255 255 / 0);

  --emerald: #10b981;
  --rose: #f43f5e;
  --sky: #0ea5e9;
  --amber: #f59e0b;
  --violet: #8b5cf6;
  --teal: #14b8a6;
  --lane-mix: 6%;

  --avatar-1: #5b4cf0;
  --avatar-2: #0369a1;
  --avatar-3: #e11d48;
  --avatar-4: #047857;

  --radius-chip: 8px;
  --radius-small: 10px;
  --radius-control: 12px;
  --radius-field: 14px;
  --radius-card: 16px;
  --radius-tile: 18px;
  --radius-panel: 22px;
  --radius-sheet: 28px;
  --radius-pill: 999px;

  --space-hair: 2px;
  --space-1: 4px;
  --space-1h: 6px;
  --space-2: 8px;
  --space-2h: 10px;
  --space-3: 12px;
  --space-3h: 14px;
  --space-4: 16px;
  --space-4h: 18px;
  --space-5: 20px;
  --space-5h: 22px;
  --space-6: 24px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-14: 56px;
  --space-card: 14px;
  --space-card-gap: 10px;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-ui: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --type-display: 800 48px / 52px var(--font-display);
  --type-headline-large: 700 34px / 40px var(--font-display);
  --type-headline-medium: 700 28px / 34px var(--font-display);
  --type-headline-small: 700 18px / 22px var(--font-display);
  --type-title-large: 650 20px / 26px var(--font-ui);
  --type-title-medium: 650 17px / 22px var(--font-ui);
  --type-title-small: 600 15px / 20px var(--font-ui);
  --type-body-large: 400 15px / 22px var(--font-ui);
  --type-body-medium: 400 14px / 20px var(--font-ui);
  --type-body-small: 400 13px / 18px var(--font-ui);
  --type-label-large: 600 14px / 20px var(--font-ui);
  --type-label-medium: 600 13px / 18px var(--font-ui);
  --type-label-small: 600 12px / 16px var(--font-ui);
  --type-timer: 500 16px / 20px var(--font-mono);

  --shadow-e1: 0 1px 2px rgb(var(--shadow) / 0.05), 0 0 0 1px var(--line);
  --shadow-e2: 0 10px 28px -10px rgb(var(--shadow) / var(--deep));
  --shadow-e3: 0 28px 60px -16px rgb(var(--shadow) / var(--deep));

  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-exit: cubic-bezier(0.32, 0, 0.67, 0);
  --ease-overshoot: cubic-bezier(0.34, 1.56, 0.64, 1);
  --motion-quick: 160ms;
  --motion-enter: 260ms;
  --motion-pop: 280ms;
  --motion-layout: 360ms;
  --motion-reveal: 520ms;
  --motion-grow: 640ms;
  --motion-draw: 800ms;
  --veil-blur: 3.5px;
  --lift: 1.03;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0e0e12;
    --surface: #16161c;
    --raised: #1e1e26;
    --field: #111116;
    --ink: #ededf0;
    --muted: #a9a9b6;
    --faint: #8a8a9c;
    --line: #2a2a34;
    --line-strong: #3b3b47;
    --accent: #9d90ff;
    --on-accent: #0d0b1a;
    --accent-soft: #24204a;
    --on-accent-soft: #c9c1ff;
    --danger: #ff7a80;
    --success: #3dd68c;
    --on-success: #0d0b1a;
    --warning: #f5b544;
    --veil: #24222e;
    --on-veil: #b8b3cc;
    --inverse: #ededf0;
    --on-inverse: #0e0e12;
    --shadow: 0 0 0;
    --deep: 0.5;
    --highlight: rgb(255 255 255 / 0.06);

    --emerald: #34d399;
    --rose: #fb7185;
    --sky: #38bdf8;
    --amber: #fbbf24;
    --violet: #a78bfa;
    --teal: #2dd4bf;
    --lane-mix: 9%;
  }
}

.tone-emerald {
  --tone: var(--emerald);
}

.tone-rose {
  --tone: var(--rose);
}

.tone-sky {
  --tone: var(--sky);
}

.tone-amber {
  --tone: var(--amber);
}

.tone-violet {
  --tone: var(--violet);
}

.tone-teal {
  --tone: var(--teal);
}
