:root {
  --bg: #05080f; --bg2: #080d17; --surface: #0c1422; --raised: #142033; --border: rgba(120, 160, 210, .12); --border2: rgba(120, 170, 230, .22);
  --text: #eef4ff; --muted: #97a7bf; --dim: #63728a; --accent: #12a8f5; --accent2: #5cd0ff; --violet: #6d5cff;
  --radius: 28px; --max: 1180px;
  --glow: 0 0 0 1px rgba(92, 208, 255, .35), 0 12px 40px rgba(18, 168, 245, .35);
}
* { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
a { color: var(--accent2); text-decoration: none; }
a:hover { color: #9fe3ff; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }
.wrap.narrow { max-width: 860px; }
em { font-style: normal; background: linear-gradient(95deg, #9fe6ff 0%, var(--accent) 45%, #7a8cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(5, 8, 15, .6); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -.3px; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 4px 18px rgba(18, 168, 245, .35); }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--muted); font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a.on { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav .phone-only { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--border2); background: rgba(255, 255, 255, .04);
  position: relative; cursor: pointer; padding: 0; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s, top .3s; }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.menu-open .burger i:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 760px) {
  .burger { display: block; }
  .nav { position: fixed; left: 12px; right: 12px; top: 74px; flex-direction: column; gap: 4px; padding: 10px;
    background: rgba(12, 20, 34, .92); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border2); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav a { display: flex; justify-content: space-between; align-items: center; font-size: 19px; font-weight: 600; color: var(--text);
    padding: 14px 18px; border-radius: 16px; }
  .nav a::after { content: "›"; color: var(--dim); font-size: 24px; font-weight: 400; line-height: 1; }
  .nav a.on { background: rgba(18, 168, 245, .12); color: var(--accent2); }
  .nav .phone-only { display: flex; font-size: 16px; font-weight: 500; color: var(--muted); padding: 11px 18px; }
  .nav a:not(.phone-only) + .phone-only { margin-top: 6px; border-top: 1px solid var(--border); border-radius: 0 0 16px 16px; padding-top: 16px; }
  body::before { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(2, 4, 9, .6);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .menu-open body::before { opacity: 1; pointer-events: auto; }
  .nav a:active { background: rgba(255, 255, 255, .08); }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .top { background: rgba(5, 8, 15, .9); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 650; font-size: 16px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.store-badge { display: inline-flex; border-radius: 10px; transition: transform .2s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { display: block; height: 56px; width: auto; }
.btn-glass { color: var(--text); background: rgba(10, 16, 28, .55); border: 1px solid var(--border2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-glass:hover { color: var(--text); border-color: rgba(92, 208, 255, .5); background: rgba(18, 30, 50, .7); }
.btn-glass span { transition: transform .2s; }
.btn-glass:hover span { transform: translateX(3px); }

/* Aurora + grid backgrounds */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 620px; height: 620px; left: 50%; top: -260px; margin-left: -520px; background: #0f7fd6; }
.aurora i:nth-child(2) { width: 560px; height: 560px; left: 50%; top: -200px; margin-left: 0; background: #4b3cff; opacity: .38; animation-duration: 22s; }
.aurora i:nth-child(3) { width: 420px; height: 420px; left: 50%; top: 380px; margin-left: -210px; background: #12a8f5; opacity: .3; animation-duration: 26s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }
.gridbg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(140, 180, 230, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 180, 230, .07) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%); }

/* Hero */
.hero { position: relative; padding: 86px 0 0; text-align: center; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; z-index: 3; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border: 1px solid var(--border2); border-radius: 999px;
  color: #c9d7ea; font-size: 14px; background: rgba(10, 16, 28, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62, 224, 143, .15), 0 0 14px #3ee08f; }
h1 { font-size: clamp(44px, 7.6vw, 96px); line-height: 1; letter-spacing: -.045em; margin: 26px auto 22px; font-weight: 780; max-width: 960px;
  text-shadow: 0 10px 60px rgba(5, 8, 15, .6); }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: #b3c1d6; max-width: 640px; margin: 0 auto 36px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Phones stage */
.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 30px; margin: 80px auto 0; }
.halo { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(18, 168, 245, .35) 0%, rgba(75, 60, 255, .14) 38%, transparent 66%); }
.halo::before, .halo::after { content: ""; position: absolute; inset: 120px; border-radius: 50%; border: 1px solid rgba(92, 208, 255, .16); }
.halo::after { inset: 30px; border-color: rgba(92, 208, 255, .08); }
.phone { position: relative; width: 270px; border-radius: 46px; padding: 9px; flex: none;
  background: linear-gradient(160deg, #3a4d6b, #0f1622 40%, #243650);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone img { border-radius: 38px; width: 100%; }
.phone.main { width: 320px; transform: translateY(-30px); z-index: 2;
  box-shadow: 0 0 0 1px rgba(92, 208, 255, .25), 0 50px 140px rgba(18, 168, 245, .35), 0 40px 90px rgba(0, 0, 0, .6); }
.phone.side { z-index: 1; }
.phone.side.l { transform: rotate(-5deg) translateY(10px); }
.phone.side.r { transform: rotate(5deg) translateY(10px); }
.float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 16px; font-size: 14px; font-weight: 600;
  color: var(--text); background: rgba(14, 24, 40, .72); border: 1px solid var(--border2); box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); animation: bob 6s ease-in-out infinite; white-space: nowrap; }
.float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 10px var(--accent2); }
.f1 { left: 50%; margin-left: -330px; top: 90px; }
.f2 { left: 50%; margin-left: 200px; top: 150px; animation-delay: -2s; }
.f2 .dot { background: #3ee08f; box-shadow: 0 0 10px #3ee08f; }
.f3 { left: 50%; margin-left: 150px; top: 440px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .stage .side { display: none; }
  .phone.main { transform: none; width: min(300px, 76vw); }
  .halo { width: 520px; height: 520px; margin: -260px 0 0 -260px; }
  .f1 { margin-left: -190px; top: 70px; } .f2 { margin-left: 60px; top: 230px; } .f3 { margin-left: -200px; top: 400px; }
}
@media (max-width: 520px) {
  .float { display: none; }
  .aurora i { opacity: .4; }
  .btn { height: 54px; padding: 0 24px; }
}

/* Marquee */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(18, 168, 245, .05), rgba(75, 60, 255, .05));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; width: max-content; animation: scroll 50s linear infinite; }
.track div { display: flex; gap: 12px; padding-right: 12px; }
.track span { padding: 9px 18px; border: 1px solid var(--border2); border-radius: 999px; color: #c3d0e2; font-size: 15px; font-weight: 500;
  white-space: nowrap; background: rgba(255, 255, 255, .025); }
.track span:nth-child(3n+1) { color: var(--accent2); border-color: rgba(92, 208, 255, .3); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 120px 0; position: relative; overflow-x: clip; }
.sec-head { display: grid; grid-template-columns: 1fr minmax(0, 400px); gap: 16px 48px; align-items: end; margin-bottom: 56px; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.kicker { grid-column: 1 / -1; display: inline-flex; width: max-content; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent2); padding: 6px 12px; border-radius: 999px; background: rgba(18, 168, 245, .1); border: 1px solid rgba(92, 208, 255, .2); }
h2 { font-size: clamp(36px, 5vw, 62px); line-height: 1.02; letter-spacing: -.04em; margin: 0; font-weight: 760; }
.sec-head p { color: var(--muted); margin: 0; font-size: 17px; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } section { padding: 88px 0; } }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border);
  background: radial-gradient(120% 90% at 50% 0%, #0d1628 0%, #080e1a 70%); display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s, box-shadow .35s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: linear-gradient(140deg, rgba(92, 208, 255, .7), transparent 40%, transparent 60%, rgba(109, 92, 255, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(18, 168, 245, .12); }
.card:hover::before { opacity: 1; }
.card .art { position: relative; height: 250px; display: grid; place-items: center; }
.card .art::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 168, 245, .25), transparent 65%); }
.card .art img { position: relative; width: 300px; height: 300px; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 34%, transparent 62%); mask-image: radial-gradient(circle at 50% 50%, #000 34%, transparent 62%); }
.card:hover .art img { transform: scale(1.08) rotate(-3deg); }
.card .txt { position: relative; padding: 0 30px 32px; }
.card h3 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.02em; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card.wide { grid-column: span 2; flex-direction: row; align-items: center; }
.card.wide .art { flex: 0 0 46%; height: 100%; min-height: 300px; order: 2; }
.card.wide .art img { width: 360px; height: 360px; }
.card.wide .txt { padding: 40px 0 40px 44px; flex: 1; }
.card.wide h3 { font-size: 32px; }
.card.wide p { font-size: 17px; max-width: 380px; }
.card.wide.flip .art { order: 0; }
.card.wide.flip .txt { padding: 40px 44px 40px 0; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
  .card.wide { grid-column: span 2; }
  .card.wide.lg { grid-column: auto; flex-direction: column; }
  .card.wide.lg .art { order: 0; flex: none; height: 250px; min-height: 0; width: 100%; }
  .card.wide.lg .art img { width: 300px; height: 300px; }
  .card.wide.lg .txt { padding: 0 30px 32px; }
  .card.wide.lg h3 { font-size: 23px; }
  .card.wide.lg p { font-size: 16px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .card.wide { grid-column: auto; flex-direction: column; }
  .card.wide .art { order: 0; flex: none; height: 250px; min-height: 0; width: 100%; }
  .card.wide .art img { width: 300px; height: 300px; }
  .card.wide .txt { padding: 0 26px 30px; }
  .card.wide h3 { font-size: 23px; }
  .card .txt { padding: 0 26px 30px; }
}

/* Protocols */
.protos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proto { position: relative; overflow: hidden; padding: 30px 26px 28px; border-radius: 24px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 168, 245, .08), rgba(12, 20, 34, .4)); }
.proto::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 208, 255, .35), transparent 70%); }
.proto b { display: block; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; margin-bottom: 4px; }
.proto span { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .protos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .protos { gap: 12px; } .proto { padding: 22px 18px; border-radius: 20px; } .proto b { font-size: 21px; } .proto span { font-size: 14px; } }

