@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gm-font: "DM Sans", Arial, sans-serif;
  --gm-ink: #20272a;
  --gm-muted: #48565c;
  --gm-paper: #fff;
  --gm-canvas: #f4f6f6;
  --gm-line: #c9d2d4;
  --gm-control-edge: #73848a;
  --gm-steel: #3b5860;
  --gm-sky: #8bd3e7;
  --gm-accent: #fb2056;
  --gm-accent-ink: #ab103a;
  --gm-on-accent: #141414;
  --gm-space-1: 4px;
  --gm-space-2: 8px;
  --gm-space-3: 12px;
  --gm-space-4: 16px;
  --gm-space-5: 24px;
  --gm-space-6: 32px;
  --gm-space-7: 48px;
  --gm-space-8: 64px;
  --gm-section-gap: clamp(40px, 5.5vw, 80px);
  --gm-radius: 12px;
  --gm-fast: 150ms;
  --gm-dropdown-in: 200ms;
  --gm-dropdown-out: 160ms;
  --gm-press-scale: .97;
  --gm-popover-scale: .95;
  --gm-ease: cubic-bezier(.2, .75, .25, 1);
  --gm-ease-out: cubic-bezier(.16, 1, .3, 1);
}

body { font-family: var(--gm-font); }
:where(h1, h2, h3) { text-wrap: balance; overflow-wrap: break-word; }
:where(button, input, textarea, select) { font: inherit; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--gm-accent-ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --gm-fast: 0ms;
    --gm-dropdown-in: 0ms;
    --gm-dropdown-out: 0ms;
    --gm-press-scale: 1;
    --gm-popover-scale: 1;
  }
}
