/* ============================================================
   BratishkaCloud — Toxic Black Glitch
   Палитра и шрифт наследуются от lk.bratishka.store (кабинет):
   #050505 фон, #0a0a0a поверхность, #00ff41 акцент, #ff0050 ошибка,
   JetBrains Mono во всех ролях.
   ============================================================ */

:root {
  --ground: #050505;
  --surface: #0a0a0a;
  --surface-2: #101010;
  --line: #1b1b1b;
  --line-2: #292929;
  --toxic: #00ff41;
  --toxic-dim: #00cc33;
  --toxic-glow: rgba(0, 255, 65, .15);
  --danger: #ff0050;
  --text: #f0f0f0;
  --muted: #8a8a8a;
  --faint: #585858;

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shell: 1180px;
  --pad: clamp(18px, 4vw, 40px);
  --r: 14px;
  --r-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
  background: var(--ground);
  scrollbar-color: var(--line-2) transparent;
}

body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: .9rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: none;
}

/* Развёртка сканлайна поверх всего — как в кабинете. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  background: repeating-linear-gradient(transparent, transparent 2px, rgba(0,0,0,.035) 2px, rgba(0,0,0,.035) 4px);
}
@media (max-width: 1023px) { body::after { display: none; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--toxic);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--toxic); color: #050505;
  font-weight: 700; border-radius: 8px; transition: top .2s;
}
.skip:focus { top: 12px; }

/* Кубы — общий фон, ниже контента. */
#cubes {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%; pointer-events: none;
}
.nav, main, .foot { position: relative; z-index: 1; }

/* Волосок прогресса чтения. */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--toxic); z-index: 70;
  box-shadow: 0 0 12px rgba(0,255,65,.7);
}

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }

/* ─────────────── Типографика ─────────────── */

.eyebrow {
  font-size: .66rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .28em; color: var(--faint); margin-bottom: 20px;
}
.eyebrow__slash { color: var(--toxic); margin-right: .35em; }

.display {
  font-size: clamp(2.4rem, 6.4vw, 4.9rem);
  font-weight: 800; letter-spacing: -.045em; line-height: .96;
  margin-bottom: 26px;
}
.display span { display: block; }

.h2 {
  font-size: clamp(1.6rem, 3.3vw, 2.5rem);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.12;
}

.lede {
  font-size: clamp(.92rem, 1.25vw, 1.02rem);
  color: var(--muted); line-height: 1.78; max-width: 54ch;
}

.sub { color: var(--muted); margin-top: 14px; max-width: 62ch; }

.head { margin-bottom: clamp(34px, 5vw, 56px); }
.head .h2 { max-width: 20ch; }

.num, .price, .tbl td, .reg__lat b { font-variant-numeric: tabular-nums; }

