/* Darvis Cloud — оформление сайта, админки и кабинета. */

:root {
  --bg: #01060d;
  --bg-2: #020c16;
  --panel: rgba(6, 20, 32, .72);
  --panel-solid: #061420;
  --line: rgba(45, 160, 200, .18);
  --line-2: rgba(45, 160, 200, .32);
  --accent: #22d3ee;
  --accent-2: #2f7cf6;
  --text: #d8eefb;
  --muted: #6d93a6;
  --ok: #28e0a1;
  --bad: #ff5d73;
  --warn: #ffc46b;
  --head: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1200px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Звёздное свечение фона — один раз на всю страницу. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(34, 211, 238, .16), transparent 62%),
    radial-gradient(900px 620px at 8% 4%, rgba(47, 124, 246, .12), transparent 60%),
    radial-gradient(1000px 800px at 50% 118%, rgba(34, 211, 238, .10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 55%, var(--bg));
}

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

h1, h2, h3, .h-page { font-family: var(--head); font-weight: 600; letter-spacing: .02em; }

code {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: .9em;
  color: #8fe9ff;
  background: rgba(34, 211, 238, .08);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}

/* Контрольная сумма установщика: 64 символа, которые обязаны переноситься
   по любому символу — иначе строка растягивает страницу по горизонтали. */
code.hash {
  font-size: .78em;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { width: 22px; height: 22px; flex: none; }

/* ── шапка ────────────────────────────────────────────────────────────── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 8, 15, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--head); font-weight: 700; font-size: 1.06rem;
  letter-spacing: .26em; color: #fff; text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo b { color: var(--accent); }
.logo-mark { width: 30px; height: 30px; color: var(--accent); flex: none; }

.head-nav { display: flex; gap: 26px; margin-left: auto; font-size: .84rem;
  letter-spacing: .12em; text-transform: uppercase; }
.head-nav a { color: var(--muted); text-decoration: none; position: relative; padding: 6px 0; }
.head-nav a:hover, .head-nav a.on { color: var(--text); }
.head-nav a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.acct { display: flex; align-items: center; gap: 10px; }
.acct .btn span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; }

/* ── кнопки ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: .92rem; letter-spacing: .06em;
  padding: 11px 20px; border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(8, 26, 40, .8); color: var(--text); cursor: pointer;
  text-decoration: none; transition: .18s ease;
}
.btn:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-1px); }
.btn span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn span i { font-style: normal; font-size: .74rem; font-weight: 400; opacity: .7; letter-spacing: .04em; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), #1aa8d8);
  border-color: transparent; color: #f2fdff;
  box-shadow: 0 10px 30px -12px rgba(47, 124, 246, .9);
}
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(34, 211, 238, .8); }
.btn-line { background: transparent; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); padding: 8px 12px; }
.btn-ghost:hover { color: var(--text); border-color: var(--line); }
form { display: inline; }

/* ── общие блоки секций ───────────────────────────────────────────────── */
.sect { padding: 78px 0; }
.sect-tight { padding: 26px 0; }
.sect-title {
  margin: 0 0 10px; text-align: center; font-size: 1.02rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: #9fe8ff;
}
.sect-title.left { text-align: left; letter-spacing: .2em; }
.sect-sub { margin: 0 auto 40px; text-align: center; color: var(--muted); max-width: 620px; }
.sect-sub.left { text-align: left; margin-left: 0; }
.sect-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sect-head .sect-title { margin: 0; }

.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; margin-bottom: 18px;
}

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

.card {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px 22px;
  transition: .22s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px 120px at 50% -20%, rgba(34, 211, 238, .16), transparent 70%);
  opacity: 0; transition: .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card:hover::after { opacity: 1; }
.card h3 { margin: 16px 0 8px; font-size: 1.02rem; letter-spacing: .1em; text-transform: uppercase; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }

.card-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 12px; color: var(--accent);
  background: rgba(34, 211, 238, .08); border: 1px solid var(--line);
}
.card-ic .ic { width: 26px; height: 26px; }

.more {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 16px;
  font-size: .86rem; letter-spacing: .06em; color: var(--accent);
}
.more:hover { text-decoration: none; }
.more span { transition: transform .18s ease; }
.more:hover span { transform: translateX(4px); }
.back { margin: 0 0 12px; }

