:root {
  --ink: #102033;
  --muted: #5f6f80;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --line: #d9e2e7;
  --navy: #0b3158;
  --navy-2: #08233f;
  --teal: #0c918a;
  --orange: #f47b20;
  --orange-2: #c95d0c;
  --steel: #e9eef1;
  --shadow: 0 18px 40px rgba(12, 38, 60, 0.12);
  --container: min(1160px, calc(100% - 32px));
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--paper);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

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

.container,
.topline,
.hero-content {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topline {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 750;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--steel);
}

.site-nav .nav-cta {
  background: var(--orange);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero-section {
  position: relative;
  min-height: 72svh;
  max-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-2);
}

.hero-section picture,
.hero-section picture img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-section picture img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 20, 36, 0.9) 0%, rgba(7, 35, 63, 0.84) 36%, rgba(7, 35, 63, 0.48) 62%, rgba(7, 35, 63, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 35, 63, 0.1), rgba(8, 35, 63, 0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 74px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 1.22rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.inline-actions,
.profile-actions,
.center-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--orange);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--orange-2);
}

.button-secondary,
.button-light {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-stats span {
  min-width: 128px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.78);
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.1;
}

.sub-hero {
  background: var(--navy);
  color: #fff;
  padding: 76px 0 64px;
}

.sub-hero h1 {
  font-size: 3.1rem;
}

.sub-hero p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.band {
  padding: 76px 0;
}

.band-muted {
  background: var(--soft);
}

.intro-band {
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: 2.3rem;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--navy-2);
}

.section-head p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 46px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
}

.media-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--steel);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card-grid.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.districts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.decision-grid a {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.decision-grid a:hover,
.decision-grid a:focus-visible {
  border-color: rgba(12, 145, 138, 0.42);
  box-shadow: var(--shadow);
}

.decision-grid span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.decision-grid strong {
  color: var(--navy-2);
  font-size: 1.18rem;
  line-height: 1.2;
}

.decision-grid p {
  margin: 0;
  color: var(--muted);
}

.link-card,
.profile-card,
.steps article,
.side-note,
.contact-box,
.article-aside,
.fact-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.link-card {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(12, 145, 138, 0.42);
}

.link-card span,
.profile-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.link-card strong {
  font-size: 1.1rem;
  line-height: 1.22;
  color: var(--navy-2);
}

.link-card p,
.profile-card p {
  margin: 0;
  color: var(--muted);
}

.profile-card {
  padding: 18px;
  min-height: 176px;
}

.profile-card h3 {
  margin: 8px 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.profile-card h3 a {
  text-decoration: none;
}

.profile-card dl {
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.profile-card dl div {
  display: grid;
  gap: 2px;
}

.profile-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.profile-actions {
  margin-top: 14px;
}

.profile-actions a {
  font-weight: 850;
  color: var(--navy);
}

.center-action {
  justify-content: center;
  margin-top: 24px;
}

.check-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0 0 12px 28px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  padding: 20px;
}

.steps span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.steps h3,
.steps p {
  margin: 12px 0 0;
}

.steps p {
  color: var(--muted);
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.two-columns h2,
.side-note h2,
.contact-box h2,
.article-aside h2 {
  margin-top: 0;
  color: var(--navy-2);
}

.side-note,
.contact-box,
.article-aside {
  padding: 22px;
}

.fact-table {
  overflow: hidden;
  margin: 20px 0;
}

.fact-table div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.fact-table div:last-child {
  border-bottom: 0;
}

.fact-table span {
  color: var(--muted);
}

.fact-table strong {
  font-weight: 760;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--navy-2);
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.narrow {
  max-width: 860px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 38px;
  align-items: start;
}

.article-body {
  max-width: 820px;
}

.article-body h2 {
  margin: 34px 0 10px;
  color: var(--navy-2);
  font-size: 1.7rem;
}

.article-body p {
  color: var(--ink);
}

.article-aside {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 10px;
}

.article-aside a,
.contact-box a {
  color: var(--navy);
  font-weight: 850;
}

.directory-groups {
  display: grid;
  gap: 36px;
}

.directory-groups h2 {
  color: var(--navy-2);
}

.directory-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 280px) auto;
  gap: 14px;
  align-items: end;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.directory-tools label {
  display: grid;
  gap: 6px;
}

.directory-tools span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.directory-tools input,
.directory-tools select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

.directory-tools p {
  margin: 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 850;
  white-space: nowrap;
}

.compare-note {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  background: #fff8f1;
  color: var(--ink);
}

.cta-band {
  background: var(--navy-2);
  color: #fff;
  padding: 62px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  max-width: 760px;
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.15;
}

.cta-inner p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  background: #06182b;
  color: rgba(255, 255, 255, 0.76);
  padding: 40px 0;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
  justify-content: flex-end;
}

.site-footer a {
  color: #fff;
  font-weight: 760;
}

@media (max-width: 1060px) {
  h1 {
    font-size: 3.05rem;
  }

  .sub-hero h1 {
    font-size: 2.45rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .split,
  .split.reverse,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .card-grid,
  .card-grid.six,
  .card-grid.four,
  .card-grid.districts,
  .decision-grid,
  .steps,
  .two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 24px, 1160px);
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-section {
    min-height: 78svh;
  }

  .hero-content {
    padding: 52px 0;
  }

  h1 {
    font-size: 2.28rem;
  }

  .sub-hero {
    padding: 54px 0 48px;
  }

  .sub-hero h1 {
    font-size: 2rem;
  }

  .hero-lead,
  .sub-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .band {
    padding: 52px 0;
  }

  .section-head h2 {
    font-size: 1.85rem;
  }

  .card-grid,
  .card-grid.six,
  .card-grid.four,
  .card-grid.districts,
  .decision-grid,
  .steps,
  .two-columns {
    grid-template-columns: 1fr;
  }

  .fact-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-inner h2 {
    font-size: 1.75rem;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
