@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-800-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

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

@font-face {
  font-family: "Azeret Mono";
  src: url("../fonts/azeret-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Onest", Arial, sans-serif;
  --font-utility: "Azeret Mono", "Courier New", monospace;

  --color-paper: #090a0c;
  --color-sheet: #12151a;
  --color-ink: #f3f0e8;
  --color-ink-soft: #aeb2ba;
  --color-line: #343942;
  --color-accent: #ffc247;
  --color-accent-strong: #e39a12;
  --color-accent-soft: #2b2416;
  --color-on-accent: #14100a;
  --color-disabled: #7f858e;

  --text-caption: 0.75rem;
  --text-body-sm: 0.875rem;
  --text-body: 1rem;
  --text-body-lg: 1.25rem;
  --text-heading-sm: 1.5rem;
  --text-heading-md: clamp(2rem, 4vw, 3.5rem);
  --text-heading-lg: clamp(3rem, 8vw, 6rem);

  --leading-caption: 1.3;
  --leading-body: 1.55;
  --leading-heading: 0.9;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --tracking-tight: -0.015em;
  --tracking-label: 0.1em;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-18: 4.5rem;
  --space-24: 6rem;
  --space-36: 9rem;

  --radius-control: 0.375rem;
  --radius-surface: 0.75rem;

  --shadow-paper: 0 1.5rem 5rem rgb(0 0 0 / 0.38);
  --shadow-press: 0 0.5rem 1.5rem rgb(0 0 0 / 0.34);

  --motion-fast: 160ms;
  --motion-base: 360ms;
  --motion-slow: 900ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.2, 0.8, 0.2, 1);

  --container-max: 80rem;
  --gutter: clamp(1rem, 4vw, 4rem);
  --touch-target: 2.75rem;
  --control-height: 3.25rem;
}
