/*
 * Project reset
 * Intentionally conservative: normalizes browser behavior without removing
 * the vertical rhythm expected by the site typography.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  tab-size: 4;
}
body {
  min-height: 100vh;
  margin: 0;
}
main,
header,
footer,
nav,
section,
article,
aside {
  display: block;
}
img,
picture,
svg,
canvas,
video {
  display: block;
  max-width: 100%;
}
img,
svg,
video {
  height: auto;
}
button,
input,
optgroup,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button,
select {
  text-transform: none;
}
textarea {
  overflow: auto;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
summary {
  cursor: pointer;
}
[hidden],
template {
  display: none !important;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
