.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  color: #111;
  background: #ffdd00;
  border: 2px solid #111;
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 3px;
}

:where(button, input, select, textarea) { font: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 72px;
  color: #222;
  line-height: 1.65;
}

.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.12; }
.legal-page h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal-page a { color: #174ea6; text-decoration: underline; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 16px 20px; background: #111; }
.legal-nav a { color: #fff; }
.legal-footer { padding: 24px 20px; color: #fff; background: #111; }

[aria-invalid="true"] { border-color: #b3261e !important; }
.field-error { display: block; margin-top: 5px; color: #9c1c16; font-size: .875rem; }

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