/* Load after tokens.css. EIP typography, focus and reduced-motion rules. */
body {
  background-color: var(--ds-bg-canvas);
  color: var(--ds-text-body);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--ds-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--ds-font-display);
  letter-spacing: -0.02em;
}

/* Unlayered heading contract outranks Tailwind's layered weight utilities.
   Heading weight is shared; page-level font-black/extrabold cannot restore 900/800. */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--ds-font-weight-heading);
}
