@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/AtkinsonHyperlegible-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/AtkinsonHyperlegible-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --wf-navy: #16324f;
  --wf-navy-dark: #0f2438;
  --wf-teal: #0f5555;
  --wf-sand: #f4efe6;
  --wf-sand-dark: #e8dfd0;
  --wf-terracotta: #8b3414;
  --wf-terracotta-hover: #6e280f;
  --wf-ink: #1c1917;
  --wf-muted: #4a453f;
  --wf-focus: #0b57d0;
  --wf-cta-fg: #ffffff;
  --bs-body-font-family: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --bs-body-color: var(--wf-ink);
  --bs-body-bg: #fffdf9;
  --bs-primary: var(--wf-navy);
  --bs-link-color: #0f4c81;
  --bs-link-hover-color: #0a355c;
  --bs-border-radius: 0.5rem;
}

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 {
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-bottom: 4.5rem;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 2000;
  background: #fff;
  color: var(--wf-navy);
  padding: 0.75rem 1rem;
  font-weight: 700;
  border-radius: 0 0 0.5rem 0.5rem;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--wf-focus);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible,
.accordion-button:focus-visible {
  outline: 3px solid var(--wf-focus);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}
.utility-bar {
  background: var(--wf-navy-dark);
}
.navbar {
  background: var(--wf-navy);
}
.navbar .nav-link {
  color: #fff;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.navbar .dropdown-menu {
  border: 0;
  box-shadow: 0 0.5rem 1.25rem rgba(15, 36, 56, 0.18);
}
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
  background: var(--wf-teal);
}

.btn-cta {
  background: var(--wf-terracotta);
  color: var(--wf-cta-fg);
  border: 2px solid var(--wf-terracotta);
  font-weight: 700;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 1.25rem;
}
.btn-cta:hover,
.btn-cta:focus {
  background: var(--wf-terracotta-hover);
  border-color: var(--wf-terracotta-hover);
  color: #fff;
}
.btn-outline-primary {
  color: var(--wf-navy);
  border-color: var(--wf-navy);
  min-height: 44px;
}
.btn-outline-primary:hover {
  background: var(--wf-navy);
  color: #fff;
}

.hero {
  background:
    linear-gradient(120deg, rgba(244, 239, 230, 0.96), rgba(255, 253, 249, 0.9)),
    radial-gradient(circle at 80% 20%, #d9eceb, transparent 45%);
  border-bottom: 1px solid var(--wf-sand-dark);
}
.eyebrow {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wf-teal);
}
.answer-box {
  background: var(--wf-sand);
  border-inline-start: 6px solid var(--wf-teal);
  padding: 1.25rem 1.5rem;
  border-radius: 0.35rem;
}
.facts-card {
  background: #fff;
  border: 1px solid var(--wf-sand-dark);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 0.35rem 1.2rem rgba(22, 50, 79, 0.08);
}
.facts-card dt {
  font-weight: 700;
  color: var(--wf-navy);
}
.audience-card,
.related-card {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid var(--wf-sand-dark);
  border-radius: 0.75rem;
  padding: 1.15rem 1.25rem;
  color: var(--wf-ink);
  text-decoration: none;
  min-height: 44px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.audience-card:hover,
.related-card:hover {
  border-color: var(--wf-teal);
  box-shadow: 0 0.35rem 1rem rgba(15, 85, 85, 0.12);
  color: var(--wf-ink);
}

.content-section .richtext p,
.content-section .richtext li {
  max-width: 72ch;
}
.callout {
  background: #eef6f6;
  border: 1px solid #c5d9d9;
  padding: 1rem 1.15rem;
  border-radius: 0.5rem;
}
.howto-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.howto-steps li {
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  margin-bottom: 0.75rem;
  background: #fff;
  border: 1px solid var(--wf-sand-dark);
  border-radius: 0.75rem;
}
.howto-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 0.9rem;
  top: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--wf-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.cta-inline {
  background: var(--wf-sand);
  padding: 1.75rem;
  border-radius: 0.75rem;
  text-align: center;
}
.cta-band {
  background: var(--wf-navy);
}
.cta-band-text {
  max-width: 40rem;
}
.related-band {
  background: var(--wf-sand);
}
.site-footer {
  background: var(--wf-navy-dark);
}
.site-footer a,
.footer-links a {
  color: #e8eef4;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer a:hover {
  color: #fff;
}
.filter-card {
  background: #fff;
  border: 1px solid var(--wf-sand-dark);
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
}
.glossary-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--wf-sand-dark);
}
.glossary-item dt {
  font-size: 1.15rem;
  color: var(--wf-navy);
  margin-bottom: 0.35rem;
}
.mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1040;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(15, 36, 56, 0.96);
}
.accordion-button:not(.collapsed) {
  background: #eef6f6;
  color: var(--wf-navy);
}
.table > :not(caption) > * > * {
  padding: 0.75rem;
}
.lang-switcher .form-select {
  min-height: 44px;
  min-width: 10rem;
  background-color: #fff;
  color: var(--wf-ink);
}

@media print {
  .site-header,
  .cta-band,
  .mobile-cta,
  .site-footer,
  .cta-inline,
  .related-band,
  .skip-link {
    display: none !important;
  }
  body {
    padding-bottom: 0;
    font-size: 12pt;
    color: #000;
  }
  a[href]::after {
    content: none !important;
  }
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}
