:root {
  --green-dark: #2d442d;
  --green-text: #3a6f3a; /* 5.97:1 on white — use for text/links at normal sizes */
  --green: #4d894d; /* ~4.2:1 on white — large/bold text only (3:1 minimum) */
  --green-mid: #5c9a5b;
  --green-light: #74a873;
  --green-pale: #a3c9a2;
  --green-bg: #eef5ee;
  --header-bg-start: #4a824a; /* ~4.6:1 with white text — lightest shade that still clears AA */
  --gray-heading: #55555f;
  --gray-text: #606060;
  --gray-line: #dfdfdf;
  --gold: #fea;
  --gold-text: #5c5c23;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--white);
  color: var(--green-dark);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: var(--green-text);
  text-decoration: none;
}

a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

h1, h2, h3 {
  color: var(--gray-heading);
  line-height: 1.25;
  margin: 0 0 0.5em 0;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 0.75em;
}

.btn {
  display: inline-block;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #fff4b8, var(--gold) 70%);
  color: var(--gold-text);
  box-shadow: 0 4px 14px rgba(92, 92, 35, 0.25);
  border: 1px solid #e3cf6a;
}

.btn-primary:hover {
  color: var(--gold-text);
  box-shadow: 0 6px 18px rgba(92, 92, 35, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, var(--header-bg-start), var(--green-text));
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

header .nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo img {
  height: 26px;
  width: auto;
  display: block;
}

.footer-logo img {
  height: 24px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.15s ease, top 0.15s ease;
}

.nav-toggle-bars::before {
  top: -6px;
}

#phorum {
  line-height: 1.2;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--green-bg), var(--white) 70%);
  padding: 84px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  max-width: 780px;
  margin: 0 auto 0.5em;
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 2em;
  font-size: 1.08rem;
  color: var(--gray-text);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.btn-secondary {
  background: var(--white);
  color: var(--green-text);
  border: 1px solid var(--green-pale);
  padding: 0.85em 1.8em;
  border-radius: 999px;
  font-weight: 700;
}

.btn-secondary:hover {
  background: var(--green-bg);
  color: var(--green-dark);
  text-decoration: none;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--gray-text);
}

/* Stats */
.stats {
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  background: var(--white);
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 24px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  color: var(--green);
  font-weight: 800;
}

.stat span {
  font-size: 0.85rem;
  color: var(--gray-text);
}

/* Sections */
section {
  padding: 76px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: 1.9rem;
}

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  padding: 28px;
  background: var(--white);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.feature-card:hover {
  border-color: var(--green-pale);
  box-shadow: 0 10px 30px rgba(61, 111, 61, 0.08);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green-bg);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
  font-weight: 800;
}

.feature-card h3 {
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Alt section */
.alt {
  background: var(--green-bg);
}

/* Testimonial */
.testimonial {
  background: linear-gradient(135deg, var(--green-dark), var(--green-text));
  color: var(--white);
  border-radius: 18px;
  padding: 48px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.testimonial blockquote {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  opacity: 0.9;
}

/* Requirements strip */
.requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.requirements .pill {
  background: var(--white);
  border: 1px solid var(--green-pale);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: linear-gradient(180deg, var(--green-text), var(--green-dark));
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 {
  color: var(--white);
  font-size: 2rem;
}

.cta-band p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
  background: #fafafa;
  border-top: 1px solid var(--gray-line);
  padding: 44px 0 28px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-col h4 {
  color: var(--gray-heading);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-col a {
  color: var(--gray-text);
}

.footer-col a:hover {
  color: var(--green-text);
}

.footer-bottom {
  border-top: 1px solid var(--gray-line);
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--gray-text);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .btn-ghost {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: var(--green-dark);
    padding: 8px 24px 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-links li:first-child {
    border-top: none;
  }

  .nav-links a {
    display: block;
    padding: 12px 4px;
  }

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

  .stats .wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial {
    padding: 32px 22px;
  }
}
