:root {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f4f7f6;
  --text: #0f172a;
  --muted: #5b6b7a;
  --border: #e2e8f0;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px; font-weight: 600;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, #ecfdf5 0%, var(--bg) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #ccfbf1; color: var(--primary-dark); font-weight: 600; font-size: .85rem; margin-bottom: 20px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 20px; }
.accent { color: var(--primary); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-points { list-style: none; display: grid; gap: 8px; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--primary); font-weight: 700; margin-right: 10px; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 290px; padding: 14px; border-radius: 44px; background: #0f172a;
  box-shadow: 0 30px 60px rgba(15, 118, 110, .25); position: relative;
}
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: #0f172a; border-radius: 0 0 16px 16px; z-index: 2; }
.screen { background: var(--bg-alt); border-radius: 32px; padding: 44px 16px 20px; display: grid; gap: 12px; min-height: 520px; align-content: start; }
.scr-head small { color: var(--muted); }
.scr-head strong { display: block; font-size: 1.4rem; }
.scr-card { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.scr-card.total { background: var(--primary); color: #fff; }
.scr-card.total small { opacity: .85; }
.scr-card.total strong { display: block; font-size: 1.8rem; margin: 4px 0 10px; }
.bar { height: 8px; background: rgba(255, 255, 255, .25); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.bar span { display: block; height: 100%; background: var(--accent); }
.scr-item { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 14px; }
.scr-item b { display: block; font-size: .9rem; }
.scr-item small { color: var(--muted); font-size: .8rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot.ok { background: #10b981; } .dot.warn { background: var(--accent); } .dot.info { background: #3b82f6; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -.01em; line-height: 1.2; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); }
.icon { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; background: #ecfdf5; border-radius: 14px; margin-bottom: 18px; }
.persona { border-top: 4px solid var(--primary); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { text-align: center; padding: 12px; }
.steps span { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); }

details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin-top: 10px; }

/* Download */
.download { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; }
.download p { opacity: .9; }
.notify { display: flex; gap: 10px; max-width: 480px; margin: 28px auto 8px; flex-wrap: wrap; }
.notify input { flex: 1 1 220px; padding: 14px 20px; border-radius: 999px; border: 0; font-size: 1rem; font-family: inherit; }
.form-msg { min-height: 1.6em; font-weight: 500; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.store { padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 12px; font-weight: 500; }

/* Footer */
.footer { padding: 48px 0 24px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { color: var(--muted); margin-top: 8px; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); }
.footer nav a:hover { color: var(--primary); }
.copy { color: var(--muted); font-size: .9rem; margin-top: 32px; }

/* Legal pages */
.legal { padding: 64px 0; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-points { justify-content: center; }
  .grid-3, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); display: none; padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; text-align: center; }
  .section { padding: 64px 0; }
}
