/* === simple-reset.css === */

/* Use border-box sizing for everything */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1, h2, h3, h4, h5, h6,
p, figure,
blockquote,
dl, dd {
  margin: 0;
}

/* Make images, videos, etc. scale properly */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Remove list styles on ul, ol elements with a list role */
ul[role='list'],
ol[role='list'] {
  list-style: none;
  padding: 0;
}

/* Use modern, system font stack */
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #222;
  background: #fafafa;
}

/* Balance text spacing for headings */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/* Prevent long words from overflowing */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Make forms and buttons inherit fonts */
input, button, textarea, select {
  font: inherit;
}