*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

body.is-locked { overflow: hidden; }

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

button, input { font: inherit; color: inherit; }

button { cursor: pointer; }

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

h1, h2, .count-num, .fact-value {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green-900);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 28px;
  line-height: 1.15;
}

h2 {
  font-size: 22px;
  line-height: 1.2;
}

h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
  color: var(--green-900);
}

p { text-wrap: pretty; }

a { color: var(--green-900); }

:focus-visible {
  outline: 3px solid var(--green-900);
  outline-offset: 3px;
}

::selection { background: var(--lime-100); color: var(--cta-text); }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.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;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

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

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand { display: flex; align-items: center; min-width: 0; }

.logo-full { height: 36px; width: auto; }
.logo-mark { display: none; height: 36px; width: auto; }

.hero {
  background:
    radial-gradient(800px 320px at 0% 0%, rgba(123, 184, 32, 0.18), transparent 70%),
    var(--surface);
  padding: 24px 0 36px;
}

.hero-grid { display: flex; flex-direction: column; gap: 20px; }

.eyebrow {
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.hero-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--lime-100);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.count-block { margin-top: 20px; }

.count-num {
  font-size: 40px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.count-label { color: var(--muted); font-weight: 600; }

.meter {
  height: 12px;
  margin-top: 12px;
  background: var(--lime-100);
  border-radius: 999px;
  overflow: hidden;
}

.meter > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime-500);
  border-radius: inherit;
}

.meter-note, .fine-print {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section, .hero, .final { scroll-margin-top: calc(var(--header-h) + 8px); }
.section { padding: 48px 0; }
.section-alt { background: var(--surface); }

.section-head { max-width: 680px; margin-bottom: 24px; }
.section-head h2 { margin-bottom: 8px; }
.lede { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  background: #fff;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-title {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-900);
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.footer-brand p { margin-top: 12px; color: var(--muted); max-width: 320px; }
.footer-logo { height: 32px; width: auto; }

.credits { margin-top: 28px; color: var(--muted); font-size: 13px; }
.credits h2 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.credits a { font-weight: 600; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.legal { padding: 36px 0 72px; }
.legal h1 { margin-bottom: 12px; }
.legal h2 { margin: 28px 0 8px; font-size: 22px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 18px; }
.noscript { padding: 24px; }

@media (min-width: 768px) {
  body { font-size: 17px; }
  .container { width: min(var(--container), calc(100% - 48px)); }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  .count-num { font-size: 56px; }
  .section { padding: 80px 0; }
  .hero { padding: 40px 0 56px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    column-gap: 48px;
    row-gap: 20px;
    align-items: start;
  }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-photo { grid-column: 1; grid-row: 2; }
  .hero-card {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }
  .hero-mobile-cta { display: none; }
}

@media (max-width: 767px) {
  .logo-full { display: none; }
  .logo-mark { display: block; }
  .site-header .btn-label { display: none; }
  .site-header .btn-label-short { display: inline; }
  .site-header .btn-sign {
    height: 44px;
    padding-inline: 12px;
    font-size: 14px;
  }
}

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