:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f2f4f8;
  --text: #0b0d12;
  --muted: #555b68;
  --faint: #8a90a0;
  --border: #e4e8ef;
  --brand: #0088ff;
  --accent: #0a6cf0;
  --accent-hover: #075bd0;
  --accent-text: #ffffff;
  --accent-soft: #e6f1ff;
  --positive: #23a05a;
  --ink: #0b0d12;
  --ink-text: #ffffff;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px rgba(16, 24, 40, .08);
  --shadow-lg: 0 30px 80px rgba(10, 60, 140, .18);
  --radius: 20px;
  --logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' rx='58' fill='%230088ff'/%3E%3Cg stroke='%23fff' stroke-width='15' stroke-linecap='round'%3E%3Cpath d='M44 88v58M72 74v112M100 86v72M128 72v112M156 46v164M184 72v112M212 88v54'/%3E%3C/g%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0b0e;
    --bg-soft: #101218;
    --surface: #15171d;
    --surface-2: #1c1f27;
    --text: #f3f5f8;
    --muted: #a9afbc;
    --faint: #7a8090;
    --border: #262a34;
    --accent: #3b93ff;
    --accent-hover: #5aa5ff;
    --accent-text: #ffffff;
    --accent-soft: #10243f;
    --positive: #5cc98a;
    --ink: #f3f5f8;
    --ink-text: #0a0b0e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
header {
  padding: 18px 0; display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: -.01em;
}
header a { color: inherit; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--logo) center / cover no-repeat;
  box-shadow: 0 2px 8px rgba(0, 136, 255, .3);
}
.topbar {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--border); }
.topbar header { justify-content: space-between; padding: 12px 0; }
.topbar .btn { padding: 10px 18px; font-size: 15px; }

