:root {
  --bg: #faf9f6;
  --bg-alt: #f1efe9;
  --surface: #ffffff;
  --border: #e3e0d6;
  --text: #1c2024;
  --text-muted: #5b6169;
  --accent: #2d5f56;
  --accent-dark: #21453f;
  --accent-contrast: #ffffff;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --max-width: 1080px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

/* Hero */

.hero {
  padding: 96px 0 80px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 22px;
  max-width: 20ch;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 62ch;
  margin: 0 0 36px;
}

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

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* Sections */

.section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 16px;
  max-width: 32ch;
}

.section-lead {
  font-size: 1.02rem;
  max-width: 68ch;
  margin: 0 0 48px;
}

.providers {
  background: var(--bg-alt);
}

/* Card grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--bg-alt);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.2rem;
  margin: 0 0 12px;
}

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

.card-points {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-points li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}

.card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps li {
  display: flex;
  gap: 16px;
}

.step-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  font-size: 1.02rem;
  margin: 4px 0 6px;
}

.steps p {
  font-size: 0.9rem;
  margin: 0;
}

/* CTA */

.cta {
  background: var(--accent-dark);
  border-top: none;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
}

.cta h2 {
  color: #ffffff;
  margin: 0 0 14px;
}

.cta p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 28px;
}

.cta .btn-primary {
  background: #ffffff;
  color: var(--accent-dark);
}

.cta .btn-primary:hover {
  background: var(--bg-alt);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 860px) {
  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 560px) {
  .header-inner {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    gap: 10px;
  }

  .main-nav {
    gap: 18px;
  }

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

/* Dark mode */

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181b;
    --bg-alt: #1b2124;
    --surface: #1c2225;
    --border: #2b3236;
    --text: #eef0f1;
    --text-muted: #a2aab0;
    --accent: #4fa393;
    --accent-dark: #3a8177;
    --accent-contrast: #0d1210;
  }

  .cta {
    background: #10201d;
  }

  .cta .btn-primary {
    background: var(--accent);
    color: #0d1210;
  }

  .cta .btn-primary:hover {
    background: var(--accent-dark);
  }
}
