:root {
  --primary: #4a3aff;
  --primary-2: #6a5cff;
  --primary-3: #3a28f0;
  --primary-soft: #eeecff;
  --accent: #ffb020;
  --bg: #ffffff;
  --surface: #f5f6f9;
  --surface-2: #eceef3;
  --text: #0e1020;
  --muted: #5b6075;
  --faint: #9095a8;
  --border: #e3e5ec;
  --wa: #25d366;
  --ig: #e1306c;
  --shadow: 0 30px 80px -30px rgba(42, 30, 160, 0.45);
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #7c70ff;
    --primary-soft: #25214d;
    --bg: #0b0c14;
    --surface: #151724;
    --surface-2: #1f2233;
    --text: #f4f5fa;
    --muted: #a4a8bd;
    --faint: #6c7188;
    --border: #2b2e42;
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand small { font-weight: 500; color: var(--faint); font-size: 13px; margin-left: 2px; }
.links { display: flex; gap: 24px; font-size: 15px; }
.links a { color: var(--muted); font-weight: 500; }
.links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--primary-2) 28%, transparent), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: 0.2px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); display: inline-block; }
h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.035em; margin: 18px 0 18px; font-weight: 800; }
h1 .grad { background: linear-gradient(135deg, var(--primary-2), var(--primary-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 16px; font-weight: 600; font-size: 16px; }
.btn:hover { text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary-2), var(--primary-3)); color: #fff; box-shadow: 0 12px 30px -12px rgba(74, 58, 255, 0.7); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.note { margin-top: 18px; font-size: 14px; color: var(--faint); }

/* Phone mockup */
.phone { justify-self: center; width: 300px; height: 610px; border-radius: 48px; padding: 12px; background: #0e1020; box-shadow: var(--shadow), inset 0 0 0 2px #2b2e42; position: relative; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0e1020; z-index: 2; }
.screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #fff; color: #0e1020; display: flex; flex-direction: column; }
.status { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; font-size: 13px; font-weight: 600; }
.screen h3 { margin: 6px 18px 10px; font-size: 26px; letter-spacing: -0.03em; }
.seg { margin: 0 18px 12px; background: #eceef3; border-radius: 12px; padding: 3px; display: grid; grid-template-columns: 1fr 1fr; font-size: 13px; font-weight: 600; text-align: center; }
.seg span { padding: 6px; border-radius: 10px; color: #5b6075; }
.seg span.on { background: #fff; color: #0e1020; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.seg em { font-style: normal; background: #ffb020; color: #fff; border-radius: 9px; padding: 0 6px; margin-left: 4px; font-size: 11px; }
.row { display: flex; gap: 11px; padding: 10px 18px; align-items: center; }
.av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; position: relative; flex: none; }
.av b { position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; }
.row .t { flex: 1; min-width: 0; }
.row .n { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; }
.row .n small { font-weight: 500; color: #9095a8; font-size: 12px; }
.row .m { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: #5b6075; }
.row .m span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .m i { font-style: normal; background: #4a3aff; color: #fff; border-radius: 9px; min-width: 18px; height: 18px; font-size: 11px; display: grid; place-items: center; font-weight: 700; }
.tabbar { margin-top: auto; border-top: 1px solid #e3e5ec; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 18px; font-size: 10px; text-align: center; color: #9095a8; font-weight: 500; }
.tabbar span.on { color: #4a3aff; }
.tabbar svg { display: block; margin: 0 auto 3px; }

/* Sections */
section.block { padding: 88px 0; }
section.alt { background: var(--surface); }
.kicker { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.03em; margin: 10px 0 14px; font-weight: 800; }
.sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
section.block:not(.alt) .card { background: var(--surface); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; }
.card h4 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.step::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary-2), var(--primary-3)); margin-bottom: 16px; }
.step h4 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.trust { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.checks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.checks li svg { flex: none; margin-top: 2px; color: var(--primary); }
.checks b { display: block; margin-bottom: 2px; }
.checks span { color: var(--muted); font-size: 15px; }

.band { background: linear-gradient(135deg, var(--primary-2), var(--primary-3)); color: #fff; border-radius: 28px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { color: #fff; margin: 0 0 6px; }
.band p { margin: 0; opacity: 0.85; font-size: 17px; }
.band .btn { background: #fff; color: #3a28f0; }

footer { padding: 40px 0 56px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 28px; }
footer a { color: var(--muted); margin-left: 20px; }

/* Documents (privacy, support) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 32px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); margin: 14px 0 8px; }
.doc .meta { color: var(--faint); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--muted); }
.doc li { margin: 6px 0; }
.doc b { color: var(--text); }
.doc .card { margin: 18px 0; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--primary); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contact a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; color: var(--text); font-weight: 600; }
.contact a span { display: block; color: var(--faint); font-weight: 500; font-size: 13px; }
.contact a:hover { border-color: var(--primary); text-decoration: none; }

@media (max-width: 900px) {
  .hero .wrap, .trust { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 40px; padding-bottom: 56px; }
  .grid, .steps, .contact { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; padding: 32px; }
  .links { gap: 16px; }
  .links a.hide-sm { display: none; }
  section.block { padding: 64px 0; }
}
@media (max-width: 380px) {
  .phone { transform: scale(0.9); }
  .wrap { padding: 0 16px; }
}
