:root {
  --bg: #07090d;
  --bg2: #0c1118;
  --panel: #111823;
  --line: #1d2734;
  --text: #eaf0f6;
  --muted: #93a1b1;
  --dim: #5f6d7d;
  --accent: #5b8cff;
  --accent2: #8bb0ff;
  --live: #ff4d4f;
  --amber: #ffb020;
  --radius: 16px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 .4em; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 650; }
p { margin: 0 0 1em; color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); margin-bottom: 14px; }
.section { padding: 110px 0; }
.section.tight { padding: 70px 0; }
.center { text-align: center; }
.lead { font-size: 19px; max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 9, 13, .82); backdrop-filter: blur(12px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; margin-left: 18px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav .spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 650; font-size: 15px; border: 1px solid var(--line); color: var(--text); background: var(--panel); cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { text-decoration: none; background: #172030; transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 30px rgba(91, 140, 255, .35); }
.btn.primary:hover { background: #4877ee; }
.btn.ghost { background: transparent; }
.btn.lg { padding: 15px 26px; font-size: 16px; border-radius: 12px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }
@media (max-width: 920px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg2); border-bottom: 1px solid var(--line); margin: 0; padding: 8px 24px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .nav .btn.ghost { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 900px; background: radial-gradient(600px 380px at 20% 30%, rgba(91, 140, 255, .28), transparent 70%), radial-gradient(520px 340px at 85% 20%, rgba(255, 77, 79, .18), transparent 70%); pointer-events: none; }
.hero .grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { background: linear-gradient(90deg, #fff, #9db8ff 60%, #ff8a8b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero .proto { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 13px; color: var(--muted); font-weight: 600; }
.pill b { color: var(--text); }
.price-tag { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 6px; color: var(--muted); }
.price-tag b { font-size: 28px; color: #fff; }
@media (max-width: 980px) { .hero .grid { grid-template-columns: 1fr; } .hero { padding-top: 120px; } }

/* on-air TV mock */
.tv { position: relative; border-radius: 18px; padding: 10px; background: linear-gradient(160deg, #1b2433, #0b0f15); border: 1px solid #263243; box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02) inset; }
.screen { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; container-type: inline-size; }
.screen .bgv { position: absolute; inset: 0; background: linear-gradient(115deg, #0e2d6b 0%, #3a1f6e 35%, #8a2463 65%, #f0782d 100%); animation: hue 18s linear infinite; }
.screen .bgv::after { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 50% at 70% 40%, rgba(255, 255, 255, .25), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px); }
@keyframes hue { to { filter: hue-rotate(360deg); } }
.screen .onair { position: absolute; top: 5cqw; left: 4cqw; display: flex; align-items: center; gap: 1cqw; background: var(--live); color: #fff; font-weight: 800; font-size: 2.2cqw; letter-spacing: .12em; padding: .7cqw 1.4cqw; border-radius: .6cqw; }
.screen .onair i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.screen .clock { position: absolute; top: 5cqw; right: 4cqw; font: 700 3.2cqw/1 'JetBrains Mono', monospace; color: #fff; text-shadow: 0 .2cqw .4cqw rgba(0, 0, 0, .6); }
.screen .logo-bug { position: absolute; top: 12cqw; right: 4cqw; font-weight: 900; font-size: 4.4cqw; color: #fff; opacity: .9; letter-spacing: -.04em; }
.screen .logo-bug em { font-style: normal; color: var(--live); }
.screen .lower { position: absolute; left: 4cqw; bottom: 13cqw; display: flex; flex-direction: column; gap: .6cqw; }
.screen .lower .t1 { background: var(--accent); color: #fff; font-weight: 800; font-size: 2.6cqw; padding: .6cqw 1.4cqw; border-radius: .3cqw; align-self: flex-start; }
.screen .lower .t2 { background: rgba(0, 0, 0, .7); color: #fff; font-size: 2cqw; padding: .5cqw 1.4cqw; border-radius: .3cqw; align-self: flex-start; }
.screen .ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 8cqw; display: flex; align-items: center; background: #c1121f; overflow: hidden; }
.screen .ticker .lbl { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding: 0 2cqw; background: #fff; color: #c1121f; font-weight: 900; font-size: 2.4cqw; letter-spacing: .06em; }
.screen .ticker .run { white-space: nowrap; color: #fff; font-weight: 700; font-size: 2.6cqw; animation: run 26s linear infinite; padding-left: 100%; }
@keyframes run { to { transform: translateX(-100%); } }
.tv-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.tv-meta .pill { background: #0d131c; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; }

/* ---------- stream 24x7 strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip .cell { padding: 28px 24px; border-right: 1px solid var(--line); }
.strip .cell:last-child { border-right: 0; }
.strip .k { font-size: 30px; font-weight: 800; }
.strip .v { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .strip .wrap { grid-template-columns: repeat(2, 1fr); } .strip .cell:nth-child(2) { border-right: 0; } }

/* ---------- workflow ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; position: relative; }
.flow .step { position: relative; padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.flow .num { font: 700 13px 'JetBrains Mono', monospace; color: var(--accent2); }
.flow .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(91, 140, 255, .12); color: var(--accent2); margin: 14px 0 18px; }
.flow .ic svg { width: 26px; height: 26px; }
.flow .step:not(:last-child)::after { content: '→'; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 22px; z-index: 2; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow .step::after { display: none; } }

/* ---------- features ---------- */
.feat-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 54px; }
.feat { padding: 32px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), #0e141d); border: 1px solid var(--line); position: relative; overflow: hidden; }
.feat .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.feat .ic svg { width: 24px; height: 24px; }
.feat ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feat li { color: var(--muted); font-size: 15px; padding-left: 24px; position: relative; }
.feat li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 10px; height: 6px; border-left: 2px solid var(--accent2); border-bottom: 2px solid var(--accent2); transform: rotate(-45deg); }
.c-blue { background: rgba(91, 140, 255, .14); color: var(--accent2); }
.c-red { background: rgba(255, 77, 79, .14); color: #ff8a8b; }
.c-amber { background: rgba(255, 176, 32, .14); color: var(--amber); }
.c-green { background: rgba(47, 191, 113, .14); color: #6fe0a2; }
.feat-more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.mini { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2); }
.mini h4 { font-size: 16px; margin-bottom: 6px; }
.mini p { font-size: 14px; margin: 0; }
@media (max-width: 980px) { .feat-main { grid-template-columns: 1fr; } .feat-more { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-more { grid-template-columns: 1fr; } }

/* ---------- about / how ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about .stat { padding: 26px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.about .stat b { display: block; font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.about .stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.timeline { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.timeline .t { padding: 26px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); position: relative; }
.timeline .t::before { counter-increment: s; content: 'STEP ' counter(s); font: 700 12px 'JetBrains Mono', monospace; color: var(--accent2); display: block; margin-bottom: 10px; }
.timeline .t p { font-size: 15px; margin: 0; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- policy ---------- */
.policy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.policy .box { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.policy ul { margin: 0; padding-left: 20px; color: var(--muted); }
.policy li { margin-bottom: 10px; }
.policy .cards { display: grid; gap: 14px; }
.policy .card { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2); }
.policy .card h4 { margin-bottom: 4px; }
.policy .card p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .policy { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.cur-switch { display: inline-flex; padding: 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); margin-top: 18px; }
.cur-switch button { border: 0; background: none; color: var(--muted); font: 600 14px Inter, sans-serif; padding: 8px 16px; border-radius: 7px; cursor: pointer; }
.cur-switch button.on { background: var(--panel); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan { padding: 34px 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.plan.rec { border-color: var(--accent); background: linear-gradient(180deg, rgba(91, 140, 255, .14), var(--panel) 45%); box-shadow: 0 30px 80px rgba(91, 140, 255, .18); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; letter-spacing: .04em; }
.plan .amt { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 2px; }
.plan .amt small { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; flex: 1; }
.plan li { padding-left: 26px; position: relative; color: var(--muted); font-size: 15px; }
.plan li b { color: var(--text); }
.plan li::before { content: ''; position: absolute; left: 3px; top: 8px; width: 11px; height: 6px; border-left: 2px solid #6fe0a2; border-bottom: 2px solid #6fe0a2; transform: rotate(-45deg); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 650; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 24px; color: var(--accent2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; }
.faq .help { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); position: sticky; top: 100px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .help { position: static; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact .info { display: grid; gap: 14px; align-content: start; }
.contact .item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.contact .item .ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.contact .item .ic svg { width: 20px; height: 20px; }
.contact .item h4 { margin: 0 0 2px; font-size: 15px; }
.contact .item p { margin: 0; font-size: 15px; }
form.cf { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); display: grid; gap: 14px; }
form.cf .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.cf label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
form.cf input, form.cf textarea { background: var(--bg2); border: 1px solid #263243; color: var(--text); border-radius: 10px; padding: 12px 14px; font: inherit; outline: none; }
form.cf input:focus, form.cf textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91, 140, 255, .2); }
form.cf textarea { min-height: 130px; resize: vertical; }
.form-msg { font-size: 14px; padding: 10px 14px; border-radius: 10px; display: none; }
.form-msg.ok { display: block; background: rgba(47, 191, 113, .12); color: #7ee2a8; border: 1px solid rgba(47, 191, 113, .35); }
.form-msg.err { display: block; background: rgba(255, 77, 79, .1); color: #ffb3b4; border: 1px solid rgba(255, 77, 79, .35); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } form.cf .two { grid-template-columns: 1fr; } }

/* ---------- CTA band + footer ---------- */
.band { margin: 0 auto; padding: 60px; border-radius: 24px; background: radial-gradient(500px 200px at 15% 0%, rgba(91, 140, 255, .35), transparent 70%), radial-gradient(400px 200px at 90% 100%, rgba(255, 77, 79, .25), transparent 70%), var(--panel); border: 1px solid #243042; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.band h2 { margin: 0; flex: 1; min-width: 280px; }
footer { border-top: 1px solid var(--line); padding: 60px 0 40px; margin-top: 110px; color: var(--muted); font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
footer h5 { color: var(--text); font-size: 14px; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: var(--muted); }
footer .bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr 1fr; } }
.wa { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: none; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); z-index: 60; }
.wa svg { width: 30px; height: 30px; }
.wa.show { display: grid; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .screen .ticker .run, .screen .bgv { animation: none; } }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding-top: 120px; }
.docs aside { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.docs aside h5 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 18px 0 8px; }
.docs aside a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--muted); font-size: 14.5px; }
.docs aside a:hover, .docs aside a.on { background: var(--panel); color: var(--text); text-decoration: none; }
.docs article h2 { font-size: 30px; margin-top: 56px; padding-top: 10px; }
.docs article h3 { margin-top: 30px; }
.docs article p, .docs article li { color: #b5c1ce; }
.docs article ul, .docs article ol { padding-left: 22px; }
.docs article li { margin-bottom: 6px; }
.docs .note { padding: 16px 20px; border-radius: 12px; background: rgba(91, 140, 255, .08); border: 1px solid rgba(91, 140, 255, .3); margin: 18px 0; color: #c9d7f5; }
.docs .note.warn { background: rgba(255, 176, 32, .08); border-color: rgba(255, 176, 32, .3); color: #f5dca8; }
.docs table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.docs th, .docs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.docs th { color: var(--dim); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.docs code { background: var(--panel); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: 14px; }
.docs .search { width: 100%; background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; margin-bottom: 6px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } .docs aside { position: static; max-height: none; } }
.legal { padding-top: 130px; max-width: 820px; }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal p, .legal li { color: #b5c1ce; }
.logo span { white-space: nowrap; }
@media (max-width: 560px) {
  .nav .wrap { gap: 12px; }
  .nav .btn.primary { padding: 8px 12px; font-size: 13px; }
  .hero .cta .btn { width: 100%; }
}
.btn { white-space: nowrap; }
