/* Base resets. App chrome follows the selected system appearance. */
html {
  color-scheme: light dark;
  background: var(--surface-page);
  font-size: 100%;
}
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font: var(--type-body);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, svg, video { max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--text-body); }
::selection { background: var(--accent); color: var(--accent-fg); }
:focus-visible {
  outline: var(--focus-width) solid var(--focus-ring);
  outline-offset: var(--focus-offset);
}

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