*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--purple-primary);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-sm);
  line-height: 1.15;
  font-weight: 800;
}

h1.title-hero {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--orange-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h2.title-section {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--purple-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p {
  margin: 0 0 var(--space-sm);
}

ul,
ol {
  margin: 0 0 var(--space-sm);
  padding-left: 1.25rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--purple-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  top: var(--space-sm);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

main {
  padding-bottom: var(--space-xl);
}

.page-header {
  padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-lg);
  text-align: center;
}

.page-header p {
  color: var(--text-muted);
  max-width: 42rem;
  margin-inline: auto;
}

.section {
  padding: var(--space-lg) 0;
}

.section--soft {
  background: var(--bg-soft);
}
