// Minimal CSS reset — box-sizing, margin/padding wipe, img block
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
p, blockquote, figure, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img, video, canvas, svg {
  display: block;
  max-width: 100%;
}

// <picture> is a source-selection mechanism only (its <source> children never
// render boxes) — remove its own box entirely so an <img> nested inside behaves
// identically to a bare <img> in the same spot (width/height/object-fit/border-
// radius on the img keep working unchanged, in every component, with no per-
// component overrides needed).
picture {
  display: contents;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}
