:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-2: #10131a;
  --card: rgba(18, 21, 28, 0.78);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f6fb;
  --muted: #8e98aa;
  --accent: #8cc7fa;
  --accent-2: #d7ecff;
  --ink: #071018;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#create, #setup, #pairing, #vpn, #install, #account, #get, #ota, #sideloadly { scroll-margin-top: 84px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--accent-2); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  color: var(--accent-2);
}

.glow, .grid { position: fixed; pointer-events: none; }
.grid { inset: 0; }
.glow {
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}
.glow-a {
  top: -18vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(140, 199, 250, 0.34), transparent 68%);
  animation: drift 18s ease-in-out infinite;
}
.glow-b {
  right: -16vw;
  bottom: -20vw;
  background: radial-gradient(circle, rgba(90, 120, 170, 0.28), transparent 70%);
  animation: drift 22s ease-in-out infinite reverse;
}
.grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 7vw;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 12, 0.55);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand img, footer img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.nav nav { display: flex; gap: 18px; margin-right: auto; }
.nav nav a, .quiet {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.nav nav a:hover, .quiet:hover { color: var(--text); }
.nav-download, .download, .quiet {
  border-radius: 999px;
}
.nav-download {
  color: var(--ink);
  background: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  padding: 8px 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: center;
  padding: 42px 7vw 18px;
}
.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker span { color: var(--accent-2); }
h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 6.4vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
h1 em {
  display: block;
  margin-top: 10px;
  font-style: italic;
  font-size: 0.48em;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--muted);
}
.lede {
  max-width: 46ch;
  color: #c5cedb;
  font-size: 18px;
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.download {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  background: linear-gradient(180deg, #b9ddfb, var(--accent));
  color: var(--ink);
  text-decoration: none;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(140, 199, 250, 0.18);
  position: relative;
  overflow: hidden;
}
.download strong, .download small { display: block; }
.download strong { font-size: 16px; letter-spacing: -0.02em; }
.download small { color: rgba(7, 16, 24, 0.72); font-size: 12px; }
.download-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(7, 16, 24, 0.1);
}
.download::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55), transparent 70%);
  transform: translateX(-120%);
  animation: sheen 3.8s ease-in-out infinite;
}
.fine { max-width: 52ch; color: var(--muted); font-size: 13px; }

.stage { position: relative; height: 590px; }
.phone {
  position: absolute;
  inset: 28px auto auto 62%;
  transform: translateX(-50%);
  width: 248px;
  height: 500px;
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(180deg, #1c212b, #0c0e13);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.04);
  animation: floaty 7s ease-in-out infinite;
}
.phone-bar {
  width: 96px;
  height: 8px;
  margin: 4px auto 12px;
  border-radius: 99px;
  background: rgba(255,255,255,0.16);
}
.screen { position: relative; height: calc(100% - 24px); }
.pane {
  position: absolute;
  inset: 0;
  padding: 22px 18px;
  border-radius: 28px;
  background:
    radial-gradient(120px 80px at 80% 0%, rgba(140,199,250,0.16), transparent 70%),
    #12151c;
  opacity: 0;
  animation: cycle 12s infinite;
}
.pane-a { animation-delay: 0s; }
.pane-b { animation-delay: -8s; }
.pane-c { animation-delay: -4s; }
.pane-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pane h2 { margin: 8px 0; font-size: 32px; letter-spacing: -0.04em; }
.pane p { color: var(--muted); font-size: 14px; }
.fake-btn, .rows {
  margin-top: 22px;
  border-radius: 14px;
  background: #1c222d;
  padding: 12px 14px;
  font-size: 14px;
}
.fake-btn.accent { background: var(--accent); color: var(--ink); font-weight: 650; text-align: center; }
.rows { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; }
.rows span { color: var(--muted); }
.meter { margin-top: 28px; height: 8px; border-radius: 99px; background: #1c222d; overflow: hidden; }
.meter i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--accent);
  animation: load 2.4s ease-in-out infinite;
}
.orbit {
  position: absolute;
  inset: 30px 20px;
  border: 1px dashed rgba(140, 199, 250, 0.35);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
.orbit::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: floaty 6.5s ease-in-out infinite;
}
.float-card b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
}
.card-pair { left: 0; top: 36px; }
.card-vpn { right: 0; bottom: 0; animation-delay: -2s; }

