/* Hubris type tokens: crates/ui/src/typography.rs, AlignUI's scale in Inter 4 with each style's
   tracking (crates/ui/fonts/make_fonts.py), which a browser sets itself: Inter's opsz follows the size. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('Inter-Variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('GeistMono-Variable.woff2') format('woff2');
}

:root {
  --text-title-h1: 56px; --text-title-h1--line-height: 64px; --text-title-h1--letter-spacing: -0.01em; --text-title-h1--font-weight: 500;
  --text-title-h2: 48px; --text-title-h2--line-height: 56px; --text-title-h2--letter-spacing: -0.01em; --text-title-h2--font-weight: 500;
  --text-title-h3: 40px; --text-title-h3--line-height: 48px; --text-title-h3--letter-spacing: -0.01em; --text-title-h3--font-weight: 500;
  --text-title-h4: 32px; --text-title-h4--line-height: 40px; --text-title-h4--letter-spacing: -0.005em; --text-title-h4--font-weight: 500;
  --text-title-h5: 24px; --text-title-h5--line-height: 32px; --text-title-h5--letter-spacing: 0em; --text-title-h5--font-weight: 500;
  --text-title-h6: 20px; --text-title-h6--line-height: 28px; --text-title-h6--letter-spacing: 0em; --text-title-h6--font-weight: 500;

  --text-label-xl: 24px; --text-label-xl--line-height: 32px; --text-label-xl--letter-spacing: -0.015em; --text-label-xl--font-weight: 500;
  --text-label-lg: 18px; --text-label-lg--line-height: 24px; --text-label-lg--letter-spacing: -0.015em; --text-label-lg--font-weight: 500;
  --text-label-md: 16px; --text-label-md--line-height: 24px; --text-label-md--letter-spacing: -0.011em; --text-label-md--font-weight: 500;
  --text-label-sm: 14px; --text-label-sm--line-height: 20px; --text-label-sm--letter-spacing: -0.006em; --text-label-sm--font-weight: 500;
  --text-label-xs: 12px; --text-label-xs--line-height: 16px; --text-label-xs--letter-spacing: 0em; --text-label-xs--font-weight: 500;
  --text-label-2xs: 11px; --text-label-2xs--line-height: 16px; --text-label-2xs--letter-spacing: 0em; --text-label-2xs--font-weight: 500;

  --text-paragraph-xl: 24px; --text-paragraph-xl--line-height: 32px; --text-paragraph-xl--letter-spacing: -0.015em; --text-paragraph-xl--font-weight: 400;
  --text-paragraph-lg: 18px; --text-paragraph-lg--line-height: 24px; --text-paragraph-lg--letter-spacing: -0.015em; --text-paragraph-lg--font-weight: 400;
  --text-paragraph-md: 16px; --text-paragraph-md--line-height: 24px; --text-paragraph-md--letter-spacing: -0.011em; --text-paragraph-md--font-weight: 400;
  --text-paragraph-sm: 14px; --text-paragraph-sm--line-height: 20px; --text-paragraph-sm--letter-spacing: -0.006em; --text-paragraph-sm--font-weight: 400;
  --text-paragraph-xs: 12px; --text-paragraph-xs--line-height: 16px; --text-paragraph-xs--letter-spacing: 0em; --text-paragraph-xs--font-weight: 400;

  /* Set in capitals by the caller. */
  --text-subheading-md: 16px; --text-subheading-md--line-height: 24px; --text-subheading-md--letter-spacing: 0.06em; --text-subheading-md--font-weight: 500;
  --text-subheading-sm: 14px; --text-subheading-sm--line-height: 20px; --text-subheading-sm--letter-spacing: 0.06em; --text-subheading-sm--font-weight: 500;
  --text-subheading-xs: 12px; --text-subheading-xs--line-height: 16px; --text-subheading-xs--letter-spacing: 0.04em; --text-subheading-xs--font-weight: 500;
  --text-subheading-2xs: 11px; --text-subheading-2xs--line-height: 12px; --text-subheading-2xs--letter-spacing: 0.02em; --text-subheading-2xs--font-weight: 500;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  /* crates/ui's radius scale. */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
}
