/* Lento — marketing site. Brand matches the app (emerald gradient). */
:root {
  --bg: #f2f7f5;
  --surface: #ffffff;
  --text: #0f1b17;
  --muted: #566b64;
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-soft: #d1fae5;
  --border: #e6edea;
  --grad: linear-gradient(135deg, #34d399 0%, #10b981 50%, #0d9488 100%);
  --grad-soft: linear-gradient(135deg, #5eead4 0%, #22c55e 60%, #0ea5a4 100%);
  --radius: 22px;
  --shadow: 0 18px 50px rgba(13, 75, 55, 0.12);
  --maxw: 1080px;
}

* { 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.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(242, 247, 245, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.4px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 15px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}
.btn:hover { text-decoration: none; filter: brightness(1.03); }
.btn-ghost {
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  box-shadow: none;
}

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.pill {
  display: inline-block; background: var(--primary-soft); color: var(--primary-dark);
  font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px); line-height: 1.05; letter-spacing: -1.5px;
  font-weight: 850; max-width: 14ch; margin: 0 auto 18px;
}
.hero h1 .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 56ch; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--text); color: #fff;
  padding: 10px 18px; border-radius: 14px; font-weight: 600; font-size: 14px;
}
.store-badge small { display: block; font-size: 10px; opacity: 0.7; font-weight: 500; line-height: 1; }
.store-badge b { font-size: 16px; line-height: 1.1; }
.store-badge.soon { opacity: 0.55; }
.store-badge:hover { text-decoration: none; }

/* Phone showcase */
.shots { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.phone {
  width: 232px; border-radius: 34px; padding: 9px; background: #0f1b17;
  box-shadow: var(--shadow);
}
.phone img { width: 100%; border-radius: 26px; display: block; }
.phone:nth-child(even) { margin-top: 26px; }

/* Sections */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.8px; font-weight: 850; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 8px 24px rgba(13, 75, 55, 0.05);
}
.card .ico {
  width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px;
}
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 7px; letter-spacing: -0.3px; }
.card p { color: var(--muted); font-size: 15px; }

/* Differentiator band */
.band { background: var(--grad); color: #fff; border-radius: 30px; padding: 56px 40px; text-align: center; box-shadow: var(--shadow); }
.band h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.6px; font-weight: 850; max-width: 22ch; margin: 0 auto 14px; }
.band p { font-size: 18px; opacity: 0.95; max-width: 60ch; margin: 0 auto; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step .n {
  width: 38px; height: 38px; border-radius: 999px; background: var(--text); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* CTA final */
.final { text-align: center; }
.final h2 { font-size: clamp(28px, 4.4vw, 42px); letter-spacing: -1px; font-weight: 850; margin-bottom: 14px; }
.final p { color: var(--muted); font-size: 18px; margin-bottom: 26px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); font-weight: 600; }

/* Feature spotlights (alternating image + text) */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.spotlight:last-child { margin-bottom: 0; }
.spotlight.reverse .spot-media { order: 2; }
.spot-media { display: flex; justify-content: center; }
.spot-media .phone { width: 250px; }
.spot-text .tag { display: inline-block; background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.6px; }
.spot-text h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 850; letter-spacing: -0.6px; margin-bottom: 12px; }
.spot-text p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
.spot-list { list-style: none; display: grid; gap: 10px; }
.spot-list li { position: relative; padding-left: 28px; color: #243a33; font-size: 16px; }
.spot-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 800; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 16px; padding: 0 0 18px; }

.alt { background: linear-gradient(180deg, #ffffff 0%, #f2f7f5 100%); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 22px 80px; }
.legal h1 { font-size: 36px; letter-spacing: -1px; font-weight: 850; margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; font-size: 14px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 34px 0 10px; letter-spacing: -0.4px; }
.legal h3 { font-size: 17px; font-weight: 800; margin: 20px 0 6px; }
.legal p, .legal li { color: #243a33; font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { font-weight: 600; }
.back { display: inline-block; margin-bottom: 26px; font-weight: 700; }

@media (max-width: 860px) {
  .features, .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .phone:nth-child(even) { margin-top: 0; }
}
