@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/onest-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Контролла — продуктовая витрина по мотивам x5.tech: крупная жирная типографика, плавающая шапка,
   лента плиток, карточки с большим радиусом. Акцент — электрический синий из логотипа,
   красный и зелёный только для статусов. Тема как в браузере, кнопка в шапке выбирает.
   avoid-ai-design-ignore: C2 — синий фирменный, из логотипа и кабинета. */
:root {
  --bg: #eef0f4;
  --card: #ffffff;
  --card-2: #f5f6f9;
  --ink: #121c45;
  --ink-2: #454e6d;
  --ink-3: #6a7290;
  --line: #e1e4ee;
  --accent: #2b45c4;
  --accent-ink: #ffffff;
  --accent-soft: rgba(43, 69, 196, .09);
  --panel: #121c45;
  --panel-2: #1c2858;
  --panel-ink: #eef0f8;
  --panel-ink-2: #a9b1d3;
  --panel-line: rgba(238, 240, 248, .13);
  --red: #d63a2e;
  --green: #1f9d55;
  --amber: #c98a12;
  --shadow: 0 30px 60px -36px rgba(18, 28, 69, .4);
  --font: "Onest", -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: 24px;
  --r: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101218;
    --card: #1a1d26;
    --card-2: #222632;
    --ink: #f4f5fa;
    --ink-2: #b8bdcf;
    --ink-3: #868da3;
    --line: #2a2e3b;
    --accent: #7390ff;
    --accent-ink: #0c1024;
    --accent-soft: rgba(115, 144, 255, .14);
    --panel: #1a1d26;
    --panel-2: #222632;
    --panel-line: rgba(238, 240, 248, .1);
    --red: #ff6b5e;
    --green: #4ccf86;
    --amber: #f0b84a;
    --shadow: 0 30px 60px -36px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101218;
  --card: #1a1d26;
  --card-2: #222632;
  --ink: #f4f5fa;
  --ink-2: #b8bdcf;
  --ink-3: #868da3;
  --line: #2a2e3b;
  --accent: #7390ff;
  --accent-ink: #0c1024;
  --accent-soft: rgba(115, 144, 255, .14);
  --panel: #1a1d26;
  --panel-2: #222632;
  --panel-line: rgba(238, 240, 248, .1);
  --red: #ff6b5e;
  --green: #4ccf86;
  --amber: #f0b84a;
  --shadow: 0 30px 60px -36px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
.logo .logo-d { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .logo-l { display: none; } :root:not([data-theme="light"]) .logo .logo-d { display: block; } }
:root[data-theme="dark"] .logo .logo-l { display: none; }
:root[data-theme="dark"] .logo .logo-d { display: block; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s ease, color .3s ease; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* кнопки-пилюли */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), filter .2s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); filter: none; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.go { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.go svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.go:hover svg { transform: translateX(4px); }
.hl { color: var(--accent); text-decoration: none; }
.hl:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* карточки и секции */
.card { background: var(--card); border-radius: var(--r); padding: 40px; position: relative; overflow: hidden; }
.card--panel { background: var(--panel); color: var(--panel-ink); }
.section { padding: 120px 0 0; }
.title { font-size: clamp(40px, 6vw, 84px); line-height: .95; letter-spacing: -0.045em; text-align: center; color: var(--accent); }
.title + .lead { text-align: center; margin: 22px auto 56px; font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; max-width: 30ch; }
.h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1; letter-spacing: -0.04em; }
.title--md { font-size: clamp(34px, 4.4vw, 64px); max-width: 18ch; margin-inline: auto; }
.lead--wide { max-width: 52ch !important; }
.svc-intro__title { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.live-foot .muted { margin-top: 8px; font-size: 15px; }
.live-foot > div { max-width: 70ch; }
.sub { color: var(--ink-2); margin-top: 18px; max-width: 56ch; }
.muted { color: var(--ink-3); }

/* шапка-пилюля. avoid-ai-design-ignore: K3 — размытие только у шапки над прокручиваемым контентом.
   avoid-ai-design-ignore: L4 — счётчики в «живых проверках» показывают живые данные, не витринные цифры.
   avoid-ai-design-ignore: SD2 — тёмная тема по прямому запросу (образец x5.tech), акцент фирменный синий, зелёный только статус. */
.header { position: sticky; top: 0; z-index: 50; padding: 12px 0; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.header__inner { display: flex; align-items: center; gap: 16px; }
.logo { display: block; margin-right: auto; padding: 4px 6px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--card-2); }
.header__actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.landing-account__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px 0 4px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
}
.landing-account__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
}
.landing-account__text { display: grid; line-height: 1.15; text-align: left; }
.landing-account__text strong { font-size: 14px; font-weight: 600; }
.landing-account__text small { color: var(--ink-3); font-size: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; color: var(--ink-2); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.nav-toggle svg { width: 18px; height: 18px; }
.theme { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: color .2s, transform .3s var(--ease); }
.theme:hover { color: var(--ink); transform: rotate(-20deg); }
.theme svg { width: 18px; height: 18px; }
.theme .i-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .i-sun { display: block; } :root:not([data-theme="light"]) .theme .i-moon { display: none; } }
:root[data-theme="dark"] .theme .i-sun { display: block; }
:root[data-theme="dark"] .theme .i-moon { display: none; }
.header .btn--ghost { background: var(--card); }

