/* ========================================================
   reset.css - Minimal modern reset

   On the website these pages sit inside the site's navbar and
   footer, so the reset only reaches inside .me-page (the page's
   wrapper; <body> on the PDF and video pages). :where() keeps
   it at zero specificity, as plain element rules were.
   ======================================================== */

:where(.me-page),
:where(.me-page) *,
:where(.me-page) *::before,
:where(.me-page) *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body:where(.me-page) {
  margin: 0;
}

:where(.me-page) :where(h1, h2, h3, h4, p) {
  margin: 0;
}

:where(.me-page) :where(img, video, svg) {
  display: block;
  max-width: 100%;
}

:where(.me-page) :where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(.me-page) button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:where(.me-page) a {
  color: inherit;
  text-decoration: none;
}

/* `hidden` must win over any component's `display` value */
:where(.me-page) [hidden] {
  display: none !important;
}
