/*
  reset.css
  A small, intentional reset. It removes browser defaults that fight layout,
  and it leaves accessibility behaviour alone.

  WCAG 2.4.7 Focus Visible: do not set outline: none here.
  Focus styles live in base.css so every control keeps a visible indicator.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  /* Stop iOS from inflating type after rotate. 1.4.4 Resize Text stays possible. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

/* Media that is purely decorative should not be announced. Authors set alt="". */
img[alt=""] {
  /* Intentionally empty. The empty alt is the accessible name decision. */
}
