/* ============================================================
   reset.css
   Browser style normalization. Removes default browser styling
   so we can build the design from a predictable baseline.
   ============================================================ */

/* Use border-box sizing everywhere — width includes padding and border */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margins and padding on all elements */
* {
  margin: 0;
  padding: 0;
}

/* Improve text rendering on macOS */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Default line height for readable body text */
body {
  line-height: 1.5;
  min-height: 100vh;
}

/* Make media elements behave predictably */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Form elements should inherit font from the page */
input,
button,
textarea,
select {
  font: inherit;
}

/* Prevent text overflow on small screens */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Links inherit color and have no underline by default —
   we'll style them explicitly where needed */
a {
  color: inherit;
  text-decoration: none;
}

/* Buttons reset to plain elements —
   we'll style them explicitly where needed */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Lists with no class get no bullets and no indent —
   semantic lists with classes keep their styling */
ul[class],
ol[class] {
  list-style: none;
}

/* Remove default fieldset border */
fieldset {
  border: 0;
}