:root {
  --navy-1: #0d2550;
  --navy-2: #0a1a36;
  --navy-3: #050b18;
  --glow: #7cc7ff;
  --wifi: #63baff;
  --cell: #5bdd9e;
  --near: #c499ff;
  --text: #f4f7ff;
  --muted: rgba(236, 242, 255, 0.68);
  --card: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.11);
  --radius: 26px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(900px 520px at 78% -6%, rgba(124, 199, 255, 0.28), transparent 60%),
    radial-gradient(700px 500px at 8% 12%, rgba(196, 153, 255, 0.16), transparent 60%),
    radial-gradient(800px 600px at 50% 105%, rgba(91, 221, 158, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-1) 0%, var(--navy-2) 38%, var(--navy-3) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; font-weight: 750; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; font-weight: 720; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 650; }
p { margin: 0; }

.sky-braid { position: absolute; top: 0; left: 0; width: 100%; height: min(100vh, 920px); z-index: -1; opacity: 0.5; pointer-events: none; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(8, 20, 44, 0.55);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav nav a:hover { color: var(--text); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: #fff; color: #08142c; font-family: inherit; font-size: 17px; font-weight: 650; line-height: 1; text-decoration: none;
  box-shadow: 0 10px 40px -8px rgba(124, 199, 255, 0.65);
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(124, 199, 255, 0.8); }
.button:active { transform: scale(0.98); }
.button.ghost { background: rgba(255, 255, 255, 0.08); color: var(--text); box-shadow: none; border: 1px solid var(--stroke); }
.button.small { padding: 10px 18px; font-size: 15px; box-shadow: none; }
.button.wide { width: 100%; }
.button[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 72px 24px 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px;
  padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(124, 199, 255, 0.12); border: 1px solid rgba(124, 199, 255, 0.28); color: #cfe9ff;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cell); box-shadow: 0 0 12px var(--cell); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.shine {
  background: linear-gradient(100deg, var(--wifi) 0%, var(--near) 50%, var(--cell) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shine 8s ease-in-out infinite alternate;
}
@keyframes shine { to { background-position: 100% 0; } }
.lead { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 560px; }
.lead strong { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.trust li::before { content: "✓"; color: var(--cell); font-weight: 800; margin-right: 7px; }

.hero-phone { position: relative; display: flex; justify-content: center; }
.phone {
  margin: 0; width: min(330px, 78vw); aspect-ratio: 393 / 852; border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #3a4660, #11182a 40%, #2a3448);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 40px 90px -20px rgba(0, 0, 0, 0.8), 0 0 120px -30px rgba(124, 199, 255, 0.55);
  position: relative;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 42px; }
.phone::after {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 30px; border-radius: 20px; background: #000;
}
.hero-phone .phone { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.float {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 15px;
  border-radius: 16px; font-size: 14px; color: var(--muted); white-space: nowrap;
  background: rgba(16, 32, 64, 0.72); border: 1px solid var(--stroke);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  animation: bob 6s ease-in-out infinite;
}
.float b { color: var(--text); font-variant-numeric: tabular-nums; }
.f1 { top: 8%; left: -22%; animation-delay: -1s; }
.f2 { top: 47%; right: -22%; animation-delay: -3s; }
.f3 { bottom: 16%; right: -20%; animation-delay: -5s; }
.swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.swatch.wifi { background: var(--wifi); box-shadow: 0 0 10px var(--wifi); }
.swatch.cell { background: var(--cell); box-shadow: 0 0 10px var(--cell); }
.swatch.near { background: var(--near); box-shadow: 0 0 10px var(--near); }

/* Strip */
.strip {
  max-width: var(--max); margin: 30px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.strip div { padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--stroke); }
.strip b { display: block; font-size: 26px; letter-spacing: -0.02em; }
.strip span { color: var(--muted); font-size: 15px; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 110px 24px 0; }
.section.narrow { max-width: 820px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.kicker { color: var(--glow); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.sub { color: var(--muted); font-size: 19px; margin-top: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--stroke);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(124, 199, 255, 0.35); background: rgba(255, 255, 255, 0.08); }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.icon { width: 48px; height: 48px; border-radius: 15px; margin-bottom: 18px; position: relative; }
.icon::after { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--m) center / 24px no-repeat; mask: var(--m) center / 24px no-repeat; }
.i-fast { background: linear-gradient(135deg, #2f7fe0, var(--wifi)); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
.i-steady { background: linear-gradient(135deg, #1f9c66, var(--cell)); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5zm-1.2 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.8-4.8 1.4 1.4z'/%3E%3C/svg%3E"); }
.i-friend { background: linear-gradient(135deg, #7c4ee0, var(--near)); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm8 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM9 13c-3.3 0-7 1.7-7 4v3h14v-3c0-2.3-3.7-4-7-4zm8 0c-.6 0-1.2 0-1.8.2 1.1.9 1.8 2.1 1.8 3.8v3h5v-3c0-2.3-2.7-4-5-4z'/%3E%3C/svg%3E"); }
.i-data { background: linear-gradient(135deg, #d07b1a, #ffc061); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 15h-2v-2h2zm0-4h-2V7h2z'/%3E%3C/svg%3E"); }
.i-lock { background: linear-gradient(135deg, #3d4f78, #7d93c4); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 9h-1V7a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2zm-7-2a2 2 0 0 1 4 0v2h-4z'/%3E%3C/svg%3E"); }
.i-easy { background: linear-gradient(135deg, #d0458a, #ff8fc4); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.4 10.6 20C5.4 15.4 2 12.3 2 8.5A5.4 5.4 0 0 1 7.5 3 6 6 0 0 1 12 5.1 6 6 0 0 1 16.5 3 5.4 5.4 0 0 1 22 8.5c0 3.8-3.4 6.9-8.6 11.5z'/%3E%3C/svg%3E"); }

/* Try it */
.try-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 48px; border-radius: 34px;
  background: linear-gradient(160deg, rgba(124, 199, 255, 0.10), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--stroke);
}
.toggles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.toggle {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1; color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke);
  transition: all .2s ease;
}
.toggle .swatch { opacity: .35; box-shadow: none; }
.toggle.on { color: #08142c; background: #fff; border-color: #fff; }
.toggle.on .swatch { opacity: 1; }
.try-visual { text-align: center; }
.try-speed { font: 700 clamp(64px, 8vw, 104px)/1 -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Inter", sans-serif; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.try-speed small { font-size: 26px; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.try-note { color: var(--muted); margin-top: 10px; min-height: 1.6em; }
.try-braid { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; margin-top: 18px; }
.try-braid canvas { width: 100%; height: 120px; }
.end { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--stroke); }
.fine { color: rgba(236, 242, 255, 0.45); font-size: 13px; margin-top: 14px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--stroke); }
.steps p { color: var(--muted); margin-top: 10px; }
.num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%;
  font-weight: 800; color: #08142c; background: linear-gradient(135deg, var(--wifi), var(--near));
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; color: var(--muted); }
.checks li b { color: var(--text); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #08142c; background: var(--cell);
}
.checks.small li { font-size: 15px; }
.split-phones { display: flex; justify-content: center; }
.split-phones .phone { width: min(270px, 42vw); }
.tilt-left { transform: rotate(-5deg) translateY(10px); z-index: 1; }
.tilt-right { transform: rotate(5deg) translate(-30px, 50px); opacity: .92; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--card); border: 1px solid var(--stroke); padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; font-size: 18px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--glow); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* Access form */
.access { padding-bottom: 40px; }
.access-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px; border-radius: 34px;
  background: linear-gradient(150deg, rgba(196, 153, 255, 0.14), rgba(124, 199, 255, 0.08) 50%, rgba(91, 221, 158, 0.08));
  border: 1px solid var(--stroke);
}
.access-form { display: grid; gap: 16px; }
.access-form label { display: grid; gap: 7px; font-size: 15px; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.access-form input, .access-form select, .access-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; font-family: inherit; font-size: 17px; line-height: 1.3; color: var(--text);
  -webkit-appearance: none; appearance: none;
  background: rgba(5, 11, 24, 0.55); border: 1px solid rgba(255, 255, 255, 0.16); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.access-form input:focus, .access-form select:focus, .access-form textarea:focus { border-color: var(--glow); box-shadow: 0 0 0 4px rgba(124, 199, 255, 0.18); }
.access-form select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cc7ff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.access-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 14px; }
.access-form .consent input { -webkit-appearance: auto; appearance: auto; padding: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cell); flex: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 15px; }
.form-status.ok { color: var(--cell); }
.form-status.error { color: #ffb4a8; }
.access-form.sent { opacity: .55; pointer-events: none; }

/* Footer */
.footer {
  max-width: var(--max); margin: 90px auto 0; padding: 30px 24px 50px;
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--muted); font-size: 15px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero, .split, .try-box, .access-box { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .trust { justify-content: center; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split-copy { order: 0; }
  .try-box, .access-box { padding: 30px 22px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav .button.small { margin-left: auto; }
  .cards, .strip { grid-template-columns: 1fr; }
  .section { padding-top: 80px; }
  .float { display: none; }
  .sky-braid { opacity: 0.32; }
  .tilt-right { display: none; }
  .split-phones .phone { width: min(300px, 80vw); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Invite setup page */
.setup-page { display: grid; place-items: center; min-height: 100vh; }
.setup { max-width: 520px; padding: 48px 24px; text-align: center; }
.setup h1 { font-size: clamp(34px, 7vw, 48px); margin-top: 22px; }
.setup-icon { margin: 0 auto; border-radius: 22px; box-shadow: 0 20px 60px -10px rgba(124, 199, 255, 0.6); }
.setup-steps { list-style: none; padding: 0; margin: 34px 0 22px; display: grid; gap: 14px; text-align: left; }
.setup-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--stroke); }
.setup-steps li[hidden] { display: none; }
.setup-steps .num { flex: none; margin: 0; }
.setup-steps p { color: var(--muted); margin: 4px 0 14px; }
.setup-steps .button { width: 100%; }
.setup-steps li:last-child p { margin-bottom: 0; }
.section.narrow > .faq { margin-top: 36px; }