/* первый экран: огромный заголовок, лента плиток, абзац-манифест */
.hero { padding-top: 40px; }
.hero__top { position: relative; }
.hero h1 { letter-spacing: -0.055em; line-height: .9; }
.hero h1 .big { display: block; font-size: clamp(54px, 10.4vw, 156px); }
.hero h1 .rest { display: block; font-size: clamp(30px, 4.6vw, 68px); letter-spacing: -0.045em; line-height: 1; margin-top: 10px; color: var(--ink-2); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: calc(var(--n) * 100ms); }
@keyframes rise { from { transform: translateY(105%); } }
.chip { position: absolute; right: 0; top: 12px; display: flex; align-items: center; gap: 12px; max-width: 290px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 14px; line-height: 1.3; animation: fade .8s ease .6s both; }
.chip i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); }
.chip i svg { width: 18px; height: 18px; }
@keyframes fade { from { opacity: 0; } }

.tiles { margin: 44px 0 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tiles__track { display: flex; gap: 16px; width: max-content; animation: run 120s linear infinite; padding: 4px 0; }
.tiles:hover .tiles__track { animation-play-state: paused; }
@keyframes run { to { transform: translateX(calc(-50% - 8px)); } }
.tile { flex: none; height: 240px; border-radius: 26px; background: var(--card); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.tile--w1 { width: 270px; } .tile--w2 { width: 300px; } .tile--w3 { width: 420px; }
.tile--round { width: 240px; border-radius: 50%; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 40px; }
.tile--round small { max-width: 140px; }
.tile--accent { background: var(--accent); color: var(--accent-ink); }
.tile--panel { background: var(--panel); color: var(--panel-ink); }
.tile b.k { font-size: 56px; line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.tile small { font-size: 14px; line-height: 1.35; opacity: .85; }
.tile .mini { height: 54px; }
.tile .alert { background: var(--card-2); border-radius: 16px; padding: 12px 14px; font-size: 14px; line-height: 1.35; }
.tile--panel .alert { background: var(--panel-2); }
.tile .alert b { display: block; font-weight: 600; }
.tile .alert span { opacity: .7; font-size: 13px; }
.pulse { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.pulse::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: beat 2s ease-out infinite; }
.pulse--red::before { background: var(--red); }
@keyframes beat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 0%, transparent), 0 0 0 0 rgba(76, 207, 134, .5); } 80%, 100% { box-shadow: 0 0 0 0 transparent, 0 0 0 9px transparent; } }

.manifest { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: end; margin-top: 64px; }
.manifest p.big { font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.manifest__side p { color: var(--ink-2); font-size: 16px; }
.manifest__side .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* лента доступности */
.ribbon { padding: 40px 44px 34px; }
.ribbon__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.ribbon__site { font-size: 15px; color: var(--panel-ink-2); display: flex; gap: 14px; }
.ribbon__big { font-size: clamp(56px, 7vw, 104px); font-weight: 700; letter-spacing: -0.05em; line-height: .95; margin-top: 8px; }
.ribbon__incident { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--panel-ink-2); }
.ribbon__incident::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--red); }
.bars { display: grid; grid-template-columns: repeat(120, minmax(0, 1fr)); gap: 3px; height: 110px; align-items: end; }
.bars i { display: block; height: 100%; background: var(--green); border-radius: 2px; transform-origin: bottom; }
.bars i.is-down { background: var(--red); }
.bars i.is-now { animation: now 1.6s ease-in-out infinite; }
@keyframes now { 50% { opacity: .35; } }
.bars.is-grow i { animation: grow .7s var(--ease) both; animation-delay: calc(var(--i) * 4ms); }
@keyframes grow { from { transform: scaleY(0); } }
.ribbon__axis { display: flex; justify-content: space-between; font-size: 13px; color: var(--panel-ink-2); margin-top: 10px; }
.ribbon__note { margin-top: 22px; color: var(--panel-ink-2); font-size: 15px; max-width: 76ch; }