.needs, .guide, .route, footer { position: relative; z-index: 1; padding-left: 7vw; padding-right: 7vw; }

.maker {
  position: relative;
  z-index: 1;
  margin: 28px 7vw 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: 28px;
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(140, 199, 250, 0.16), transparent 70%),
    rgba(16, 19, 26, 0.9);
  border: 1px solid rgba(140, 199, 250, 0.22);
  box-shadow: var(--shadow);
}
.maker h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.maker p { margin: 0 0 16px; color: #c5cedb; max-width: 52ch; }
.pair-go, .ota {
  display: inline-flex;
  align-items: center;
  margin: 6px 0 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 40px rgba(140, 199, 250, 0.2);
}
.cta-row .ota { margin: 0; }
.paths {
  position: relative;
  z-index: 1;
  margin: 36px 7vw 0;
}
.paths h2 {
  margin: 0 0 22px;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.path-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(12px);
}
.path-grid h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.path-grid .kicker { margin-bottom: 8px; }
.pair-status {
  color: var(--accent-2);
  font-size: 14px;
}
.maker-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.maker-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.maker-steps b {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.maker-steps span { color: var(--text); font-size: 15px; }
.needs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.needs article, .step .body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(12px);
}
.needs h2, .step h3, .route h2, .guide-head h2 { letter-spacing: -0.03em; }
.needs h2 { margin: 0 0 8px; font-size: 20px; }
.needs p, .step p { margin: 0 0 12px; color: #c5cedb; }
.needs p:last-child, .step p:last-child { margin-bottom: 0; }

.guide { padding-top: 72px; }
.guide-head h2 { margin: 0 0 28px; font-size: clamp(32px, 4vw, 52px); max-width: 16ch; font-family: var(--serif); font-weight: 400; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  opacity: 0;
  transform: translateY(24px);
}
.step.in { animation: rise 0.7s ease forwards; }
.step:nth-child(2).in { animation-delay: 0.05s; }
.index {
  display: flex;
  justify-content: center;
}
.index span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #10131a;
  font-family: var(--serif);
  font-size: 26px;
}
.sub { margin: 8px 0 14px; padding-left: 18px; color: #d5dbe6; }
.sub li { margin: 0 0 8px; }
.sub li::marker { color: var(--accent); }
.note {
  color: var(--muted) !important;
  font-size: 14px;
}

.route { padding-top: 84px; padding-bottom: 40px; }
.route h2 { margin: 0 0 22px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); }
.route-track {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr 48px 1fr;
  align-items: center;
  gap: 8px;
}
.node {
  padding: 18px 14px;
  border-radius: 18px;
  background: #12151c;
  border: 1px solid var(--line);
}
.node b, .node span { display: block; }
.node span { color: var(--muted); font-size: 13px; }
.node-end { background: linear-gradient(180deg, rgba(140,199,250,0.2), #12151c); }
.wire { height: 2px; background: rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.wire i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: travel 2.8s linear infinite;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
footer div { display: flex; gap: 12px; align-items: center; }
footer strong { color: var(--text); }
footer p { margin: 0; font-size: 14px; }

@keyframes drift {
  50% { transform: translate3d(4vw, 3vh, 0) scale(1.08); }
}
@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}
@keyframes floaty {
  50% { transform: translateX(-50%) translateY(-10px); }
}
.float-card { animation-name: bob; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cycle {
  0%, 26% { opacity: 1; }
  33%, 100% { opacity: 0; }
}
@keyframes load {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(280%); }
}
@keyframes travel { to { transform: translateX(280%); } }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav nav { display: none; }
  .hero, .needs, .maker, .route-track, .path-grid { grid-template-columns: 1fr; }
  .maker, .paths { margin: 18px 16px 0; }
  .maker { padding: 22px; }
  .hero { padding-top: 18px; }
  .stage {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .orbit { display: none; }
  .phone {
    position: relative;
    inset: auto;
    left: auto;
    width: min(250px, 78vw);
    height: 470px;
    transform: none;
    animation: none;
    margin-top: 8px;
  }
  .float-card { display: none; }
  .route-track { gap: 10px; }
  .wire { height: 28px; width: 2px; justify-self: center; }
  .wire i { width: 2px; height: 40%; animation-name: drop; }
  .step { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
}
@keyframes drop { to { transform: translateY(220%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .pane-a { opacity: 1; }
  .step { opacity: 1; transform: none; }
}
