:root {
  --teal: #00897b;
  --teal-dark: #00695c;
  --teal-50: #e6f3f1;
  --ink: #16201e;
  --body: #4a5654;
  --faint: #889693;
  --bg: #ffffff;
  --surface: #f5f8f7;
  --line: #e7ecea;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 40px rgba(0, 60, 53, 0.08);
  --shadow-sm: 0 4px 18px rgba(0, 60, 53, 0.06);
  --maxw: 1080px;
  --ok: #43a047;
  --soon: #fdd835;
  --crit: #fb8c00;
  --exp: #e53935;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800;
  color: var(--ink); font-size: 19px; letter-spacing: -0.4px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--body); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--teal); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff; font-weight: 700;
  padding: 11px 20px; border-radius: 12px; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(0, 137, 123, 0.28);
}
.btn:hover { text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 137, 123, 0.34); }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: none;
  border: 1px solid var(--line); }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(0,137,123,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(0,137,123,.07), transparent 55%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; padding: 80px 0 70px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-50); color: var(--teal-dark);
  font-weight: 700; font-size: 13px; padding: 7px 14px;
  border-radius: 999px; margin-bottom: 22px;
}
h1 {
  font-size: clamp(38px, 6vw, 60px); line-height: 1.05;
  letter-spacing: -1.5px; color: var(--ink); font-weight: 850;
}
h1 .accent { color: var(--teal); }
.lead { font-size: 19px; margin: 20px 0 30px; max-width: 520px; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; padding: 13px 22px;
  border-radius: 14px; font-weight: 700;
  transition: transform .15s ease;
}
.appstore:hover { text-decoration: none; transform: translateY(-1px); }
.appstore small { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
.appstore b { font-size: 18px; line-height: 1; }
.muted-note { color: var(--faint); font-size: 13px; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; padding: 56px 0 50px; }
  .phone-col { display: flex; justify-content: center; }
}

/* ---------- Phone mockup ---------- */
.phone-col { display: flex; justify-content: center; }
.phone {
  width: 300px; background: #0e1212; border-radius: 42px; padding: 12px;
  box-shadow: 0 30px 70px rgba(0, 50, 45, 0.28); position: relative;
}
.phone .screen {
  background: var(--surface); border-radius: 32px; overflow: hidden;
  height: 600px;
}
.notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #0e1212; border-radius: 0 0 16px 16px; z-index: 3; }
.app-top { padding: 26px 18px 10px; display: flex; align-items: center; gap: 10px; }
.app-top img { width: 30px; height: 30px; border-radius: 8px; }
.app-top b { color: var(--ink); font-size: 17px; letter-spacing: -.3px; }
.app-top span { font-size: 11px; color: var(--faint); display: block; }
.stat-row { display: flex; gap: 8px; padding: 6px 16px 12px; }
.stat {
  flex: 1; background: #fff; border-radius: 14px; padding: 12px 8px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.stat .n { font-size: 20px; font-weight: 800; color: var(--ink); }
.stat .l { font-size: 10px; color: var(--faint); }
.prow {
  display: flex; align-items: center; gap: 10px; background: #fff;
  margin: 7px 16px; padding: 11px; border-radius: 16px; box-shadow: var(--shadow-sm);
}
.prow .bar { width: 4px; height: 38px; border-radius: 3px; }
.prow .ic { width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center; font-size: 19px; }
.prow .tx { flex: 1; }
.prow .tx b { display: block; font-size: 13.5px; color: var(--ink); }
.prow .tx span { font-size: 11px; color: var(--faint); }
.pill { font-size: 11px; font-weight: 800; padding: 5px 9px; border-radius: 9px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px); color: var(--ink);
  letter-spacing: -1px; font-weight: 850; line-height: 1.1;
}
.section-head p { font-size: 17px; margin-top: 14px; }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 880px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .fic {
  width: 50px; height: 50px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 24px;
  background: var(--teal-50); margin-bottom: 16px;
}
.feature h3 { color: var(--ink); font-size: 18px; letter-spacing: -.3px; margin-bottom: 7px; }
.feature p { font-size: 14.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; }
.step .num {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,137,123,.3);
}
.step h3 { color: var(--ink); font-size: 19px; margin-bottom: 6px; }

/* pricing */
.alt { background: var(--surface); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; margin: 0 auto; }
@media (max-width: 680px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; position: relative;
}
.plan.pro { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.plan .tag {
  position: absolute; top: -13px; right: 24px; background: var(--teal);
  color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 9px;
}
.plan h3 { color: var(--ink); font-size: 22px; margin-bottom: 6px; }
.plan .price { font-size: 34px; font-weight: 850; color: var(--ink); letter-spacing: -1px; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--faint); }
.plan ul { list-style: none; margin: 20px 0 0; }
.plan li { padding: 9px 0; display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.plan li.off { color: var(--faint); }
.plan li.off::before { content: "—"; color: var(--faint); }

/* CTA band */
.cta-band { text-align: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 28px; padding: 60px 30px; color: #fff; }
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.8px; font-weight: 850; }
.cta-band p { opacity: .92; font-size: 17px; margin: 12px 0 26px; }
.cta-band .appstore { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 46px 0; margin-top: 10px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .brand { font-size: 17px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--body); font-weight: 600; font-size: 14px; }
.copy { color: var(--faint); font-size: 13px; margin-top: 18px; }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 80px; max-width: 760px; }
.legal h1 { font-size: 38px; letter-spacing: -1px; margin-bottom: 6px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 30px; }
.legal h2 { color: var(--ink); font-size: 22px; margin: 34px 0 10px; letter-spacing: -.4px; }
.legal h3 { color: var(--ink); font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { font-size: 15.5px; margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 22px; }
.legal a { font-weight: 600; }
.back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 26px;
  font-weight: 600; color: var(--body); }
