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

html, body {
  height: 100%;
  background: var(--body-bg);
  color: var(--text);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
  Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

p, h1, h2, h3, h4, h5, h6, figure, blockquote, dl, dd {
  margin: 0;
}

img, picture, video, canvas, svg, main {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}
a:hover { text-decoration: underline; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
}

button {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

:focus {
  outline: none;
}
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 var(--focus-ring) rgba(240,91,74,0.15), 0 0 0 1px var(--brand);
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

ul, ol {
  margin: 0;
  padding-left: 1.25rem;
}
table {
  border-collapse: collapse;
}

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