/* услуги */
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.svc { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 28px; transition: transform .3s var(--ease); }
.svc:hover { transform: translateY(-4px); }
.svc--wide { grid-column: span 3; }
.svc__viz { min-height: 200px; border-radius: 20px; background: var(--accent-soft); padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.svc h3, .svc p, .svc .go, .svc dl { margin-inline: 12px; }
.svc h3 { font-size: 24px; letter-spacing: -0.025em; line-height: 1.15; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { color: var(--accent); }
.svc p { color: var(--ink-2); font-size: 16px; }
.svc .go { margin-top: auto; padding-top: 6px; font-size: 15px; }
.uptime { display: flex; align-items: center; gap: 14px; color: var(--ink-3); }
.uptime b { font-size: 34px; color: var(--ink); font-weight: 700; letter-spacing: -0.03em; }
.mini { flex: 1; display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; height: 40px; }
.mini i { background: var(--green); border-radius: 2px; }
.mini i.is-down { background: var(--red); }
.diff { font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--card); border-radius: 14px; padding: 12px; }
.diff div { padding: 1px 8px; border-radius: 6px; overflow-wrap: anywhere; }
.diff .del { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
.diff .add { background: color-mix(in srgb, var(--green) 13%, transparent); color: var(--green); }
.diff .ctx { color: var(--ink-3); }
.fall { display: grid; grid-template-columns: 96px 1fr 58px; gap: 8px 12px; align-items: center; color: var(--ink-2); }
.fall i { height: 10px; border-radius: 99px; background: var(--accent); margin-left: var(--x); width: var(--w); }
.fall i.is-slow { background: var(--amber); }
.fall b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.dir__list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; font-size: 15px; }
.dir__list dt { font-weight: 600; }
.dir__list dd { color: var(--ink-2); }
.json { margin: 0; padding: 22px 24px; border-radius: 20px; background: var(--panel); color: var(--panel-ink); font: 14px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; }
.json .k { color: var(--panel-ink-2); }
.json .s { color: #ffb4ab; }
.svc-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.svc-intro p { color: var(--ink-2); }

/* экспресс-проверка */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.steps { counter-reset: s; margin-top: 28px; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 6px; align-items: start; padding: 16px 18px; border-radius: 18px; background: var(--card-2); font-size: 16px; color: var(--ink-2); }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; }
.steps b { color: var(--ink); }
.note-sm { margin-top: 20px; color: var(--ink-2); font-size: 16px; }
.probe { display: flex; flex-direction: column; justify-content: center; }
.probe__form { display: flex; gap: 10px; }
.probe__field { flex: 1; min-width: 0; height: 56px; border-radius: 999px; padding: 0 22px; background: var(--panel-2); border: 1px solid var(--panel-line); color: var(--panel-ink); font: inherit; font-size: 17px; outline: none; transition: border-color .2s; }
.probe__field::placeholder { color: rgba(238, 240, 248, .4); }
.probe__field:focus { border-color: var(--accent); }
.probe .btn { height: 56px; }
.probe .btn[disabled] { opacity: .5; cursor: default; }
.probe__hint { font-size: 13px; color: var(--panel-ink-2); min-height: 20px; margin: 12px 4px 12px; }
.probe__hint.is-error { color: #ff8a7f; }
.probe__steps li { display: grid; grid-template-columns: 18px 1fr auto; gap: 14px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--panel-line); font-size: 16px; color: rgba(238, 240, 248, .42); transition: color .3s ease; }
.probe__steps li.is-run, .probe__steps li.is-done { color: var(--panel-ink); }
.probe__steps b { font-weight: 500; font-size: 15px; color: rgba(238, 240, 248, .45); }
.probe__steps b.ok { color: #6fdc9b; animation: tick-in .35s var(--ease) both; }
.probe__steps b.warn { color: #f5c564; animation: tick-in .35s var(--ease) both; }
@keyframes tick-in { from { opacity: 0; transform: translateY(-6px); } }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(238, 240, 248, .25); }
.is-run .dot { border-color: var(--panel-ink); border-right-color: transparent; animation: spin .8s linear infinite; }
.is-done .dot { border-color: #6fdc9b; background: #6fdc9b; animation: pop .3s var(--ease); }
.is-done.is-warn .dot { border-color: #f5c564; background: #f5c564; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 50% { transform: scale(1.3); } }
.probe__result.is-on { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--panel-line); animation: tick-in .4s var(--ease) both; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 16px; }
.probe__result .btn { height: 44px; font-size: 15px; }

/* живые проверки */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.stat { padding: 28px 32px; }
.stat b { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; display: flex; align-items: center; gap: 14px; line-height: 1.05; }
.stat span { font-size: 14px; color: var(--ink-3); }
.stat--accent { background: var(--accent); color: var(--accent-ink); }
.stat--accent span { color: inherit; opacity: .8; }
.stat--accent b::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 22%, transparent); }
.live { width: 100%; border-collapse: collapse; font-size: 16px; }
.live th { text-align: left; font-weight: 500; font-size: 14px; color: var(--ink-3); padding: 0 12px 14px 0; white-space: nowrap; }
.live td { padding: 16px 12px 16px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.live td:first-child b { font-weight: 600; display: block; }
.live td:first-child small { color: var(--ink-3); font-size: 14px; }
.live .code { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--green) 12%, transparent); color: var(--green); font-size: 14px; }
.live .code::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.live .code.is-slow { background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--amber); }
.live tr.is-fresh td { animation: fresh 1.2s ease-out; }
@keyframes fresh { from { background: var(--accent-soft); } }
.spark { width: 130px; height: 30px; display: block; }
.spark polyline { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.live-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 22px; color: var(--ink-2); font-size: 16px; }

