body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
}

h1 {
  font-size: clamp(2rem, 4vw, var(--font-size-3xl));
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3vw, var(--font-size-2xl));
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}

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

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

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