:root {
  --bg: #FFFFFF;
  --surface-2: #F1EFE8;
  --text: #2C2C2A;
  --text-secondary: #5F5E5A;
  --text-tertiary: #888780;
  --border: #E4E1D8;
  --border-strong: #D3D0C5;

  --teal-50:  #E1F5EE;
  --teal-200: #5DCAA5;
  --teal-400: #1D9E75;
  --teal-600: #0F6E56;
  --teal-800: #085041;

  /* on-teal tints for the CTA section */
  --on-teal-100: #C7EEDF;
  --on-teal-200: #A1DCC8;

  --radius-card: 12px;
  --radius-cmp: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.wordmark {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  line-height: 1;
  color: var(--teal-400);
  letter-spacing: -0.01em;
  user-select: none;
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  height: 68px;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ghost-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 0.5px solid var(--teal-400);
  border-radius: 8px;
  color: var(--teal-400);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
  text-decoration: none;
}
.ghost-btn:hover { background: var(--teal-50); }

/* ============================================================
   Buttons
   ============================================================ */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 99px;
  border: none;
  background: var(--teal-400);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background .14s ease, transform .04s ease;
  text-decoration: none;
}
.pill-btn:hover { background: var(--teal-600); }
.pill-btn:active { transform: translateY(0.5px); }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-400);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 116px 0 104px;
  text-align: center;
}
.hero-inner {
  max-width: 680px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 22px auto 0;
  text-wrap: pretty;
}
.hero .pill-btn { margin-top: 36px; }

/* ============================================================
   Problem strip
   ============================================================ */
.problem {
  padding: 24px 0 96px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.prob {
  padding: 14px 40px;
}
.prob:first-child { padding-left: 0; }
.prob:last-child { padding-right: 0; }
.prob + .prob {
  border-left: 0.5px solid var(--border);
}
.prob-stat {
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.prob-label {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-400);
}
.prob-copy {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* ============================================================
   How it works
   ============================================================ */
.how {
  padding: 96px 0;
  border-top: 0.5px solid var(--border);
}
.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 56px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 84px;
  line-height: 0.8;
  color: var(--teal-50);
  letter-spacing: -0.02em;
  user-select: none;
}
.step h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 24px 0 0;
}
.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 12px 0 0;
  max-width: 320px;
  text-wrap: pretty;
}

/* ============================================================
   Feature highlights
   ============================================================ */
.features {
  padding: 96px 0;
  border-top: 0.5px solid var(--border);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feat {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 28px 28px 30px;
  transition: border-color .14s ease;
}
.feat:hover { border-color: var(--border-strong); }
.feat-ico {
  font-size: 24px;
  color: var(--teal-400);
  line-height: 1;
}
.feat h4 {
  font-size: 16px;
  font-weight: 500;
  margin: 18px 0 0;
  letter-spacing: -0.005em;
}
.feat p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 8px 0 0;
  text-wrap: pretty;
}

/* ============================================================
   Context strip
   ============================================================ */
.context {
  padding: 96px 0;
}
.context-inner {
  background: var(--surface-2);
  border-radius: 16px;
  padding: 64px 48px;
  text-align: center;
}
.context blockquote {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}
.context cite {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  font-style: normal;
  color: var(--text-tertiary);
}

/* ============================================================
   CTA section
   ============================================================ */
.cta {
  background: var(--teal-400);
  padding: 104px 0;
  text-align: center;
}
.cta h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.cta-sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-teal-100);
  max-width: 460px;
  margin: 18px auto 0;
  text-wrap: pretty;
}
.cta .white-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  margin-top: 34px;
  border-radius: 99px;
  border: none;
  background: #fff;
  color: var(--teal-400);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background .14s ease, transform .04s ease;
  text-decoration: none;
}
.cta .white-btn:hover { background: #F1EFE8; }
.cta .white-btn:active { transform: translateY(0.5px); }
.cta-fine {
  margin-top: 22px;
  font-size: 13px;
  color: var(--on-teal-200);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 0.5px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-left {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.footer-left .wordmark { font-size: 22px; }
.footer-copy { font-size: 13px; color: var(--text-tertiary); white-space: nowrap; }
.footer-mail {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-mail:hover { color: var(--teal-400); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 760px) {
  .wrap { padding: 0 22px; }

  .nav { height: 60px; }

  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 33px; }
  .hero p { font-size: 16px; }

  .problem { padding: 16px 0 64px; }
  .problem-grid { grid-template-columns: 1fr; }
  .prob { padding: 28px 0; }
  .prob:first-child { padding-top: 8px; }
  .prob + .prob {
    border-left: none;
    border-top: 0.5px solid var(--border);
  }
  .prob-stat { font-size: 44px; }
  .prob-copy { max-width: 460px; }

  .how { padding: 64px 0; }
  .section-label { margin-bottom: 36px; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .step p { max-width: none; }

  .features { padding: 64px 0; }
  .feat-grid { grid-template-columns: 1fr; }

  .context { padding: 64px 0; }
  .context-inner { padding: 44px 26px; }
  .context blockquote { font-size: 20px; }

  .cta { padding: 72px 0; }
  .cta h2 { font-size: 28px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
