:root {
  --ink:#0b1626; --ink2:#1b2a3f; --mute:#5a6779; --line:#e3e8ef; --soft:#f5f7fb; --bg:#fff;
  --blue:#2160ff; --blue2:#0f46d6; --blue-soft:#eaf0ff; --green:#13985a; --green-soft:#e5f6ed;
  --amber:#c27a00; --amber-soft:#fff3dc; --red:#d23b3b; --red-soft:#fde9e9;
  --shadow:0 1px 2px rgba(11,22,38,.06), 0 12px 32px -8px rgba(11,22,38,.14);
  --shadow-lg:0 2px 4px rgba(11,22,38,.06), 0 30px 60px -20px rgba(11,22,38,.28);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--ink); font:17px/1.6 Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing:antialiased; }
a { color:var(--blue2); }
img, svg { display:block; }
.wrap { max-width:1180px; margin:0 auto; padding:0 24px; }

/* nav */
nav.top { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.86); backdrop-filter:saturate(1.6) blur(12px); border-bottom:1px solid rgba(227,232,239,.8); }
nav.top .wrap { display:flex; align-items:center; justify-content:space-between; height:68px; gap:16px; }
.logo { display:flex; align-items:center; gap:10px; font-weight:800; font-size:19px; color:var(--ink); text-decoration:none; letter-spacing:-.02em; }
.logo svg { width:32px; height:32px; }
nav.top .links { display:flex; align-items:center; gap:26px; }
nav.top .links a { color:var(--ink2); text-decoration:none; font-size:15px; font-weight:600; }
nav.top .links a:hover { color:var(--blue2); }
.btn { display:inline-flex; align-items:center; gap:8px; background:var(--blue); color:#fff !important; padding:12px 20px; border-radius:11px; font-weight:700; text-decoration:none; font-size:15.5px; border:0; cursor:pointer; box-shadow:0 1px 2px rgba(33,96,255,.3), 0 8px 18px -6px rgba(33,96,255,.55); transition:transform .15s, background .15s; }
.btn:hover { background:var(--blue2); transform:translateY(-1px); }
.btn.o { background:#fff; color:var(--ink) !important; border:1px solid var(--line); box-shadow:0 1px 2px rgba(11,22,38,.05); }
.btn.o:hover { background:var(--soft); }
.btn.sm { padding:9px 15px; font-size:14.5px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--blue2); background:var(--blue-soft); padding:6px 12px; border-radius:999px; }
.eyebrow i { width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px rgba(19,152,90,.18); }

/* hero */
.hero { position:relative; overflow:hidden; padding:72px 0 40px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(33,96,255,.14), transparent 60%),
  radial-gradient(700px 380px at -10% 10%, rgba(19,152,90,.08), transparent 60%),
  linear-gradient(180deg,#f7f9fe 0%, #fff 70%); }
.hero-grid { display:grid; grid-template-columns:1.02fr 1fr; gap:48px; align-items:center; }
.hero h1 { font-size:58px; line-height:1.03; margin:18px 0 18px; letter-spacing:-.035em; font-weight:800; }
.hero h1 span { background:linear-gradient(90deg,var(--blue),#5b3bff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p.lead { font-size:20px; color:var(--mute); margin:0 0 28px; max-width:560px; }
.hero .row { display:flex; gap:12px; flex-wrap:wrap; }
.hero .fine { margin-top:18px; font-size:14px; color:var(--mute); display:flex; gap:18px; flex-wrap:wrap; }
.hero .fine span::before { content:"✓"; color:var(--green); font-weight:800; margin-right:6px; }

/* product mockups */
.stage { position:relative; height:540px; }
.screen { position:absolute; inset:10px 40px 60px 0; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-lg); overflow:hidden; }
.screen .bar { height:38px; display:flex; align-items:center; gap:7px; padding:0 14px; border-bottom:1px solid var(--line); background:#fafbfd; }
.screen .bar b { width:10px; height:10px; border-radius:50%; background:#e4e7ec; }
.screen .bar span { margin-left:12px; font-size:12px; color:var(--mute); font-weight:600; }
.board { padding:14px; }
.board .hd { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.board .hd strong { font-size:15px; }
.chips { display:flex; gap:6px; }
.chip { font-size:11.5px; font-weight:700; padding:4px 9px; border-radius:999px; background:var(--soft); color:var(--ink2); border:1px solid var(--line); }
.chip.on { background:var(--ink); color:#fff; border-color:var(--ink); }
.load { display:grid; grid-template-columns:1fr auto; gap:4px 12px; padding:11px 12px; border:1px solid var(--line); border-radius:12px; margin-bottom:8px; font-size:13px; background:#fff; }
.load.top { border-color:#bcd0ff; background:linear-gradient(0deg,#fff,#f5f8ff); box-shadow:0 0 0 3px rgba(33,96,255,.08); }
.load .lane { font-weight:700; font-size:14px; }
.load .meta { color:var(--mute); font-size:12px; }
.load .rate { text-align:right; font-weight:800; font-size:15px; }
.load .rpm { text-align:right; color:var(--mute); font-size:12px; }
.badge { display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:800; padding:2px 8px; border-radius:999px; }
.badge.g { background:var(--green-soft); color:var(--green); } .badge.y { background:var(--amber-soft); color:var(--amber); } .badge.r { background:var(--red-soft); color:var(--red); } .badge.b { background:var(--blue-soft); color:var(--blue2); }
.badge::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.phone { position:absolute; right:0; bottom:0; width:250px; height:470px; background:#0b1626; border-radius:38px; padding:10px; box-shadow:var(--shadow-lg); }
.phone .scr { background:#f2f4f8; height:100%; border-radius:30px; overflow:hidden; display:flex; flex-direction:column; }
.phone .notch { width:90px; height:22px; background:#0b1626; border-radius:0 0 14px 14px; margin:0 auto; }
.phone .who { text-align:center; font-size:11.5px; color:var(--mute); padding:6px 0 8px; border-bottom:1px solid #e3e7ee; background:#fafbfc; }
.phone .who b { display:block; color:var(--ink); font-size:13px; }
.msgs { padding:10px; display:flex; flex-direction:column; gap:8px; font-size:12.5px; line-height:1.4; }
.bub { max-width:88%; padding:8px 11px; border-radius:16px; }
.bub.rcv { background:#fff; border:1px solid #e3e7ee; border-bottom-left-radius:5px; align-self:flex-start; }
.bub.out { background:var(--blue); color:#fff; border-bottom-right-radius:5px; align-self:flex-end; font-weight:700; }
.bub small { display:block; color:var(--mute); font-size:11px; margin-top:3px; }
.float { position:absolute; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); padding:12px 14px; font-size:13px; }
.float.check { left:-14px; bottom:18px; width:250px; }
.float.check h5 { margin:0 0 6px; font-size:13px; }
.float.check ul { list-style:none; margin:0; padding:0; display:grid; gap:4px; }
.float.check li { display:flex; justify-content:space-between; color:var(--ink2); }
.float.check li em { font-style:normal; color:var(--green); font-weight:800; }

/* sections */
section { padding:92px 0; }
section.soft { background:var(--soft); }
section.dark { background:var(--ink); color:#dbe3ee; }
.head { max-width:760px; margin:0 0 44px; }
.head.c { margin:0 auto 44px; text-align:center; }
h2 { font-size:42px; line-height:1.1; margin:14px 0 14px; letter-spacing:-.03em; font-weight:800; }
.head p { color:var(--mute); font-size:19px; margin:0; }
section.dark h2 { color:#fff; } section.dark .head p { color:#a9b6c8; }

.strip { padding:28px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.strip .wrap { display:flex; gap:12px 34px; flex-wrap:wrap; align-items:center; justify-content:center; color:var(--mute); font-size:15px; font-weight:600; }
.strip b { color:var(--ink); }

.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; position:relative; }
.step { background:#fff; border:1px solid var(--line); border-radius:16px; padding:24px; position:relative; }
.step .n { width:36px; height:36px; border-radius:11px; background:var(--ink); color:#fff; display:grid; place-items:center; font-weight:800; margin-bottom:14px; }
.step h3 { margin:0 0 6px; font-size:19px; } .step p { margin:0; color:var(--mute); font-size:15.5px; }

.feature { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; margin-bottom:90px; }
.feature:last-child { margin-bottom:0; }
.feature.rev .txt { order:2; }
.feature h3 { font-size:30px; line-height:1.15; margin:12px 0 12px; letter-spacing:-.02em; }
.feature p { color:var(--mute); font-size:17.5px; margin:0 0 16px; }
.ticks { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.ticks li { padding-left:30px; position:relative; color:var(--ink2); font-size:16px; }
.ticks li::before { content:""; position:absolute; left:0; top:4px; width:19px; height:19px; border-radius:50%; background:var(--green-soft); }
.ticks li::after { content:""; position:absolute; left:6px; top:8px; width:7px; height:4px; border-left:2px solid var(--green); border-bottom:2px solid var(--green); transform:rotate(-45deg); }
.panel { background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); padding:20px; }
.panel h4 { margin:0 0 12px; font-size:15px; display:flex; justify-content:space-between; align-items:center; }
.kv { display:grid; grid-template-columns:1fr auto; gap:9px 12px; font-size:14.5px; }
.kv span { color:var(--mute); } .kv b { text-align:right; }
.bar-row { display:grid; grid-template-columns:120px 1fr 52px; align-items:center; gap:10px; font-size:13.5px; margin:9px 0; }
.bar-row .t { height:10px; background:var(--soft); border-radius:6px; overflow:hidden; }
.bar-row .t i { display:block; height:100%; background:linear-gradient(90deg,var(--blue),#5b3bff); border-radius:6px; }
.route { position:relative; height:150px; border-radius:12px; background:
  linear-gradient(#eef2f8 1px, transparent 1px) 0 0/28px 28px, linear-gradient(90deg,#eef2f8 1px, transparent 1px) 0 0/28px 28px, #fbfcfe; border:1px solid var(--line); overflow:hidden; margin-bottom:14px; }
.doc-row { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
.doc-row:last-child { border-bottom:0; }

.grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; transition:box-shadow .2s, transform .2s; }
.card:hover { box-shadow:var(--shadow); transform:translateY(-2px); }
.card .ic { width:42px; height:42px; border-radius:12px; background:var(--blue-soft); display:grid; place-items:center; margin-bottom:14px; }
.card .ic svg { width:22px; height:22px; stroke:var(--blue2); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.card h3 { margin:0 0 6px; font-size:17px; } .card p { margin:0; color:var(--mute); font-size:15px; }

.safety { display:grid; grid-template-columns:1fr 1.1fr; gap:56px; align-items:center; }
.gate { background:#0f1e33; border:1px solid #22324b; border-radius:18px; padding:22px; }
.gate h4 { margin:0 0 14px; color:#fff; font-size:15px; display:flex; justify-content:space-between; }
.gate .ln { display:flex; justify-content:space-between; align-items:center; padding:11px 0; border-bottom:1px solid #22324b; font-size:14.5px; color:#cdd6e3; }
.gate .ln:last-child { border-bottom:0; }
.pass { color:#3fd08a; font-weight:800; font-size:13px; } .fail { color:#ff7676; font-weight:800; font-size:13px; }
.dark .ticks li { color:#dbe3ee; } .dark .ticks li::before { background:rgba(63,208,138,.15); } .dark .ticks li::after { border-color:#3fd08a; }

.pgrid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.pcard { border:1px solid var(--line); border-radius:16px; padding:22px; background:#fff; }
.pcard h3 { margin:0 0 6px; font-size:18px; } .pcard p { margin:0; color:var(--mute); font-size:15px; }

.faq { max-width:820px; margin:0 auto; }
.faq details { border-bottom:1px solid var(--line); padding:18px 0; }
.faq summary { cursor:pointer; font-weight:700; font-size:18px; list-style:none; display:flex; justify-content:space-between; gap:20px; }
.faq summary::after { content:"+"; color:var(--blue2); font-size:24px; line-height:1; }
.faq details[open] summary::after { content:"–"; }
.faq p { color:var(--mute); margin:10px 0 0; }

.cta { background:linear-gradient(135deg,#1747d6 0%,#2160ff 50%,#5b3bff 100%); color:#fff; border-radius:24px; padding:56px; display:grid; grid-template-columns:1.4fr 1fr; gap:30px; align-items:center; box-shadow:var(--shadow-lg); }
.cta h2 { color:#fff; margin:0 0 10px; } .cta p { color:#dbe5ff; margin:0; font-size:18px; }
.cta .row { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }
.cta .btn { background:#fff; color:var(--ink) !important; box-shadow:none; }
.cta .btn.o { background:transparent; color:#fff !important; border:1px solid rgba(255,255,255,.5); }

footer { padding:56px 0 36px; border-top:1px solid var(--line); font-size:14.5px; color:var(--mute); }
.fgrid { display:grid; grid-template-columns:1.6fr repeat(3,1fr); gap:30px; margin-bottom:36px; }
.fgrid h5 { margin:0 0 12px; color:var(--ink); font-size:14px; }
.fgrid a { display:block; color:var(--mute); text-decoration:none; margin:6px 0; } .fgrid a:hover { color:var(--blue2); }
.fbase { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; border-top:1px solid var(--line); padding-top:22px; }

/* legal pages */
.doc { max-width:780px; padding:56px 24px 80px; margin:0 auto; }
.doc h1 { font-size:40px; margin:0 0 6px; letter-spacing:-.02em; } .doc h2 { font-size:22px; margin:32px 0 6px; letter-spacing:-.01em; } .doc p, .doc li { color:#2c3a4d; }
.doc .date { color:var(--mute); margin:0 0 22px; }

@media (max-width:1020px) {
  .hero-grid, .feature, .safety, .cta { grid-template-columns:1fr; }
  .feature.rev .txt { order:0; }
  .steps, .grid { grid-template-columns:repeat(2,1fr); }
  .pgrid { grid-template-columns:1fr; }
  .fgrid { grid-template-columns:1fr 1fr; }
  .cta .row { justify-content:flex-start; }
  .stage { max-width:600px; }
}
@media (max-width:680px) {
  .wrap { padding:0 16px; }
  nav.top .links a:not(.btn) { display:none; }
  .hero { padding:44px 0 20px; } .hero h1 { font-size:38px; }
  h2 { font-size:30px; } section { padding:64px 0; }
  .steps, .grid { grid-template-columns:1fr; }
  .stage { height:auto; display:flex; flex-direction:column; gap:16px; }
  .screen, .phone, .float { position:relative; inset:auto; left:auto; right:auto; bottom:auto; }
  .phone { margin:0 auto; } .float.check { width:auto; }
  .cta { padding:32px 22px; }
  .feature h3 { font-size:25px; }
}

/* ===== cinematic layer ===== */
.hero.cine { background:#060d1a; color:#e6ecf5; padding:96px 0 70px; isolation:isolate; }
.hero.cine::after { content:""; position:absolute; inset:auto 0 0 0; height:160px; background:linear-gradient(180deg,transparent,#fff); z-index:-1; opacity:.0; }
#net { position:absolute; inset:0; width:100%; height:100%; z-index:-2; }
.hero.cine .glow { position:absolute; z-index:-1; width:900px; height:900px; right:-260px; top:-380px; background:radial-gradient(circle, rgba(33,96,255,.35), transparent 62%); filter:blur(10px); }
.hero.cine .glow.b { left:-380px; top:auto; bottom:-520px; right:auto; background:radial-gradient(circle, rgba(91,59,255,.25), transparent 60%); }
.hero.cine h1 { color:#fff; }
.hero.cine h1 span { background:linear-gradient(90deg,#6ea0ff,#a98bff 60%,#5ee0a8); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero.cine p.lead { color:#a8b5c8; }
.hero.cine .fine { color:#8a98ad; }
.hero.cine .eyebrow { background:rgba(110,160,255,.12); color:#9dbcff; border:1px solid rgba(110,160,255,.25); }
.hero.cine .btn.o { background:rgba(255,255,255,.06); color:#fff !important; border:1px solid rgba(255,255,255,.18); }
.hero.cine .btn.o:hover { background:rgba(255,255,255,.12); }
.hero.cine .screen { background:rgba(255,255,255,.97); border-color:rgba(255,255,255,.2); box-shadow:0 40px 120px -30px rgba(33,96,255,.55), 0 0 0 1px rgba(255,255,255,.06); }
.hero.cine .phone { box-shadow:0 40px 100px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); background:#000; }
.hero.cine .float { box-shadow:0 30px 70px -20px rgba(0,0,0,.6); }
.live { display:flex; gap:28px; margin-top:34px; flex-wrap:wrap; }
.live div { border-left:2px solid rgba(110,160,255,.35); padding-left:14px; }
.live b { display:block; color:#fff; font-size:26px; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.live span { color:#8a98ad; font-size:13px; }
nav.top.dark { background:rgba(6,13,26,.72); border-bottom-color:rgba(255,255,255,.08); }
nav.top.dark .logo, nav.top.dark .links a:not(.btn) { color:#e6ecf5; }
nav.top.dark .links a:not(.btn):hover { color:#9dbcff; }

/* load + message animation */
.anim .load, .anim .bub, .anim .float { opacity:0; transform:translateY(14px); }
.anim.play .load, .anim.play .bub, .anim.play .float { animation:rise .7s cubic-bezier(.2,.8,.2,1) forwards; }
.anim.play .load:nth-child(2) { animation-delay:.5s } .anim.play .load:nth-child(3) { animation-delay:.75s }
.anim.play .load:nth-child(4) { animation-delay:1s } .anim.play .load:nth-child(5) { animation-delay:1.25s }
.anim.play .bub:nth-child(1) { animation-delay:1.9s } .anim.play .bub:nth-child(2) { animation-delay:3.1s }
.anim.play .bub:nth-child(3) { animation-delay:4.1s } .anim.play .bub:nth-child(4) { animation-delay:5s }
.anim.play .float { animation-delay:2.4s }
.load.top { position:relative; overflow:hidden; }
.anim.play .load.top::after { content:""; position:absolute; inset:0; background:linear-gradient(100deg,transparent 30%,rgba(33,96,255,.14) 50%,transparent 70%); transform:translateX(-100%); animation:sweep 2.6s 1.6s ease-in-out infinite; }
.typing { display:inline-flex; gap:4px; }
@keyframes rise { to { opacity:1; transform:none; } }
@keyframes sweep { to { transform:translateX(100%); } }
.reveal { opacity:0; transform:translateY(28px); transition:opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity:1; transform:none; }

/* stat band */
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:0; border:1px solid var(--line); border-radius:20px; overflow:hidden; background:#fff; box-shadow:var(--shadow); }
.stats div { padding:28px 26px; border-right:1px solid var(--line); }
.stats div:last-child { border-right:0; }
.stats b { display:block; font-size:34px; letter-spacing:-.03em; background:linear-gradient(90deg,var(--blue),#5b3bff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stats span { color:var(--mute); font-size:15px; }

/* engine diagram */
.engine { position:relative; border-radius:24px; background:#060d1a; padding:46px; overflow:hidden; color:#cfd8e6; }
.engine::before { content:""; position:absolute; inset:-40%; background:conic-gradient(from 0deg, transparent, rgba(33,96,255,.18), transparent 30%); animation:spin 14s linear infinite; }
.engine > * { position:relative; }
.eng-grid { display:grid; grid-template-columns:1fr auto 1fr; gap:26px; align-items:center; }
.eng-col { display:grid; gap:10px; }
.eng-col div { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:12px 14px; font-size:14.5px; display:flex; justify-content:space-between; gap:10px; }
.eng-col div em { font-style:normal; color:#7f8ea5; font-size:12.5px; }
.core { width:220px; height:220px; border-radius:50%; display:grid; place-items:center; text-align:center; background:radial-gradient(circle at 50% 40%, #2a5cff 0%, #1a2f80 55%, #0b1430 100%); box-shadow:0 0 0 10px rgba(33,96,255,.08), 0 0 0 22px rgba(33,96,255,.05), 0 0 90px rgba(33,96,255,.55); animation:pulse 3.2s ease-in-out infinite; }
.core b { display:block; color:#fff; font-size:20px; } .core span { color:#b9c8f5; font-size:13px; }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes pulse { 50% { box-shadow:0 0 0 14px rgba(33,96,255,.1), 0 0 0 30px rgba(33,96,255,.05), 0 0 120px rgba(33,96,255,.7); } }

@media (max-width:1020px) { .stats { grid-template-columns:1fr 1fr; } .stats div:nth-child(2) { border-right:0; } .stats div:nth-child(-n+2) { border-bottom:1px solid var(--line); } .eng-grid { grid-template-columns:1fr; justify-items:center; } .eng-col { width:100%; } }
@media (max-width:680px) { .engine { padding:26px 18px; } .core { width:170px; height:170px; } .live b { font-size:21px; } .hero.cine { padding:56px 0 40px; } }
@media (prefers-reduced-motion: reduce) { .anim .load, .anim .bub, .anim .float, .reveal { opacity:1 !important; transform:none !important; animation:none !important; transition:none !important; } .engine::before, .core { animation:none; } }
.hero.cine .screen, .hero.cine .phone .scr, .hero.cine .float { color:var(--ink); }
.hero.cine .phone .who b { color:var(--ink); }
.stage { height:560px; }
.screen { inset:0 70px 70px 0; }
.phone { width:232px; height:440px; }
.msgs { gap:7px; }
.bub { flex-shrink:0; } .msgs { overflow:hidden; }
