/* Minimal modern CSS reset */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  /* Belt-and-braces alongside body's overflow-x: hidden below — some mobile
     browsers don't reliably propagate a lone body-level overflow rule to
     the viewport, so the root element gets the same safety net directly. */
  overflow-x: hidden;
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; }
html:focus-within { scroll-behavior: smooth; }
body {
  min-height: 100dvh;
  text-rendering: optimizeSpeed;
  /* Safety net: nothing (a wide table, an oversized image, etc.) should ever
     be able to make the page itself scroll sideways. */
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  :root {
    --transition-base: 0.01ms;
    --transition-reveal: 0.01ms;
  }
}