/* ── герой ────────────────────────────────────────────────────────────── */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; }
.hero h1 {
  margin: 0; font-size: clamp(3rem, 7vw, 5.2rem); line-height: 1;
  font-weight: 700; letter-spacing: .04em; color: #fff;
  text-shadow: 0 0 46px rgba(34, 211, 238, .45);
}
.hero-sub {
  margin: 10px 0 22px; font-family: var(--head); font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.hero-lead { margin: 0 0 30px; color: #9fc4d6; max-width: 520px; }

.hero-badges { display: flex; gap: 30px; list-style: none; padding: 0; margin: 0 0 34px; }
.hero-badges li { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 106px; }
.badge-ring {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--accent);
  background: rgba(34, 211, 238, .06); box-shadow: 0 0 24px -8px var(--accent) inset;
}
.badge-title {
  font-family: var(--head); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; text-align: center; color: var(--muted); line-height: 1.35;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.trust { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; margin: 0;
  font-size: .82rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust .ic { width: 16px; height: 16px; color: var(--ok); }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-status {
  margin: 0; font-family: var(--head); font-size: .84rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--muted);
}

.hero-art { position: relative; width: min(460px, 88vw); aspect-ratio: 1; }
.orbit {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, .18);
}
.orbit::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(34, 211, 238, .85) 82%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: spin 9s linear infinite;
}
.o2 { inset: 13%; border-color: rgba(47, 124, 246, .2); }
.o2::before { animation-duration: 14s; animation-direction: reverse; }
.o3 { inset: 26%; border-color: rgba(34, 211, 238, .14); }
.o3::before { animation-duration: 20s; }

.core {
  position: absolute; inset: 36%; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(34, 211, 238, .34), rgba(3, 14, 24, .9) 68%);
  box-shadow: 0 0 60px -6px rgba(34, 211, 238, .55), inset 0 0 40px rgba(34, 211, 238, .25);
  animation: pulse 4.5s ease-in-out infinite;
}
.core-word {
  font-family: var(--head); font-weight: 700; font-size: .92rem;
  letter-spacing: .22em; color: #fff;
}
.core-word b { color: var(--accent); }