/* сравнение */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare h3 { font-size: 26px; letter-spacing: -0.03em; margin-bottom: 22px; }
.compare li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 16px; }
.compare li::before { content: "×"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; line-height: 1; color: var(--red); background: color-mix(in srgb, var(--red) 12%, transparent); margin-top: 1px; }
.compare__off li { color: var(--ink-2); }
.compare__on { background: var(--accent); color: var(--accent-ink); }
.compare__on li { border-top-color: rgba(255, 255, 255, .2); }
:root[data-theme="dark"] .compare__on li { border-top-color: rgba(12, 16, 36, .18); }
.compare__on li::before { content: "✓"; color: var(--accent); background: var(--accent-ink); }
.compare.is-armed .compare__on li { opacity: 0; transform: translateX(-10px); transition: opacity .5s ease, transform .5s var(--ease); }
.compare.is-in .compare__on li { opacity: 1; transform: none; transition-delay: calc(var(--n) * 140ms + 150ms); }

/* кому */
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aud h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 18px; }
.aud li { color: var(--ink-2); padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; }
.aud__lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.aud__lead h3 { font-size: 22px; margin-bottom: 8px; }
.aud__lead p { color: var(--ink-2); font-size: 16px; }

/* тарифы */
.incl { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-bottom: 28px; font-size: 14px; }
.incl span { color: var(--ink-3); margin-right: 6px; }
.incl b { font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.plan__head h3 { font-size: 20px; }
.plan__flag { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--accent-ink); color: var(--accent); white-space: nowrap; }
.plan__price { font-size: 56px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin: 34px 0 10px; }
.plan__price small { font-size: 16px; font-weight: 500; letter-spacing: 0; opacity: .65; }
.plan__for { opacity: .7; font-size: 15px; padding-bottom: 24px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan__list { display: grid; gap: 12px; margin-bottom: 34px; font-size: 15px; }
.plan__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.tick { width: 18px; height: 18px; margin-top: 2px; color: var(--green); }
.plan .btn { margin-top: auto; width: 100%; }
.plan--pick { background: var(--accent); color: var(--accent-ink); }
.plan--pick .plan__for { border-bottom-color: rgba(255, 255, 255, .22); }
:root[data-theme="dark"] .plan--pick .plan__for { border-bottom-color: rgba(12, 16, 36, .2); }
.plan--pick .tick { color: currentColor; }
.plan--pick .btn { background: var(--accent-ink); color: var(--accent); }
.plans-note { text-align: center; margin-top: 28px; color: var(--ink-2); font-size: 15px; }

/* вопросы */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 22px; padding: 0 28px; transition: background-color .2s; }
.faq details[open] { background: var(--card); box-shadow: 0 0 0 1.5px var(--accent); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); font-weight: 500; font-size: 20px; transition: transform .3s var(--ease), background-color .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq details p { color: var(--ink-2); padding: 0 40px 24px 0; }

