/* reset.css — базовый сброс */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* отключает эластичный «отскок» (rubber-band) при прокрутке колесом/
     трекпадом за края страницы — именно он показывал белую полосу сверху */
  overscroll-behavior-y: none;
  background: var(--bg-dark); /* совпадает с hero — запасной цвет на случай отскока */
}

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 600;
  overflow-wrap: break-word;
}
