:root {
  --bg: #07080c;
  --bg-2: #0d0f16;
  --card: #11141d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef0f6;
  --muted: #9aa0b4;
  --accent: #4f8cff;
  --accent-2: #a46bff;
  --radius: 22px;
  --wrap: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); background: rgba(7, 8, 12, 0.7); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav nav a:hover { color: var(--text); }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn-small { margin-left: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 30px rgba(79, 140, 255, 0.35), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 40px rgba(79, 140, 255, 0.5), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.btn-small { padding: 9px 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; padding: 96px 0 40px; text-align: center; isolation: isolate; }
.glow { position: absolute; inset: -10% 0 auto; height: 900px; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 380px at 30% 30%, rgba(79,140,255,.28), transparent 70%), radial-gradient(560px 360px at 70% 25%, rgba(164,107,255,.25), transparent 70%); filter: blur(10px); }
.glow.small { height: 600px; inset: 0 0 auto; }
.hero-inner { display: grid; justify-items: center; gap: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #c9d6ff; background: rgba(79,140,255,.1); border: 1px solid rgba(79,140,255,.25); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.18); }
h1 { font-size: clamp(44px, 8.4vw, 92px); font-weight: 800; letter-spacing: -0.045em; }
.grad { background: linear-gradient(120deg, #7fb0ff 10%, #b98cff 55%, #ff8cc6 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 640px; font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.platforms { color: var(--muted); font-size: 14px; letter-spacing: .01em; }
.device.hero-device { margin: 56px auto 0; width: min(980px, 100%); }

/* Device frames */
.device { margin: 0; position: relative; background: #000; overflow: hidden; }
.device video, .device img { width: 100%; height: 100%; object-fit: cover; }
.phone-land { aspect-ratio: 2532 / 1170; border-radius: clamp(22px, 4.5vw, 52px); padding: clamp(6px, 1vw, 11px);
  background: linear-gradient(145deg, #2b2f3a, #12141a); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 120px -20px rgba(79,140,255,.35), 0 20px 50px rgba(0,0,0,.6); }
.phone-land > video { border-radius: clamp(16px, 3.7vw, 42px); background: #000; }
.phone-land.small { border-radius: 30px; padding: 7px; }
.phone-land.small > video { border-radius: 24px; }
.tablet { aspect-ratio: 2560 / 1600; border-radius: 26px; padding: 12px; background: linear-gradient(145deg, #2b2f3a, #12141a);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -20px rgba(164,107,255,.35), 0 20px 50px rgba(0,0,0,.55); }
.tablet > video { border-radius: 15px; }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); margin-top: 56px; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-inner div { padding: 26px 12px; text-align: center; display: grid; gap: 2px; }
.strip-inner div + div { border-left: 1px solid var(--line); }
.strip strong { font-size: 22px; letter-spacing: -0.02em; }
.strip span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .strip-inner { grid-template-columns: repeat(2, 1fr); } .strip-inner div:nth-child(3) { border-left: 0; } .strip-inner div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Sections */
.section { padding: 112px 0; position: relative; isolation: isolate; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; }
.sub { color: var(--muted); font-size: 19px; max-width: 640px; margin-top: 18px; }
.center .sub { margin-inline: auto; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; overflow: hidden; display: grid; gap: 26px; align-content: start; transition: border-color .3s, transform .3s; }
.card:hover { border-color: rgba(255,255,255,.16); }
.card.span-2 { grid-column: span 2; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 36px; }
.card h3 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); }
.shot { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .card.span-2 { grid-column: auto; grid-template-columns: 1fr; } .card { padding: 24px; } }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.mini { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.mini h4 { font-size: 18px; font-weight: 650; margin: 14px 0 8px; }
.mini p { color: var(--muted); font-size: 15.5px; }
.ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; color: #cfe0ff; background: linear-gradient(135deg, rgba(79,140,255,.25), rgba(164,107,255,.25)); border: 1px solid rgba(255,255,255,.1); }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps h3 { font-size: 21px; margin: 18px 0 8px; }
.steps p { color: var(--muted); }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 500 16px 'JetBrains Mono', monospace; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Security */
.sec { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding: 20px 22px 20px 58px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.checks li strong { color: var(--text); display: block; margin-bottom: 2px; }
.checks li::before { content: "✓"; position: absolute; left: 20px; top: 20px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #07240f; background: #3ddc84; }
@media (max-width: 860px) { .sec { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details:first-of-type { margin-top: 40px; border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 24px; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 12px; }

/* Final */
.final { text-align: center; overflow: hidden; }
.final-icon { margin: 0 auto 24px; border-radius: 22px; box-shadow: 0 20px 60px rgba(79,140,255,.4); }
.final .cta { margin-top: 32px; }
.stores { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.footer .brand { color: var(--text); }
.footer nav { display: flex; gap: 22px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer p { flex-basis: 100%; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Legal page */
.legal { padding: 72px 0 96px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; }

/* Invite form */
.invite { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.invite input, .invite select { height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--text); font: inherit; padding: 0 20px; }
.invite input[type=email] { flex: 1 1 260px; max-width: 340px; }
.invite select { flex: 0 1 180px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.invite select option { background: #12141c; }
.invite input:focus, .invite select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,140,255,.25); }
.invite .btn { height: 52px; border: 0; cursor: pointer; }
.invite .btn:disabled { opacity: .6; cursor: default; }
.invite .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.invite-status { min-height: 24px; margin-top: 14px; color: var(--muted); font-size: 15px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) { .invite input[type=email], .invite select, .invite .btn { flex: 1 1 100%; max-width: none; } }
