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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: 1.6875rem;
  font-weight: 700;
}

h2 {
  font-size: 0.9rem;
  font-weight: 700;
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

p {
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

::selection {
  background-color: var(--accent-purple);
  color: white;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.53125rem;
  }

  h2 {
    font-size: 1.44rem;
  }

  h3 {
    font-size: var(--font-size-2xl);
  }
}

@media (min-width: 1280px) {
  h1 {
    font-size: 3.375rem;
  }
}