/* Глитч — срабатывает редко, чтобы не мельтешило. */
.glitch { position: relative; display: inline-block; color: var(--toxic); }
.glitch::before, .glitch::after {
  content: attr(data-t); position: absolute; left: 0; top: 0;
  background: var(--ground); overflow: hidden; clip-path: inset(100% 0 100% 0);
}
.glitch::before { color: var(--danger); transform: translate(-3px, -1px); animation: gl-a 9s infinite; }
.glitch::after  { color: #00d5ff;      transform: translate(3px, 1px);  animation: gl-b 9s infinite; }
@keyframes gl-a {
  0%, 96%, 100% { clip-path: inset(100% 0 100% 0); }
  96.5% { clip-path: inset(18% 0 62% 0); }
  97.4% { clip-path: inset(68% 0 12% 0); }
  98.2% { clip-path: inset(38% 0 44% 0); }
}
@keyframes gl-b {
  0%, 96%, 100% { clip-path: inset(100% 0 100% 0); }
  96.8% { clip-path: inset(56% 0 28% 0); }
  97.8% { clip-path: inset(8% 0 74% 0); }
  98.6% { clip-path: inset(72% 0 8% 0); }
}

/* ─────────────── Кнопки ─────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s;
}
.btn--solid {
  background: var(--toxic); color: #050505; font-weight: 700;
  box-shadow: 0 0 0 rgba(0,255,65,0);
}
.btn--solid:hover {
  background: #2bff62; box-shadow: 0 0 26px rgba(0,255,65,.34); transform: translateY(-1px);
}
.btn--ghost {
  border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.014);
}
.btn--ghost:hover {
  border-color: rgba(0,255,65,.45); color: var(--toxic); background: rgba(0,255,65,.05);
}
.btn--sm { padding: 9px 15px; font-size: .74rem; }
.btn--lg { padding: 17px 30px; font-size: .9rem; }
.btn--full { width: 100%; margin-top: auto; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(0,255,65,.04);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--toxic);
  box-shadow: 0 0 8px var(--toxic); animation: beat 2.4s ease-in-out infinite;
}
@keyframes beat { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ─────────────── Шапка ─────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.is-stuck {
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__in { display: flex; align-items: center; gap: 22px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(0,255,65,.42)); }
.brand__name { font-weight: 700; letter-spacing: -.03em; font-size: .95rem; }
.brand__name-a { color: var(--toxic); }

.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  font-size: .78rem; color: var(--muted); position: relative; padding: 4px 0;
  transition: color .18s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--toxic); transition: width .24s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav__links + .nav__right { margin-left: 0; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: transform .22s, opacity .22s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

/* [hidden] обязан побеждать: у .mobnav задан display, а он перебивает
   браузерное [hidden]{display:none}, и меню висело раскрытым на десктопе. */
.mobnav[hidden] { display: none; }
.mobnav {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px var(--pad) 22px;
  background: rgba(5,5,5,.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.mobnav a { padding: 13px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .86rem; }
.mobnav__cta { color: var(--toxic) !important; border-bottom: 0 !important; font-weight: 600; }

/* ─────────────── Герой ─────────────── */

.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 90px); }
.hero__in {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 68px); align-items: start;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.facts {
  display: flex; flex-wrap: wrap; gap: 10px 32px;
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line);
}
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts b { font-size: .84rem; font-weight: 700; color: var(--toxic); letter-spacing: -.01em; }
.facts span { font-size: .7rem; color: var(--faint); letter-spacing: .04em; }