.wave {
  position: absolute; left: 8%; right: 8%; bottom: 8%;
  display: flex; align-items: flex-end; justify-content: space-between; height: 46px;
}
.wave i {
  width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--accent), rgba(34, 211, 238, .12));
  height: 22%; animation: bounce 1.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -70ms);
}
.mic-dot {
  position: absolute; left: 50%; bottom: -4%; transform: translateX(-50%);
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #04121a; background: linear-gradient(160deg, #7fe9ff, var(--accent));
  box-shadow: 0 0 34px -4px var(--accent);
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes bounce { 0%, 100% { height: 16%; } 50% { height: 86%; } }

/* ── цифры ────────────────────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.stats > div { padding: 26px 20px; text-align: center; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b {
  display: block; font-family: var(--head); font-weight: 400;
  font-size: 2.1rem; color: #fff; letter-spacing: .02em;
}
.stats span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ── протоколы ────────────────────────────────────────────────────────── */
.proto { text-align: center; padding-top: 34px; }
.proto h3 { color: var(--tone, var(--accent)); }
.proto-ic {
  position: relative; display: inline-grid; place-items: center;
  width: 76px; height: 76px; color: var(--tone, var(--accent));
}
.proto-ic .ic { width: 34px; height: 34px; }
.proto-glow {
  position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%);
  width: 82px; height: 20px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--tone, var(--accent)), transparent);
  opacity: .45; filter: blur(3px);
}
.proto .say {
  display: block; margin-top: 16px; background: none; border: 0;
  color: var(--muted); font-size: .82rem; letter-spacing: .04em;
}
.t-blue { --tone: #38bdf8; }
.t-green { --tone: #34d399; }
.t-amber { --tone: #fbbf24; }
.t-red { --tone: #fb7185; }

/* ── требования ───────────────────────────────────────────────────────── */
.req {
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 30px; align-items: center;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
}
.req dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 34px; margin: 22px 0 0; }
.req dl > div { display: flex; flex-direction: column; gap: 2px; }
.req dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; }
.req dt .ic { width: 18px; height: 18px; color: var(--accent); }
.req dd { margin: 0 0 0 28px; }

.req-box { display: grid; place-items: center; }
.box3d {
  width: 168px; height: 210px; border-radius: 10px;
  display: grid; place-content: center; gap: 6px; text-align: center;
  background: linear-gradient(150deg, #0a2233, #04121d 65%);
  border: 1px solid var(--line-2);
  box-shadow: 18px 20px 46px -18px rgba(0, 0, 0, .9), inset 0 0 40px rgba(34, 211, 238, .12);
  transform: rotate(-6deg) skewY(-2deg);
}
.box3d span { font-family: var(--head); font-weight: 700; letter-spacing: .2em; color: #fff; }
.box3d i { font-style: normal; font-size: .62rem; letter-spacing: .22em; color: var(--muted); }

/* ── скриншоты ────────────────────────────────────────────────────────── */
.shot { margin: 0; }
.shot-frame {
  display: grid; place-items: center; gap: 10px; aspect-ratio: 16 / 10;
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  background: rgba(6, 20, 32, .5); color: var(--muted);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}
.shot-frame .ic { width: 32px; height: 32px; opacity: .6; }
.shot figcaption { display: flex; flex-direction: column; gap: 3px; padding: 14px 4px 0; }
.shot figcaption b { font-family: var(--head); letter-spacing: .06em; }
.shot figcaption span { color: var(--muted); font-size: .88rem; }

/* ── отзывы, блог ─────────────────────────────────────────────────────── */
.quote p { color: var(--text); font-size: .96rem; }
.quote footer { display: flex; flex-direction: column; margin-top: 18px; }
.quote footer b { font-family: var(--head); }
.quote footer span { color: var(--muted); font-size: .84rem; }

.post h3 { margin-top: 0; text-transform: none; letter-spacing: .02em; font-size: 1.08rem; color: var(--text); }
.post a:hover { text-decoration: none; }
.post a:hover h3 { color: var(--accent); }
.post time { display: block; margin-top: 16px; color: var(--muted); font-size: .8rem; }

/* ── финальный призыв ─────────────────────────────────────────────────── */
.cta-final { text-align: center; }
.cta-final h2 { margin: 0 0 6px; font-size: 2rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.cta-final .btn { margin-bottom: 26px; }
.cta-final .trust { justify-content: center; }

/* ── внутренние страницы ──────────────────────────────────────────────── */
main.inner { padding: 46px 0 80px; }
.page.narrow { max-width: 760px; }
.h-page { margin: 0 0 6px; font-size: 2.1rem; color: #fff; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 0 0 18px 46px; color: var(--muted); }
.steps li b { color: var(--text); font-weight: 600; }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--head); font-size: .86rem;
  color: var(--accent); background: rgba(34, 211, 238, .08); border: 1px solid var(--line-2);
}

.note {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--muted); font-size: .92rem; margin: 16px 0 0;
}
.note .ic { color: var(--accent); margin-top: 3px; }
.note.ok { color: var(--ok); } .note.ok .ic { color: var(--ok); }
.note.bad { color: var(--bad); } .note.bad .ic { color: var(--bad); }
.note.warn { color: var(--warn); } .note.warn .ic { color: var(--warn); }

.code-form { display: flex; gap: 12px; flex-wrap: wrap; }
input[type=text], select {
  background: #04121a; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--text); padding: 12px 16px; font: inherit;
  letter-spacing: .24em; text-transform: uppercase; width: 220px;
}
input[type=text]:focus, select:focus { outline: none; border-color: var(--accent); }
select { letter-spacing: normal; text-transform: none; width: auto; padding: 8px 12px; }

.docs { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.toc { position: sticky; top: 96px; }
.toc nav { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); padding-left: 16px; }
.toc a { color: var(--muted); font-size: .9rem; }
.toc a:hover { color: var(--accent); text-decoration: none; }

.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; font-size: 1.3rem; color: #fff; }
.prose p, .prose li { color: #a9c8d8; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose li b { color: var(--text); }

/* ── таблицы: кабинет и админка ───────────────────────────────────────── */
table, .grid-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th {
  text-align: left; color: var(--muted); font-weight: 600; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
td { padding: 11px 12px; border-bottom: 1px solid rgba(45, 160, 200, .08); }
tr:last-child td { border-bottom: 0; }

.muted { color: var(--muted); }
.ok { color: var(--ok); } .bad { color: var(--bad); } .warn { color: var(--warn); }

/* Сетка KPI админки (старая разметка admin.js). */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.grid .panel { margin: 0; }
.kpi { font-family: var(--head); font-size: 2rem; font-weight: 400; color: #fff; }
main .page h1 { font-size: 2rem; color: #fff; margin: 0 0 4px; }
main .page h2 { font-size: .96rem; letter-spacing: .18em; text-transform: uppercase;
  color: #9fe8ff; margin: 34px 0 12px; }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px;
  border-radius: 10px; border: 1px solid var(--line-2); background: rgba(8, 26, 40, .8);
  color: var(--text); font-family: var(--head); font-weight: 600; }
.cta:hover { border-color: var(--accent); text-decoration: none; }
button.ghost { background: transparent; border: 1px solid transparent; color: var(--muted);
  padding: 6px 12px; border-radius: 8px; font: inherit; cursor: pointer; }
button.ghost:hover { color: var(--text); border-color: var(--line); }
.sub { color: var(--muted); margin: 0 0 28px; }

/* ── подвал ───────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; background: rgba(2, 8, 15, .6); }
.foot-inner { display: grid; grid-template-columns: 300px 1fr; gap: 40px;
  padding-top: 44px; padding-bottom: 28px; }
.foot-brand p { color: var(--muted); font-size: .88rem; margin: 14px 0 16px; max-width: 260px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols h4 { margin: 0 0 12px; font-family: var(--head); font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.foot-cols a { display: block; padding: 4px 0; color: var(--muted); font-size: .88rem; }
.foot-social { display: flex; gap: 14px; }
.foot-social a { color: var(--muted); }
.foot-social a:hover { color: var(--accent); }
.foot-legal { padding-bottom: 30px; color: var(--muted); font-size: .8rem;
  border-top: 1px solid var(--line); padding-top: 20px; }

/* ── появление при прокрутке ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── шапка внутренней страницы ────────────────────────────────────────── */
.page-hero { padding: 54px 0 10px; }
.page-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow {
  margin: 0 0 10px; font-family: var(--head); font-size: .8rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
}
.h-hero {
  margin: 0 0 16px; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06;
  font-weight: 600; color: #fff;
}
.h-hero span { color: var(--accent); }
.lead { margin: 0 0 26px; color: #9fc4d6; max-width: 560px; }

.points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 26px; }
.points li { display: flex; gap: 12px; align-items: flex-start; max-width: 260px; }
.points .ic { color: var(--accent); margin-top: 2px; }
.points span { display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); }
.points b { color: var(--text); font-family: var(--head); letter-spacing: .04em; }

.orb { position: relative; width: min(340px, 80vw); aspect-ratio: 1; margin: 0 auto; }
.page-orb .core { inset: 33%; }

.sect-more { text-align: center; margin: 30px 0 0; }

/* ── требования плиткой ───────────────────────────────────────────────── */
.req-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.req-cell {
  display: flex; flex-direction: column; gap: 6px; text-align: center; align-items: center;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 14px;
}
.req-ic { color: var(--accent); }
.req-cell b { font-family: var(--head); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); }
.req-cell > span:last-child { font-size: .92rem; }

/* ── страница возможностей ────────────────────────────────────────────── */
.caps { display: flex; flex-direction: column; gap: 18px; }
.cap {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: center;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 30px;
}
.cap-text { display: flex; gap: 20px; align-items: flex-start; }
.cap-ic {
  display: grid; place-items: center; width: 64px; height: 64px; flex: none;
  border-radius: 50%; color: var(--accent);
  border: 1px solid var(--line-2); background: rgba(34, 211, 238, .06);
  box-shadow: inset 0 0 26px -10px var(--accent);
}
.cap-ic .ic { width: 28px; height: 28px; }
.cap-num { margin: 0; font-family: var(--head); color: var(--accent); font-size: .82rem; letter-spacing: .2em; }
.cap h2 { margin: 2px 0 8px; font-size: 1.16rem; letter-spacing: .1em; text-transform: uppercase; }
.cap p { margin: 0; color: var(--muted); font-size: .93rem; }

.vis {
  position: relative; display: grid; place-items: center; gap: 10px;
  min-height: 168px; border-radius: 12px; padding: 18px;
  background: linear-gradient(150deg, rgba(10, 34, 51, .7), rgba(3, 14, 24, .7));
  border: 1px solid var(--line); overflow: hidden;
}
.vis-tag {
  position: absolute; right: 14px; top: 14px; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px;
}
.vis .ic { width: 54px; height: 54px; color: var(--accent); }

.vis-wave { flex-direction: row; }
.vis-wave .vb {
  position: absolute; bottom: 50%; width: 2px; border-radius: 2px; background: var(--accent);
  height: 10%; opacity: .8;
  left: calc(4% + var(--i) * 2.45%);
  transform-origin: bottom;
  animation: vbounce 1.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -60ms);
}
.vis-mic {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(2, 12, 22, .9); border: 1px solid var(--line-2); z-index: 1;
}
@keyframes vbounce { 0%, 100% { height: 8%; } 50% { height: 40%; } }

.vis-face .corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--accent); }
.corner.tl { left: 26%; top: 20%; border-right: 0; border-bottom: 0; }
.corner.tr { right: 26%; top: 20%; border-left: 0; border-bottom: 0; }
.corner.bl { left: 26%; bottom: 20%; border-right: 0; border-top: 0; }
.corner.br { right: 26%; bottom: 20%; border-left: 0; border-top: 0; }

.vis-nodes i {
  position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  opacity: .55; box-shadow: 0 0 12px var(--accent);
  left: calc(8% + (var(--i) * 6.4%));
  top: calc(22% + (var(--i) % 4) * 16%);
}

.vis-apps { grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; }
.vis-apps span {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px;
  background: rgba(6, 22, 34, .9); border: 1px solid var(--line); color: var(--accent);
}
.vis-apps .ic { width: 24px; height: 24px; }

.vis-chart { flex-direction: row; align-items: flex-end; }
.vis-chart .cb {
  position: absolute; bottom: 22%; width: 6px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(34, 211, 238, .1));
  left: calc(6% + var(--i) * 3.8%);
  height: calc(12% + (var(--i) % 5) * 11%);
}

.vis-flow { grid-auto-flow: column; gap: 14px; }
.vis-flow span {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: rgba(6, 22, 34, .9); border: 1px solid var(--line); color: var(--accent);
}
.vis-flow .ic { width: 22px; height: 22px; }
.vis-flow b { color: var(--muted); }

/* ── протоколы: расширенные карточки ──────────────────────────────────── */
.proto-full { text-align: left; }
.proto-full .proto-ic { margin: 0 auto; display: grid; }
.proto-full h3, .proto-full > p { text-align: center; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 18px; color: var(--muted); font-size: .88rem; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--tone, var(--accent));
}
.tag {
  display: inline-block; margin-top: 14px; font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.planned .card { opacity: .72; }
.planned .proto-ic { color: var(--muted); }

/* ── шаги-стрелки ─────────────────────────────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow-step {
  position: relative; text-align: center; padding: 22px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.flow-ic {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px;
  border-radius: 50%; color: var(--accent);
  border: 1px solid var(--line-2); background: rgba(34, 211, 238, .06);
}
.flow-step b { font-family: var(--head); letter-spacing: .06em; }
.flow-step p { margin: 6px 0 0; color: var(--muted); font-size: .86rem; }
.flow-arrow {
  position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-style: normal; opacity: .6;
}

/* ── преимущества списком ─────────────────────────────────────────────── */
.adv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.adv-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.adv-item b { font-family: var(--head); letter-spacing: .06em; }
.adv-item p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

/* ── скриншоты ────────────────────────────────────────────────────────── */
.shot img {
  width: 100%; display: block; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: #04121a;
}

/* ── документация ─────────────────────────────────────────────────────── */
.doc-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; padding-bottom: 20px; }
.doc-side { position: sticky; top: 96px; }
.doc-side nav { display: flex; flex-direction: column; gap: 2px; }
.doc-side a {
  display: flex; gap: 12px; align-items: center; padding: 10px 12px;
  border-radius: 10px; color: var(--muted); border: 1px solid transparent;
}
.doc-side a:hover { text-decoration: none; color: var(--text); background: rgba(6, 20, 32, .7); }
.doc-side .ic { width: 18px; height: 18px; color: var(--accent); }
.doc-side span { display: flex; flex-direction: column; line-height: 1.25; }
.doc-side b { font-size: .92rem; color: inherit; font-weight: 600; }
.doc-side i { font-style: normal; font-size: .74rem; opacity: .7; }

