@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --color-paper: oklch(13.5% 0.018 292);
  --color-paper-2: oklch(17.5% 0.021 292);
  --color-paper-3: oklch(21.5% 0.024 292);
  --color-paper-4: oklch(25% 0.026 292);
  --color-ink: oklch(95% 0.01 76);
  --color-ink-2: oklch(82% 0.014 76);
  --color-muted: oklch(68% 0.014 292);
  --color-subtle: oklch(52% 0.014 292);
  --color-rule: oklch(28% 0.024 292);
  --color-rule-strong: oklch(38% 0.028 292);
  --color-accent: oklch(72% 0.19 43);
  --color-accent-strong: oklch(63% 0.2 39);
  --color-accent-soft: oklch(24% 0.055 35);
  --color-accent-ink: oklch(15% 0.024 292);
  --color-focus: oklch(96% 0.01 76);
  --color-focus-outer: oklch(7% 0.016 292);
  --color-success: oklch(73% 0.15 148);
  --color-error: oklch(68% 0.2 24);
  --color-overlay: oklch(9% 0.016 292 / 0.78);
  --color-overlay-soft: oklch(9% 0.016 292 / 0.42);
  --color-scrim: oklch(13.5% 0.018 292 / 0.82);
  --color-transparent: oklch(13.5% 0.018 292 / 0);
  --color-shadow: oklch(7% 0.014 292 / 0.36);

  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Geist", "Trebuchet MS", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.9531rem;
  --text-2xl: 2.4414rem;
  --text-3xl: 3.0518rem;
  --text-4xl: 3.8147rem;
  --text-display-s: clamp(2.7rem, 7vw, 5rem);
  --text-display: clamp(3.25rem, 7.4vw, 6.4rem);

  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  --dur-micro: 100ms;
  --dur-short: 180ms;
  --dur-mid: 520ms;
  --dur-long: 420ms;
  --dur-loop: 3200ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --rule-hair: 1px;
  --rule-heavy: 2px;
  --radius-xs: 0.35rem;
  --radius-sm: 0.6rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.35rem;
  --radius-pill: 999px;

  --page-gutter: clamp(1rem, 4vw, 4rem);
  --content-max: 92rem;
  --content-copy: 66ch;
  --banner-height: 4.5rem;
  --page-max: var(--content-max);
  --nav-height: var(--banner-height);
  --control-height: 3.25rem;
  --rule-strong: 2px;
  --color-rule-2: var(--color-rule-strong);
  --color-control-surface: var(--color-ink);
  --color-control-ink: var(--color-paper);

  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-sticky-nav: 210;
  --z-modal: 400;
  --z-tooltip: 600;
}
