:root {
  color-scheme: dark;
  --bg: #070708;
  --panel: #151517;
  --panel-2: #1d1d20;
  --line: #2a2a2e;
  --text: #ffffff;
  --muted: #a0a0a8;
  --soft: #cfcfd5;
  --yellow: #fee030;
  --yellow-2: #ffd500;
  --green: #3ddc84;
  --orange: #ffb020;
  --red: #ff5c5c;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, 100% - 36px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 10px; }

/* Шапка */
header.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 7, 8, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.bar { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand img { width: 34px; height: auto; }
nav.main { display: flex; gap: 2px; margin-left: 8px; }
nav.main > a, nav.main .dd > button {
  text-decoration: none; color: var(--soft); padding: 8px 11px; border-radius: 12px; font-weight: 600; font-size: 15px;
  background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
nav.main > a:hover, nav.main .dd > button:hover, nav.main a[aria-current="page"] { background: var(--panel); color: #fff; }
.dd { position: relative; }
.menu {
  position: absolute; left: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 230px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.menu a { display: block; text-decoration: none; padding: 9px 12px; border-radius: 10px; font-size: 15px; color: #fff; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--panel-2); color: var(--yellow); }
.spacer { flex: 1; }
.lang { position: relative; }
.lang button.pick, .burger {
  display: inline-flex; align-items: center; gap: 8px; background: var(--panel); color: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.lang .menu { left: auto; right: 0; min-width: 160px; }
.lang .menu button {
  width: 100%; text-align: left; background: none; border: 0; color: #fff; font: inherit; font-size: 15px;
  padding: 9px 12px; border-radius: 10px; cursor: pointer;
}
.lang .menu button:hover, .lang .menu button[aria-current="true"] { background: var(--panel-2); }
.lang .menu button[aria-current="true"] { color: var(--yellow); font-weight: 700; }
.burger { display: none; padding: 8px 10px; }
.mnav {
  display: none; border-top: 1px solid rgba(255, 255, 255, .06); background: #0c0c0e; padding: 10px 18px 16px;
}
.mnav a { display: block; padding: 11px 6px; text-decoration: none; color: var(--soft); font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.mnav a[aria-current="page"] { color: var(--yellow); }
.mnav.open { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 800;
  border-radius: 14px; padding: 12px 20px; border: 0; cursor: pointer; font-size: 16px; font-family: inherit;
}
.btn.primary { background: var(--yellow); color: #111; box-shadow: 0 10px 30px rgba(254, 224, 48, .18); }
.btn.primary:hover { background: var(--yellow-2); }
.btn.ghost { background: var(--panel); color: #fff; border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--panel-2); }
.btn.small { padding: 9px 16px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn.block { width: 100%; }

/* Общие блоки */
section { padding: 36px 0; }
.card { background: var(--panel); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(255, 255, 255, .04); }
h1 { margin: 16px 0 14px; font-size: clamp(34px, 5.2vw, 56px); line-height: 1.06; letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--yellow); }
h2 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.005em; }
h3 { margin: 0 0 10px; font-size: 20px; }
.sub { margin: 0 0 22px; color: var(--soft); }
.lead { margin: 0 0 24px; font-size: 19px; color: var(--soft); max-width: 36em; }
.muted { color: var(--muted); }
.page-head { padding: 52px 0 12px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 140%;
  background: radial-gradient(520px 260px at 80% 30%, rgba(254, 224, 48, .12), transparent 70%); pointer-events: none;
}
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 48px); margin-top: 12px; }
.demo-note {
  display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 176, 32, .08); border: 1px solid rgba(255, 176, 32, .3);
  color: #ffd58a; border-radius: 16px; padding: 14px 16px; font-size: 15px; margin: 0 0 22px;
}
.demo-note b { color: #ffb020; }
.badge-beta {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--yellow);
  background: rgba(254, 224, 48, .08); border: 1px solid rgba(254, 224, 48, .25); padding: 6px 12px; border-radius: 999px;
}
.badge-beta i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .03em; padding: 3px 9px; border-radius: 99px;
  background: rgba(254, 224, 48, .1); color: var(--yellow); vertical-align: middle;
}
.tag.ok { background: rgba(61, 220, 132, .12); color: var(--green); }
.tag.test { background: rgba(254, 224, 48, .12); color: var(--yellow); }
.tag.wip { background: rgba(255, 176, 32, .13); color: var(--orange); }
.tag.plan { background: rgba(160, 160, 168, .14); color: #c8c8ce; }
.grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 760px) and (max-width: 979px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
ul.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--soft); }
ul.ticks li { padding-left: 24px; position: relative; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--yellow); border-bottom: 2.5px solid var(--yellow); transform: rotate(-45deg);
}
ul.ticks li.no { color: var(--muted); }
ul.ticks li.no::before { border: 0; width: 10px; height: 2.5px; background: #666; transform: none; top: .75em; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(254, 224, 48, .1); color: var(--yellow); flex: none; }
.ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile { background: var(--panel); border-radius: 20px; padding: 22px; border: 1px solid rgba(255, 255, 255, .04); display: flex; flex-direction: column; gap: 10px; }
.tile h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 19px; }
.tile p { margin: 0; color: var(--soft); font-size: 16px; }
.tile .tag { margin-left: auto; }

/* Герой главной */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%;
  background: radial-gradient(520px 320px at 78% 30%, rgba(254, 224, 48, .16), transparent 70%),
              radial-gradient(420px 300px at 15% 10%, rgba(61, 220, 132, .08), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 38px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--soft); font-size: 15px; }
.facts li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 18.5; border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, #26262a, #0e0e10); border: 1px solid #34343a;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .02);
}
.screen { height: 100%; border-radius: 30px; background: #070708; padding: 22px 16px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; border: 1px solid #1c1c20; }
.screen .title { text-align: center; font-weight: 800; letter-spacing: .06em; font-size: 14px; }
.loc { display: flex; align-items: center; gap: 10px; background: var(--panel); border-radius: 14px; padding: 9px 12px; font-size: 13px; }
.chip { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 800; font-size: 13px; background: rgba(254, 224, 48, .12); color: var(--yellow); flex: none; }
.loc b { display: block; font-size: 14px; }
.loc span { color: var(--muted); font-size: 12px; }
.orb-wrap { flex: 1; display: grid; place-items: center; position: relative; }
.orb {
  position: relative; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #1b1b1f, #0b0b0d); box-shadow: 0 0 0 3px var(--green), 0 0 40px rgba(61, 220, 132, .35);
}
.orb img { width: 62px; }
.orb::before, .orb::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(61, 220, 132, .55); animation: wave 2.8s ease-out infinite; }
.orb::after { animation-delay: 1.4s; }
@keyframes wave { from { transform: scale(1); opacity: .8; } to { transform: scale(1.55); opacity: 0; } }
.state { text-align: center; font-weight: 800; color: var(--green); font-size: 15px; }
.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.meters div { background: var(--panel); border-radius: 12px; padding: 8px 10px; font-size: 11px; color: var(--muted); }
.meters b { display: block; color: #fff; font-size: 14px; }
.split-row { display: flex; align-items: center; justify-content: space-between; background: var(--panel); border-radius: 14px; padding: 9px 12px; font-size: 12px; }
.switch { width: 36px; height: 20px; border-radius: 99px; background: var(--yellow); position: relative; }
.switch::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #111; }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.plat { display: inline-flex; align-items: center; gap: 9px; background: var(--panel-2); border: 1px solid var(--line); padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; }
a.plat:hover { border-color: var(--yellow); }
.plat svg { width: 20px; height: 20px; fill: currentColor; }
.plat small { color: var(--muted); font-weight: 600; font-size: 12px; }
.plat.soon { color: var(--soft); }
.params { display: grid; gap: 12px; }
@media (min-width: 760px) { .params { grid-template-columns: repeat(4, 1fr); } }
.param { background: var(--panel-2); border-radius: 18px; padding: 18px; }
.param b { display: block; font-size: 23px; color: var(--yellow); line-height: 1.15; margin-bottom: 4px; overflow-wrap: anywhere; }
.param span { color: var(--soft); font-size: 15px; }
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--panel-2); border-radius: 18px; padding: 20px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: #111; font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--soft); font-size: 16px; }
.dl { display: grid; gap: 14px; }
@media (min-width: 760px) { .dl { grid-template-columns: 1fr 1fr; } }
.dl article { background: var(--panel-2); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.dl h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; }
.ver { color: var(--yellow); font-weight: 800; }
.dl .meta { margin: 0; font-size: 14px; color: var(--muted); }
.dl p.nt { margin: 0; color: var(--soft); font-size: 16px; }
.dl ol { margin: 4px 0 10px; padding-left: 20px; color: var(--soft); font-size: 16px; display: grid; gap: 4px; }
.dl .btn { margin-top: auto; }
.warn { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.faq details { background: var(--panel-2); border-radius: 16px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--yellow); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--soft); font-size: 16px; }
.faq details ol, .faq details ul { margin: 0 0 16px; padding-left: 20px; color: var(--soft); font-size: 16px; display: grid; gap: 5px; }