/* новости и блог */
.journal { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.journal__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.journal__head h2 { font-size: 30px; letter-spacing: -0.03em; }
.journal__sub { color: var(--ink-3); font-size: 15px; margin: -12px 0 22px; }
.journal__empty { color: var(--ink-3); font-size: 15px; }
/* Карточки сюда вписывает web/feed_cards.py. Новость — крупная заметка, блог — ряд со стрелкой. */
.journal > .card:not(#blog) .news-card:first-of-type { display: block; padding: 0; }
.journal > .card:not(#blog) .news-card:first-of-type .news-card__cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; margin: 0 0 18px; }
.journal > .card:not(#blog) .news-card:first-of-type .news-title { font-size: 22px; line-height: 1.2; margin: 6px 0 10px; }
.journal > .card:not(#blog) .news-card:first-of-type .news-excerpt { display: block; -webkit-line-clamp: unset; font-size: 15px; overflow: visible; }
.journal > .card:not(#blog) .news-card:first-of-type .news-link { display: none; }
.journal > .card:not(#blog) .news-card:not(:first-of-type) {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-areas: "cover date" "cover title";
  gap: 4px 16px;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.journal > .card:not(#blog) .news-card:not(:first-of-type) .news-card__cover { grid-area: cover; width: 96px; height: 72px; object-fit: cover; border-radius: 14px; margin: 0; }
.journal > .card:not(#blog) .news-card:not(:first-of-type) .news-excerpt,
.journal > .card:not(#blog) .news-card:not(:first-of-type) .news-link { display: none; }
#blog .news-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 40px;
  grid-template-areas: "cover date arrow" "cover title arrow";
  gap: 4px 18px;
  align-items: center;
  padding: 14px 0;
  background: transparent;
  border-radius: 0;
}
#blog .news-card + .news-card { border-top: 1px solid var(--line); }
#blog .news-card:first-of-type { padding-top: 0; }
#blog .news-card__cover { grid-area: cover; width: 96px; height: 72px; object-fit: cover; border-radius: 14px; margin: 0; }
#blog .news-card:not(:has(.news-card__cover)) { grid-template-columns: minmax(0, 1fr) 40px; grid-template-areas: "date arrow" "title arrow"; }
#blog .news-excerpt, #blog .news-link { display: none; }
#blog .news-card::after {
  content: "";
  grid-area: arrow;
  justify-self: center;
  width: 16px;
  height: 16px;
  background: var(--ink-2);
  border-radius: 50%;
  box-shadow: 0 0 0 12px var(--card-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3l5 5-5 5'/%3E%3C/svg%3E") center / 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3l5 5-5 5'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: background-color .2s, box-shadow .2s, transform .3s var(--ease);
}
#blog .news-card:hover::after { background: var(--accent-ink); box-shadow: 0 0 0 12px var(--accent); transform: rotate(-45deg); }
.journal .news-date { grid-area: date; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.journal .news-title { grid-area: title; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; margin: 0; font-weight: 600; }
.journal .news-card { position: relative; }
.journal .news-title a { color: inherit; text-decoration: none; }
.journal .news-title a::after { content: ""; position: absolute; inset: 0; }
.journal .news-card:hover .news-title a { color: var(--accent); }
.journal .news-excerpt { margin: 0; color: var(--ink-2); font-size: 14px; }
.journal .feed-loading { display: grid; gap: 14px; }
.journal .feed-loading__card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.journal .feed-loading__cover { height: 72px; border-radius: 14px; background: var(--card-2); }
.journal .feed-loading__body { display: grid; gap: 8px; }
.journal .feed-loading__line { display: block; height: 12px; border-radius: 999px; background: var(--card-2); }
.journal .feed-loading__line:nth-child(1) { width: 28%; }
.journal .feed-loading__line:nth-child(2) { width: 92%; height: 16px; }
.journal .feed-loading__line:nth-child(3) { width: 70%; }
.note { position: relative; display: block; text-decoration: none; }
.note__img { display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--card-2); margin-bottom: 18px; }
.note__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.note:hover .note__img img { transform: scale(1.04); }
.note time, .row-link time { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.note h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; margin: 6px 0 10px; }
.note h3 a { text-decoration: none; }
.note h3 a::after { content: ""; position: absolute; inset: 0; }
.note:hover h3 a { color: var(--accent); }
.note p { color: var(--ink-2); font-size: 15px; }
.rows li + li { border-top: 1px solid var(--line); }
.row-link { display: grid; grid-template-columns: 96px minmax(0, 1fr) 40px; gap: 18px; align-items: center; padding: 14px 0; text-decoration: none; }
.row-link img { width: 96px; height: 72px; object-fit: cover; border-radius: 14px; background: var(--card-2); }
.row-link__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row-link__title { font-weight: 600; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; transition: color .2s; }
.row-link:hover .row-link__title { color: var(--accent); }
.row-link .arr { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--ink-2); transition: background-color .2s, color .2s, transform .3s var(--ease); }
.row-link .arr svg { width: 16px; height: 16px; }
.row-link:hover .arr { background: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }

/* о нас */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.about__main p { color: var(--panel-ink-2); margin-top: 18px; max-width: 58ch; }
.about__main .h2 { color: var(--panel-ink); }
.about__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 32px !important; }
.about__cta span { font-size: 15px; }
.about__main .legal { font-size: 14px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--panel-line); }
.seo-text p { color: var(--ink-2); margin-top: 18px; max-width: 90ch; }
.seo-text strong { color: var(--ink); font-weight: 600; }
.side h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.side > p { color: var(--ink-2); font-size: 16px; }
.side ol { counter-reset: a; margin: 18px 0 26px; display: grid; gap: 8px; }
.side ol li { counter-increment: a; display: grid; grid-template-columns: 32px 1fr; align-items: start; font-size: 16px; color: var(--ink-2); }
.side ol li::before { content: counter(a); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; }
.reach { display: grid; grid-template-columns: 116px minmax(0, 1fr); font-size: 16px; }
.reach dt, .reach dd { padding: 12px 0; border-top: 1px solid var(--line); }
.reach dt { color: var(--ink-3); font-size: 15px; }
.reach a { text-decoration: none; font-weight: 600; }
.reach a:hover { color: var(--accent); }

/* подвал */
.footer { margin-top: 120px; padding-bottom: 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding: 48px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-content: start; }
.footer-nav h4 { font-size: 14px; font-weight: 600; color: var(--ink-3); margin: 0 0 16px; }
.footer__about p { color: var(--ink-2); margin-top: 16px; font-size: 15px; max-width: 32ch; }
.footer__about a { text-decoration: none; }
.footer h2 { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 16px; }
.footer .gap { margin-top: 28px; }
.footer ul { display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
.footer ul a { text-decoration: none; }
.footer ul a:hover, .footer__about a:hover { color: var(--accent); }
.footer__word { font-size: clamp(64px, 15.5vw, 236px); font-weight: 700; letter-spacing: -0.06em; line-height: .8; color: var(--card); text-align: center; margin: 36px 0 18px; user-select: none; white-space: nowrap; overflow: hidden; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; padding: 0 8px; }
.footer__bottom a { color: inherit; }

@media (max-width: 1100px) {
  .logo { margin-right: 0; }
  .nav-toggle { display: grid; }
  .nav { display: none; position: absolute; top: calc(100% - 8px); left: var(--gutter); right: var(--gutter); z-index: 60; flex-direction: column; align-items: stretch; padding: 8px; }
  .header.is-open .nav { display: flex; }
  .chip { display: none; }
  .manifest, .svc-intro, .split, .faq, .journal, .about, .aud__lead { grid-template-columns: 1fr; gap: 24px; }
  .svc, .svc--wide { grid-column: span 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 14px; --r: 22px; }
  body { font-size: 16px; }
  .card { padding: 24px; }
  .header .btn--ghost { display: none; }
  .landing-account__text { display: none; }
  .landing-account__button { padding-right: 4px; }
  .logo img { height: 34px; }
  .section { padding-top: 80px; }
  .tile { height: 190px; }
  .tile--w3 { width: 320px; } .tile--round { width: 190px; padding: 30px; } .tile--w1 { width: 230px; }
  .tile--round small { max-width: 120px; font-size: 13px; }
  .tile b.k { font-size: 44px; }
  .svc-grid, .stats, .compare, .aud, .plans { grid-template-columns: 1fr; }
  .svc, .svc--wide { grid-column: auto; }
  .ribbon { padding: 26px 20px; }
  .bars { grid-template-columns: repeat(60, minmax(0, 1fr)); height: 80px; gap: 2px; }
  .bars i:nth-child(-n+60) { display: none; }
  .probe__form { flex-direction: column; }
  .live th:nth-child(4), .live td:nth-child(4) { display: none; }
  .dir__list, .reach { grid-template-columns: 1fr; }
  .reach dt { padding-bottom: 0; }
  .reach dd { border-top: 0; padding-top: 2px; }
  .row-link { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .row-link img { width: 76px; height: 58px; }
  .row-link .arr { display: none; }
  .footer__grid { grid-template-columns: 1fr; padding: 28px 24px; gap: 28px; }
  .footer-nav { grid-template-columns: 1fr; gap: 28px; }
  #blog .news-card, .journal .feed-loading__card { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "cover date" "cover title"; }
  #blog .news-card::after { display: none; }
  #blog .news-card__cover, .journal .feed-loading__cover { width: 76px; height: 58px; }
  .journal > .card:not(#blog) .news-card:first-of-type .news-card__cover { width: 100%; height: auto; }
  .fall { grid-template-columns: 80px 1fr 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .compare.is-armed li { opacity: 1 !important; transform: none !important; }
}

.d0 { --n: 0; }
.d1 { --n: 1; }
.d2 { --n: 2; }
.d3 { --n: 3; }
.d4 { --n: 4; }
.fall i.w-html { --x: 0%; --w: 22%; }
.fall i.w-css { --x: 18%; --w: 20%; }
.fall i.w-js { --x: 30%; --w: 48%; }
.fall i.w-img { --x: 38%; --w: 30%; }
.bars i.is-arrive { animation: grow .6s var(--ease) both, now 1.6s ease-in-out .6s infinite; }
.bars i:nth-child(1) { --i: 0; }
.bars i:nth-child(2) { --i: 1; }
.bars i:nth-child(3) { --i: 2; }
.bars i:nth-child(4) { --i: 3; }
.bars i:nth-child(5) { --i: 4; }
.bars i:nth-child(6) { --i: 5; }
.bars i:nth-child(7) { --i: 6; }
.bars i:nth-child(8) { --i: 7; }
.bars i:nth-child(9) { --i: 8; }
.bars i:nth-child(10) { --i: 9; }
.bars i:nth-child(11) { --i: 10; }
.bars i:nth-child(12) { --i: 11; }
.bars i:nth-child(13) { --i: 12; }
.bars i:nth-child(14) { --i: 13; }
.bars i:nth-child(15) { --i: 14; }
.bars i:nth-child(16) { --i: 15; }
.bars i:nth-child(17) { --i: 16; }
.bars i:nth-child(18) { --i: 17; }
.bars i:nth-child(19) { --i: 18; }
.bars i:nth-child(20) { --i: 19; }
.bars i:nth-child(21) { --i: 20; }
.bars i:nth-child(22) { --i: 21; }
.bars i:nth-child(23) { --i: 22; }
.bars i:nth-child(24) { --i: 23; }
.bars i:nth-child(25) { --i: 24; }
.bars i:nth-child(26) { --i: 25; }
.bars i:nth-child(27) { --i: 26; }
.bars i:nth-child(28) { --i: 27; }
.bars i:nth-child(29) { --i: 28; }
.bars i:nth-child(30) { --i: 29; }
.bars i:nth-child(31) { --i: 30; }
.bars i:nth-child(32) { --i: 31; }
.bars i:nth-child(33) { --i: 32; }
.bars i:nth-child(34) { --i: 33; }
.bars i:nth-child(35) { --i: 34; }
.bars i:nth-child(36) { --i: 35; }
.bars i:nth-child(37) { --i: 36; }
.bars i:nth-child(38) { --i: 37; }
.bars i:nth-child(39) { --i: 38; }
.bars i:nth-child(40) { --i: 39; }
.bars i:nth-child(41) { --i: 40; }
.bars i:nth-child(42) { --i: 41; }
.bars i:nth-child(43) { --i: 42; }
.bars i:nth-child(44) { --i: 43; }
.bars i:nth-child(45) { --i: 44; }
.bars i:nth-child(46) { --i: 45; }
.bars i:nth-child(47) { --i: 46; }
.bars i:nth-child(48) { --i: 47; }
.bars i:nth-child(49) { --i: 48; }
.bars i:nth-child(50) { --i: 49; }
.bars i:nth-child(51) { --i: 50; }
.bars i:nth-child(52) { --i: 51; }
.bars i:nth-child(53) { --i: 52; }
.bars i:nth-child(54) { --i: 53; }
.bars i:nth-child(55) { --i: 54; }
.bars i:nth-child(56) { --i: 55; }
.bars i:nth-child(57) { --i: 56; }
.bars i:nth-child(58) { --i: 57; }
.bars i:nth-child(59) { --i: 58; }
.bars i:nth-child(60) { --i: 59; }
.bars i:nth-child(61) { --i: 60; }
.bars i:nth-child(62) { --i: 61; }
.bars i:nth-child(63) { --i: 62; }
.bars i:nth-child(64) { --i: 63; }
.bars i:nth-child(65) { --i: 64; }
.bars i:nth-child(66) { --i: 65; }
.bars i:nth-child(67) { --i: 66; }
.bars i:nth-child(68) { --i: 67; }
.bars i:nth-child(69) { --i: 68; }
.bars i:nth-child(70) { --i: 69; }
.bars i:nth-child(71) { --i: 70; }
.bars i:nth-child(72) { --i: 71; }
.bars i:nth-child(73) { --i: 72; }
.bars i:nth-child(74) { --i: 73; }
.bars i:nth-child(75) { --i: 74; }
.bars i:nth-child(76) { --i: 75; }
.bars i:nth-child(77) { --i: 76; }
.bars i:nth-child(78) { --i: 77; }
.bars i:nth-child(79) { --i: 78; }
.bars i:nth-child(80) { --i: 79; }
.bars i:nth-child(81) { --i: 80; }
.bars i:nth-child(82) { --i: 81; }
.bars i:nth-child(83) { --i: 82; }
.bars i:nth-child(84) { --i: 83; }
.bars i:nth-child(85) { --i: 84; }
.bars i:nth-child(86) { --i: 85; }
.bars i:nth-child(87) { --i: 86; }
.bars i:nth-child(88) { --i: 87; }
.bars i:nth-child(89) { --i: 88; }
.bars i:nth-child(90) { --i: 89; }
.bars i:nth-child(91) { --i: 90; }
.bars i:nth-child(92) { --i: 91; }
.bars i:nth-child(93) { --i: 92; }
.bars i:nth-child(94) { --i: 93; }
.bars i:nth-child(95) { --i: 94; }
.bars i:nth-child(96) { --i: 95; }
.bars i:nth-child(97) { --i: 96; }
.bars i:nth-child(98) { --i: 97; }
.bars i:nth-child(99) { --i: 98; }
.bars i:nth-child(100) { --i: 99; }
.bars i:nth-child(101) { --i: 100; }
.bars i:nth-child(102) { --i: 101; }
.bars i:nth-child(103) { --i: 102; }
.bars i:nth-child(104) { --i: 103; }
.bars i:nth-child(105) { --i: 104; }
.bars i:nth-child(106) { --i: 105; }
.bars i:nth-child(107) { --i: 106; }
.bars i:nth-child(108) { --i: 107; }
.bars i:nth-child(109) { --i: 108; }
.bars i:nth-child(110) { --i: 109; }
.bars i:nth-child(111) { --i: 110; }
.bars i:nth-child(112) { --i: 111; }
.bars i:nth-child(113) { --i: 112; }
.bars i:nth-child(114) { --i: 113; }
.bars i:nth-child(115) { --i: 114; }
.bars i:nth-child(116) { --i: 115; }
.bars i:nth-child(117) { --i: 116; }
.bars i:nth-child(118) { --i: 117; }
.bars i:nth-child(119) { --i: 118; }
.bars i:nth-child(120) { --i: 119; }

/* Чат и cookie: те же блоки, что в style.css, цвета зафиксированы — тема главной их не перекрашивает. */
.site-chat {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    font-family: inherit;
}

.site-chat__button {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px 8px 8px;
    color: #fff;
    background: #121c45;
    box-shadow: 0 8px 24px rgba(18, 28, 69, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-chat__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(18, 28, 69, 0.24);
}

.site-chat__button-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #2b45c4;
    background: #fff;
    font-weight: 800;
    font-size: 15px;
}

.site-chat__button span:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.site-chat__button strong {
    font-size: 13px;
}

.site-chat__button small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}

.site-chat__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    width: min(380px, calc(100vw - 32px));
    max-height: min(600px, calc(100vh - 110px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(18, 28, 69, 0.24);
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-chat--open .site-chat__panel {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.site-chat__head {
    display: flex;
    flex: 0 0 auto;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 14px;
    color: #fff;
    background: #121c45;
}

.site-chat__head div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-chat__head strong {
    font-size: 18px;
}

.site-chat__head span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.site-chat__close {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.site-chat__form {
    display: grid;
    gap: 12px;
    padding: 16px 18px 18px;
    overflow-y: auto;
}

.site-chat__form label {
    display: grid;
    gap: 6px;
    color: #454e6d;
    font-size: 13px;
    font-weight: 700;
}

.site-chat__form input,
.site-chat__form textarea {
    width: 100%;
    border: 1px solid #e1e4ee;
    border-radius: 12px;
    padding: 11px 12px;
    color: #121c45;
    background: #fff;
    font: inherit;
    font-size: 14px;
    resize: vertical;
}

.site-chat__form input::placeholder,
.site-chat__form textarea::placeholder {
    color: #6a7290;
    opacity: 1;
}
.site-chat__form input,
.site-chat__form textarea { font-weight: 400; }
.site-chat__form input:focus,
.site-chat__form textarea:focus {
    outline: 2px solid rgba(43, 69, 196, 0.24);
    border-color: #2b45c4;
}

.site-chat__captcha {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 10px;
    align-items: center;
}

.site-chat__captcha[hidden] {
    display: none;
}

.site-chat__captcha img {
    width: 132px;
    height: 48px;
    min-height: 48px;
    border: 1px solid #e1e4ee;
    border-radius: 12px;
    background: #f5f6f9;
    object-fit: contain;
}

.site-chat__consent {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 9px !important;
    color: #6a7290 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.site-chat__consent input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
}

.site-chat__consent-link {
    color: #2b45c4;
    text-decoration: underline;
}

.site-chat__consent-link:hover {
    text-decoration: none;
}

.site-chat__status {
    min-height: 18px;
    color: #6a7290;
    font-size: 13px;
}

.site-chat__status[data-type="success"] {
    color: #047857;
}

.site-chat__status[data-type="error"] {
    color: #dc2626;
}

.site-chat__submit {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    padding: 10px 24px;
    color: #fff;
    background: #2b45c4;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.2s ease;
}
.site-chat__submit:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-1px);
}

.site-chat__submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.site-chat__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Появление блоков при скролле */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    will-change: opacity, transform;
    transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal--in {
    opacity: 1;
    transform: none;
}
/* Ступенька задержки — классом: CSP (style-src 'self') не даёт скрипту
 * выставить transition-delay через element.style. */
.reveal--d1 { transition-delay: 60ms; }
.reveal--d2 { transition-delay: 120ms; }
.reveal--d3 { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal--in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .plan-card:hover,
    .news-card:hover,
    .feature-links__card:hover,
    .live-card:hover,
    .hero-visual:hover .hero-glass {
        transform: none;
    }
    .problem-item:hover { padding-left: 0; }
}

@media (max-width: 768px) {
    /* На телефоне чат — круглая кнопка в углу: широкая плашка во всю ширину
     * вместе с cookie-уведомлением закрывала четверть экрана. */
    .site-chat {
        right: 14px;
        bottom: 14px;
    }
    .site-chat__button {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .site-chat__button-icon {
        width: 32px;
        height: 32px;
    }
    .site-chat__button span:last-child {
        display: none;
    }
    .site-chat__panel {
        position: fixed;
        right: 14px;
        left: 14px;
        bottom: 80px;
        width: auto;
    }
    .site-chat__captcha {
        grid-template-columns: 1fr;
    }
}


/* ====== Cookie-уведомление (#z0063) — только публичный сайт, см. cookie-consent.js ====== */
.cookie-consent {
    position: fixed;
    /* Внизу слева, на одной линии с кнопкой чата (она справа, bottom 22px):
     * поднятая на 84px плашка висела посреди экрана и закрывала заголовки.
     * Правый отступ оставляет место под кнопку чата (~260px). */
    left: 22px;
    right: 300px;
    bottom: 22px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 560px;
    padding: 14px 16px 14px 20px;
    border-radius: 14px;
    background: #121c45;
    color: #e1e4ee;
    box-shadow: 0 12px 32px rgba(18, 28, 69, 0.28);
    font-size: 14px;
    line-height: 1.45;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
/* Открытый чат важнее cookie-плашки: она перекрывала низ формы. */
body:has(.site-chat--open) .cookie-consent {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}
.cookie-consent--hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}
.cookie-consent__text { margin: 0; flex: 1; }
.cookie-consent__link {
    color: #a9b6f0;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.cookie-consent__link:hover { color: #c7d0f5; }
.cookie-consent__button {
    flex: none;
    padding: 8px 18px;
    border: none;
    border-radius: 999px;
    background: #2b45c4;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}
.cookie-consent__button:hover { background: #2238a6; }
.cookie-consent__button:focus-visible {
    outline: 2px solid #a9b6f0;
    outline-offset: 2px;
}
@media (max-width: 768px) {
    /* Узкая полоса внизу слева от круглой кнопки чата (52px + отступы). */
    .cookie-consent {
        left: 14px;
        right: 80px;
        bottom: 14px;
        gap: 12px;
        max-width: none;
        padding: 10px 10px 10px 14px;
        font-size: 13px;
        line-height: 1.4;
    }
    .cookie-consent__button { padding: 10px 16px; min-height: 40px; }
}