.doc-search { display: flex; align-items: center; gap: 10px; margin-bottom: 26px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px; }
.doc-search .ic { color: var(--muted); }
.doc-search input {
  flex: 1; background: none; border: 0; color: var(--text); font: inherit; padding: 12px 0;
}
.doc-search input:focus { outline: none; }
.doc-sec { scroll-margin-top: 96px; }
.doc-sec.hide { display: none; }
.doc-cards { margin: 20px 0; }
.doc-cards .card h3 { font-size: .92rem; }

.cmd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.cmd-grid > div { background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; }
.cmd-grid b { font-family: var(--head); font-size: .76rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); }
.cmd-grid p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.cmd-grid i { color: var(--text); font-style: normal; }

/* ── блог ─────────────────────────────────────────────────────────────── */
.blog-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }
.c2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px;
  color: var(--muted); border: 1px solid var(--line); font-size: .88rem;
}
.tab:hover { text-decoration: none; color: var(--text); }
.tab.on { color: var(--accent); border-color: var(--line-2); background: rgba(34, 211, 238, .07); }
.tab .ic { width: 17px; height: 17px; }

.post-head { margin-bottom: 12px; }
.post .tag { margin: 0; color: var(--accent); border-color: var(--line-2); }
.post-meta { display: flex; gap: 18px; margin-top: 14px; color: var(--muted); font-size: .8rem; }
.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-meta .ic { width: 15px; height: 15px; }
.post.hide { display: none; }

