:root {
  --brand: #0f8c72;
  --brand-dark: #0b6b57;
  --brand-soft: #e6f4ef;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --text: #14201c;
  --muted: #5c6b65;
  --border: #e4e9e7;
  --shadow: 0 12px 40px rgba(15, 140, 114, 0.10);
  --radius: 20px;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #4cc7a3;
    --brand-dark: #37b58f;
    --brand-soft: #12302a;
    --bg: #0e1110;
    --surface: #171b1a;
    --text: #e6e9e7;
    --muted: #9aa8a2;
    --border: #26302c;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: grid; place-items: center; color: #fff;
}
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav__links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 14px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }

/* Hero */
.hero { padding: 80px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: 0.82rem;
  margin-bottom: 20px;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--brand); } }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; }
.hero p.lede { font-size: 1.2rem; color: var(--muted); margin: 20px 0 32px; max-width: 30ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; color: var(--muted); font-size: 0.9rem; }

/* Phone mockup */
.phone {
  width: 300px; margin: 0 auto; aspect-ratio: 300 / 610;
  background: var(--surface); border-radius: 42px; border: 1px solid var(--border);
  box-shadow: var(--shadow); padding: 14px; position: relative;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, var(--brand-soft), var(--surface));
  display: flex; flex-direction: column; padding: 22px 18px; gap: 14px;
}
.chip { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.chip__row { display: flex; justify-content: space-between; align-items: center; }
.chip strong { font-size: 0.98rem; }
.chip .money { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand); }
.pill { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 0.72rem; font-weight: 600; }
@media (prefers-color-scheme: dark){ .pill{ color: var(--brand);} }
.screen__title { font-weight: 700; font-size: 1.1rem; }

/* Sections */
section.block { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* Feature grid */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft);
  color: var(--brand-dark); display: grid; place-items: center; margin-bottom: 16px;
}
@media (prefers-color-scheme: dark){ .card__icon{ color: var(--brand);} }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* Privacy band */
.band {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
  border-radius: var(--radius); padding: 48px; text-align: center;
}
.band h2 { font-size: 2rem; letter-spacing: -0.02em; }
.band p { opacity: 0.92; max-width: 60ch; margin: 12px auto 0; }

/* CTA */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
.cta p { color: var(--muted); margin: 12px 0 28px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); font-size: 0.92rem; }
.footer__links a:hover { color: var(--text); }
.footer small { color: var(--muted); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 0; }
.legal h1 { font-size: 2.4rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .phone { order: -1; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
