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

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  line-height: 1.55;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.no-scroll {
  overflow: hidden;
}

main {
  position: relative;
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

p,
li,
button {
  font-size: clamp(1rem, 0.95rem + 0.15vw, 1.08rem);
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