/* Type */
h1 {
  font-size: clamp(36px, 7.2vw, 64px); line-height: 1.04; letter-spacing: -.035em;
  font-weight: 800; margin: 18px 0 18px;
}
h2 {
  font-size: clamp(28px, 4.6vw, 42px); line-height: 1.1; letter-spacing: -.03em;
  font-weight: 800; margin: 0 0 14px;
}
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; margin: 0 0 6px; }
.lead { font-size: clamp(18px, 2.2vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--accent);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 999px;
}
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: var(--accent-text);
  font: inherit; font-weight: 700; font-size: 17px; padding: 16px 26px; border-radius: 14px;
  box-shadow: 0 6px 18px rgba(10, 108, 240, .28);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn.secondary {
  background: var(--surface-2); color: var(--text); box-shadow: none; border: 1px solid var(--border);
}
.btn.secondary:hover { background: var(--border); }
.btn.lg { padding: 18px 30px; font-size: 18px; }
.btn.block { width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 24px 0 72px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%; width: 900px; height: 900px; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 136, 255, .18), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; bottom: -30%; left: -20%; width: 700px; height: 700px; z-index: -1;
  background: radial-gradient(closest-side, rgba(170, 120, 255, .12), transparent 70%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 48px 0 104px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
}
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-cta .note { margin: 0; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--positive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Phone mockup */
.stage { position: relative; display: grid; place-items: center; padding: 8px 0; }
.phone {
  width: min(320px, 78vw); aspect-ratio: 9 / 19; border-radius: 48px; padding: 10px;
  background: #0b0d12; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2e38;
  position: relative;
}
.screen {
  height: 100%; border-radius: 39px; overflow: hidden; background: var(--bg-soft);
  display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.45;
}
.island { width: 96px; height: 28px; background: #000; border-radius: 20px; margin: 10px auto 0; flex: none; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 8px; font-weight: 700; font-size: 14px; }
.app-bar span { color: var(--faint); font-weight: 600; font-size: 18px; line-height: 1; }
.note-head { padding: 0 18px 10px; }
.note-head b { display: block; font-size: 17px; letter-spacing: -.02em; line-height: 1.2; }
.note-head small { color: var(--faint); font-size: 11.5px; }
.wave {
  margin: 0 18px 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface);
  display: flex; align-items: center; gap: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.wave .play {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); flex: none;
  display: grid; place-items: center;
}
.wave .play::after { content: ""; border: 5px solid transparent; border-left: 8px solid #fff; margin-left: 5px; }
.bars { display: flex; align-items: center; gap: 2.5px; height: 24px; flex: 1; overflow: hidden; }
.bars i { width: 3px; flex: none; border-radius: 3px; background: var(--accent); opacity: .85; animation: wave 1.4s ease-in-out infinite; }
.bars i:nth-child(3n) { animation-delay: -.3s; opacity: .55; }
.bars i:nth-child(4n+1) { animation-delay: -.7s; }
.bars i:nth-child(5n+2) { animation-delay: -1s; opacity: .65; }
@keyframes wave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .bars i, .float { animation: none !important; } }
.wave small { color: var(--faint); font-weight: 600; font-size: 11px; }
.tabs { display: flex; gap: 6px; padding: 0 18px 10px; }
.tabs span { padding: 5px 11px; border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 600; font-size: 11.5px; }
.tabs span.on { background: var(--ink); color: var(--ink-text); }
.paper { flex: 1; margin: 0 10px; background: var(--surface); border-radius: 22px 22px 0 0; padding: 16px 16px 0; overflow: hidden; box-shadow: 0 -1px 0 var(--border); }
.paper h4 { margin: 0 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
.paper p { margin: 0 0 12px; color: var(--text); }
.paper ul { margin: 0 0 12px; padding: 0; list-style: none; }
.paper li { display: flex; gap: 8px; margin: 0 0 6px; }
.paper li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--text); margin-top: 7px; flex: none; }
.paper li.todo::before {
  width: 14px; height: 14px; border-radius: 4px; margin-top: 2px; background: none; border: 1.5px solid var(--faint); box-sizing: border-box;
}
.paper li.todo.done::before {
  border-color: var(--positive);
  background: var(--positive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.paper li em { font-style: normal; color: var(--faint); }
.float {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 9px 13px;
  font-size: 13px; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float .dot { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; }
.float .dot svg { width: 13px; height: 13px; }
.float.f1 { top: 5%; left: max(0px, calc(50% - 250px)); }
.float.f2 { top: 46%; right: max(0px, calc(50% - 255px)); animation-delay: -2s; }
.float.f3 { bottom: 10%; left: max(0px, calc(50% - 240px)); animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 520px) {
  .float { font-size: 12px; padding: 7px 10px; }
  .float.f1 { left: 0; } .float.f2 { right: 0; } .float.f3 { left: 4px; }
}

/* Sources strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); padding: 26px 0; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; color: var(--muted); font-weight: 600; font-size: 15px; }
.strip-inner b { color: var(--text); font-weight: 700; }
.strip-inner span { display: flex; align-items: center; gap: 8px; }
.strip-inner svg { width: 20px; height: 20px; color: var(--accent); }

/* Feature grid */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--accent-soft); color: var(--accent);
}
.feature .ico svg { width: 24px; height: 24px; }

@media (max-width: 719px) {
  .grid { gap: 12px; }
  .card { padding: 20px; }
  .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .feature .ico { margin: 0; grid-row: span 2; }
  .feature p { font-size: 15px; }
  .how { gap: 12px; }
  .how .card { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; }
  .how .card::before { margin: 0; grid-row: span 2; }
  .how .card p { font-size: 15px; }
}

/* Before / after */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split .lead { margin-bottom: 0; }
.vs { display: grid; gap: 12px; }
.vs .row { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.vs .row b { display: block; margin-bottom: 2px; }
.vs .row span { color: var(--muted); font-size: 15px; }
.vs .row.old { background: transparent; border-style: dashed; }
.vs .row.old b { color: var(--muted); }
.vs .mark { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.vs .old .mark { background: var(--surface-2); color: var(--faint); }
.vs .new .mark { background: var(--positive); color: #fff; }
.vs .mark svg { width: 16px; height: 16px; }

/* Plans */
.plans-section { background: var(--bg-soft); }
.plans { display: grid; gap: 20px; max-width: 760px; margin: 0 auto; grid-template-columns: 1fr; }
@media (min-width: 720px) { .plans { grid-template-columns: 1.1fr 1fr; align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; }
.plan.best { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.badge {
  position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--accent-text);
  font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.plan .save { color: var(--positive); font-weight: 700; font-size: 14px; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 0; line-height: 1.1; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 8px; font-size: 15px; flex: 1; align-content: start; }
.plan ul li { display: flex; gap: 10px; }
.plan ul li::before {
  content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323a05a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.timeline { max-width: 760px; margin: 36px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 16.6%; right: 16.6%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--border)); }
.timeline div { text-align: center; padding: 0 6px; position: relative; }
.timeline div::before { content: ""; display: block; width: 20px; height: 20px; border-radius: 50%; margin: 0 auto 10px; background: var(--surface); border: 3px solid var(--accent); box-sizing: border-box; }
.timeline div:last-child::before { border-color: var(--faint); }
.timeline b { display: block; font-size: 14px; }
.timeline span { color: var(--muted); font-size: 13px; display: block; }
.fine { max-width: 760px; margin: 28px auto 0; text-align: center; }
.secure { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.secure span { display: flex; align-items: center; gap: 6px; }
.secure svg { width: 16px; height: 16px; }

/* Numbered steps (landing + success page) */
.steps { counter-reset: s; list-style: none; padding: 0; max-width: 520px; margin: 24px auto; text-align: left; }
.steps li { counter-increment: s; padding: 16px 0 16px 50px; position: relative; border-bottom: 1px solid var(--border); }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--ink-text); display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.how { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: h; }
.how .card { counter-increment: h; }
.how .card::before {
  content: counter(h); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--ink); color: var(--ink-text); font-weight: 800;
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--faint); border-bottom: 2.5px solid var(--faint); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Final CTA */
.final {
  text-align: center; border-radius: 32px; padding: 56px 24px;
  background: radial-gradient(120% 140% at 50% 0%, #1d7bff 0%, #0a4fd6 45%, #0a1d55 100%); color: #fff;
}
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,.82); margin: 0 auto 28px; max-width: 520px; font-size: 18px; }
.final .btn { background: #fff; color: #0a3fb0; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.final .btn:hover { background: #eef4ff; }
.final .note { color: rgba(255,255,255,.75); margin-top: 14px; }

/* Mobile sticky CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border); transform: translateY(110%); transition: transform .25s;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Footer */
footer { margin: 40px 0 32px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
.site-footer { border-top: 1px solid var(--border); padding-top: 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Shared helpers */
.center { text-align: center; }
.hidden { display: none !important; }
#qr { display: inline-block; padding: 14px; background: #fff; border-radius: 16px; margin: 16px 0; box-shadow: var(--shadow); }

/* Success page */
.success { max-width: 560px; margin: 0 auto; padding: 8px 0; }
.success .tick {
  width: 72px; height: 72px; border-radius: 50%; margin: 16px auto 0; background: var(--positive);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(35, 160, 90, .3);
}
.success .tick svg { width: 36px; height: 36px; }
.success h1 { font-size: clamp(32px, 6vw, 44px); margin-top: 20px; }
.success .lead { margin-left: auto; margin-right: auto; }
.success .card { text-align: left; }
.success .steps { margin: 0; }
.success .steps .btn { margin-top: 12px; }

/* Cookie banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10; max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18); font-size: 15px;
}
.consent p { margin: 0 0 12px; }
.consent a { color: var(--accent); }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent .btn { padding: 10px 18px; font-size: 15px; box-shadow: none; }

/* Legal pages */
.legal { max-width: 760px; padding-bottom: 8px; }
.legal h1 { font-size: clamp(32px, 6vw, 44px); margin-top: 24px; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--text); font-size: 16px; }
.legal li { margin-bottom: 6px; }
.legal footer { border-top: 1px solid var(--border); padding-top: 24px; }
