:root {
  --purple: #6B3FD4;
  --purple-deep: #4A2499;
  --purple-soft: #EFE9FC;
  --gold: #F5C451;
  --ink: #111827;
  --text: #374151;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg: #F9FAFB;
  --card: #FFFFFF;
  --danger: #B42318;
  --ok: #157F3D;
  --radius: 20px;
  --wrap: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --purple: #A78BFA;
    --purple-deep: #C4B5FD;
    --purple-soft: #2A2140;
    --ink: #F3F4F6;
    --text: #D1D5DB;
    --muted: #9CA3AF;
    --line: #2E3340;
    --bg: #0F1117;
    --card: #171A22;
    --danger: #F87171;
    --ok: #4ADE80;
  }
}
:root[data-theme="dark"] {
  --purple: #A78BFA; --purple-deep: #C4B5FD; --purple-soft: #2A2140; --ink: #F3F4F6; --text: #D1D5DB;
  --muted: #9CA3AF; --line: #2E3340; --bg: #0F1117; --card: #171A22; --danger: #F87171; --ok: #4ADE80;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--purple); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 750; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--purple); }
.nav .btn { color: #fff; }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--purple); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 750; font-size: 16px; text-decoration: none; cursor: pointer; font-family: inherit; }
:root[data-theme="dark"] .btn, .btn { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { background: #7C5CE6; } }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-small { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } .hero { padding: 88px 0 64px; } }
.eyebrow { display: inline-block; background: var(--purple-soft); color: var(--purple); font-weight: 750; font-size: 14px; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 span { color: var(--purple); }
.lead { font-size: 19px; color: var(--text); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.fine { font-size: 14px; color: var(--muted); }

/* Phone mock */
.phone { justify-self: center; width: 300px; max-width: 100%; aspect-ratio: 9 / 18.5; background: #0B0B0F; border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(74, 36, 153, 0.45); }
.screen { height: 100%; background: #F9FAFB; border-radius: 34px; overflow: hidden; padding: 18px 14px; color: #111827; display: flex; flex-direction: column; gap: 10px; }
.screen .bar { display: flex; justify-content: space-between; align-items: center; }
.screen .bar b { font-size: 20px; }
.screen .chip { font-size: 11px; font-weight: 700; color: #6B3FD4; background: #EFE9FC; border-radius: 999px; padding: 3px 9px; }
.mini-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; overflow: hidden; }
.mini-map { height: 84px; background: linear-gradient(135deg, #E8EEF6 25%, #DCE6F2 25%, #DCE6F2 50%, #E8EEF6 50%, #E8EEF6 75%, #DCE6F2 75%); background-size: 28px 28px; position: relative; }
.mini-map::after { content: ""; position: absolute; left: 50%; top: 42%; width: 16px; height: 16px; background: #6B3FD4; border: 3px solid #fff; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.mini-body { padding: 10px 12px 12px; font-size: 12px; color: #4B5563; }
.mini-body .price { font-size: 18px; font-weight: 800; color: #111827; }
.mini-body .per { color: #6B3FD4; font-weight: 700; }
.votes { display: flex; gap: 6px; margin-top: 8px; }
.votes span { flex: 1; text-align: center; border: 1px solid #E5E7EB; border-radius: 10px; padding: 5px 0; font-weight: 800; }
.votes .up { background: #E6F6EC; border-color: #157F3D; color: #157F3D; }
.tally { margin-top: 6px; color: #157F3D; font-weight: 700; }
.bubble { align-self: flex-end; background: #6B3FD4; color: #fff; border-radius: 16px 16px 4px 16px; padding: 8px 12px; font-size: 12px; max-width: 80%; }
.mini-input { margin-top: auto; display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #E5E7EB; border-radius: 999px; padding: 6px 6px 6px 14px; font-size: 12px; color: #9CA3AF; }
.mini-input b { width: 26px; height: 26px; border-radius: 50%; background: #6B3FD4; color: #fff; display: grid; place-items: center; font-size: 13px; }
.bubble.them { align-self: flex-start; background: #fff; color: #111827; border: 1px solid #E5E7EB; border-radius: 16px 16px 16px 4px; }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p:last-child { margin-bottom: 0; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.icon-dot { width: 42px; height: 42px; border-radius: 12px; background: var(--purple-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; max-width: 560px; }
label { display: block; font-weight: 700; color: var(--ink); font-size: 15px; margin: 14px 0 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.msg { font-weight: 700; font-size: 15px; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--danger); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 750; color: var(--ink); }
details p { margin: 10px 0 0; }

/* Legal pages */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 22px; margin-top: 34px; }
.doc h3 { margin-top: 20px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.callout { background: var(--purple-soft); border-radius: 16px; padding: 16px 18px; margin: 18px 0; color: var(--ink); }
.callout.warn { background: color-mix(in srgb, var(--danger) 12%, transparent); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.contact-grid a { font-weight: 700; word-break: break-word; }

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