:where(*, *::before, *::after) {
  box-sizing: border-box;
}

:where(body) {
  margin: 0;
  color: var(--ui-color-text);
  background: var(--ui-color-canvas);
  font-family: var(--ui-font-family);
}

:where(button, input, select, textarea) {
  font: inherit;
}

:where(a) {
  color: inherit;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--ui-color-focus);
  outline-offset: 2px;
}

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