/* ── Font faces (local Muller) ──────────────────── */

@font-face {
  font-family: 'Muller';
  src: url('../fonts/Muller-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Muller';
  src: url('../fonts/Muller-ExtraBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Muller';
  src: url('../fonts/Muller-Bold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ── CSS custom properties for fonts ───────────── */

:root {
  --font-inter: 'Inter', sans-serif;
  --font-inter-tight: 'Inter Tight', 'Inter', sans-serif;
  --font-onest: 'Onest', sans-serif;
  --font-manrope: 'Manrope', sans-serif;
  --font-unbounded: 'Unbounded', 'Arial Black', sans-serif;
  --font-muller: 'Muller', 'Arial', sans-serif;
}

/* ── Reset ───────────────────────────────────────── */

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

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

/* Отступ под липкий хедер при переходе по якорным ссылкам */
section[id] {
  scroll-margin-top: 100px;
}

body {
  min-height: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Резерв высоты хедера (он position: fixed и вне потока) */
  padding-top: 82px;
}

@media (max-width: 875px) {
  body {
    padding-top: 67px;
  }
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

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

ul,
ol {
  list-style: none;
}
