/* ============================
   🌍 CSS RESET
   ============================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  scroll-behavior: smooth;
}

/* Убираем стандартные отступы у заголовков и параграфов */
h1, h2, h3, h4, h5, h6,
p {
  margin: 0;
  font-weight: normal;
}

/* Убираем стили у списков */
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Убираем подчеркивание у ссылок */
a {
  text-decoration: none;
  color: inherit;
}

/* Сбрасываем стили кнопок */
button {
  all: unset;
  cursor: pointer;
}

/* Сбрасываем стили полей ввода */
input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Изображения */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Таблицы */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Форма — не сжимается */
button, input, select, textarea {
  margin: 0;
}

/* Убираем фокус по умолчанию (можно переопределить) */
:focus {
  outline: none;
}
