:root {
  --bg: #0d0b1a; --bg2: #14112a; --card: #191634; --text: #f2f0ff; --muted: #a9a4cf; --line: #2b2752;
  --brand: #7c5cff; --brand2: #ff5fa2; --ok: #3ddc97;
  --grad: linear-gradient(135deg, #7c5cff 0%, #ff5fa2 100%);
}
@media (prefers-color-scheme: light) {
  :root { --bg: #fbfaff; --bg2: #f1eeff; --card: #ffffff; --text: #17142e; --muted: #5d5883; --line: #e3defa; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--brand); }
img { max-width: 100%; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

header.site { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.logo i { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; font-style: normal; }
header.site nav { margin-left: auto; display: flex; gap: 20px; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
header.site nav a:hover { color: var(--text); }

.hero { padding: 64px 0 40px; background: radial-gradient(900px 400px at 75% -10%, rgba(124,92,255,.35), transparent), radial-gradient(700px 400px at 5% 10%, rgba(255,95,162,.22), transparent); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.03em; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 52ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 12px 20px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--card); }
.btn.primary { background: var(--grad); border: 0; color: #fff; }
.btn.soon { opacity: .75; cursor: default; }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }

.phone { width: min(300px, 100%); margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: 34px; padding: 14px; box-shadow: 0 30px 80px rgba(124,92,255,.25); }
.screen { border-radius: 24px; overflow: hidden; background: var(--bg2); padding: 12px; }
.ba { position: relative; height: 250px; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #3a3560, #1e1b3a); }
.ba .after { position: absolute; inset: 0; background: linear-gradient(140deg, #ff5fa2, #7c5cff 60%, #22d3ee); clip-path: inset(0 0 0 50%); }
.ba .cut { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: #fff; }
.ba .knob { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #fff; color: #333; display: grid; place-items: center; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.ba .lbl { position: absolute; bottom: 10px; font-size: 11px; font-weight: 700; background: rgba(0,0,0,.45); color: #fff; padding: 2px 8px; border-radius: 99px; }
.prompt-box { margin-top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 12.5px; color: var(--muted); }
.prompt-box b { display: block; color: var(--text); margin-bottom: 2px; }
.copy { margin-top: 10px; text-align: center; padding: 9px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; }

section { padding: 64px 0; }
section h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 8px; letter-spacing: -.02em; }
section .sub { color: var(--muted); margin: 0 0 28px; max-width: 60ch; }
.steps, .feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.card h3 { margin: 10px 0 4px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ic { width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; }
.alt { background: var(--bg2); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.best { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; }
.plan .tag { position: absolute; top: -12px; right: 16px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 99px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.plan li { padding: 4px 0 4px 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 8px 0 0; }

footer.site { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
footer.site a { color: var(--muted); margin-right: 16px; }
.disc { max-width: 78ch; font-size: 12.5px; margin-top: 14px; }

/* legal pages */
.doc { padding: 40px 0 70px; }
.doc .wrap { width: min(780px, 100% - 32px); }
.doc h1 { font-size: 36px; margin: 0 0 4px; letter-spacing: -.02em; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }
.doc .meta { color: var(--muted); font-size: 14px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; color: var(--muted); }
.doc th { color: var(--text); background: var(--card); }
form.box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-top: 18px; }
form.box label { display: block; font-weight: 700; margin: 12px 0 4px; color: var(--text); }
form.box input, form.box textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.msg { margin-top: 12px; padding: 10px 12px; border-radius: 10px; }
.msg.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.msg.bad { background: rgba(255,80,90,.15); color: #ff6b75; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  header.site nav a:not(.keep) { display: none; }
  section { padding: 44px 0; }
}
