:root {
  --green: #2a7884;
  --aqua: #06bacc;
  --lightGreen: #a7db26;
  --rounded: 5rem;
}

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 10000;
  background: #ffffff;
  color: #1f2937;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid #1f2937;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
}

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

/* Ensure focus is visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #1f2937;
  outline-offset: 2px;
}

/* Legal pages: render like standalone HTML (restore browser defaults) */
.legal-html {
  font-family: var(--font-sans), Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
  font-size: 16px;
  line-height: 1.2;
  color: #000;
}

.legal-html h1 {
  font-size: 2em;
  font-weight: bold;
  margin: 0.67em 0;
}

.legal-html h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0.83em 0;
}

.legal-html h3 {
  font-size: 1.17em;
  font-weight: bold;
  margin: 1em 0;
}

.legal-html p {
  font-family: var(--font-sans), Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !important;
  margin: 1em 0;
}

.legal-html ul,
.legal-html ol {
  margin: 1em 0;
  padding-left: 40px;
}

.legal-html ul {
  list-style: disc;
}

.legal-html ol {
  list-style: decimal;
}

.legal-html li {
  display: list-item;
}

.legal-html a {
  color: #0000ee;
  text-decoration: underline;
}

.legal-html a:visited {
  color: #551a8b;
}