@font-face { font-family: Jakarta; src: url(fonts/PlusJakartaSans_400Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Jakarta; src: url(fonts/PlusJakartaSans_600SemiBold.ttf); font-weight: 600; font-display: swap; }
@font-face { font-family: Jakarta; src: url(fonts/PlusJakartaSans_800ExtraBold.ttf); font-weight: 800; font-display: swap; }

:root {
  --night0: #030a17;
  --night1: #091427;
  --night2: #0f1e37;
  --night3: #1a2b4a;
  --paper: #eaf1fb;
  --muted: #93a1be;
  --signal: #0362ff;
  --cyan: #05d5ff;
  --mint: #02e89d;
  --aurora: linear-gradient(135deg, #0340e6, #0473f5 55%, #03a9d6);
  --brand: linear-gradient(120deg, #0473f5, #02d9fa 50%, #08f7ce);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night0);
  color: var(--paper);
  font: 400 17px/1.6 Jakarta, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; text-align: center; margin-bottom: 48px; }
section { padding: 96px max(20px, calc((100vw - 1160px) / 2)); position: relative; }
.muted { color: var(--muted); }
code { font: 13px/1.4 ui-monospace, monospace; background: var(--night0); padding: 2px 6px; border-radius: 6px; color: var(--cyan); }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  background: rgb(3 10 23 / 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}
.brand { display: flex; align-items: center; gap: 10px; }
.nav nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav nav a:not(.button) { color: var(--muted); transition: color .2s; }
.nav nav a:not(.button):hover { color: var(--paper); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--aurora); box-shadow: 0 10px 40px -10px rgb(4 115 245 / 0.8); }
.button.primary:hover { box-shadow: 0 16px 50px -10px rgb(5 213 255 / 0.7); }
.button.ghost { border-color: var(--night3); background: rgb(255 255 255 / 0.03); }
.button.ghost:hover { border-color: var(--cyan); }
.button.small { padding: 9px 18px; font-size: 14px; }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.button span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.button small, .store small { font-weight: 400; font-size: 12px; opacity: .78; }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 18px; border-radius: 14px;
  background: #000; border: 1px solid var(--night3);
  font-weight: 600; font-size: 18px; line-height: 1.1;
}
.store span { display: flex; flex-direction: column; }
.store svg { width: 24px; height: 24px; fill: var(--mint); }
.store[aria-disabled="true"] { opacity: .55; cursor: default; }
.store.wide { margin-top: auto; align-self: flex-start; }

.hero {
  min-height: calc(100vh - 64px);
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px;
  padding-top: 64px; padding-bottom: 64px; overflow: hidden;
}
#mesh { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, rgb(3 98 255 / .28), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -15vw; bottom: -30vw; width: 60vw; height: 60vw;
  background: radial-gradient(closest-side, rgb(2 232 157 / .14), transparent 70%);
  pointer-events: none;
}
.hero-copy, .phone { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgb(2 232 157 / .08); border: 1px solid rgb(2 232 157 / .25); color: var(--mint);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
h1 { font-size: clamp(42px, 6.4vw, 78px); font-weight: 800; letter-spacing: -0.035em; }
.sweep { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin: 24px 0 34px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fine { color: var(--muted); font-size: 14px; margin-top: 22px; }

.phone {
  justify-self: center; width: 300px; aspect-ratio: 9 / 18.5; padding: 12px;
  border-radius: 46px; background: linear-gradient(160deg, #22355a, #0a1424);
  box-shadow: 0 50px 120px -30px rgb(4 115 245 / .55), inset 0 0 0 1px rgb(255 255 255 / .08);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.screen {
  height: 100%; border-radius: 36px; background: var(--night0);
  padding: 18px 14px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; font-size: 13.5px;
}
.bar { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--night2); }
.bar div { display: flex; flex-direction: column; line-height: 1.25; }
.bar i { font-style: normal; font-size: 11px; color: var(--mint); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #02c8e0, #02e89d); }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 18px; opacity: 0; animation: pop .5s forwards; }
.msg.in { background: var(--night2); align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.out { background: var(--aurora); align-self: flex-end; border-bottom-right-radius: 6px; }
.msg:nth-of-type(1) { animation-delay: .4s; } .msg:nth-of-type(2) { animation-delay: 1.2s; }
.msg:nth-of-type(3) { animation-delay: 2s; } .msg:nth-of-type(4) { animation-delay: 2.8s; } .msg:nth-of-type(5) { animation-delay: 3.6s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.poll { display: flex; flex-direction: column; gap: 6px; min-width: 70%; }
.poll span { position: relative; padding: 4px 8px; border-radius: 8px; background: rgb(255 255 255 / .14); overflow: hidden; }
.poll em { position: absolute; inset: 0 auto 0 0; width: var(--w); background: rgb(255 255 255 / .22); }
.react { font-size: 18px; padding: 6px 12px; }
.react sup { font-size: 12px; margin-left: 4px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--night2); border-radius: 18px; opacity: 0; animation: pop .5s 4.4s forwards; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .5; } }

.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 40px; padding-bottom: 40px;
  border-block: 1px solid rgb(255 255 255 / .06); background: var(--night1);
}
.strip div { display: flex; flex-direction: column; }
.strip b { font-size: 34px; font-weight: 800; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip span { color: var(--muted); font-size: 15px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid article, .card {
  background: linear-gradient(180deg, var(--night1), rgb(9 20 39 / .4));
  border: 1px solid rgb(255 255 255 / .06); border-radius: var(--radius); padding: 28px;
  transition: border-color .3s, transform .3s;
}
.grid article:hover, .card:hover { border-color: rgb(5 213 255 / .35); transform: translateY(-4px); }
.grid i { font-style: normal; font-size: 30px; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--night2); margin-bottom: 18px; }
.grid h3, .card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.grid p, .card p, .card li { color: var(--muted); margin: 0; font-size: 15.5px; }

.how { background: radial-gradient(60% 80% at 50% 0%, rgb(3 98 255 / .12), transparent); }
.hops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.hops::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 10px, transparent 10px 20px);
  background-size: 200% 100%; animation: march 2.4s linear infinite; opacity: .6;
}
@keyframes march { to { background-position: -40px 0; } }
.hops li { text-align: center; position: relative; }
.hops p { color: var(--muted); font-size: 15.5px; margin: 18px 0 0; }
.node {
  display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%;
  font-weight: 800; font-size: 14px; background: var(--night1); border: 2px solid var(--night3); position: relative;
}
.node.you { background: var(--aurora); border-color: transparent; }
.node.them { background: linear-gradient(135deg, #02c8e0, #02e89d); border-color: transparent; color: var(--night0); }
.node.link, .node.friend { box-shadow: 0 0 0 6px rgb(5 213 255 / .08); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card .sub { color: var(--paper); font-weight: 600; }
.card ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .button { margin-top: auto; }
.card.featured { border-color: rgb(4 115 245 / .5); box-shadow: 0 30px 80px -40px rgb(4 115 245 / .8); }

.faq { max-width: 820px; margin: 0 auto; }
details { border-bottom: 1px solid var(--night3); padding: 20px 4px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; color: var(--cyan); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

footer {
  display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap;
  padding: 40px 20px 56px; color: var(--muted); font-size: 14px; border-top: 1px solid rgb(255 255 255 / .06);
}
footer a { color: var(--cyan); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: left; min-height: 0; }
  .phone { width: 260px; }
  .grid, .cards { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .hops { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .hops::before { display: none; }
}
@media (max-width: 640px) {
  section { padding-top: 64px; padding-bottom: 64px; }
  .nav nav a:not(.button) { display: none; }
  .grid, .cards, .hops { grid-template-columns: 1fr; }
  .ctas > * { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .msg, .typing { opacity: 1; }
}
