:root {
  --bg: #14161f; --bg2: #181b26; --panel: #1d2130; --panel2: #262b3d; --text: #f1f3f8; --muted: #a3abc0; --border: #323850;
  --accent: #ffb454; --accent-text: #241a08; --pink: #f28fb8; --blue: #5fb8ff; --green: #7ad67a;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f2ec; --bg2: #efe8de; --panel: #ffffff; --panel2: #f1ebe2; --text: #1f2330; --muted: #5f6880; --border: #e3dccf;
    --accent: #f59f2a; --accent-text: #2a1a02; --shadow: 0 20px 60px rgba(60, 40, 10, .14);
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 "Segoe UI", system-ui, -apple-system, sans-serif; }
main { overflow-x: clip; }
img { display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.01em; }
h3 { font-size: 18px; }
p { margin: 0 0 10px; }
code { background: var(--panel2); padding: 1px 6px; border-radius: 6px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--border); color: var(--text); background: var(--panel2); transition: transform .1s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { border-color: var(--accent); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: var(--accent-text); border-color: transparent; box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.primary:hover { box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn.ghost { background: transparent; }
.btn.big { padding: 14px 26px; font-size: 18px; border-radius: 14px; }

/* ----- nav ----- */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 12px max(16px, calc((100vw - 1160px) / 2)); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--text); text-decoration: none; }
.logo img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 22px; flex: 1; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; margin-left: auto; }

/* ----- hero ----- */
.hero { max-width: 1160px; margin: 0 auto; padding: 64px 16px 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.hero::before { content: ""; position: absolute; inset: -80px -20% auto; height: 620px; z-index: -1; background: radial-gradient(40% 50% at 70% 40%, color-mix(in srgb, var(--pink) 22%, transparent), transparent 70%), radial-gradient(35% 45% at 25% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), radial-gradient(30% 40% at 85% 75%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 70%); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -.02em; margin-bottom: 18px; }
.grad { background: linear-gradient(90deg, var(--accent), var(--pink) 60%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); max-width: 580px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }

/* the phone mock-up */
.hero-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.phone { width: 300px; background: var(--panel); border: 1px solid var(--border); border-radius: 38px; padding: 18px 16px 22px; box-shadow: var(--shadow), inset 0 0 0 6px color-mix(in srgb, var(--panel2) 60%, transparent); transform: rotate(-2deg); }
.phone-top { display: flex; gap: 6px; align-items: center; margin-bottom: 14px; }
.dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: color-mix(in srgb, var(--c) 25%, transparent); box-shadow: inset 0 0 0 1.5px var(--c); }
.bat { margin-left: auto; width: 34px; height: 16px; border: 2px solid var(--muted); border-radius: 4px; padding: 2px; }
.bat i { display: block; height: 100%; width: 70%; background: var(--green); border-radius: 1px; }
.ph-hello { font-weight: 700; font-size: 19px; margin-bottom: 10px; }
.ph-card { background: var(--panel2); border-radius: 18px; padding: 14px; margin-bottom: 12px; font-size: 14px; }
.ph-card.focus { border: 1.5px solid var(--blue); position: relative; }
.ph-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ph-card b { font-size: 17px; }
.ph-steps, .ph-card.list ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 5px; }
.ph-steps li, .ph-card.list li { display: flex; align-items: center; gap: 8px; }
.ph-steps li::before, .ph-card.list li::before { content: ""; width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid var(--muted); flex: none; }
.ph-steps li.done, .ph-card.list li.done { color: var(--muted); text-decoration: line-through; }
.ph-steps li.done::before, .ph-card.list li.done::before { background: var(--green); border-color: var(--green); }
.ph-steps li.next { font-weight: 700; }
.ph-steps li.next::before { border-color: var(--accent); }
.ph-card.list li i { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ring { position: absolute; right: 12px; top: 12px; width: 62px; height: 62px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--border); }
.ring .left { stroke: var(--blue); stroke-dasharray: 100; stroke-dashoffset: 42; stroke-linecap: round; animation: tick 60s linear infinite; }
.ring span { font-size: 12px; font-weight: 700; }
@keyframes tick { to { stroke-dashoffset: 100; } }
.float { position: absolute; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; font-size: 14px; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; animation: bob 6s ease-in-out infinite; }
.float.note { top: 40px; right: -10px; max-width: 230px; border-color: color-mix(in srgb, var(--pink) 60%, var(--border)); }
.float.timer { bottom: 70px; left: -20px; animation-delay: -2s; }
.float.timer b { color: var(--accent); }
.mini-ring { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--pink); border-right-color: transparent; }
.float.win { bottom: 10px; right: 10px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ----- pain points ----- */
.pains { max-width: 1160px; margin: 0 auto; padding: 8px 16px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pains div { display: flex; gap: 12px; align-items: center; background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.pains span { font-size: 28px; }
.pains p { margin: 0; color: var(--muted); font-size: 16px; }

/* ----- sections ----- */
.section { max-width: 1160px; margin: 0 auto; padding: 72px 16px 24px; }
.section > h2, .section-lead { text-align: center; }
.section-lead { color: var(--muted); max-width: 680px; margin: 0 auto 36px; font-size: 18px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.features article { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 22px; transition: transform .15s, border-color .15s; }
.features article:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.features p { color: var(--muted); font-size: 15px; margin: 0; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 24px; background: var(--panel2); margin-bottom: 14px; }

.how { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how li { counter-increment: step; background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 24px; display: grid; gap: 6px; }
.how li::before { content: counter(step); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--accent); color: var(--accent-text); margin-bottom: 6px; }
.how b { font-size: 18px; }
.how span { color: var(--muted); font-size: 15px; }

/* ----- privacy ----- */
.privacy { position: relative; }
.flow { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1fr; align-items: center; gap: 10px; margin: 0 auto 36px; max-width: 980px; }
.node { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 20px 16px; text-align: center; display: grid; gap: 4px; }
.node span { font-size: 32px; }
.node small { color: var(--muted); font-size: 14px; }
.node.server { border-style: dashed; background: var(--bg2); }
.arrow { display: grid; place-items: center; position: relative; min-width: 120px; }
.arrow::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
.arrow span { position: relative; background: var(--bg); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; white-space: nowrap; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.privacy-grid article { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
.privacy-grid p, .privacy-grid li { color: var(--muted); font-size: 15px; }
.privacy-grid ul { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; }
.tech { margin-top: 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 14px 20px; }
.tech summary { cursor: pointer; font-weight: 600; }
.tech ul { color: var(--muted); font-size: 15px; display: grid; gap: 8px; margin: 14px 0 4px; padding-left: 20px; }

/* ----- FAQ ----- */
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.final { text-align: center; padding: 80px 16px; margin-top: 40px; background: radial-gradient(50% 80% at 50% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.final h2 { margin-bottom: 24px; }
.foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 24px max(16px, calc((100vw - 1160px) / 2)); border-top: 1px solid var(--border); font-size: 14px; }
.foot span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.foot img { width: 22px; height: 22px; }

/* ----- smaller screens ----- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 24px; }
  .hero-art { min-height: 520px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; max-width: 420px; }
  .arrow { min-height: 54px; }
  .arrow::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: none; border-left: 2px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .pains, .how, .privacy-grid { grid-template-columns: 1fr; }
  .float.note { right: 0; top: 10px; }
  .float.timer { left: 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hide-xs { display: none; }
  .features { grid-template-columns: 1fr; }
  .phone { width: min(290px, 86vw); }
  .hero-art { min-height: 500px; }
  .float.note { max-width: 200px; }
  .cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
