/* Impact page: flat, white, minimal. */

.impact-page {
  --ink: #1f2933;
  --muted: #52606d;
  --line: #d9dee4;
  --soft: #f7f8f9;
  --navy: #123a5c;
  background: #fff;
  color: var(--ink);
}

.impact-page .wrap {
  width: min(100% - 32px, 960px);
}

.impact-main {
  padding: 0 0 48px;
}

/* Header: white instead of the site-wide navy band. */
.impact-page .site-head {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.impact-page .site-head .wrap {
  padding: 16px 0;
}

.impact-page .site-head .brand {
  color: var(--ink);
}

.impact-page .site-head .brand img {
  border: 1px solid var(--line);
}

.impact-page .site-head .brand span span {
  color: var(--muted);
}

.impact-page .site-head nav a {
  color: var(--muted);
  border-radius: 4px;
}

.impact-page .site-head nav a:hover,
.impact-page .site-head nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--ink);
}

.impact-head .nav-cta {
  background: var(--navy);
  color: #fff !important;
  border-radius: 4px;
  font-weight: 700;
  padding: 8px 14px;
}

.impact-head .nav-cta:hover {
  background: #0b2b4d;
}

/* Hero */
.impact-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 28px;
  padding: 48px 0 40px;
}

.hero-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-art img {
  display: block;
  width: min(58vw, 200px);
  height: auto;
}

.hero-grid h1 {
  max-width: 24ch;
  margin: 0 0 14px;
  color: var(--ink);
  font: 700 clamp(1.9rem, 5.5vw, 2.8rem) / 1.12 var(--font-display);
  letter-spacing: -0.01em;
}

.hero-grid .lede {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.impact-page .eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.btn-gold {
  background: var(--navy);
  color: #fff;
}

.btn-gold:hover {
  background: #0b2b4d;
}

.btn-outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--soft);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.trust-row li::before {
  content: "\2022";
  margin-right: 6px;
  color: var(--muted);
}

/* Stats */
.impact-stats {
  margin-top: 28px;
}

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

.stat-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font: 700 clamp(1.65rem, 4.5vw, 2.1rem) / 1 var(--font-display);
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Sections */
.impact-section {
  margin-top: 40px;
}

.impact-section > h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font: 700 clamp(1.4rem, 3.5vw, 1.75rem) / 1.2 var(--font-display);
}

.section-lede {
  max-width: 68ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

/* Milestone */
.milestone-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.milestone-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}

.milestone-top strong {
  font: 700 1.1rem/1.3 var(--font-display);
}

.milestone-top span {
  color: var(--muted);
  font-size: 13px;
}

.progress {
  height: 8px;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 2px;
  background: #e9edf2;
}

.progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--navy);
}

.milestone-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Subject gaps */
.gap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gap-card {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.gap-card:hover {
  border-color: #9aa5b1;
  background: var(--soft);
}

.gap-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.gap-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.gap-card em {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.loading-note {
  color: var(--muted);
  font-size: 14px;
}

/* Reason cards */
.why-grid,
.steps-list {
  display: grid;
  gap: 12px;
}

.why-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.why-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Steps */
.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps-list li {
  position: relative;
  padding: 15px 15px 15px 54px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 15px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.steps-list strong {
  display: block;
  margin-bottom: 2px;
}

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

/* Tags and copyright */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.copyright-note {
  margin: 0;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  border-radius: 4px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
}

.copyright-note a {
  color: var(--navy);
  font-weight: 700;
}

/* Closing call to action */
.impact-cta {
  margin-top: 44px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
}

.impact-cta h2 {
  max-width: 24ch;
  margin: 0 0 10px;
  color: var(--ink);
  font: 700 clamp(1.5rem, 4vw, 2rem) / 1.2 var(--font-display);
}

.impact-cta p {
  max-width: 58ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

.impact-cta .hero-actions {
  margin-top: 0;
}

/* Footer */
.impact-page .site-foot {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    padding: 56px 0 48px;
  }

  .hero-art img {
    width: 100%;
    max-width: 220px;
  }

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

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

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

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

  .steps-list li {
    padding: 50px 16px 16px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }
}

@media print {
  .impact-page .site-head,
  .impact-cta {
    background: #fff;
  }
}
