:root {
  --teal-900: #0F4A3A;
  --teal-700: #1B8A6B;
  --teal-500: #2ECDA7;
  --teal-50:  #E6F5EE;
  --teal-25:  #F4FBF8;
  --ink:      #0F1B17;
  --muted:    #5C7A70;
  --line:     #D7ECE3;
  --bg:       #FFFFFF;
  --shadow:   0 10px 30px rgba(15, 74, 58, 0.08), 0 2px 8px rgba(15, 74, 58, 0.04);
  --radius:   18px;
  --maxw:     1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); font-weight: 500; font-size: 0.96rem; }
.nav a:hover { color: var(--teal-700); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(46, 205, 167, 0.18), transparent 60%),
    radial-gradient(800px 400px at 90% 10%, rgba(27, 138, 107, 0.12), transparent 60%),
    var(--teal-25);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--teal-700), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.store-badge {
  display: inline-block;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.store-badge img { height: 54px; width: auto; }
.store-badge:hover { transform: translateY(-1px); }
.coming-soon {
  font-size: 0.85rem;
  color: var(--muted);
}
.hero-mockup {
  display: flex;
  justify-content: center;
}
.hero-mockup img {
  max-height: 620px;
  width: auto;
}

/* ---------- Section ---------- */
.section {
  padding: 80px 0;
}
.section-eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 12px;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--teal-50);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal-700);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- How it works ---------- */
.how {
  background: var(--teal-25);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}
.step h3 { margin-top: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Privacy strip ---------- */
.privacy-strip {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.privacy-strip h2 { color: #fff; margin: 0 0 8px; }
.privacy-strip p { color: rgba(255, 255, 255, 0.92); margin: 0; max-width: 620px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  background: #fff;
  color: var(--teal-700);
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.94rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--teal-700); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Privacy policy page ---------- */
.legal {
  padding: 56px 0 96px;
}
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .meta { color: var(--muted); margin-bottom: 32px; font-size: 0.95rem; }
.legal h2 { font-size: 1.3rem; margin-top: 36px; }
.legal h3 { font-size: 1.05rem; margin-top: 20px; color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .callout {
  background: var(--teal-25);
  border-left: 3px solid var(--teal-700);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 20px 0;
  color: var(--ink);
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.notfound h1 { font-size: 4rem; margin: 0; }
.notfound p { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mockup img { max-height: 540px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .privacy-strip { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 560px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.compact { display: flex; gap: 18px; }
  .nav.compact a:first-child { display: none; }
  .privacy-strip { padding: 28px 24px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
