:root {
  --ink: #0a0f1c;
  --ink-2: #121a2e;
  --paper: #ffffff;
  --mist: #f4f6fb;
  --line: #e3e8f1;
  --text: #0f172a;
  --muted: #546077;
  --accent: #2563eb;
  --accent-2: #22d3ee;
  --on-dark: #e8edf7;
  --on-dark-muted: #9aa6bd;
  --radius: 14px;
  --max: 1120px;
  --font: ui-sans-serif, -apple-system, "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.6 var(--font); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--text); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(10, 15, 28, 0.86); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 750; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #3b82f6 55%, var(--accent-2)); color: #fff; box-shadow: 0 8px 24px -10px rgba(37, 99, 235, 0.7); }
.btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.18); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: 88px 0 96px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 820px; height: 820px; background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 60%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent 90%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #60a5fa, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: var(--on-dark-muted); max-width: 560px; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero visual: phone + quiz card (illustration of the model) */
.visual { position: relative; height: 470px; }
.phone { position: absolute; right: 0; top: 0; width: 236px; height: 470px; border-radius: 36px; padding: 10px; background: linear-gradient(160deg, #1f2a44, #0b1222); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 70% at 30% 20%, #3b5b9a 0%, #1b2a4d 45%, #0c1426 100%); }
.screen::before { content: ""; position: absolute; width: 180px; height: 180px; left: 40px; top: 70px; border-radius: 50%; background: radial-gradient(circle, rgba(253, 224, 171, 0.55), transparent 65%); filter: blur(6px); }
.screen::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(5, 9, 18, 0.85), transparent); }
.cap { position: absolute; left: 0; right: 0; top: 24%; z-index: 1; text-align: center; font-weight: 900; font-size: 25px; line-height: 1.1; color: #fff; text-transform: uppercase; text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6); letter-spacing: -0.01em; }
.cap .hl { color: #ff4d4d; }
.tag { position: absolute; z-index: 1; left: 12px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag span { font-size: 10.5px; font-weight: 600; color: #dbe4f5; background: rgba(255, 255, 255, 0.14); padding: 4px 8px; border-radius: 999px; }
.quiz-card { position: absolute; left: 0; bottom: 26px; width: 250px; background: var(--paper); color: var(--text); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.65); }
.quiz-card .step { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.quiz-card .q { font-weight: 700; font-size: 15px; line-height: 1.3; margin: 6px 0 12px; }
.opt { display: block; width: 100%; text-align: left; font: inherit; font-size: 13.5px; padding: 9px 12px; margin-top: 7px; border-radius: 10px; border: 1px solid var(--line); background: var(--mist); color: var(--text); }
.opt.sel { border-color: var(--accent); background: #eaf1ff; font-weight: 600; }
.bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 14px; overflow: hidden; }
.bar i { display: block; width: 33%; height: 100%; background: var(--accent); }

/* Facts strip */
.facts { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px; border-left: 1px solid rgba(255, 255, 255, 0.07); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.fact span { font-size: 14px; color: var(--on-dark-muted); line-height: 1.45; display: block; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }
.alt { background: var(--mist); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 20px; font-weight: 750; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, #e6efff, #e0fbff); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }

.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 58px; }
.step-card::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 24px; left: 28px; font-weight: 800; font-size: 15px; color: var(--accent); letter-spacing: 0.04em; }
.step-card::after { content: ""; position: absolute; top: 34px; left: 62px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* Compliance */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.list-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 18px; }
.list-card ul { list-style: none; margin: 0; padding: 0; }
.list-card li { position: relative; padding: 11px 0 11px 34px; border-top: 1px solid var(--line); font-size: 15.5px; }
.list-card li:first-child { border-top: 0; }
.list-card li::before { position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.do li::before { content: "✓"; background: #dcfce7; color: #15803d; }
.dont li::before { content: "✕"; background: #fee2e2; color: #b91c1c; }

.vertical p { margin-top: 4px; }
.note { margin-top: 22px; color: var(--muted); font-size: 14px; }

/* About + contact */
.about { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.about p { color: var(--muted); font-size: 17.5px; }
.facts-list { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 20px; font-size: 15.5px; }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; font-weight: 600; }

.contact { background: var(--ink); color: var(--on-dark); text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: -260px; width: 760px; height: 520px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(34, 211, 238, 0.22), transparent 65%); }
.contact .wrap { position: relative; max-width: 760px; }
.contact h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; font-weight: 800; }
.contact p { color: var(--on-dark-muted); font-size: 18px; margin-bottom: 30px; }
.email { display: block; margin-top: 16px; color: var(--on-dark-muted); font-size: 15px; }

/* Footer */
footer { background: #070b15; color: var(--on-dark-muted); font-size: 14px; padding: 30px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--on-dark-muted); text-decoration: none; }
footer a:hover { color: #fff; }

/* Legal pages */
.legal { max-width: 760px; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.legal h2 { font-size: 21px; margin-top: 36px; }
.legal p, .legal li { color: #2b3447; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 32px; }

@media (max-width: 960px) {
  .hero .wrap, .about { grid-template-columns: 1fr; }
  .visual { height: 440px; max-width: 420px; }
  .grid-3, .grid-4, .split { grid-template-columns: 1fr 1fr; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding: 56px 0 64px; }
  .visual { height: 420px; }
  .phone { right: 0; width: 210px; height: 420px; }
  .quiz-card { width: 220px; bottom: 16px; }
  section { padding: 68px 0; }
  .grid-3, .grid-4, .split, .facts .wrap { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
  .fact:first-child { border-top: 0; }
  .facts-list { grid-template-columns: 1fr; gap: 2px; }
  .facts-list dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
