:root {
  --bg: #f7f3eb;
  --bg-soft: #fffaf1;
  --text: #1d241f;
  --muted: #5e6a61;
  --line: rgba(29, 36, 31, 0.12);
  --brand: #2f6b4f;
  --brand-dark: #214c38;
  --accent: #d99c4a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(33, 76, 56, 0.14);
  --radius: 28px;
  --max: 1180px;
}

* {
  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(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px;
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--brand);
  padding: 10px 16px;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 84px);
  max-width: 820px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 56px);
}

h3 {
  margin: 0 0 12px;
  font-size: 23px;
}

.hero-text {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: 20px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(47, 107, 79, 0.24);
}

.button.primary:hover {
  background: var(--brand-dark);
}

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

.button.large {
  min-height: 58px;
  padding: 16px 26px;
  font-size: 18px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.5);
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  background: linear-gradient(145deg, #ffffff, #fff6e6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.card-topline {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  margin-bottom: 16px;
}

.hero-card h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.hero-card p {
  color: var(--muted);
}

.match-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.match-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,.68);
}

.match-list strong {
  color: var(--brand);
  font-size: 22px;
}

.match-list span {
  color: var(--muted);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 24px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 20px;
}

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

.info-card,
.type-card,
.steps article,
.cta-card,
.highlight-box,
.faq-list details {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.info-card p,
.type-card p,
.steps p,
.split-text,
.highlight-box p,
.cta-card p,
.faq-list p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.split-text {
  font-size: 19px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
}

.types {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.highlight-box {
  background: var(--brand-dark);
  color: var(--white);
  padding: clamp(34px, 6vw, 64px);
  overflow: hidden;
  position: relative;
}

.highlight-box::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(217, 156, 74, .28);
}

.highlight-box .eyebrow {
  color: #f1c37c;
}

.highlight-box p {
  color: rgba(255,255,255,.78);
  max-width: 850px;
  font-size: 19px;
}

.cta-section {
  padding-top: 40px;
}

.cta-card {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.cta-card p {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

.small-note {
  font-size: 14px !important;
  margin-top: 20px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

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

.faq-list details p {
  margin-bottom: 0;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 24px 54px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

@media (max-width: 900px) {
  .site-header {
    padding: 16px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

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

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .grid.three,
  .steps {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-card {
    padding: 24px;
  }

  .section {
    padding: 56px 20px;
  }
}