.blog-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.blog-side h3 { margin: 0 0 14px; font-size: .82rem; letter-spacing: .16em;
  text-transform: uppercase; color: #9fe8ff; }
.minis { display: flex; flex-direction: column; gap: 12px; }
.mini { display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.mini:hover { text-decoration: none; }
.mini b { font-size: .9rem; font-weight: 600; }
.mini:hover b { color: var(--accent); }
.mini span { color: var(--muted); font-size: .78rem; }
.topics { display: flex; flex-direction: column; }
.topics a { display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid rgba(45, 160, 200, .08); color: var(--muted); }
.topics a:hover { text-decoration: none; color: var(--text); }
.topics b { color: var(--accent); }

/* ── формы входа ──────────────────────────────────────────────────────── */
main.auth { padding: 40px 0 70px; }
.auth-grid { display: grid; grid-template-columns: 1fr 460px; gap: 50px; align-items: center; }
.auth-aside .h-auth { margin: 0 0 14px; font-family: var(--head); font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; color: #fff; }
.auth-aside .h-auth span { color: var(--accent); }
.auth-orb { position: relative; width: min(300px, 70vw); aspect-ratio: 1; margin-top: 24px; }
.auth-orb .core { inset: 32%; }

.auth-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.auth-card h2 { margin: 0 0 22px; text-align: center; font-size: 1.1rem;
  letter-spacing: .16em; text-transform: uppercase; }

.prov-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-prov { justify-content: center; font-size: .84rem; padding: 12px 10px; }
.btn-prov b { display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 6px; font-size: .8rem; flex: none; }
.prov-ya b { background: #fc3f1d; color: #fff; }
.prov-vk b { background: #07f; color: #fff; font-size: .66rem; }

.or { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--muted); font-size: .8rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.form { display: flex; flex-direction: column; gap: 12px; }
.form label { position: relative; display: block; }
.form label > span:first-child {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.form label > span:first-child .ic { width: 18px; height: 18px; }
.form input[type=email], .form input[type=password], .form input[type=text] {
  width: 100%; background: #04121a; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--text); padding: 13px 14px 13px 44px; font: inherit;
  letter-spacing: normal; text-transform: none;
}
.form input:focus { outline: none; border-color: var(--accent); }
.form .check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .84rem; }
.form .check input { margin-top: 3px; accent-color: var(--accent); }
.form .check span { position: static; transform: none; }
.btn-block { width: 100%; justify-content: center; margin-top: 4px; }
.auth-foot { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }
.form-row { flex-direction: row; align-items: center; }
.form-row label { flex: 1; }

/* ── кабинет ──────────────────────────────────────────────────────────── */
.cab { display: grid; grid-template-columns: 268px 1fr; gap: 30px; align-items: start; }
.cab-side {
  position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.cab-user { display: flex; gap: 14px; align-items: center; }
.cab-user img, .cab-user .avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover;
  display: grid; place-items: center; color: var(--accent);
  border: 1px solid var(--line-2); background: rgba(34, 211, 238, .06);
}
.cab-user div { display: flex; flex-direction: column; min-width: 0; }
.cab-user b { font-family: var(--head); }
.cab-user span { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; }
.cab-user .tag { margin-top: 6px; align-self: flex-start; color: var(--ok); border-color: var(--line-2); }
.cab-side nav { display: flex; flex-direction: column; gap: 2px; }
.cab-side nav a {
  display: flex; gap: 12px; align-items: center; padding: 10px 12px;
  border-radius: 10px; color: var(--muted);
}
.cab-side nav a:hover { text-decoration: none; color: var(--text); background: rgba(4, 18, 26, .8); }
.cab-side nav a.on { color: var(--accent); background: rgba(34, 211, 238, .08); }
.cab-side .ic { width: 18px; height: 18px; }

.cab-main { display: flex; flex-direction: column; gap: 18px; }
.cab-main .panel { margin: 0; }
.cab-main h2 { margin: 0 0 16px; font-size: .86rem; letter-spacing: .16em;
  text-transform: uppercase; color: #9fe8ff; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpis .panel { display: flex; flex-direction: column; gap: 4px; padding: 20px; }
.kpis .muted { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.cab-cols { display: grid; grid-template-columns: 1.4fr .6fr; gap: 18px; }

.act { display: flex; gap: 14px; align-items: center; padding: 10px 0;
  border-bottom: 1px solid rgba(45, 160, 200, .08); }
.act:last-of-type { border-bottom: 0; }
.act-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(34, 211, 238, .07); border: 1px solid var(--line); flex: none; }
.act-ic .ic { width: 17px; height: 17px; }
.act div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.act b { font-weight: 500; font-size: .92rem; }
.act span { font-size: .78rem; }
.act time { font-size: .76rem; white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.chip b { color: var(--accent); }

.link-row { display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(45, 160, 200, .08); }
.link-row:last-child { border-bottom: 0; }
.link-row b { font-weight: 500; }
.link-row span { font-size: .86rem; }

.own-review {
  margin: 14px 0 0; padding: 14px 18px; border-left: 2px solid var(--accent);
  background: rgba(34, 211, 238, .05); color: var(--text); font-size: .94rem;
}
.own-reply { margin-top: 12px; padding: 12px 18px; background: rgba(6, 20, 32, .8);
  border: 1px solid var(--line); border-radius: 10px; }
.own-reply b { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.own-reply p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.form textarea {
  width: 100%; background: #04121a; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--text); padding: 13px 14px; font: inherit; resize: vertical;
}
.form textarea:focus { outline: none; border-color: var(--accent); }
.form select {
  width: 100%; padding-left: 44px; text-transform: none; letter-spacing: normal;
}

/* ── тарифы ───────────────────────────────────────────────────────────── */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; padding-top: 30px; }
.plan h3 { margin: 0 0 14px; letter-spacing: .12em; }
.plan-best { border-color: var(--line-2); }
.plan-best::after { opacity: .6; }
.plan-flag {
  position: absolute; right: 18px; top: 18px;
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 3px 10px; background: rgba(34, 211, 238, .08);
}
.plan-current { border-color: rgba(40, 224, 161, .35); }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b {
  font-family: var(--head); font-size: 2.4rem; font-weight: 600; color: #fff;
  line-height: 1;
}
.price span { color: var(--muted); font-size: .86rem; }
.price-then { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.plan-note {
  margin: 14px 0 0; padding: 8px 12px; border-radius: 8px;
  background: rgba(34, 211, 238, .07); border: 1px solid var(--line);
  color: #9fe8ff; font-size: .82rem;
}
.plan .ticks { flex: 1; margin: 18px 0 20px; }
.plan .ticks li { margin-bottom: 7px; }
.plan-btn { justify-content: center; margin-top: auto; }
.wrap-note { max-width: 720px; margin: 26px auto 0; }
.narrow-sect { max-width: 780px; }
.flow-site .flow-step { background: var(--panel); }

.beta-tag {
  display: inline-block; vertical-align: middle; margin-left: 12px;
  padding: 4px 12px; border-radius: 999px;
  font-family: var(--head); font-size: .7rem; letter-spacing: .18em;
  color: var(--warn); border: 1px solid rgba(255, 196, 107, .4);
  background: rgba(255, 196, 107, .1);
}

.price-old {
  color: var(--muted); font-size: 1rem; text-decoration-thickness: 1px;
  text-decoration-color: var(--bad);
}

/* ── платные статьи ───────────────────────────────────────────────────── */
.post-lock { color: var(--accent); }
.post-lock .ic { width: 14px; height: 14px; }

/* Затухание последнего абзаца — это оформление границы, а не защита:
   скрытый текст сервер вообще не отдаёт. */
.prose-locked { position: relative; }
.prose-locked p:last-child {
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
}

.paywall {
  margin-top: -10px; padding: 32px 28px; text-align: center;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius);
  position: relative;
}
.paywall-ic {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px;
  border-radius: 50%; color: var(--accent);
  background: rgba(34, 211, 238, .08); border: 1px solid var(--line-2);
}
.paywall-ic .ic { width: 24px; height: 24px; }
.paywall h2 { margin: 0 0 10px; font-size: 1.3rem; color: #fff; }
.paywall p { margin: 0 auto 22px; color: var(--muted); max-width: 460px; }
.paywall-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── вопросы-ответы ───────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer; font-family: var(--head); font-size: 1rem;
  letter-spacing: .02em; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }

/* ── реквизиты ────────────────────────────────────────────────────────── */
.props { margin: 20px 0; display: flex; flex-direction: column; }
.props > div {
  display: flex; gap: 16px; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid rgba(45, 160, 200, .09);
}
.props > div:last-child { border-bottom: 0; }
.props dt { color: var(--muted); font-size: .88rem; }
.props dd { margin: 0; text-align: right; }
.foot-req { margin: 8px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.foot-legal p { margin: 0; }

/* ── подписка в кабинете ──────────────────────────────────────────────── */
.sub-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sub-head .note { margin: 0; }
.sub-plan { font-family: var(--head); font-size: 1.3rem; color: #fff; }
.sub-head .tag { margin-left: 10px; }

/* ── адаптив ──────────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .c4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-orb { display: none; }
  .cap { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-arrow { display: none; }
  .doc-wrap, .blog-wrap, .cab, .auth-grid { grid-template-columns: 1fr; }
  .doc-side, .blog-side, .cab-side { position: static; }
  .doc-side nav { flex-direction: row; flex-wrap: wrap; }
  .doc-side a i { display: none; }
  .cab-cols { grid-template-columns: 1fr; }
  .auth-aside .auth-orb { display: none; }
}

@media (max-width: 820px) {
  .head-nav { display: none; }
  .head-nav.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; padding: 18px 24px;
    background: rgba(2, 10, 18, .98); border-bottom: 1px solid var(--line);
  }
  .head-nav.open a { padding: 10px 0; }
  .burger { display: block; margin-left: auto; }
  .acct { order: 3; }
  .acct .btn span { display: none; }
  .c3, .c4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .req { grid-template-columns: 1fr; }
  .req dl { grid-template-columns: 1fr; }
  .req-box { display: none; }
  .hero-badges { gap: 16px; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  .adv, .c2, .cmd-grid, .flow { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .prov-row { grid-template-columns: 1fr; }
  .cap-text { flex-direction: column; }
  .auth-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }

  /*
    Волна оставлена включённой намеренно.

    Прежде она здесь останавливалась, и у всех, кто отключил анимации
    в Windows, главный экран показывал ровную черту вместо звуковой волны —
    выглядело сломанным. Это единственное движение на странице, оно мелкое,
    не мигает и не сдвигает содержимое, поэтому вреда от него нет,
    а без него теряется смысл картинки.

    Крупное и отвлекающее движение — вращение колец и пульсация ядра —
    по-прежнему выключается.
  */
  .orbit::before, .core { animation: none; }
}

/* --- переключатель срока в карточке тарифа ------------------------------- */
/* Скрытие через класс, а не через атрибут hidden: у .price задан display,
   и атрибут он перебивает — на витрине были видны сразу обе цены. */
.is-hidden { display: none !important; }

.plan-switch {
  display: inline-flex; gap: 4px; padding: 3px; margin: 0 0 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 10px; align-self: flex-start;
}
.plan-tab {
  appearance: none; border: 0; cursor: pointer;
  padding: 7px 14px; border-radius: 8px;
  background: transparent; color: var(--dim);
  font: inherit; font-size: .82rem; letter-spacing: .02em;
  transition: background .15s, color .15s;
}
.plan-tab i { font-style: normal; opacity: .75; margin-left: 5px; font-size: .78em; }
.plan-tab:hover { color: #fff; }
.plan-tab.is-on { background: var(--accent); color: #06202c; font-weight: 600; }
.plan-tab.is-on i { opacity: .8; }

/* --- страница загрузки: шаги ---------------------------------------------- */
/* Текст в панели шёл двумя колонками из-за общего правила .note — читать
   такое неудобно: глаз прыгает слева направо посреди предложения. */
.step-title { margin-top: 0; }
.step-text {
  max-width: 62ch; margin: 0 0 10px; line-height: 1.6;
  color: var(--text); font-size: .95rem;
}
.step-text.dim { color: var(--dim); font-size: .9rem; }

/* Заблокированная кнопка должна выглядеть заблокированной, а не просто
   не срабатывать: серая, с замком и курсором запрета. */
.btn-locked {
  background: rgba(255, 255, 255, .05) !important;
  color: var(--dim) !important;
  border: 1px solid var(--line);
  box-shadow: none !important;
  cursor: not-allowed;
}
.btn-locked:hover { transform: none; box-shadow: none !important; }
.btn-locked .ic { opacity: .6; }

/* --- сдвиг фазы полосок волны ---------------------------------------------
   Номер полоски прежде приходил атрибутом style="--i:N", а политика
   содержимого запрещает встроенные стили: переменная не задавалась,
   задержка не вычислялась, и все полоски прыгали синхронно — ровной
   гребёнкой вместо волны. Фаза задаётся здесь, шестнадцатью шагами:
   на 44 полосках это чуть меньше трёх волн, бегущих по экрану. */
.wave i:nth-child(16n + 1), .vis-wave .vb:nth-child(16n + 1) { animation-delay: 0ms; }
.wave i:nth-child(16n + 2), .vis-wave .vb:nth-child(16n + 2) { animation-delay: -94ms; }
.wave i:nth-child(16n + 3), .vis-wave .vb:nth-child(16n + 3) { animation-delay: -188ms; }
.wave i:nth-child(16n + 4), .vis-wave .vb:nth-child(16n + 4) { animation-delay: -281ms; }
.wave i:nth-child(16n + 5), .vis-wave .vb:nth-child(16n + 5) { animation-delay: -375ms; }
.wave i:nth-child(16n + 6), .vis-wave .vb:nth-child(16n + 6) { animation-delay: -469ms; }
.wave i:nth-child(16n + 7), .vis-wave .vb:nth-child(16n + 7) { animation-delay: -562ms; }
.wave i:nth-child(16n + 8), .vis-wave .vb:nth-child(16n + 8) { animation-delay: -656ms; }
.wave i:nth-child(16n + 9), .vis-wave .vb:nth-child(16n + 9) { animation-delay: -750ms; }
.wave i:nth-child(16n + 10), .vis-wave .vb:nth-child(16n + 10) { animation-delay: -844ms; }
.wave i:nth-child(16n + 11), .vis-wave .vb:nth-child(16n + 11) { animation-delay: -938ms; }
.wave i:nth-child(16n + 12), .vis-wave .vb:nth-child(16n + 12) { animation-delay: -1031ms; }
.wave i:nth-child(16n + 13), .vis-wave .vb:nth-child(16n + 13) { animation-delay: -1125ms; }
.wave i:nth-child(16n + 14), .vis-wave .vb:nth-child(16n + 14) { animation-delay: -1219ms; }
.wave i:nth-child(16n + 15), .vis-wave .vb:nth-child(16n + 15) { animation-delay: -1312ms; }
.wave i:nth-child(16n + 16), .vis-wave .vb:nth-child(16n + 16) { animation-delay: -1406ms; }
