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

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist/Geist-VariableItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Brand and interface colors */
  --color-red: #e30613;
  --color-red-dark: #ad1117;
  --color-black: #06090b;
  --color-white: #ffffff;
  --color-neutral-50: #f5f3ef;
  --color-neutral-100: #ebe8e2;
  --color-neutral-500: #676561;

  --color-background: var(--color-white);
  --color-surface: var(--color-neutral-50);
  --color-text: var(--color-black);
  --color-text-muted: var(--color-neutral-500);
  --color-border: #d7d3cb;
  --color-focus: var(--color-red);

  --font-sans: "Geist", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);

  --weight-regular: 400;
  --weight-medium: 560;
  --weight-semibold: 650;
  --weight-bold: 740;
  --weight-display: 780;

  --text-display: clamp(3.75rem, 1.85rem + 7.25vw, 7rem);
  --text-h1: clamp(3.1rem, 1.9rem + 4.6vw, 5.25rem);
  --text-h2: clamp(2.4rem, 1.7rem + 2.7vw, 3.625rem);
  --text-h3: clamp(1.75rem, 1.45rem + 1.15vw, 2.25rem);
  --text-body-lg: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --text-body: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --text-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --text-label: 0.75rem;

  --leading-display: 0.91;
  --leading-heading: 1.02;
  --leading-body: 1.6;
  --tracking-display: -0.062em;
  --tracking-heading: -0.04em;
  --tracking-body: -0.012em;
  --tracking-small: -0.005em;
  --tracking-label: 0.13em;

  /* A short fluid spacing scale for layouts and components. */
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  --space-md: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --space-lg: clamp(2.5rem, 1.9rem + 2.5vw, 4rem);
  --space-xl: clamp(4rem, 2.8rem + 4.5vw, 7rem);
  --space-2xl: clamp(6rem, 4rem + 7vw, 10rem);

  --container: 80rem;
  --container-wide: 96rem;
  --measure: 68ch;
  --gutter: clamp(1.25rem, 3vw, 3rem);

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-pill: 100vmax;

  --duration-fast: 160ms;
  --duration-standard: 280ms;
  --duration-slow: 420ms;
  --ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --z-header: 100;
  --z-overlay: 200;
  --z-skip-link: 1000;
}