.load { opacity: 0; animation: rise .75s cubic-bezier(.16,.8,.3,1) forwards; animation-delay: calc(var(--d) * 75ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ─────────────── Подпись страницы: локальное шифрование ─────────────── */

.drop {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  overflow: hidden; box-shadow: 0 26px 70px rgba(0,0,0,.6);
}
.drop__chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012);
}
.drop__title { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.drop__badge {
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 999px;
  transition: color .2s, border-color .2s;
}
.drop__badge.is-live { color: var(--toxic); border-color: rgba(0,255,65,.45); }

.drop__zone {
  position: relative; margin: 16px; padding: 30px 20px; min-height: 292px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed var(--line-2); border-radius: var(--r-sm);
  background: rgba(0,255,65,.012);
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.drop__zone:hover { border-color: rgba(0,255,65,.4); background: rgba(0,255,65,.032); }
.drop__zone.is-over {
  border-color: var(--toxic); background: rgba(0,255,65,.07);
  box-shadow: inset 0 0 40px rgba(0,255,65,.09);
}
.drop__zone.is-busy { cursor: default; align-items: stretch; }

.drop__idle { text-align: center; color: var(--muted); pointer-events: none; }
.drop__arrow { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--toxic); opacity: .85; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.drop__lead { font-size: .92rem; font-weight: 600; color: var(--text); }
.drop__hint { font-size: .72rem; color: var(--faint); margin-top: 7px; }

.drop__work { width: 100%; }
.drop__file {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.drop__fname {
  font-size: .82rem; font-weight: 600; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.drop__fsize { font-size: .74rem; color: var(--toxic); flex-shrink: 0; font-variant-numeric: tabular-nums; }

.steps { margin: 14px 0 4px; }
.step {
  display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 10px;
  padding: 6px 0; font-size: .76rem; color: var(--faint);
  transition: color .25s;
}
.step i {
  width: 8px; height: 8px; border-radius: 50%; margin-left: 4px;
  border: 1.5px solid var(--line-2); transition: background .25s, border-color .25s, box-shadow .25s;
}
.step b { font-weight: 500; font-size: .72rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.step.is-run { color: var(--text); }
.step.is-run i { border-color: var(--toxic); animation: beat 1s infinite; }
.step.is-ok { color: var(--muted); }
.step.is-ok i { background: var(--toxic); border-color: var(--toxic); box-shadow: 0 0 10px rgba(0,255,65,.6); }
.step.is-ok b { color: var(--toxic); }

.shards { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0 14px; min-height: 14px; }
.shard {
  width: 14px; height: 14px; border-radius: 3px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.02);
  opacity: 0; transform: scale(.4);
  animation: pop .34s cubic-bezier(.2,1.4,.4,1) forwards;
}
.shard.is-sent { background: rgba(0,255,65,.75); border-color: var(--toxic); box-shadow: 0 0 9px rgba(0,255,65,.55); }
@keyframes pop { to { opacity: 1; transform: scale(1); } }

.nodes { display: flex; flex-wrap: wrap; gap: 6px; }
.node {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .66rem; letter-spacing: .12em; color: var(--faint);
  transition: color .25s, border-color .25s, background .25s;
}
.node b { font-weight: 700; font-variant-numeric: tabular-nums; }
.node.is-on { color: var(--toxic); border-color: rgba(0,255,65,.45); background: rgba(0,255,65,.06); }

.drop__cipher {
  margin-top: 12px; font-size: .66rem; color: var(--faint);
  word-break: break-all; line-height: 1.6; min-height: 1em;
}
.drop__cipher b { color: var(--toxic-dim); font-weight: 400; }

.drop__done { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.drop__doneline { font-size: .74rem; color: var(--muted); margin-bottom: 12px; }

.drop__foot { padding: 0 16px 16px; font-size: .66rem; color: var(--faint); line-height: 1.6; }

/* ─────────────── Тикер ─────────────── */

.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.012); overflow: hidden; padding: 13px 0;
}
.ticker__row { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker__row:hover { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick {
  display: inline-flex; align-items: baseline; gap: 9px; padding: 0 30px;
  font-size: .72rem; color: var(--faint); white-space: nowrap;
  border-right: 1px solid var(--line);
}
.tick b { color: var(--toxic); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ─────────────── Секции ─────────────── */

.band { padding: clamp(70px, 9.5vw, 128px) 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,.8,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ─────────────── Консоль-предпросмотр ─────────────── */

.app {
  border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden;
  background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.62);
}
.app__bar {
  display: flex; align-items: center; gap: 14px; padding: 11px 15px;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.014);
}
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.app__dots i:first-child { background: #3a3a3a; }
.app__url {
  flex: 1; text-align: center; font-size: .7rem; color: var(--faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app__lock {
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--toxic);
  padding: 3px 9px; border: 1px solid rgba(0,255,65,.3); border-radius: 999px;
}

.app__body { display: grid; grid-template-columns: 208px 1fr; min-height: 400px; }
.app__side { padding: 18px; border-right: 1px solid var(--line); }
.side__nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 26px; }
.side__item {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px;
  font-size: .76rem; color: var(--muted); transition: background .18s, color .18s;
}
.side__item:hover { background: rgba(255,255,255,.03); color: var(--text); }
.side__item.is-on { background: rgba(0,255,65,.08); color: var(--toxic); }
.side__ico { opacity: .7; font-size: .8rem; }

.ring { position: relative; width: 118px; margin: 0 auto 12px; }
.ring__svg { width: 100%; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: var(--line-2); stroke-width: 7; }
.ring__fill {
  fill: none; stroke: var(--toxic); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.5s cubic-bezier(.16,.8,.3,1);
  filter: drop-shadow(0 0 6px rgba(0,255,65,.5));
}
.ring__label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: 1px; font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em;
}
.ring__label span { font-size: .72rem; color: var(--muted); }
.ring__cap { text-align: center; font-size: .74rem; color: var(--muted); }
.ring__sub { text-align: center; font-size: .66rem; color: var(--faint); margin-top: 3px; }

.app__main { padding: 18px; display: flex; flex-direction: column; min-width: 0; }
.tbl__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tbl__crumb { font-size: .8rem; font-weight: 600; }
.tbl__count { font-size: .68rem; color: var(--faint); }

.tbl { width: 100%; border-collapse: collapse; font-size: .74rem; }
.tbl th {
  text-align: left; padding: 0 10px 9px; font-weight: 500; font-size: .62rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
  border-bottom: 1px solid var(--line);
}
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); color: var(--muted); }
.tbl td:first-child { color: var(--text); display: flex; align-items: center; gap: 10px; }
.tbl tbody tr { transition: background .16s; }
.tbl tbody tr:hover { background: rgba(0,255,65,.035); }
.ft { color: var(--toxic); opacity: .75; font-size: .85rem; }
.ft--img { color: #00d5ff; }
.ft--zip { color: #ffb300; }
.ft--doc { color: var(--muted); }
.ft--key { color: var(--danger); }
.ft--vid { color: #c46bff; }
.rg { letter-spacing: .14em; font-size: .64rem; color: var(--faint); text-transform: uppercase; }

.up { margin-top: 18px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,.014); }
.up__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.up__name { font-size: .76rem; font-weight: 600; }
.up__pct { font-size: .72rem; color: var(--toxic); font-variant-numeric: tabular-nums; }
.up__bar { height: 3px; border-radius: 3px; background: var(--line-2); margin: 9px 0 7px; overflow: hidden; }
.up__bar i { display: block; height: 100%; width: 0; background: var(--toxic); box-shadow: 0 0 10px rgba(0,255,65,.6); }
.up__meta { font-size: .64rem; color: var(--faint); }

/* ─────────────── Возможности ─────────────── */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cell {
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  transition: border-color .25s, transform .25s, background .25s;
}
.cell:hover { border-color: rgba(0,255,65,.32); transform: translateY(-3px); background: var(--surface-2); }
.cell--wide { grid-column: span 2; }
.cell--tall { grid-row: span 2; }
.cell__h { font-size: .95rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.cell__p { font-size: .78rem; color: var(--muted); line-height: 1.72; }

.crypt {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 20px; padding: 13px 15px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: rgba(0,0,0,.4); font-size: .72rem;
}
.crypt__plain { color: var(--muted); }
.crypt__arrow { color: var(--toxic); }
.crypt__cipher { color: var(--toxic-dim); word-break: break-all; }

.plat { margin-top: 18px; display: flex; flex-direction: column; gap: 1px; }
.plat li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .74rem; color: var(--muted);
}
.plat li:last-child { border-bottom: 0; }
.plat b { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.plat .ok { color: var(--toxic); }
.plat .wip { color: #ffb300; }

/* ─────────────── Регионы ─────────────── */

.regions { display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.reg {
  display: grid; grid-template-columns: 32px 1.5fr 1.6fr auto 96px;
  align-items: center; gap: 16px; padding: 16px 20px;
  border-bottom: 1px solid var(--line); transition: background .2s;
}
.reg:last-child { border-bottom: 0; }
.reg:hover { background: rgba(0,255,65,.032); }
.reg__flag { font-size: 1.2rem; line-height: 1; }
.reg__name { display: flex; flex-direction: column; font-size: .84rem; font-weight: 600; }
.reg__name i { font-style: normal; font-size: .66rem; color: var(--faint); font-weight: 400; letter-spacing: .04em; }
.reg__bar { height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.reg__bar i { display: block; height: 100%; width: 0; background: var(--toxic); opacity: .8; transition: width 1.2s cubic-bezier(.16,.8,.3,1); }
.reg.is-in .reg__bar i { width: var(--w); }
.reg__lat { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.reg__lat b { color: var(--text); font-weight: 600; }
.reg__st {
  font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--toxic);
  text-align: right;
}

/* ─────────────── Тарифы ─────────────── */

.toggle {
  display: inline-flex; gap: 3px; margin-top: 26px; padding: 3px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
}
.toggle__b {
  padding: 9px 18px; border-radius: 999px; font-size: .74rem; color: var(--muted);
  transition: background .2s, color .2s;
}
.toggle__b.is-on { background: var(--toxic); color: #050505; font-weight: 700; }
.toggle__save { font-size: .64rem; opacity: .8; margin-left: 5px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  transition: border-color .25s, transform .25s;
}
.plan:hover { border-color: var(--line-2); transform: translateY(-3px); }
.plan--hi { border-color: rgba(0,255,65,.42); background: var(--surface-2); box-shadow: 0 0 44px rgba(0,255,65,.07); }
.plan--hi:hover { border-color: rgba(0,255,65,.6); }
.plan__tag {
  position: absolute; top: -1px; left: 50%; transform: translate(-50%, -50%);
  padding: 5px 12px; border-radius: 999px; background: var(--toxic); color: #050505;
  font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.plan__n { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.plan__d { font-size: .72rem; color: var(--faint); margin-top: 4px; }
.plan__price { display: flex; align-items: baseline; gap: 5px; margin-top: 20px; }
.plan__price b { font-size: 2.5rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.plan__price span { font-size: 1rem; color: var(--muted); }
.plan__per { font-size: .68rem; color: var(--faint); margin-top: 5px; }
.plan__l { margin: 22px 0 26px; display: flex; flex-direction: column; gap: 9px; }
.plan__l li { position: relative; padding-left: 20px; font-size: .76rem; color: var(--muted); }
.plan__l li::before {
  content: ''; position: absolute; left: 2px; top: .58em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--toxic); opacity: .75;
}
.plans__note { margin-top: 22px; text-align: center; font-size: .74rem; color: var(--faint); }

/* ─────────────── Терминал ─────────────── */

.cli__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4.5vw, 56px); align-items: center; }
.cli__l { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.cli__l li { position: relative; padding-left: 20px; font-size: .78rem; color: var(--muted); }
.cli__l li::before { content: '›'; position: absolute; left: 3px; color: var(--toxic); }
.cli__l code { color: var(--toxic-dim); font-size: .74rem; }

.term { border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: #060606; box-shadow: 0 26px 70px rgba(0,0,0,.6); }
.term__bar { display: flex; align-items: center; gap: 14px; padding: 11px 15px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.014); }
.term__t { font-size: .68rem; color: var(--faint); }
.term__body {
  margin: 0; padding: 20px; min-height: 300px; font-family: var(--mono);
  font-size: .74rem; line-height: 1.85; color: var(--muted);
  white-space: pre-wrap; word-break: break-word; overflow-x: auto;
}
.term__body .c-cmd { color: var(--text); }
.term__body .c-ok { color: var(--toxic); }
.term__body .c-dim { color: var(--faint); }
.term__body .c-bar { color: var(--toxic); }
.caret { display: inline-block; width: 7px; height: 1em; background: var(--toxic); vertical-align: text-bottom; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* ─────────────── Вопросы ─────────────── */

.faq { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.q { border-bottom: 1px solid var(--line); }
.q:last-child { border-bottom: 0; }
.q > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; font-size: .86rem; font-weight: 600; cursor: pointer;
  list-style: none; transition: color .18s, background .18s;
}
.q > summary::-webkit-details-marker { display: none; }
.q > summary::after {
  content: '+'; font-size: 1.2rem; font-weight: 400; color: var(--toxic); flex-shrink: 0;
  transition: transform .25s;
}
.q[open] > summary::after { transform: rotate(45deg); }
.q > summary:hover { color: var(--toxic); background: rgba(0,255,65,.028); }
.q > p { padding: 0 22px 21px; font-size: .78rem; color: var(--muted); line-height: 1.78; max-width: 76ch; }

/* ─────────────── Финальный призыв ─────────────── */

.cta { padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 7vw, 96px); }
.cta__in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__logo {
  width: min(560px, 88%); height: auto; margin-bottom: 30px;
  filter: drop-shadow(0 0 44px rgba(0,255,65,.22));
}
.cta__h { font-size: clamp(1.5rem, 3.1vw, 2.3rem); font-weight: 700; letter-spacing: -.035em; }
.cta__p { margin: 14px auto 30px; max-width: 50ch; color: var(--muted); font-size: .86rem; }

/* ─────────────── Подвал ─────────────── */

.foot { border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 60px) 0 40px; }
.foot__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.foot__col { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.foot__col h4 {
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); font-weight: 500; margin-bottom: 3px;
}
.foot__col a:not(.brand) { font-size: .78rem; color: var(--muted); transition: color .18s; }
.foot__col a:not(.brand):hover { color: var(--toxic); }
.foot__note { font-size: .7rem; color: var(--faint); line-height: 1.7; }
.foot__st { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--muted); }

/* ─────────────── Адаптив ─────────────── */

/* Меню могли раскрыть на узком экране и растянуть окно — прячем принудительно. */
@media (min-width: 1001px) { .mobnav { display: none; } }

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .burger { display: flex; }
  .hero__in { grid-template-columns: 1fr; }
  .cli__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell--wide { grid-column: span 2; }
  .cell--tall { grid-row: span 1; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--hi { order: -1; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .app__body { grid-template-columns: 1fr; }
  .app__side { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
  .side__nav { margin-bottom: 0; }
  .ring { margin-bottom: 8px; width: 96px; }
  .app__main { overflow-x: auto; }
  .tbl { min-width: 500px; }
  .reg { grid-template-columns: 26px 1fr auto; gap: 12px; }
  .reg__bar, .reg__st { display: none; }
  .bento { grid-template-columns: 1fr; }
  .cell--wide { grid-column: span 1; }
  .facts { gap: 14px 24px; }
}

@media (max-width: 460px) {
  .nav__right .btn { display: none; }
  .foot__in { grid-template-columns: 1fr; gap: 26px; }
}

/* Уважение к системной настройке анимаций (WCAG 2.3.3). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .load, .reveal { opacity: 1; transform: none; }
  #cubes { display: none; }
}
