:root {
  --ink: #0b0e1a;
  --ink-2: #111629;
  --surface: #161d33;
  --surface-2: #1d2742;
  --line: #27314f;
  --text: #eef1fb;
  --muted: #9aa3c2;
  --faint: #6b7399;
  --live: #ff2e63;
  --live-soft: rgba(255, 46, 99, 0.14);
  --on: #3be0b0;
  --on-soft: rgba(59, 224, 176, 0.14);
  --radius: 14px;
  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Bricolage Grotesque", var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  padding: 0.92rem 1.5rem; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-live { background: var(--live); color: #fff; }
.btn-live:hover { background: #ff175a; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--faint); background: var(--surface); }
.btn-plain { color: var(--text); background: var(--surface); border-color: var(--line); }
.btn-plain:hover { background: var(--surface-2); }

/* ---------- top bar ---------- */
header.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 14, 26, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 1.6rem; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px var(--live-soft); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px var(--live-soft); } 50% { box-shadow: 0 0 0 7px transparent; } }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; font-size: 0.95rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 0.7rem; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }
@media (max-width: 920px) {
  .nav-links, .nav-cta .hide-sm { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; } }
.tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--on); background: var(--on-soft); border: 1px solid rgba(59, 224, 176, 0.3); padding: 0.4rem 0.8rem; border-radius: 99px; margin-bottom: 1.4rem; }
.tag .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--on); }
.hero h1 span.flow { color: var(--live); }
.hero-sub { font-size: 1.16rem; color: var(--muted); max-width: 34ch; margin: 1.4rem 0 2rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-meta div { display: grid; gap: 0.1rem; }
.hero-meta b { font-family: var(--display); font-size: 1.5rem; }
.hero-meta small { color: var(--faint); font-size: 0.85rem; }

/* signal diagram */
.signal { background: linear-gradient(160deg, var(--surface) 0%, var(--ink-2) 100%); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; position: relative; overflow: hidden; }
.signal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.signal-head span { font-size: 0.8rem; color: var(--faint); }
.signal-head .onair { color: var(--live); font-weight: 600; display: flex; align-items: center; gap: 0.4rem; }
.signal-head .onair i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); display: inline-block; animation: pulse 1.6s infinite; }
.signal svg { width: 100%; height: auto; }
.wire { stroke: var(--line); stroke-width: 2; fill: none; }
.pkt { fill: var(--live); }
.pkt.ok { fill: var(--on); }
.node { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.5; }
.node.main { stroke: var(--live); }
.node-ic { fill: var(--muted); }
.node-lbl { fill: var(--faint); font-size: 9px; font-family: var(--font); }
@media (prefers-reduced-motion: reduce) { .pkt { display: none; } }

/* ---------- sections ---------- */
section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.sec-head { max-width: 46ch; margin-bottom: 2.6rem; }
.sec-head p { color: var(--muted); font-size: 1.08rem; margin-top: 0.8rem; }
.eyebrow { color: var(--live); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.6rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 920px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feature .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--live-soft); display: grid; place-items: center; margin-bottom: 1rem; color: var(--live); }
.feature h3 { margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: relative; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--display); font-size: 2.3rem; color: var(--live); opacity: 0.35; line-height: 1; }
.step h3 { margin: 0.6rem 0 0.4rem; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.8rem; display: grid; gap: 1.1rem; }
.plan.featured { border-color: var(--live); box-shadow: 0 0 0 1px var(--live), 0 20px 50px -20px var(--live-soft); position: relative; }
.plan.featured .pop { position: absolute; top: -12px; left: 1.8rem; background: var(--live); color: #fff; font-size: 0.74rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 99px; }
.plan .name { font-family: var(--display); font-size: 1.4rem; }
.plan .price { display: flex; align-items: baseline; gap: 0.4rem; }
.plan .price b { font-family: var(--display); font-size: 2.6rem; }
.plan .price span { color: var(--faint); font-size: 0.95rem; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.plan li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: var(--muted); }
.plan li svg { flex-shrink: 0; color: var(--on); margin-top: 2px; }
.plan .btn { width: 100%; justify-content: center; }
.plans-note { color: var(--faint); font-size: 0.92rem; margin-top: 1.4rem; text-align: center; }

/* addons */
.addons { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.addon { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 0.55rem 1.1rem; font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.addon b { color: var(--text); font-weight: 600; }

/* faq */
.faq { display: grid; gap: 0.7rem; max-width: 820px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.3rem; }
details summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--live); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "\2013"; }
details p { color: var(--muted); font-size: 0.96rem; padding-bottom: 1.1rem; margin: 0; }

/* contact / cta band */
.band { background: linear-gradient(140deg, var(--surface-2), var(--ink-2)); border: 1px solid var(--line); border-radius: 20px; padding: clamp(2rem, 5vw, 3.4rem); text-align: center; }
.band h2 { margin-bottom: 0.8rem; }
.band p { color: var(--muted); max-width: 48ch; margin: 0 auto 1.8rem; }
.band .hero-actions { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; color: var(--muted); font-size: 0.9rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.foot-grid a { color: var(--muted); display: block; margin-bottom: 0.5rem; }
.foot-grid a:hover { color: var(--text); }
.foot-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin: 0 0 0.9rem; font-family: var(--font); font-weight: 700; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--faint); }

/* legal page */
.legal { max-width: 780px; margin: 0 auto; padding: 3rem 0 4rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.4rem; }
.legal .updated { color: var(--faint); margin-bottom: 2.4rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 0.7rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--on); }
