:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --ink: #101414;
  --muted: #606a66;
  --line: #d9ded6;
  --green: #136c4a;
  --green-deep: #0b3d31;
  --gold: #d9aa49;
  --max: 1040px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.nav,
.section,
.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(19, 108, 74, 0.16);
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 20, 20, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(16, 20, 20, 0.08);
}

.menu-toggle-lines {
  width: 18px;
  display: grid;
  gap: 4px;
}

.menu-toggle-lines span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--green);
}

.hero-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 248, 244, 0.2)),
    linear-gradient(135deg, rgba(19, 108, 74, 0.12), rgba(217, 170, 73, 0.12), rgba(39, 93, 127, 0.1));
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

h1 {
  margin-top: 14px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.lede {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
  overflow-wrap: break-word;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.button-secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
}

.button {
  background: var(--ink);
  color: #fff;
}

.button-secondary {
  border: 1px solid rgba(16, 20, 20, 0.18);
  background: rgba(255, 255, 255, 0.68);
}

.hero-card,
.card,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 46px rgba(16, 20, 20, 0.07);
}

.hero-card {
  padding: 12px;
  min-width: 0;
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  border-radius: 6px;
}

.section {
  padding: 64px 0;
}

.section h2 {
  max-width: 760px;
  margin-top: 10px;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.section > p {
  max-width: 760px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

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

.card,
.article-card {
  padding: 24px;
  min-width: 0;
}

.card h3,
.article-card h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.card p,
.article-card p,
.article-body p,
.article-body li {
  color: var(--muted);
}

.article-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.article-card {
  display: grid;
  gap: 8px;
}

.article-card a {
  color: var(--green);
  font-weight: 800;
}

.article-body {
  max-width: 780px;
}

.article-body h2 {
  margin: 38px 0 10px;
  font-size: 30px;
  line-height: 1.18;
}

.article-body h3 {
  margin: 26px 0 8px;
  font-size: 22px;
}

.article-body p,
.article-body li {
  margin-top: 12px;
  font-size: 18px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.faq {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
}

.faq p {
  margin-top: 8px;
  color: var(--muted);
}

.cta {
  background: var(--green-deep);
  color: #fff;
}

.cta .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta p {
  color: rgba(255, 255, 255, 0.76);
}

.cta .button {
  background: #fff;
  color: var(--ink);
}

.footer {
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .nav,
  .section,
  .footer,
  .hero {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 10px 14px;
    font-size: 13px;
  }

  .hero,
  .cta .section,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 34px 0;
    gap: 28px;
  }

  .hero > * {
    min-width: 0;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .lede,
  .section > p,
  .article-body p,
  .article-body li {
    max-width: calc(100vw - 28px);
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .button-row,
  .button,
  .button-secondary {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 12px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    justify-self: end;
    position: relative;
    z-index: 30;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 46px rgba(16, 20, 20, 0.14);
    white-space: normal;
  }

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

  .nav-links a {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .nav-links a:hover {
    background: #eef4ef;
  }
}