/* Steps */
.steps { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step { display: flex; gap: 22px; align-items: flex-start; padding: 26px 28px; border-radius: 24px; border: 1px solid var(--border);
  background: rgba(12, 20, 34, .55); transition: border-color .3s, background .3s; }
.step:hover { border-color: rgba(92, 208, 255, .35); background: rgba(18, 30, 50, .6); }
.step b { flex: none; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(180deg, #9fe6ff, #1276d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 2px 0 6px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.steps .sec-head { grid-template-columns: 1fr; }
.steps-phone { position: relative; display: grid; place-items: center; }
.steps-phone .halo { width: 560px; height: 560px; margin: -280px 0 0 -280px; }
.steps-phone .phone { width: 300px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 50px; } .step { padding: 22px; gap: 18px; } .step b { font-size: 32px; } .steps-phone .phone { width: min(290px, 76vw); } }

/* Statement */
.statement { text-align: center; padding: 140px 0; overflow: hidden; }
.statement::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 400px; margin: -200px 0 0 -450px;
  background: radial-gradient(ellipse, rgba(75, 60, 255, .22), rgba(18, 168, 245, .1) 40%, transparent 70%); filter: blur(20px); }
.statement p { position: relative; font-size: clamp(28px, 4vw, 48px); line-height: 1.18; letter-spacing: -.035em; max-width: 960px; margin: 0 auto; font-weight: 700; }
.statement p span { color: var(--dim); }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: 20px; background: rgba(12, 20, 34, .5); margin-bottom: 12px; transition: border-color .25s, background .25s; }
.faq details[open] { border-color: rgba(92, 208, 255, .3); background: rgba(16, 28, 46, .65); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-size: 19px; font-weight: 650; letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; font-weight: 400; color: var(--accent2); background: rgba(18, 168, 245, .12); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* Final CTA */
.final { padding-top: 40px; padding-bottom: 60px; }
.final-card { position: relative; overflow: hidden; text-align: center; padding: 90px 28px; border-radius: 40px; border: 1px solid var(--border2);
  background: linear-gradient(180deg, #0b1526, #070c16); }
.final-card .aurora i:nth-child(1) { top: -320px; }
.final-card .aurora i:nth-child(2) { top: -260px; }
.final-card > *:not(.aurora) { position: relative; }
.final-icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 20px 60px rgba(18, 168, 245, .5); }
.final-card p { color: #b3c1d6; font-size: 18px; margin: 18px 0 34px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .aurora i, .float, .track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Footer */
footer { border-top: 1px solid var(--border); padding: 48px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-left: auto; }
footer nav a { color: var(--muted); }
footer nav a:hover { color: var(--text); }
footer .copy { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--dim); font-size: 14px; }
@media (max-width: 640px) { footer nav { margin-left: 0; } }

/* Document pages */
.doc { padding: 56px 0 90px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -1.4px; text-align: left; margin: 0 0 20px; max-width: none; line-height: 1.1; }
.doc h2 { font-size: 24px; letter-spacing: -.4px; margin: 42px 0 12px; max-width: none; line-height: 1.25; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; }
.doc p, .doc li { color: #d3dced; }
.doc strong { color: #fff; }
.doc code { font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--raised); border-radius: 6px; padding: 1px 6px; }
.doc pre { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; overflow-x: auto; }
.doc pre code { background: none; padding: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--border2); padding: 9px 11px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface); }
.doc td code { overflow-wrap: anywhere; }
.doc td:first-child code { white-space: nowrap; overflow-wrap: normal; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }
