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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: ""; position: fixed; top: -20%; left: 50%; width: 900px; height: 900px;
  transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(circle, var(--color-glow), transparent 65%);
  filter: blur(10px);
}

.nav, main, footer { position: relative; z-index: 1; }

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

h1 {
  font-family: var(--font-display); line-height: 1.15; margin: 0 0 var(--space-2);
  font-size: clamp(2.1rem, 3.4vw + 1rem, 3.4rem); font-weight: 400; letter-spacing: 0.01em;
}
h2 {
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; line-height: 1.3;
  font-size: clamp(1.15rem, 1vw + 1rem, 1.5rem); color: var(--color-text);
  margin: 0 0 var(--space-2);
}
h3 {
  font-family: var(--font-body); font-weight: 700; line-height: 1.3;
  font-size: clamp(1.1rem, 0.8vw + 1rem, 1.3rem); margin: 0 0 var(--space-2);
}

p { margin: 0 0 var(--space-2); }

a { color: var(--color-accent-strong); }

button { font-family: inherit; }

a, button, input, textarea, [tabindex] {
  outline-offset: 3px;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.legal-page { max-width: 760px; margin-inline: auto; padding-block: var(--space-6); padding-inline: var(--space-3); }
.legal-page h1 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
.legal-page h2 { font-size: 1.4rem; margin-top: var(--space-4); }
