:root {
  --bg: #f8f9fc; --surface: #fff; --surface2: #f4f3fa; --text: #17152b; --muted: #6e7083;
  --line: #e9e8ef; --accent: #6f3ff5; --lav: #f0eaff; --positive: #0b946b; --warm: #ffc96b;
  --radius: 16px; color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111219; --surface: #1a1b25; --surface2: #232330; --text: #f5f3ff; --muted: #a4a3b4; --line: #31313e; --accent: #8a63ff; --lav: #2d2149; --positive: #56d9a3; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.5px; color: var(--text); text-decoration: none; }
.logo img { border-radius: 10px; }
.dot { color: var(--accent); }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav nav { display: none; } .nav-cta { margin-left: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.btn.primary { background: linear-gradient(110deg, #7849f9, #6031e8); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(112, 68, 234, 0.22); }
.btn.lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn:hover { filter: brightness(0.97); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: 1.2px; font-weight: 800; color: var(--accent); text-transform: uppercase; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.07; letter-spacing: -2px; margin: 12px 0 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

/* Phone mock with a wallet card */
.phone { max-width: 330px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 36px; padding: 18px; box-shadow: 0 30px 60px rgba(40, 20, 110, 0.12); }
.pass { background: radial-gradient(circle at 95% 0, #9a77ff, #4521a8 75%); color: #fff; border-radius: 18px; padding: 20px; }
.pass-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 750; }
.pass-head small { opacity: 0.8; font-weight: 600; font-size: 11px; letter-spacing: 0.8px; }
.pass .big { font-size: 30px; font-weight: 800; margin: 10px 0 2px; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px 0; }
.stamps i { aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.55); display: grid; place-items: center; font-style: normal; font-size: 13px; }
.stamps i.on { background: #fff; color: #5a2fe0; border-color: #fff; font-weight: 800; }
.pass-qr { background: #fff; border-radius: 10px; width: 92px; height: 92px; margin: 12px auto 4px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 8px; }
.pass-qr b { background: #17152b; border-radius: 1px; }
.pass-qr b:nth-child(3n), .pass-qr b:nth-child(5n + 1) { background: transparent; }
.notif { margin-top: 14px; background: var(--surface2); border-radius: 14px; padding: 12px 14px; font-size: 13px; }
.notif strong { display: block; }

/* Sections */
section.block { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -1px; line-height: 1.15; margin: 8px 0 12px; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 12px 0 6px; font-size: 18px; letter-spacing: -0.3px; }
.card p { margin: 0; color: var(--muted); }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--lav); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--lav); color: var(--accent); display: grid; place-items: center; font-size: 22px; }

/* Pricing */
.price-card { position: relative; }
.price-card.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.badge { position: absolute; top: 18px; right: 18px; background: var(--lav); color: var(--accent); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -1.5px; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
ul.check { list-style: none; padding: 0; margin: 16px 0 22px; }
ul.check li { padding: 5px 0 5px 28px; position: relative; }
ul.check li::before { content: '✓'; position: absolute; left: 0; color: var(--positive); font-weight: 800; }
.note { text-align: center; margin-top: 18px; }

/* FAQ */
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 10px; }
section.alt details.faq { background: var(--bg); }
details.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: '–'; }
details.faq p { margin: 0 0 16px; color: var(--muted); }

/* CTA band */
.band { background: linear-gradient(115deg, #784bff, #4f25c9); color: #fff; border-radius: 24px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { margin: 0 0 6px; }
.band p { margin: 0; opacity: 0.85; }
.band .btn { background: #fff; color: #4e2dba; border-color: transparent; }

/* Content pages */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); }
.page h2 { font-size: 24px; margin-top: 40px; }
.page h3 { font-size: 18px; margin: 24px 0 6px; }
.page p, .page li { color: var(--text); }
.page .updated { color: var(--muted); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 8px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid .card a { font-weight: 700; word-break: break-all; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0 28px; margin-top: 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-inner p { max-width: 340px; font-size: 14px; }
.footer nav { display: grid; gap: 8px; font-size: 14px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.legal { font-size: 12px; margin-top: 28px; }
