:root {
  --teal-950: #042f2f;
  --teal-900: #0b5c5c;
  --teal-800: #0f6e6e;
  --teal-700: #138585;
  --teal-100: #e8f6f7;
  --teal-50: #f4fbfb;
  --gold: #d4a017;
  --text: #0f1f1f;
  --text-muted: #4a6b6d;
  --border: #d5e9ea;
  --surface: #ffffff;
  --shadow: 0 18px 50px rgba(8, 74, 74, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fcfd 0%, #eef7f8 40%, #f9fbfb 100%);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-900); }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ── Header ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(248, 252, 253, 0.88);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 16px;
}

.brand-link { display: flex; align-items: center; }
.brand { height: 44px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--teal-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--teal-700); }

.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--teal-900);
  color: #fff !important;
}

.nav-cta:hover { background: var(--teal-800); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
}

/* ── Typography helpers ── */
.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-900);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

h3 { margin: 0 0 8px; color: var(--teal-900); }

.subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 62ch;
  margin: 0;
}

.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; }
.section-head.center .subtitle { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn.primary {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: #fff;
  box-shadow: 0 10px 28px rgba(11, 92, 92, 0.28);
}

.btn.primary:hover { box-shadow: 0 14px 34px rgba(11, 92, 92, 0.34); }

.btn.ghost {
  border: 1.5px solid var(--teal-900);
  color: var(--teal-900);
  background: rgba(255, 255, 255, 0.6);
}

.btn-lg { padding: 14px 24px; font-size: 1rem; }

/* ── Hero ── */
.hero {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 92, 92, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 54ch;
  margin: 0 0 18px;
}

.hero-points {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-weight: 500;
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-900);
  font-weight: 800;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-shot { max-width: 340px; }

.app-shot {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.app-shot img {
  width: 100%;
  display: block;
}

.hero-phone { max-width: 300px; }

.hero-badge {
  position: absolute;
  bottom: 12%;
  left: -8%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-badge strong {
  display: block;
  font-size: 1.6rem;
  color: #0a8f4a;
  line-height: 1;
}

.hero-badge span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Phone frame ── */
.phone-frame {
  background: #111;
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.phone-frame img {
  width: 100%;
  border-radius: 24px;
}

/* ── Stats strip ── */
.stats-strip {
  padding: 0 0 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(10, 75, 75, 0.06);
}

.stat strong {
  display: block;
  font-size: 1rem;
  color: var(--teal-900);
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── Sections ── */
.section { padding: 56px 0; }
.section.alt {
  background: linear-gradient(180deg, #eef7f8 0%, #f3fafb 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-compact { padding: 40px 0; }

/* ── Benefits ── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(10, 75, 75, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 75, 75, 0.11);
}

.benefit-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.benefit-card p {
  margin: 0;
  color: var(--text-muted);
}

/* ── Showcase ── */
.showcase {
  display: grid;
  gap: 48px;
}

.showcase-item {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 36px;
  align-items: center;
}

.showcase-item.reverse {
  grid-template-columns: 1fr minmax(240px, 320px);
}

.showcase-item.reverse .app-shot { order: 2; }
.showcase-item.reverse .showcase-copy { order: 1; }

.showcase-copy p {
  color: var(--text-muted);
  margin: 0 0 14px;
}

.showcase-copy ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.showcase-copy li { margin-bottom: 6px; }

/* ── Steps ── */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-inline: auto;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(10, 75, 75, 0.06);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: #fff;
  font-weight: 800;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
}

/* ── CTA band ── */
.cta-band {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--teal-950), var(--teal-900) 55%, var(--teal-800));
  color: #fff;
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.82); max-width: 48ch; }

.cta-band .btn.primary {
  background: #fff;
  color: var(--teal-900);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ── Trust block ── */
.trust-block {
  text-align: center;
  max-width: 680px;
}

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

.trust-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.trust-links a {
  font-weight: 700;
  text-decoration: none;
}

/* ── Footer ── */
.footer {
  padding: 40px 0 24px;
  background: #0a3d3d;
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo { height: 40px; margin-bottom: 10px; }

.footer-grid p { margin: 0; max-width: 32ch; }

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-col strong {
  color: #fff;
  margin-bottom: 4px;
}

.footer-links-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 500;
}

.footer-links-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 18px;
  text-align: center;
  font-size: 0.88rem;
}

.footer-bottom p { margin: 0; }

/* ── Legal pages (shared) ── */
.legal-main { padding: 42px 0 54px; }

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(10, 75, 75, 0.08);
}

.legal-card h1 { margin-top: 0; font-size: clamp(1.8rem, 4vw, 2.4rem); }

.legal-card h2 {
  margin: 24px 0 8px;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-card ul { padding-left: 18px; }

.legal-meta {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.legal-back {
  display: inline-block;
  margin-top: 16px;
  color: var(--teal-900);
  text-decoration: none;
  font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid,
  .benefit-grid,
  .stats-grid,
  .showcase-item,
  .showcase-item.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .showcase-item.reverse .app-shot,
  .showcase-item.reverse .showcase-copy {
    order: unset;
  }

  .app-shot {
    max-width: 320px;
    margin-inline: auto;
  }

  .hero-shot {
    max-width: 300px;
    margin-inline: auto;
  }

  .phone-frame {
    max-width: 280px;
    margin-inline: auto;
  }

  .hero-badge {
    left: auto;
    right: 4%;
    bottom: 4%;
  }

  .hero-visual { margin-top: 12px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(248, 252, 253, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav.open {
    max-height: 320px;
    padding: 8px 4% 16px;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child { border-bottom: none; }

  .nav-cta { text-align: center; margin-top: 8px; }

  .topbar { position: relative; }

  .cta-band-inner { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 36px; }
}
