:root {
  color-scheme: dark;
  --bg: #070b1a;
  --bg-2: #0b1226;
  --panel: #0d1428;
  --line: #1e2a4a;
  --text: #f2f6ff;
  --muted: #8c9ab8;
  --cyan: #9b6dff;
  --violet: #9b6dff;
  --blue: #6d28d9;
  --coral: #c084fc;
  --green: #22c55e;
  --amber: #ffb020;
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(900px 500px at 12% -5%, rgba(155, 109, 255, 0.16), transparent 65%), var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan);
  color: #ffffff;
  padding: 10px 14px;
  z-index: 99;
}
.skip:focus { left: 12px; top: 12px; }

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }

.nav nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--text); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
}
.cta:hover { text-decoration: none; filter: brightness(1.05); }
.cta.small { padding: 9px 14px; font-size: 13px; }

.ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.ghost:hover { border-color: rgba(95, 227, 255, 0.45); text-decoration: none; }

main { max-width: var(--max); margin: 0 auto; padding: 0 24px 80px; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 56px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 16px;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.lede {
  margin: 0 0 26px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

.facts {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.facts li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 8px;
  vertical-align: 1px;
}

.hero-shot { position: relative; display: flex; justify-content: center; }
.hero-glow {
  position: absolute;
  inset: 12% 10%;
  background: radial-gradient(circle, rgba(95, 227, 255, 0.28), transparent 65%);
  filter: blur(40px);
  z-index: -1;
}

.phone {
  width: min(320px, 100%);
  padding: 10px;
  border-radius: 46px;
  background: #03050d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.phone img { width: 100%; height: 620px; object-fit: cover; object-position: top; border-radius: 37px; }
.phone.small { width: 240px; padding: 8px; border-radius: 34px; }
.phone.small img { height: 500px; border-radius: 28px; }

.flow-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 20, 40, 0.72);
  margin-bottom: 72px;
}

.flow-node {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.flow-node .label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 6px;
}
.flow-node strong { display: block; font-size: 16px; }
.flow-node small { color: var(--muted); font-size: 12px; }

.flow-link {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  position: relative;
}
.flow-link::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
}

section { margin-bottom: 72px; }

h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-lede {
  margin: 0 0 28px;
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step, .card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.num {
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.step h3, .card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.step p, .card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tag {
  display: inline-block;
  font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  padding: 5px 7px;
  border-radius: 5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}
.tag.violet { color: var(--cyan); background: rgba(155, 109, 255, 0.12); }
.tag.green { color: var(--green); background: rgba(34, 197, 94, 0.1); }
.tag.amber { color: var(--amber); background: rgba(255, 176, 32, 0.1); }
.tag.coral { color: var(--coral); background: rgba(255, 122, 89, 0.1); }

.rail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: center;
}

.screen { margin: 0; }
.screen figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.host-shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: 14px; max-width: 760px; }

footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.foot-brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.foot-brand img { border-radius: 6px; }
.foot-inner nav { display: flex; gap: 18px; }
.foot-inner nav a { color: var(--muted); }
.foot-note { margin: 0 0 0 auto; }

/* Content pages */
.page { max-width: 820px; padding-top: 40px; }
.page h1 { font-size: clamp(38px, 5vw, 60px); }
.page-lede { color: var(--muted); font-size: 18px; margin: 0 0 8px; }
.muted { color: var(--muted); font-size: 13px; }
.page h2 { font-size: 24px; margin-top: 36px; }
.page h3 { margin-top: 24px; }
.page p, .page li { color: #c7d0e3; font-size: 15px; line-height: 1.7; }
.page table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.page th, .page td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px; font-size: 14px; }
.page th { color: var(--muted); font-weight: 600; }
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0 8px;
}
.contact > div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.contact h2 { margin-top: 0; font-size: 20px; }
.contact ul { margin: 8px 0 0; padding-left: 18px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-shot { order: -1; }
  .steps, .grid { grid-template-columns: 1fr 1fr; }
  .rail { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { flex-wrap: wrap; }
  .nav nav { gap: 12px; flex-wrap: wrap; font-size: 13px; }
  .steps, .grid { grid-template-columns: 1fr; }
  .flow-strip { flex-direction: column; align-items: stretch; }
  .flow-link { width: 1px; height: 20px; margin: 0 auto; }
  .flow-link::after { right: auto; left: -3px; bottom: -3px; top: auto; }
  .contact { grid-template-columns: 1fr; }
  .foot-note { width: 100%; margin-left: 0; }
}
