:root {
  --bg: #f7fbfb;
  --bg-alt: #eaf5f4;
  --surface: #ffffff;
  --text: #0f2a2c;
  --muted: #4d6668;
  --primary: #0b6e74;
  --primary-2: #14b8a6;
  --accent: #ff7a50;
  --border: #d6e7e6;
  --shadow: 0 20px 50px -20px rgba(11, 110, 116, .35);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071a1c;
    --bg-alt: #0b2427;
    --surface: #0f2e31;
    --text: #e6f4f3;
    --muted: #9bb9b8;
    --primary: #2dd4bf;
    --primary-2: #14b8a6;
    --accent: #ff8a65;
    --border: #1c4245;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--primary); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-weight: 600; text-decoration: none; border: 0;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow);
}
@media (prefers-color-scheme: dark) { .btn { color: #052224; } }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn-small { padding: 9px 18px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); box-shadow: none; }
@media (prefers-color-scheme: dark) { .btn-ghost { color: var(--text); } }
.btn-light { background: #fff; color: #0b6e74; }
@media (prefers-color-scheme: dark) { .btn-light { color: #0b6e74; } }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--bg-alt); color: var(--primary); font-weight: 600; font-size: .9rem; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 800; }
.accent { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fineprint { color: var(--muted); font-size: .9rem; margin-top: 18px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.wave {
  position: absolute; inset: 10% -20% 0 0; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--primary-2) 35%, transparent), transparent 70%),
              radial-gradient(closest-side at 80% 80%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%);
  filter: blur(10px);
}
.phone {
  position: relative; z-index: 1;
  width: 260px; height: 520px; border-radius: 40px;
  background: #0b1f21; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5), inset 0 0 0 2px #23474a;
  transform: rotate(-4deg);
}
.phone-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 70px; height: 18px; border-radius: 10px; background: #0b1f21; z-index: 2; }
.screen { height: 100%; border-radius: 30px; background: #102b2e; padding: 40px 14px 14px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.screen-top { display: flex; align-items: center; gap: 8px; }
.dot { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #14b8a6, #0b6e74); }
.bar { height: 9px; border-radius: 6px; background: #2a4c4f; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.player { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; background: linear-gradient(135deg, #0b6e74, #14b8a6 55%, #ff8a65); display: grid; place-items: center; }
.play { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); color: #0b6e74; display: grid; place-items: center; }
.play svg { width: 24px; height: 24px; margin-left: 3px; }
.progress { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); }
.progress span { display: block; width: 42%; height: 100%; border-radius: 4px; background: #fff; }
.list { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; }
.row.active { background: #1a3e41; }
.tile { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.t1 { background: #ff8a65; } .t2 { background: #14b8a6; } .t3 { background: #facc15; } .t4 { background: #818cf8; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.03em; line-height: 1.15; margin: 0 0 48px; text-align: center; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card h3 { margin: 16px 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-alt); color: var(--primary); }
.ico svg { width: 24px; height: 24px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 1.1rem; }
.steps h3 { margin: 18px 0 6px; }
.steps p { margin: 0; color: var(--muted); }

.download {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 48px; border-radius: 28px; color: #fff;
  background: linear-gradient(120deg, #0b6e74, #14b8a6 60%, #ff8a65);
  box-shadow: var(--shadow);
}
.download h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -.02em; }
.download p { margin: 0; max-width: 52ch; opacity: .92; }
.download-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.version { font-size: .9rem; opacity: .85; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Legal page */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { margin-top: 36px; font-size: 1.3rem; }
.legal p, .legal li { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 460px; }
  .phone { transform: scale(.9) rotate(-4deg); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 40px 0 64px; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .download { padding: 32px 24px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
