:root {
  --brand: #4f46e5; --brand-hover: #4338ca; --brand-ink: #3730a3; --brand-soft: #eef2ff;
  --ink: #0f172a; --muted: #475569; --line: #e2e8f0; --bg: #f8fafc; --card: #fff; --ok: #16a34a;
  --shadow: 0 24px 60px rgba(15,23,42,.16), 0 0 0 1px rgba(15,23,42,.06); --link: var(--brand);
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
kbd { font: 600 14px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--card); border: 1px solid var(--line); border-bottom-width: 2px;
      border-radius: 6px; padding: 1px 6px; white-space: nowrap; }

/* ---------- header ---------- */
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav { display: flex; align-items: center; }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
nav a:hover { color: var(--ink); }
nav a.nav-cta { color: #fff; background: var(--brand); padding: 7px 14px; border-radius: 10px; }
nav a.nav-cta:hover { background: var(--brand-hover); color: #fff; }

/* ---------- buttons ---------- */
.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700;
       padding: 13px 22px; border-radius: 12px; transition: background .15s, transform .15s; }
.cta:hover { background: var(--brand-hover); transform: translateY(-1px); }
.cta.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.cta.ghost:hover { background: var(--card); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 40px 0 36px; }
.kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.035em; margin: 16px 0; text-wrap: balance; }
h2 { text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-text p { font-size: 20px; color: var(--muted); margin: 0 0 26px; max-width: 520px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.hero-shot { position: relative; display: flex; justify-content: center; }
.hero-shot::before { content: ""; position: absolute; inset: 8% -4% 4%; border-radius: 40px; z-index: -1;
                     background: radial-gradient(60% 60% at 50% 40%, rgba(99,102,241,.28), transparent 70%); }

/* the real popup images */
img.popup { display: block; width: 340px; max-width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }

/* ---------- sections ---------- */
section { padding: 40px 0; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 16px; }
h3 { font-size: 19px; margin: 0; }
.lead { color: var(--muted); font-size: 19px; margin: -6px 0 24px; }

.uses { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 8px 0 24px; }
.uses span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; color: var(--muted); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 20px 66px; position: relative; color: var(--muted); }
.steps li b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 2px; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%;
                    background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 340px 1fr; }
.split p { color: var(--muted); font-size: 18px; }
.notif { display: flex; gap: 12px; align-items: flex-start; max-width: 440px; margin-top: 22px; background: var(--card); border-radius: 14px;
         padding: 14px 16px; box-shadow: var(--shadow); }
.notif img { width: 36px; height: 36px; border-radius: 9px; }
.notif b { display: block; font-size: 15px; line-height: 1.35; }
.notif span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
ul.ticks { list-style: none; padding: 0; margin: 12px 0 0; }
ul.ticks li { padding: 5px 0 5px 28px; position: relative; font-size: 16px; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
ul.ticks b { color: var(--brand-ink); }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 9px 0; color: var(--muted); font-size: 18px; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; }
.facts b { color: var(--ink); }
.card-p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.final { text-align: center; margin: 20px 0; padding: 56px 24px; border-radius: 24px; color: #fff;
         background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.final h2 { color: #fff; font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 8px; }
.final p { opacity: .9; font-size: 19px; margin: 0 0 24px; }
.final .cta { background: #fff; color: var(--brand); }
.final .cta:hover { background: #eef2ff; }

.small { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ---------- text pages (privacy, terms) ---------- */
.doc { max-width: 720px; padding: 20px 0 40px; }
.doc h1 { font-size: 36px; letter-spacing: -0.02em; }
.doc h2 { font-size: 21px; margin-top: 30px; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }

/* ---------- smaller screens ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 32px; padding-top: 24px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .actions, .trust { justify-content: center; }
  .steps.three, .grid.three { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; justify-items: center; }
  .split.reverse img { order: 2; }
  .split > div { width: 100%; }
}
/* Phones: the header keeps the brand and the install button. */
@media (max-width: 560px) {
  nav a:not(.nav-cta) { display: none; }
  .brand { font-size: 18px; }
  body { font-size: 16px; }
  .hero-text p { font-size: 18px; }
  .uses span { font-size: 14px; }
}
