:root {
  color-scheme: light;
  --bg: #f6f8f4;
  --surface: #ffffff;
  --surface-strong: #eef4ea;
  --ink: #102019;
  --muted: #5d6d62;
  --line: #dce5d9;
  --green: #2f8a44;
  --green-dark: #17642f;
  --blue: #315da8;
  --yellow: #f1c45b;
  --coral: #db6a4d;
  --shadow: 0 24px 80px rgba(16, 32, 25, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(241, 196, 91, 0.2), transparent 32rem),
    linear-gradient(180deg, #fbfcf8 0%, var(--bg) 45%, #eef4ea 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(47, 138, 68, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 93, 168, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 229, 217, 0.82);
  background: rgba(246, 248, 244, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand-link {
  width: 150px;
  display: inline-flex;
  align-items: center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a,
.header-cta,
.button,
.official-strip a,
.program-card a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 12px;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(47, 138, 68, 0.09);
}

.header-cta {
  padding: 9px 14px;
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
}

.hero,
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 76px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.8rem);
}

h3 {
  font-size: 1.22rem;
}

.hero-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

.button {
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 32px rgba(47, 138, 68, 0.2);
}

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

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.trust-note {
  max-width: 620px;
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 4px solid var(--yellow);
  color: #415348;
}

.hero-panel {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(220, 229, 217, 0.95);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 244, 234, 0.94)),
    repeating-linear-gradient(90deg, rgba(49, 93, 168, 0.08) 0 1px, transparent 1px 34px);
  box-shadow: var(--shadow);
}

.hero-panel::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(47, 138, 68, 0.22);
  border-radius: 8px;
  content: "";
}

.hero-panel > img {
  position: absolute;
  width: min(74%, 380px);
  inset: 44px 0 0;
  margin: 0 auto;
  filter: drop-shadow(0 24px 30px rgba(16, 32, 25, 0.18));
}

.route-card {
  position: absolute;
  z-index: 2;
  width: min(220px, calc(100% - 40px));
  padding: 14px;
  border: 1px solid rgba(220, 229, 217, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 32px rgba(16, 32, 25, 0.1);
  color: #36473c;
  font-weight: 800;
}

.route-card span {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
}

.route-card-one {
  right: 32px;
  top: 46px;
}

.route-card-two {
  left: 32px;
  bottom: 118px;
}

.route-card-three {
  right: 44px;
  bottom: 38px;
}

.official-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.official-strip a {
  padding: 13px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: #2f4537;
}

.official-strip a:hover,
.official-strip a:focus-visible {
  border-color: rgba(47, 138, 68, 0.45);
  background: #fff;
}

.section {
  padding: 64px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 700px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.filter-button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.results-count {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.program-grid,
.resource-grid,
.numbers-grid {
  display: grid;
  gap: 14px;
}

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

.program-card,
.resource-card,
.numbers-grid > div,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 45px rgba(16, 32, 25, 0.06);
}

.program-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.program-card[hidden] {
  display: none;
}

.program-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--green-dark);
  font-weight: 900;
}

.program-kicker {
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-card p:last-of-type {
  color: var(--muted);
}

.program-card a {
  margin-top: auto;
  padding: 10px 12px;
  background: rgba(49, 93, 168, 0.1);
  color: #23477d;
}

.steps-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.step-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #fff;
}

.step-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.step-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.dates-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 32, 25, 0.95), rgba(47, 82, 58, 0.95)),
    linear-gradient(90deg, var(--green), var(--blue));
  color: #fff;
}

.dates-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.dates-band .eyebrow {
  color: var(--yellow);
}

.numbers-grid {
  grid-template-columns: repeat(4, 1fr);
}

.numbers-grid > div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.numbers-grid strong {
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.numbers-grid span {
  color: var(--muted);
  font-weight: 700;
}

.source-note {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.resource-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  text-decoration: none;
  color: var(--muted);
}

.resource-card span {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.resource-card:hover,
.resource-card:focus-visible {
  border-color: var(--green);
  transform: translateY(-2px);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
}

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

.faq-list details {
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

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

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 0;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  color: var(--muted);
}

.site-footer img {
  width: 138px;
  margin-bottom: 8px;
}

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

.site-footer nav a {
  font-weight: 800;
  color: var(--ink);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 0;
  }

  .hero-grid,
  .steps-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

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

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

  .official-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .official-strip,
  .site-footer,
  .header-inner {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(2.2rem, 13vw, 3.6rem);
  }

  .hero-panel {
    min-height: 420px;
  }

  .hero-panel > img {
    width: min(80%, 310px);
  }

  .route-card {
    font-size: 0.9rem;
  }

  .route-card-one,
  .route-card-three {
    right: 18px;
  }

  .route-card-two {
    left: 18px;
  }

  .official-strip,
  .program-grid,
  .resource-grid,
  .numbers-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .dates-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

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