:root {
  --green: #2ea363;
  --green-dark: #176b3f;
  --ink: #101817;
  --muted: #66736f;
  --line: #dce9e1;
  --page: #f4fbf6;
  --card: #ffffff;
}

* {
  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;
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  background: rgba(244, 251, 246, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--green-dark);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-cta {
  color: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 64px;
  max-width: 1180px;
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 780px;
  font-size: clamp(64px, 9vw, 122px);
}

h2 {
  font-size: clamp(42px, 5.4vw, 76px);
}

.lead,
.score-copy p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.lead {
  max-width: 600px;
  margin: 28px 0 0;
}

.actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 42px rgba(46, 163, 99, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-dark);
}

.hero-visual,
.score-shot {
  border: 1px solid rgba(23, 107, 63, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(24, 74, 48, 0.18);
  overflow: hidden;
}

.hero-visual img,
.score-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.feature-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-number {
  color: rgba(23, 107, 63, 0.42);
  font-size: 13px;
  font-weight: 900;
}

.feature-grid h2 {
  margin-top: 42px;
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.05;
}

.feature-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.score-section {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  align-items: center;
  gap: 74px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.score-copy p {
  max-width: 600px;
  margin: 26px 0 0;
}

ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 999px;
  background: var(--green);
}

.cta {
  max-width: 1180px;
  margin: 0 auto 80px;
  padding: 76px 24px;
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
  text-align: center;
}

.cta .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.cta h2 {
  max-width: 760px;
  margin: 0 auto 34px;
}

.cta .button.primary {
  background: #fff;
  color: var(--green-dark);
  box-shadow: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 46px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.legal-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 110px;
}

.legal-hero {
  max-width: 760px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
}

.legal-hero .lead {
  margin-top: 22px;
  font-size: 20px;
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 72px;
  align-items: start;
  padding-top: 44px;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.legal-content p {
  margin: 0;
}

.legal-content a {
  color: var(--green-dark);
  font-weight: 800;
}

.legal-content ul {
  gap: 10px;
  margin-top: 0;
  color: var(--muted);
  font-size: inherit;
  font-weight: 600;
}

.info-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.info-panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.2;
}

.info-panel a {
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 900;
}

.info-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .site-header {
    padding: 18px 18px;
  }

  nav {
    gap: 14px;
  }

  nav a:not(.nav-cta):not(:last-of-type) {
    display: none;
  }

  .hero,
  .score-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 52px 18px 80px;
  }

  .feature-grid,
  .score-section {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 80px;
  }

  .score-shot {
    order: 2;
  }

  .score-copy {
    order: 1;
  }

  .lead,
  .score-copy p {
    font-size: 19px;
  }

  .cta {
    margin: 0 18px 50px;
    padding: 54px 22px;
  }

  footer {
    flex-direction: column;
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .legal-page {
    padding: 38px 18px 78px;
  }

  .legal-hero {
    padding-bottom: 28px;
  }

  .legal-hero .lead {
    font-size: 18px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 34px;
  }

  .info-panel {
    position: static;
    order: -1;
  }

  .legal-content p,
  .legal-content li {
    font-size: 17px;
  }
}
