
:root {
  --ink: #143447;
  --ink-soft: #355564;
  --green: #74ad3a;
  --green-dark: #4f8f2f;
  --teal: #2f99ac;
  --teal-dark: #167e93;
  --mint: #eef8f2;
  --sky: #eef8fa;
  --paper: #ffffff;
  --line: #dfe9e8;
  --shadow: 0 18px 45px rgba(20, 52, 71, .10);
  --radius: 26px;
}

* { 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.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 92px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20,52,71,.07);
}

.brand img {
  width: 168px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 700;
  font-size: 15px;
}
.main-nav a {
  text-decoration: none;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 2px;
  background: var(--green);
  transition: right .2s ease;
}
.main-nav a:hover::after { right: 0; }

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 10px;
  transition: .2s ease;
}

.hero {
  min-height: 630px;
  padding: 90px clamp(22px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(47,153,172,.12), transparent 28%),
    radial-gradient(circle at 12% 76%, rgba(116,173,58,.10), transparent 27%),
    linear-gradient(180deg, #fff, #fbfdfc);
}

.eyebrow, .section-kicker {
  color: var(--green-dark);
  font-weight: 900;
  letter-spacing: .16em;
  font-size: 13px;
}
.section-kicker.light { color: #c7ecb7; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 16px 0 26px;
  font-size: clamp(45px, 6.2vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 850px;
}
h1 span { color: var(--teal-dark); }
.hero-copy > p {
  max-width: 720px;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(20,52,71,.18);
}
.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
}
.button.white {
  color: var(--ink);
  background: #fff;
  flex: 0 0 auto;
}

.impact-card {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.impact-label {
  color: #cde0e6;
  font-weight: 700;
}
.impact-number {
  margin-top: 8px;
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}
.impact-number small {
  font-size: .31em;
  letter-spacing: 0;
  color: #cde0e6;
}
.impact-caption {
  margin-top: 10px;
  color: #cde0e6;
}
.progress {
  height: 12px;
  margin: 30px 0 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.15);
}
.progress span {
  display: block;
  width: 62.4%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #a4cf59, var(--teal));
}
.impact-goal {
  display: flex;
  justify-content: space-between;
  color: #cde0e6;
}
.impact-goal strong { color: #fff; }

.stats-strip {
  margin: 0 clamp(22px, 7vw, 110px);
  transform: translateY(-28px);
  padding: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.stats-strip div {
  padding: 8px 28px;
  text-align: center;
}
.stats-strip div + div { border-left: 1px solid var(--line); }
.stats-strip strong {
  display: block;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.05;
}
.stats-strip span {
  color: var(--ink-soft);
  font-size: 14px;
}

.content-section,
.schools-section {
  padding: 110px clamp(22px, 7vw, 110px);
}
.two-column {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(45px, 8vw, 120px);
}
h2 {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.two-column p {
  font-size: 19px;
  color: var(--ink-soft);
}

.goal-section {
  margin: 0 clamp(22px, 4vw, 60px);
  padding: clamp(44px, 7vw, 90px);
  border-radius: 38px;
  background: linear-gradient(135deg, var(--mint), var(--sky));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}
.goal-copy p {
  max-width: 690px;
  margin-top: 24px;
  font-size: 19px;
  color: var(--ink-soft);
}
.goal-ring {
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) 0 62.4%, rgba(20,52,71,.10) 62.4% 100%);
  position: relative;
}
.goal-ring::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: #f5fbf7;
}
.goal-ring div {
  position: relative;
  z-index: 1;
  text-align: center;
}
.goal-ring strong {
  display: block;
  font-size: 48px;
  letter-spacing: -.05em;
}
.goal-ring span { color: var(--ink-soft); }

.section-heading {
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}
.updated {
  color: #6d828a;
  font-size: 14px;
  padding-bottom: 8px;
}

.leaderboard {
  display: grid;
  gap: 12px;
}
.school-card {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.school-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20,52,71,.08);
}
.school-card.winner {
  border-color: rgba(116,173,58,.5);
  background: linear-gradient(90deg, #f4faef, #fff);
}
.rank {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf2f3;
  font-weight: 900;
}
.winner .rank {
  color: #fff;
  background: var(--green);
}
.school-info h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.school-bar {
  height: 7px;
  border-radius: 99px;
  overflow: hidden;
  background: #edf2f3;
}
.school-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--teal));
}
.school-kilos {
  min-width: 115px;
  text-align: right;
  font-size: 22px;
  font-weight: 900;
}
.school-kilos span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.cta-section {
  margin: 10px clamp(22px, 4vw, 60px) 60px;
  padding: clamp(42px, 6vw, 70px);
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta-section h2 { color: #fff; }
.cta-section p {
  margin: 18px 0 0;
  max-width: 680px;
  color: #cde0e6;
  font-size: 18px;
}

footer {
  padding: 28px clamp(22px, 7vw, 110px) 38px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  color: #71838b;
  font-size: 13px;
}
footer img {
  width: 88px;
  height: 54px;
  object-fit: cover;
  object-position: top;
}
footer p { margin: 0; }

/* Tablet */
@media (max-width: 1024px) {
  .site-header { height: 82px; }
  .brand img { width: 150px; height: 66px; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 70px;
  }
  .impact-card { max-width: 620px; }
  .two-column { grid-template-columns: 1fr; gap: 30px; }
  .goal-section { grid-template-columns: 1fr auto; }
}

/* Phone */
@media (max-width: 720px) {
  .site-header { padding: 0 18px; }
  .brand img { width: 132px; height: 62px; }

  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 81px;
    left: 0; right: 0;
    padding: 20px 22px 28px;
    display: grid;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(20,52,71,.09);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: .18s ease;
  }
  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a:last-child { border-bottom: 0; }

  .hero {
    padding: 55px 20px 72px;
    gap: 36px;
  }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-copy > p { font-size: 17px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }

  .impact-card { border-radius: 26px; }
  .impact-number { font-size: 58px; }

  .stats-strip {
    margin: -16px 18px 0;
    transform: none;
    grid-template-columns: 1fr;
    padding: 10px 22px;
  }
  .stats-strip div {
    padding: 17px 8px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .stats-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .content-section,
  .schools-section { padding: 78px 20px; }

  .goal-section {
    margin: 0 14px;
    padding: 40px 24px;
    grid-template-columns: 1fr;
  }
  .goal-ring {
    width: 180px;
    justify-self: center;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }

  .school-card {
    padding: 18px 16px;
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
  }
  .rank { width: 38px; height: 38px; }
  .school-info h3 { font-size: 15px; }
  .school-kilos {
    min-width: 76px;
    font-size: 17px;
  }

  .cta-section {
    margin: 0 14px 34px;
    padding: 40px 24px;
    display: grid;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

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