:root {
  --ink: #10201f;
  --muted: #526463;
  --paper: #fbfcf7;
  --soft: #edf4ec;
  --line: rgba(16, 32, 31, 0.14);
  --green: #28765c;
  --teal: #0e5d64;
  --red: #b8323c;
  --gold: #d6a13a;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(16, 32, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 68px);
  background: rgba(251, 252, 247, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--green) 58%, var(--red));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 1rem;
  line-height: 1.15;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #1d3432;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(40, 118, 92, 0.1);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 132px clamp(18px, 5vw, 68px) 64px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 252, 247, 0.98) 0%, rgba(251, 252, 247, 0.86) 38%, rgba(251, 252, 247, 0.2) 76%),
    linear-gradient(180deg, rgba(251, 252, 247, 0.12), rgba(16, 32, 31, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 9vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  color: #213a38;
  font-size: clamp(1.04rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 32, 31, 0.12);
  border-radius: 8px;
  color: #25413f;
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 68px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.rich-text {
  color: var(--muted);
  font-size: 1.06rem;
}

.rich-text strong {
  color: var(--ink);
}

.contrast {
  background: #10201f;
  color: var(--white);
}

.contrast .section-kicker {
  color: #f0c85e;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

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

.topic-grid article {
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.topic-grid span {
  display: inline-block;
  margin-bottom: 30px;
  color: #f0c85e;
  font-weight: 900;
}

.topic-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: linear-gradient(135deg, var(--soft), #ffffff 56%, #f7efe2);
}

.spotlight p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.seo-list {
  display: grid;
  gap: 12px;
}

.seo-list div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-list strong,
.seo-list span {
  display: block;
}

.seo-list span {
  margin-top: 4px;
  color: var(--muted);
}

.district-section {
  background: var(--paper);
}

.section-heading.narrow {
  max-width: 760px;
}

.district-section .section-heading p:not(.section-kicker) {
  color: var(--muted);
}

.districts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.districts span {
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #25413f;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(16, 32, 31, 0.06);
}

.faq {
  background: #f7f1e8;
}

.faq .section-heading p:not(.section-kicker) {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

details {
  background: var(--white);
  border: 1px solid rgba(16, 32, 31, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(16, 32, 31, 0.07);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), #1f6f58 58%, #7f2630);
}

.final-cta .section-kicker {
  color: #f8d06a;
}

.final-cta p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 68px);
  color: rgba(255, 255, 255, 0.76);
  background: #0b1716;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.back-top {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 12px auto;
    display: grid;
    gap: 4px;
    padding: 10px;
    background: rgba(251, 252, 247, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 252, 247, 0.96) 0%, rgba(251, 252, 247, 0.9) 58%, rgba(251, 252, 247, 0.68)),
      linear-gradient(180deg, rgba(16, 32, 31, 0.04), rgba(16, 32, 31, 0.2));
  }

  .two-column,
  .split-band,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

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

  .brand small {
    font-size: 0.72rem;
  }

  .site-nav {
    inset: 68px 10px auto;
  }

  .hero {
    padding: 104px 18px 52px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-grid article {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