/* Цены */
.pcard { background: var(--panel); border-radius: 24px; padding: 26px; border: 1px solid rgba(255, 255, 255, .05); display: flex; flex-direction: column; gap: 12px; position: relative; }
.pcard.hot { border-color: rgba(254, 224, 48, .55); box-shadow: 0 20px 60px rgba(254, 224, 48, .08); }
.pcard .ribbon { position: absolute; top: -12px; left: 22px; background: var(--yellow); color: #111; font-weight: 800; font-size: 12px; padding: 4px 12px; border-radius: 99px; }
.pcard h3 { margin: 0; font-size: 21px; }
.price { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.pcard .per { color: var(--muted); font-size: 14px; margin-top: -6px; }
.pcard ul { margin-bottom: 8px; }
.pcard .btn { margin-top: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th, .tbl td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--muted); font-weight: 700; font-size: 14px; }
.tbl td:first-child { color: var(--soft); }
.scroll-x { overflow-x: auto; }

/* Формы */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--panel-2); color: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.result { margin-top: 14px; border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.result.info { background: rgba(254, 224, 48, .08); border: 1px solid rgba(254, 224, 48, .25); color: #f3e68a; }
.result.good { background: rgba(61, 220, 132, .08); border: 1px solid rgba(61, 220, 132, .3); color: #9cf0c0; }
.result.bad { background: rgba(255, 92, 92, .08); border: 1px solid rgba(255, 92, 92, .3); color: #ffb0b0; }

.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 15px; color: var(--soft); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--yellow); flex: none; }
.check a { color: var(--yellow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Мой IP */
.ipbox { text-align: center; padding: 38px 22px; }
.ipval { font-size: clamp(30px, 6vw, 54px); font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; margin: 6px 0 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; border-radius: 99px; padding: 7px 14px; font-weight: 700; font-size: 15px; background: var(--panel-2); }
.status i { width: 10px; height: 10px; border-radius: 50%; background: #777; }
.status.on { color: var(--green); background: rgba(61, 220, 132, .1); }
.status.on i { background: var(--green); box-shadow: 0 0 12px var(--green); }
.status.off { color: var(--orange); background: rgba(255, 176, 32, .1); }
.status.off i { background: var(--orange); }
dl.kv { margin: 22px 0 0; display: grid; gap: 0; text-align: left; }
dl.kv div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }

/* Подвал */
footer.foot-wrap { margin-top: 24px; padding: 34px 0 48px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--muted); font-size: 15px; }
.foot { display: grid; gap: 22px; }
@media (min-width: 860px) { .foot { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
footer h4 { margin: 0 0 10px; color: #fff; font-size: 15px; }
footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
footer a { text-decoration: none; color: var(--soft); }
footer a:hover { color: var(--yellow); }
.legal { margin-top: 22px; font-size: 13px; }

/* Кабинет */
.cab { display: grid; gap: 18px; padding: 28px 0 10px; }
@media (min-width: 900px) { .cab { grid-template-columns: 240px 1fr; align-items: start; } }
.side { background: var(--panel); border-radius: 22px; padding: 14px; display: grid; gap: 4px; position: sticky; top: 84px; }
.side button {
  display: flex; align-items: center; gap: 10px; text-align: left; width: 100%; background: none; border: 0; color: var(--soft);
  font: inherit; font-weight: 600; font-size: 16px; padding: 11px 12px; border-radius: 12px; cursor: pointer;
}
.side button:hover { background: var(--panel-2); color: #fff; }
.side button[aria-current="true"] { background: rgba(254, 224, 48, .1); color: var(--yellow); }
.side svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 899px) { .side { position: static; grid-auto-flow: column; overflow-x: auto; } .side button { white-space: nowrap; } }
.panelx { display: none; gap: 14px; }
.panelx.on { display: grid; }
.stat { background: var(--panel); border-radius: 18px; padding: 18px; }
.stat span { display: block; color: var(--muted); font-size: 14px; }
.stat b { display: block; font-size: 26px; margin-top: 2px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 10px; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--yellow), rgba(254, 224, 48, .25)); border-radius: 8px 8px 3px 3px; min-height: 6px; }
.devrow { display: flex; align-items: center; gap: 14px; background: var(--panel); border-radius: 16px; padding: 14px 16px; }
.devrow .meta { flex: 1; min-width: 0; }
.devrow b { display: block; }
.devrow span { color: var(--muted); font-size: 14px; }
.codebox { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--panel-2); border-radius: 14px; padding: 14px 16px; font-family: ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.progress { height: 12px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--green)); border-radius: 99px; }
.login { max-width: 460px; margin: 40px auto; }

.brand span, nav.main > a, nav.main .dd > button, .bar .btn, .lang button.pick { white-space: nowrap; }
@media (max-width: 1100px) {
  nav.main { display: none; }
  .burger { display: inline-flex; }
  .hide-sm { display: none; }
}
@media (max-width: 520px) { .hide-xs { display: none; } .bar { gap: 8px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb::before, .orb::after { animation: none; opacity: 0; }
}
