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

html {
  color-scheme: dark;
  background: var(--mw-ground);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--mw-ground);
  color: var(--mw-ink);
}

button,
input {
  border-radius: 0;
  color: inherit;
  font: inherit;
}

button,
input[type="submit"] {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 3px;
}

::selection {
  background: var(--mw-ink);
  color: var(--mw-red);
}

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

