/* Golos Text · cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/golos-cyrillic-400-700.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Golos Text · latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/golos-latin-ext-400-700.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Golos Text · latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/golos-latin-400-700.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;
}
/* IBM Plex Mono · cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/plexmono-cyrillic-400.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* IBM Plex Mono · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/plexmono-latin-ext-400.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/plexmono-latin-400.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;
}
/* IBM Plex Mono · cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/plexmono-cyrillic-500.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* IBM Plex Mono · latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/plexmono-latin-ext-500.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Mono · latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/plexmono-latin-500.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;
}

/* Дублёр — резервирование сайтов. Светлая «бумажная» тема, один сигнальный цвет. */
:root {
  --paper: #F4F2EC; --paper-2: #EBE7DD; --card: #FFFFFF;
  --ink: #16191E; --ink-2: #454B54; --ink-3: #5E646D;
  --line: #DDD8CC; --line-2: #C6C0B2; --rail: #B9B2A2;
  --sig: #14A06E; --sig-btn: #0D7D58; --sig-ink: #0B6E4E; --sig-soft: #DCF2E8; --sig-lt: #7DDCB6;
  --ok: #0D7D58; --ok-soft: #DCEFE2; --bad: #BE2C20; --bad-soft: #F9E0DC;
  --night: #15181D; --night-2: #1D2128; --night-line: #2F353E; --night-ink: #ECE9E2; --night-ink2: #A4AAB3;
  --ff: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fm: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --wrap: 1180px; --gut: clamp(16px, 4vw, 40px);
  --r: 16px; --r-s: 10px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --on-ink: #FFFFFF; --hdr-bg: rgba(244, 242, 236, .86); --dot: rgba(22, 25, 30, .13); --sleeper: #E6E1D6;
  --sig-tint: #EFF8F3; --ok-tint: #F6FBF7; --mark-bg: #16191E; --amber: #C98A12; --amber-ink: #8A5A00;
  color-scheme: light;
}
/* тёмная тема — только по выбору посетителя (по умолчанию светлая) */
:root[data-theme="dark"] {
  --paper: #101317; --paper-2: #151A1F; --card: #1A1F25;
  --ink: #ECE9E2; --ink-2: #B3B8BF; --ink-3: #8C929B;
  --line: #262C33; --line-2: #353C45; --rail: #4A525C;
  --sig: #22B47C; --sig-btn: #0D7D58; --sig-ink: #5CD3A4; --sig-soft: #12302A; --sig-lt: #7DDCB6;
  --ok: #4CC793; --ok-soft: #133024; --bad: #FF6F61; --bad-soft: #3A1E1C;
  --night: #171B21; --night-2: #1F242B; --night-line: #2F363F; --night-ink: #ECE9E2; --night-ink2: #A4AAB3;
  --on-ink: #101317; --hdr-bg: rgba(16, 19, 23, .86); --dot: rgba(236, 233, 226, .08); --sleeper: #232A31;
  --sig-tint: #13261F; --ok-tint: #12241C; --mark-bg: #262D35; --amber: #E0A93A; --amber-ink: #E0A93A;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--ff);
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--sig-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--sig); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.ico { width: 22px; height: 22px; flex: none; }
.mono { font-family: var(--fm); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
       border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2;
       text-decoration: none; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn .ico { width: 20px; height: 20px; }
.btn-p { background: var(--sig-btn); color: #fff; }
.btn-p:hover { background: #0A6347; color: #fff; }
.btn-s { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-s:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn:active { transform: translateY(1px); }

/* ---------- срочная полоса и шапка ---------- */
.urg { background: var(--night); color: var(--night-ink); font-size: .875rem; }
.urg-in { display: flex; align-items: center; justify-content: center; text-align: center; gap: 6px 12px; min-height: 40px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.urg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 4px rgba(20, 160, 110, .25); animation: blink 2.4s ease-in-out infinite; }
.urg a { color: var(--sig-lt); }
.urg a:hover { color: #fff; }
@keyframes blink { 50% { opacity: .35; } }

.hdr { position: sticky; top: 0; z-index: 50; background: var(--hdr-bg); backdrop-filter: saturate(1.4) blur(12px);
       -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.hdr.is-stuck { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 12px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; margin-right: auto; flex: none; }
/* знак 40 px = две строки текста: верх названия по верху знака, низ подписи — по низу */
.logo svg { width: 40px; height: 40px; }
.logo > span { display: flex; flex-direction: column; transform: translateY(-2px); }   /* оптически: верх заглавных и низ подписи — на равном отступе от краёв знака */
.logo b { font-size: 1.375rem; font-weight: 700; letter-spacing: -.03em; line-height: 22px; }
.logo small { display: block; font-family: var(--fm); font-size: .6875rem; color: var(--ink-3); letter-spacing: .01em; line-height: 11px; margin-top: 7px; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo svg rect, .mark-bg { fill: var(--mark-bg); }
.ftr .logo svg rect { fill: #262D35; }
/* язык и тема */
.tools { display: inline-flex; align-items: center; gap: 6px; }
.lng { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); }
.lng > a, .lng > span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fm); font-size: .75rem; font-weight: 500; padding: 5px 10px 5px 6px; border-radius: 999px; color: var(--ink-2); text-decoration: none; line-height: 1.2; }
.lng .fl { width: 18px; height: 18px; flex: none; border-radius: 50%; background: center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(22, 25, 30, .14); }
.lng .fl-ru { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath fill='%23fff' d='M0 0h9v2H0z'/%3E%3Cpath fill='%230039A6' d='M0 2h9v2H0z'/%3E%3Cpath fill='%23D52B1E' d='M0 4h9v2H0z'/%3E%3C/svg%3E"); }
.lng .fl-en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30m0-30L0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='4' d='M0 0l60 30m0-30L0 30' clip-path='url(%23a)'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .lng .fl { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.lng a:hover { color: var(--ink); background: var(--paper-2); }
.lng [aria-current] { background: var(--ink); color: var(--on-ink); }
.thm { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); display: inline-grid; place-items: center; padding: 0; }
.thm .ico { width: 18px; height: 18px; }
.thm .i-sun { display: none; }
:root[data-theme="dark"] .thm .i-sun { display: block; }
:root[data-theme="dark"] .thm .i-moon { display: none; }
.thm:hover { border-color: var(--ink-3); }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; padding: 8px 9px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.hdr-c { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1.25; }
.hdr-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fm); font-size: .9375rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.hdr-tel .ico { width: 15px; height: 15px; color: var(--sig-ink); }
.hdr-tel:hover { color: var(--sig-ink); }
/* почта: копирование по клику */
.cp { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; font-family: var(--fm); font-size: inherit; color: var(--ink-3); white-space: nowrap; cursor: pointer; text-align: left; }
.cp .ico { width: 15px; height: 15px; }
.cp .cp-i, .cp .cp-ok { width: 14px; height: 14px; margin-left: -2px; }
.cp .cp-i { opacity: .7; transition: opacity .2s; }
.cp .cp-ok { display: none; color: var(--sig); }
.cp.is-copied .cp-i { display: none; }
.cp.is-copied .cp-ok { display: block; }
.cp:hover { color: var(--sig-ink); }
.cp:hover .cp-i { opacity: 1; }
.cp-tip { position: absolute; left: 50%; top: calc(100% + 8px); transform: translate(-50%, -4px); background: var(--ink); color: var(--on-ink); font: 500 .75rem/1 var(--ff); padding: 6px 9px; border-radius: 7px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; z-index: 5; }
.cp.is-copied .cp-tip { opacity: 1; transform: translate(-50%, 0); }
.hdr-mail { font-size: .75rem; }
.hdr-mail .ico:first-child { color: var(--sig-ink); }
.mnav .cp { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.0625rem; width: 100%; }
.ftr .cp { color: var(--night-ink2); }
.ftr .cp:hover { color: #fff; }
.ftr .cp-tip { background: var(--night-ink); color: var(--night); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); align-items: center; justify-content: center; }
.mnav { position: fixed; inset: 110px 0 auto 0; z-index: 49; background: var(--paper); border-bottom: 1px solid var(--line);
        padding: 12px var(--gut) 24px; display: grid; gap: 2px; box-shadow: 0 30px 60px -30px rgba(22, 25, 30, .35); }
.mnav a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1.0625rem; }
.mnav .btn { margin-top: 16px; border-bottom: 0; color: #fff; }
.mnav .mnav-tel { font-family: var(--fm); display: flex; align-items: center; gap: 8px; }
.mnav-tel .ico, .mnav .cp .ico:first-child { width: 17px; height: 17px; color: var(--sig-ink); }
@media (max-width: 1080px) { .nav { display: none; } .burger { display: inline-flex; } }
@media (max-width: 720px) { .hdr-c, .hdr .btn { display: none; } .hdr-in { gap: 10px; } }
@media (max-width: 420px) { .lng .lt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .lng > a, .lng > span { padding: 5px; } }
@media (max-width: 380px) { .logo b { font-size: 1.2rem; } }

/* ---------- переключатель аудитории ---------- */
.aud { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.aud-l { font-size: .875rem; color: var(--ink-3); }
.aud-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); position: relative; }
.aud-b { position: relative; z-index: 1; border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 600;
         font-size: .9375rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.aud-b .ico { width: 18px; height: 18px; }
.aud-b[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.aud-b:not([aria-pressed="true"]):hover { color: var(--ink); }

/* ---------- первый экран ---------- */
.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
                background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.2px); background-size: 22px 22px;
                mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-t { padding-top: 8px; }
.crumbs-h { display: none; }
.h1 { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.05rem); line-height: 1.03; letter-spacing: -.034em; font-weight: 700; margin: 26px 0 22px; text-wrap: balance; }
.h1 em { font-style: normal; color: var(--sig-ink); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 32px; }
.fact { border-top: 2px solid var(--ink); padding-top: 12px; }
.fact b { display: block; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.fact span { display: block; font-size: .9375rem; line-height: 1.4; color: var(--ink-2); margin-top: 6px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: .875rem; color: var(--ink-3); margin-top: 14px; max-width: 52ch; }

/* варианты текста для двух аудиторий стопкой (высота не прыгает) */
.vv { display: grid; }
.vv > * { grid-area: 1 / 1; }
html[data-view="director"] .vv > [data-for="it"], html[data-view="it"] .vv > [data-for="director"] { visibility: hidden; }

/* ---------- схема «стрелка» ---------- */
.mp { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px 16px 14px;
      box-shadow: 0 1px 0 rgba(22, 25, 30, .04), 0 30px 60px -36px rgba(22, 25, 30, .28); }
.mp-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 2px 4px 10px; border-bottom: 1px dashed var(--line); }
.mp-st { flex: 1 1 230px; display: flex; align-items: flex-start; gap: 9px; font-size: .875rem; font-weight: 600; line-height: 1.35; min-width: 0; }
.mp-led { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 5px; background: var(--ok); transition: background .3s; }
.is-fail .mp-led { background: var(--bad); animation: blink 1s steps(2) infinite; }
.is-bypass .mp-led { background: var(--sig); }
.mp-clk { text-align: center; font-family: var(--fm); font-size: .75rem; color: var(--ink-3); white-space: nowrap; padding: 4px 9px; border-radius: 999px; background: var(--paper); }
.is-fail .mp-clk { color: var(--bad); background: var(--bad-soft); }
.is-bypass .mp-clk { color: var(--sig-ink); background: var(--sig-soft); }
.sv { display: grid; }
.sv > * { grid-area: 1 / 1; visibility: hidden; }
.is-norm .sv > [data-s~="norm"], .is-fail .sv > [data-s~="fail"], .is-bypass .sv > [data-s~="bypass"] { visibility: visible; }
.mp-svg { width: 100%; height: auto; margin: 6px 0 4px; overflow: visible; }
.mp-svg text { font-family: var(--ff); fill: var(--ink); }
.trk path { fill: none; }
.trk .sl { stroke: var(--sleeper); stroke-width: 14; stroke-dasharray: 2 7; }
.trk .ro { stroke: var(--rail); stroke-width: 7; transition: stroke .5s var(--ease); }
.trk .ri { stroke: var(--card); stroke-width: 3.2; }
.is-norm .t-stem .ro, .is-norm .t-a .ro { stroke: var(--ok); }
.is-fail .t-stem .ro { stroke: var(--ink-3); }
.is-fail .t-a .ro, .is-bypass .t-a .ro { stroke: var(--bad); stroke-dasharray: 8 6; }
.is-bypass .t-a .ro { opacity: .45; }
.is-bypass .t-stem .ro, .is-bypass .t-b .ro { stroke: var(--sig); }
.car { fill: var(--ink); }
.wg-b .car { fill: var(--sig-btn); }
.wg, .wq, .brk { opacity: 0; transition: opacity .45s var(--ease); }
.is-norm .wg-a, .is-bypass .wg-b, .is-fail .wq, .is-fail .brk, .is-bypass .brk { opacity: 1; }
.wq rect { fill: var(--ink-3); }
.is-fail .wq rect { animation: queue 1.4s ease-in-out infinite; }
.wq rect:nth-child(2) { animation-delay: .15s; } .wq rect:nth-child(3) { animation-delay: .3s; }
@keyframes queue { 50% { fill: var(--bad); } }
.brk circle { fill: var(--bad); }
.brk path { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.needle { fill: var(--ink); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; transform-box: view-box; transform-origin: 0 0;
          transform: rotate(38deg); transition: transform .8s cubic-bezier(.5, 0, .15, 1); }
.is-bypass .needle { transform: rotate(-38deg); }
.hub { fill: var(--ink); stroke: var(--card); stroke-width: 3.5; paint-order: stroke; }
.tag rect { fill: var(--paper); stroke: var(--line-2); }
.tag text { font-family: var(--fm) !important; font-size: 10.5px; fill: var(--ink-2) !important; text-anchor: middle; }
.nd rect { fill: var(--card); stroke: var(--line-2); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.nd .t1 { font-size: 15px; font-weight: 600; }
.nd .t2 { font-family: var(--fm) !important; font-size: 11.5px; fill: var(--ink-3) !important; }
.nd .t3 { font-size: 13px; font-weight: 600; }
.nd .ic { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lamp { fill: var(--ok); transition: fill .3s; }
.is-fail .srv-a rect, .is-bypass .srv-a rect { fill: var(--bad-soft); stroke: var(--bad); }
.is-fail .srv-a .lamp, .is-bypass .srv-a .lamp { fill: var(--bad); }
.is-fail .srv-a .lamp { animation: blink 1s steps(2) infinite; }
.srv-b .lamp { fill: var(--rail); }
.is-bypass .srv-b rect { stroke: var(--sig); stroke-width: 2.2; }
.is-bypass .srv-b .lamp { fill: var(--sig); }
.nd .s-ok { fill: var(--ok) !important; } .nd .s-bad { fill: var(--bad) !important; }
.nd .s-wait { fill: var(--ink-3) !important; } .nd .s-live { fill: var(--sig-ink) !important; }
.nd [data-s] { visibility: hidden; }
.is-norm .nd [data-s~="norm"], .is-fail .nd [data-s~="fail"], .is-bypass .nd [data-s~="bypass"] { visibility: visible; }
.is-fail .ld rect { fill: var(--paper); stroke-dasharray: 5 4; }
.mp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 6px 0 12px; counter-reset: s; }
.mp-steps li { position: relative; padding-top: 12px; font-size: .75rem; line-height: 1.3; color: var(--ink-3); }
.mp-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--line); transition: background .4s; }
.mp-steps b { display: block; font-family: var(--fm); font-weight: 500; font-size: .75rem; color: var(--ink-2); margin-bottom: 2px; }
.is-fail .mp-steps li:nth-child(-n+2)::before { background: var(--bad); }
.is-bypass .mp-steps li:nth-child(-n+2)::before { background: var(--ink-3); }
.is-bypass .mp-steps li:nth-child(n+3)::before { background: var(--sig); }
.is-fail .mp-steps li:nth-child(-n+2), .is-bypass .mp-steps li { color: var(--ink-2); }
.mp-modes { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed var(--line); }
.mp-modes span { font-size: .75rem; color: var(--ink-3); margin-right: 4px; }
.mp-modes button { border: 1px solid var(--line-2); background: var(--card); border-radius: 999px; padding: 6px 13px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.mp-modes button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.mp-modes button[data-state="fail"][aria-pressed="true"] { background: var(--bad); border-color: var(--bad); }
.mp-modes button[data-state="bypass"][aria-pressed="true"] { background: var(--sig-btn); border-color: var(--sig-btn); }

/* ---------- секции ---------- */
.sec { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.sec-tint { background: var(--paper-2); }
.sec-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.h2 { font-size: clamp(1.75rem, 1.1rem + 2.1vw, 2.75rem); line-height: 1.1; letter-spacing: -.026em; font-weight: 650; margin-bottom: 16px; text-wrap: balance; }
.h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.sub { font-size: 1.0625rem; color: var(--ink-2); line-height: 1.6; }
.pill-v { display: inline-flex; align-items: center; gap: 7px; font-family: var(--fm); font-size: .75rem; color: var(--ink-3);
          border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px; margin-bottom: 18px; background: var(--card); }
.pill-v .ico { width: 15px; height: 15px; }

/* потери */
.loss { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.loss li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 22px; position: relative; overflow: hidden; }
.loss li::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--bad), transparent 85%); opacity: .7; }
.loss .ico { width: 28px; height: 28px; color: var(--bad); margin-bottom: 16px; }
.loss h3 { font-size: 1.0625rem; line-height: 1.3; font-weight: 650; margin-bottom: 8px; }
.loss p { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }

/* калькулятор */
.sec-night { background: var(--night); color: var(--night-ink); border-top: 0; }
.sec-night .sub { color: var(--night-ink2); }
.calc-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.calc-in { display: grid; gap: 22px; }
.rng { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: baseline; }
.rng-l { font-size: .9375rem; color: var(--night-ink2); }
.rng output { font-family: var(--fm); font-size: 1.0625rem; color: #fff; }
.rng input { grid-column: 1 / -1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sig) var(--p, 50%), var(--night-line) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--night-line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--sig); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 5px solid var(--sig); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--sig); }
.dur { border: 0; padding: 0; margin: 0; }
.dur legend { font-size: .9375rem; color: var(--night-ink2); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--night-line); font-size: .9375rem; transition: background .2s, border-color .2s, color .2s; }
.chip input:checked + span { background: #fff; color: var(--night); border-color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 2.5px solid var(--sig); outline-offset: 2px; }
.calc-out { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.co-l { font-size: .9375rem; color: var(--night-ink2); }
.co-big { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 6px 0 18px; color: #fff; font-variant-numeric: tabular-nums; }
.co-big small { font-size: .5em; color: var(--night-ink2); font-weight: 500; margin-left: 4px; }
.co-list { display: grid; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--night-line); }
.co-list li { display: flex; justify-content: space-between; gap: 16px; font-size: .9375rem; color: var(--night-ink2); }
.co-list b { color: var(--night-ink); font-family: var(--fm); font-weight: 500; white-space: nowrap; }
.bars { display: grid; gap: 14px; margin: 20px 0 16px; }
.bar { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; font-size: .875rem; }
.bar span { color: var(--night-ink2); }
.bar i { display: block; height: 12px; border-radius: 6px; width: var(--w, 50%); min-width: 6px; transition: width .5s var(--ease); }
.bar-a i { background: repeating-linear-gradient(135deg, var(--bad) 0 6px, #E2584C 6px 12px); }
.bar-b i { background: var(--sig); }
.bar b { font-family: var(--fm); font-weight: 500; white-space: nowrap; }
.co-note { font-size: .8125rem; color: var(--night-ink2); line-height: 1.5; }

/* как работает: шаги на «пути» */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 6px; border-top: 1.5px solid var(--rail); border-bottom: 1.5px solid var(--rail);
                 background: repeating-linear-gradient(90deg, transparent 0 8px, var(--line) 8px 10px); }
.step { position: relative; }
.step-n { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center;
          font-family: var(--fm); font-size: 1.125rem; font-weight: 500; margin-bottom: 20px; box-shadow: 0 0 0 7px var(--paper); position: relative; }
.step:last-child .step-n { background: var(--sig-btn); color: #fff; }
.sec-tint .step-n { box-shadow: 0 0 0 7px var(--paper-2); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 1rem; }
.after { margin-top: clamp(28px, 4vw, 40px); padding: 18px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.after .ico { color: var(--ok); margin-top: 2px; }

/* от вас */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.way { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; grid-template-columns: 48px 1fr; gap: 6px 18px; }
.way .ico-box { grid-row: span 2; }
.ico-box { width: 48px; height: 48px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; color: var(--ink); }
.ico-box .ico { width: 24px; height: 24px; }
.way p { color: var(--ink-2); font-size: 1rem; }
.or { display: flex; align-items: center; justify-content: center; font-family: var(--fm); font-size: .8125rem; color: var(--ink-3); }
.promise { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; }
.promise li { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.promise .ico { color: var(--ok); width: 20px; height: 20px; }

/* режимы */
.mode { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; }
.mode-art { height: 92px; margin-bottom: 18px; }
.mode h3 { font-size: 1.375rem; margin-bottom: 10px; }
.mode p { color: var(--ink-2); }
.mode ul { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.mode li { font-size: .8125rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.art-sw rect.base { fill: var(--paper); stroke: var(--line-2); }
.art-sw .knob { fill: var(--sig-btn); transition: transform .6s var(--ease); }
.art-sw text { font-family: var(--fm); font-size: 11px; fill: var(--ink-3); }
.art-mon path.grid { stroke: var(--line); }
.art-mon .pulse { fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 340; animation: ecg 3.2s linear infinite; }
@keyframes ecg { from { stroke-dashoffset: 340; } to { stroke-dashoffset: -340; } }

/* замены */
.swap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.swap li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.swap s { text-decoration: none; font-weight: 650; position: relative; width: fit-content; align-self: start; line-height: 1.35; }
.swap s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 55%; height: 1.5px; background: var(--bad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.swap li.on s::after { transform: scaleX(1); }
.swap span { font-size: .9375rem; color: var(--ink-2); display: flex; gap: 6px; align-items: baseline; }
.swap span::before { content: "→"; color: var(--sig); font-weight: 700; }
.swap li.keep s::after { display: none; }
.swap li.keep span::before { content: "+"; color: var(--ok); }

/* IT: архитектура */
.arch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.arch div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.arch dt { font-family: var(--fm); font-size: .875rem; font-weight: 500; color: var(--ink); padding-top: 2px; }
.arch dd { color: var(--ink-2); font-size: .9688rem; line-height: 1.55; }
.rb { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.rb li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 22px; border-top: 1px solid var(--line); align-items: baseline; }
.rb li:first-child { border-top: 0; }
.rb b { font-family: var(--fm); font-weight: 500; color: var(--sig-ink); font-size: .9375rem; }
.rb span { color: var(--ink-2); }
.callout-s { margin-top: 18px; padding: 16px 20px; border-left: 3px solid var(--sig); background: var(--sig-soft); border-radius: 0 var(--r-s) var(--r-s) 0; font-size: .9688rem; color: var(--ink-2); }
.tbl-w { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 720px; }
.tbl th, .tbl td { text-align: left; padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.tbl thead th { border-top: 0; font-family: var(--fm); font-size: .75rem; font-weight: 500; color: var(--ink-3); background: var(--paper); letter-spacing: .01em; }
.tbl td:first-child { font-weight: 600; }
.tbl td { color: var(--ink-2); }
.tbl td:first-child { color: var(--ink); }
.cms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cms li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.cms h3 { margin-bottom: 8px; }
.cms p { color: var(--ink-2); font-size: .9688rem; }
.acc { display: grid; gap: 0; }
.acc li { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.acc b { font-weight: 600; }
.acc span { color: var(--ink-2); }
.deliv { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.deliv li { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: .9375rem; font-weight: 500; }
.deliv .ico { color: var(--sig); width: 20px; height: 20px; margin-top: 2px; }

/* команда */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.team li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; align-content: start; }
.team .ico-box { grid-row: span 2; }
.team p { grid-column: 2; color: var(--ink-2); font-size: .9688rem; line-height: 1.55; }

/* сравнение */
.cmp { min-width: 680px; }
.cmp th:last-child, .cmp td:last-child { background: var(--sig-tint); }
.cmp thead th:last-child { color: var(--sig-ink); background: var(--sig-soft); }
.lv { display: inline-flex; align-items: center; gap: 8px; }
.lv::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lv-0::before { background: var(--bad); } .lv-1::before { background: var(--amber); } .lv-2::before { background: var(--ok); }
.lv-2 { color: var(--ink); font-weight: 600; }

/* для кого */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.who li { border-top: 2px solid var(--ink); padding-top: 16px; }
.who h3 { margin-bottom: 6px; font-size: 1.0625rem; }
.who p { color: var(--ink-2); font-size: .9688rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: .9375rem; }
.tags-l { font-size: .875rem; color: var(--ink-3); margin: 20px 0 10px; }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; display: flex; flex-direction: column; position: relative; }
.plan.best { border: 2px solid var(--ink); box-shadow: 0 30px 60px -40px rgba(22, 25, 30, .45); }
.plan-badge { position: absolute; top: -13px; left: 24px; background: var(--ink); color: var(--on-ink); font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.375rem; margin-bottom: 4px; }
.plan-tag { color: var(--ink-3); font-size: .9375rem; }
.plan-pr { margin: 20px 0 6px; font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.plan-pr small { font-size: .9375rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan-mo { font-size: .9375rem; color: var(--ink-2); font-family: var(--fm); }
.plan-term { display: inline-flex; gap: 7px; align-items: center; font-size: .875rem; color: var(--ink-2); margin: 14px 0 18px; }
.plan-term .ico { width: 17px; height: 17px; color: var(--ink-3); }
.plan ul { display: grid; gap: 10px; margin-bottom: 26px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .9688rem; line-height: 1.45; }
.plan li .ico { width: 19px; height: 19px; color: var(--ok); margin-top: 2px; }
.plan .btn { width: 100%; }
.price-note { margin-top: 18px; color: var(--ink-3); font-size: .9375rem; }
.rescue { margin-top: 28px; background: var(--night); color: var(--night-ink); border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.rescue h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.rescue h3 .urg-dot { flex: none; }
.rescue p { color: var(--night-ink2); }
.rescue-c { display: grid; gap: 8px; justify-items: start; }
.rescue-tel { font-family: var(--fm); font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); color: #fff; text-decoration: none; white-space: nowrap; }
.rescue-tel:hover { color: var(--sig-lt); }
.rescue small { color: var(--night-ink2); font-size: .8125rem; }
.move { margin-top: 16px; color: var(--ink-2); font-size: .9375rem; }

/* границы */
.lim { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.lim li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.lim .ico { color: var(--ink-3); margin-top: 2px; }
.lim li:last-child { color: var(--ink); font-weight: 600; }
.lim li:last-child .ico { color: var(--ok); }

/* статьи */
.arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.arts a { display: flex; flex-direction: column; gap: 10px; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.arts a:hover { border-color: var(--ink); transform: translateY(-2px); }
.arts h3 { font-size: 1.125rem; line-height: 1.35; }
.arts p { color: var(--ink-2); font-size: .9375rem; flex: 1; }
.arts .more { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--sig-ink); font-size: .9375rem; }
.arts .more .ico { width: 18px; height: 18px; }
.arts-img { display: block; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 40 / 21; margin: -24px -24px 6px; border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0; border-bottom: 1px solid var(--line); background: var(--paper-2); }

/* вопросы */
.faq-g { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-side .h2 { font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.35rem); }
.upd { font-family: var(--fm); font-size: .8125rem; color: var(--ink-3); margin-top: 14px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 20px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 1.0938rem; line-height: 1.4; font-weight: 600; }
.qa summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; margin-top: -1px; transition: background .2s, transform .3s var(--ease); }
.qa summary .pm::before, .qa summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); }
.qa summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.qa[open] summary .pm { background: var(--ink); }
.qa[open] summary .pm::before { background: var(--on-ink); }
.qa[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--on-ink); }
.qa summary:hover h3 { color: var(--sig-ink); }
.qa-a { padding: 0 46px 22px 0; color: var(--ink-2); }

/* форма */
.form-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(24px, 5vw, 64px); align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 34px); display: grid; gap: 20px; }
.row { display: grid; gap: 8px; }
.row > label, .row legend { font-size: .9375rem; font-weight: 600; padding: 0; }
.row legend { margin-bottom: 8px; }
fieldset.row { border: 0; margin: 0; padding: 0; min-width: 0; }
.row input[type="text"], .row input[type="tel"], .row textarea { width: 100%; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 15px; background: var(--paper); font-size: 1rem; transition: border-color .2s, background .2s; }
.row textarea { min-height: 96px; resize: vertical; }
.row input:focus, .row textarea:focus { outline: none; border-color: var(--ink); background: var(--card); }
.row.is-bad input { border-color: var(--bad); background: var(--bad-soft); }
.err { font-size: .8125rem; color: var(--bad); min-height: 0; }
.opt { display: flex; flex-wrap: wrap; gap: 8px; }
.opt label { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt label > span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: .9375rem; background: var(--paper); transition: background .2s, border-color .2s, color .2s; }
.opt input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2.5px solid var(--sig); outline-offset: 2px; }
.opt .is-urgent input:checked + span { background: var(--bad); border-color: var(--bad); color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-f { display: grid; gap: 12px; }
.form-f .btn { width: 100%; }
.agree { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .875rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; font-weight: 400 !important; }
.agree input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.agree input:checked { background: var(--ink); border-color: var(--ink); }
.agree input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--on-ink); border-width: 0 2.2px 2.2px 0; transform: translateY(-1px) rotate(45deg); }
.agree-row.is-bad .agree input { border-color: var(--bad); background: var(--bad-soft); }
.fnote { font-size: .9375rem; color: var(--ink-2); }
.fnote.is-ok { color: var(--ok); font-weight: 600; }
.fnote.is-bad { color: var(--bad); }
.aside { display: grid; gap: 16px; }
.aside-c { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: var(--card); }
.aside-c.dark { background: var(--night); color: var(--night-ink); border-color: var(--night); }
.aside-c.dark p { color: var(--night-ink2); }
.aside-c h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.aside-c p { color: var(--ink-2); font-size: .9375rem; }
.aside-tel { display: block; font-family: var(--fm); font-size: 1.5rem; color: #fff; text-decoration: none; margin: 10px 0 4px; }
.aside-tel:hover { color: var(--sig-lt); }
.aside ul { display: grid; gap: 10px; }
.aside li { display: flex; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
.aside li .ico { color: var(--ok); width: 19px; height: 19px; margin-top: 2px; }

/* подвал */
.ftr { background: var(--night); color: var(--night-ink2); padding: clamp(48px, 6vw, 80px) 0 28px; font-size: .9375rem; }
.ftr-g { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
.ftr .logo { color: #fff; margin-bottom: 14px; }
.ftr .logo small { color: var(--night-ink2); }
.ftr-h { font-size: .8125rem; font-family: var(--fm); font-weight: 500; color: var(--night-ink); margin-bottom: 14px; letter-spacing: .02em; }
.ftr ul { display: grid; gap: 8px; }
.ftr a { color: var(--night-ink2); text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr-tel { font-family: var(--fm); color: #fff !important; font-size: 1.0625rem; display: inline-flex; align-items: center; gap: 8px; }
.ftr-tel .ico { width: 15px; height: 15px; color: var(--sig-lt); }
.ftr .cp .ico:first-child { color: var(--sig-lt); }
.ftr-b { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .8125rem; }
.req { font-size: .8125rem; line-height: 1.6; margin-top: 10px; }

/* док: переключатель и CTA после первого экрана */
.dock { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; transform: translate(-50%, 140%);
        display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(22, 25, 30, .92);
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -16px rgba(22, 25, 30, .5);
        transition: transform .45s var(--ease); }
.dock.is-on { transform: translate(-50%, 0); }
.dock .aud-seg { background: transparent; border-color: #3A414B; }
.dock .aud-b { color: var(--night-ink2); padding: 8px 14px; font-size: .875rem; }
.dock .aud-b[aria-pressed="true"] { background: #fff; color: #15181D; }
.dock .btn { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.dock-tel { display: none; width: 42px; height: 42px; border-radius: 50%; background: #2A3038; color: #fff; align-items: center; justify-content: center; }

/* статьи (страницы) */
.art { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.art-in { max-width: 780px; min-width: 0; }
.art-g { display: grid; grid-template-columns: minmax(0, 780px) minmax(0, 300px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.art-side { position: sticky; top: 100px; display: grid; gap: 14px; margin-top: 64px; }
.art-side .h3 { font-size: 1.0625rem; margin-bottom: 6px; color: inherit; }
.art-side .aside-c.dark .h3 { color: #fff; }
.art-side .btn { margin-top: 14px; }
.art-side .aside-tel { font-size: 1.3rem; }
@media (max-width: 1080px) { .art-g { grid-template-columns: minmax(0, 1fr); } .art-side { display: none; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .875rem; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.art h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; margin-bottom: 18px; text-wrap: balance; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--fm); font-size: .8125rem; color: var(--ink-3); margin-bottom: 26px; }
.art-cover { margin: -8px 0 26px; }
.art-shot { margin: 26px 0 30px; }
.art-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper-2); }
.art-shot figcaption { margin-top: 10px; font-size: .875rem; line-height: 1.5; color: var(--ink-3); }
.art-cover img { display: block; width: 100%; height: auto; aspect-ratio: 40 / 21; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper-2); }
.art-intro { font-size: 1.1875rem; line-height: 1.6; color: var(--ink); padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--sig); border-radius: 0 var(--r) var(--r) 0; margin-bottom: 30px; }
.toc { margin: 0 0 34px; padding: 20px 24px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.toc b { display: block; font-family: var(--fm); font-size: .75rem; font-weight: 500; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { display: grid; gap: 6px; list-style: decimal; padding-left: 20px; }
.toc a { color: var(--ink); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 650; margin-top: 44px; }
.prose ul, .prose ol { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--sig); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 40px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-family: var(--fm); font-size: .8125rem; display: grid; place-items: center; }
.prose .tbl-w { margin-top: 20px; }
.prose .tbl { min-width: 620px; font-size: .9063rem; }
.tpl { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 18px; font-family: var(--fm); font-size: .875rem; line-height: 1.65; color: var(--ink-2); }
.tpl-b { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 6px 14px; font-family: var(--ff); font-size: .8125rem; font-weight: 600; }
.tpl-b .ico { width: 16px; height: 16px; }
.co { margin-top: 36px !important; background: var(--night); color: var(--night-ink); border-radius: 20px; padding: 26px 28px; }
.co h2, .co .h3 { color: #fff; margin: 0 0 8px !important; font-size: 1.25rem !important; }
.co p { color: var(--night-ink2); }
.co a { color: var(--sig-lt); }
.prose .qa summary h3 { font-size: 1.0625rem; }
.rel { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.rel-h { font-size: 1.25rem; font-weight: 650; margin-bottom: 18px; }
.rel .arts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* чек-лист */
.ck-g { display: grid; gap: 28px; }
.ck-g h2 { margin-top: 12px !important; }
.ck { display: grid; gap: 10px; margin-top: 14px; }
.ck label { display: grid; grid-template-columns: 28px 1fr; gap: 4px 14px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.ck input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line-2); margin: 0; grid-row: span 2; display: grid; place-items: center; background: var(--paper); cursor: pointer; }
.ck input:checked { background: var(--ok); border-color: var(--ok); }
.ck input:checked::after { content: ""; width: 7px; height: 13px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-2px) rotate(45deg); }
.ck label:has(input:checked) { border-color: var(--ok); background: var(--ok-tint); }
.ck b { font-weight: 600; line-height: 1.4; }
.ck small { color: var(--ink-3); font-size: .875rem; line-height: 1.45; }
.score { position: sticky; bottom: 16px; z-index: 5; margin-top: 30px !important; background: var(--night); color: var(--night-ink); border-radius: 18px; padding: 18px 22px; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; box-shadow: 0 20px 40px -20px rgba(22, 25, 30, .5); }
.score-n { font-family: var(--fm); font-size: 1.75rem; color: #fff; grid-row: span 2; }
.score-n small { font-size: .875rem; color: var(--night-ink2); }
.score-b { height: 6px; border-radius: 6px; background: var(--night-line); overflow: hidden; }
.score-b i { display: block; height: 100%; width: 0; background: var(--bad); transition: width .4s var(--ease), background .4s; }
.score-t { font-size: .9375rem; color: var(--night-ink2); }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .loss { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .swap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deliv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-g { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero-g { grid-template-columns: minmax(0, 1fr); }
  .mp { max-width: 520px; }
  .calc-g, .form-g, .faq-g { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch, .lim { grid-template-columns: minmax(0, 1fr); }
  .arts { grid-template-columns: minmax(0, 1fr); }
  .rescue { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 24px 0 26px; }
  .fact { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: baseline; padding: 12px 0; border-top-width: 1px; border-top-color: var(--line-2); }
  .fact:first-child { border-top: 2px solid var(--ink); }
  .fact span { margin-top: 0; }
  .vv-facts .fact { grid-template-columns: 132px 1fr; }
  .cta .btn { width: 100%; }
  .loss, .two, .team, .cms, .who, .swap, .deliv { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .steps::before { left: 25px; right: auto; top: 28px; bottom: 28px; width: 6px; height: auto; border: 0; border-left: 1.5px solid var(--rail); border-right: 1.5px solid var(--rail);
                   background: repeating-linear-gradient(180deg, transparent 0 8px, var(--line) 8px 10px); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; }
  .step-n { grid-row: span 2; margin: 0; }
  .arch div, .acc li, .rb li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rb li { padding: 14px 18px; }
  .mp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .bar { grid-template-columns: 92px 1fr auto; }
  .qa-a { padding-right: 0; }
  .ftr-g { grid-template-columns: minmax(0, 1fr); }
  .dock { left: 12px; right: 12px; transform: translateY(140%); justify-content: space-between; }
  .dock.is-on { transform: translateY(0); }
  .dock .btn { padding: 0 14px; }
  .dock-tel { display: inline-flex; }
  .dock .aud-b { padding: 8px 11px; }
  .dock .aud-b .ico { display: none; }
  .way { grid-template-columns: minmax(0, 1fr); }
  .way .ico-box { grid-row: auto; }
  .team li { grid-template-columns: 48px 1fr; }
  .rel .arts { grid-template-columns: minmax(0, 1fr); }
  .score { grid-template-columns: auto 1fr; }
}
@media (max-width: 400px) {
  .mp-modes span { display: none; }
  .dock .btn span { display: none; }
  .aud-b { padding: 9px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .urg, .hdr, .dock, .mnav, .form, .calc-in { display: none !important; }
  [data-for] { display: block !important; visibility: visible !important; }
}

/* рычаг в карточке «Переключатель у вас» */
.art-sw .knob { animation: lever 6.5s var(--ease) infinite; }
@keyframes lever { 0%, 40% { transform: translateX(0); fill: var(--ink); } 50%, 90% { transform: translateX(160px); fill: var(--sig-btn); } 100% { transform: translateX(0); fill: var(--ink); } }

/* плавная смена темы (кроме первой отрисовки) */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .35s ease, border-color .35s ease, color .35s ease, fill .35s ease, stroke .35s ease !important; }
:root[data-theme="dark"] img { opacity: .92; }

.opt-l { font-weight: 400; color: var(--ink-3); }

/* шапка 1081–1279: телефон уже есть в верхней полосе — освобождаем место для меню */
.logo svg { flex: none; }
.nav a { white-space: nowrap; }
@media (max-width: 1279px) { .hdr .logo small { display: none; } .hdr .logo svg { width: 36px; height: 36px; } }
@media (min-width: 1081px) and (max-width: 1279px) { .hdr-in { gap: 12px; } .nav { gap: 0; } .nav a { padding: 8px 8px; font-size: .875rem; } }
/* 1081–1179: у языков остаются только флажки — так влезает кнопка «Связаться» */
@media (min-width: 1081px) and (max-width: 1179px) { .lng .lt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .lng > a, .lng > span { padding: 5px; } .hdr-in { gap: 10px; } .nav a { padding: 8px 6px; } }

/* ---------- экспресс-проверка сайта ---------- */
.chk-sec .sec-head { margin-bottom: clamp(22px, 3vw, 32px); }
.chk { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 3vw, 32px); box-shadow: 0 30px 60px -44px rgba(22, 25, 30, .35); }
.chk-lbl { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: 10px; }
.chk-in { display: flex; gap: 10px; }
.chk-in input { flex: 1; min-width: 0; height: 56px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 0 22px; background: var(--paper); font-family: var(--fm); font-size: 1.0625rem; transition: border-color .2s, background .2s; }
.chk-in input:focus { outline: none; border-color: var(--ink); background: var(--card); }
.chk-in .btn { min-height: 56px; padding: 0 28px; }
.chk-in .btn[disabled] { opacity: .75; cursor: progress; }
.chk-f.is-busy .btn .ico { animation: chk-spin 1s linear infinite; }
@keyframes chk-spin { to { transform: rotate(360deg); } }
.chk-msg { min-height: 0; margin-top: 10px; font-size: .9375rem; color: var(--ink-2); }
.chk-msg:empty { display: none; }
.chk-msg.is-bad { color: var(--bad); }
.chk-what { margin-top: 22px; }
.chk-what-l { font-size: .8125rem; font-family: var(--fm); color: var(--ink-3); margin-bottom: 10px; }
.chk-what ul { display: flex; flex-wrap: wrap; gap: 8px; }
.chk-what li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }
.chk-what .ico { width: 16px; height: 16px; color: var(--sig-ink); }
.chk-from { margin-top: 18px; font-size: .8125rem; color: var(--ink-3); }
.chk-res { margin-top: 24px; display: grid; gap: 16px; }
.chk-res.is-loading { opacity: .5; }

.cr-ban { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--sig-tint); border: 1px solid var(--sig-soft); }
.cr-ban .cr-led { width: 12px; height: 12px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 5px rgba(20, 160, 110, .18); grid-row: span 2; align-self: start; margin-top: 7px; }
.cr-ban b { font-size: 1.125rem; line-height: 1.3; }
.cr-ban span { color: var(--ink-2); font-size: .9375rem; }
.cr-ban.is-warn { background: rgba(201, 138, 18, .1); border-color: rgba(201, 138, 18, .3); }
.cr-ban.is-warn .cr-led { background: var(--amber); box-shadow: 0 0 0 5px rgba(201, 138, 18, .18); }
.cr-ban.is-bad { background: var(--bad-soft); border-color: rgba(190, 44, 32, .25); }
.cr-ban.is-bad .cr-led { background: var(--bad); box-shadow: 0 0 0 5px rgba(190, 44, 32, .18); animation: blink 1.6s ease-in-out infinite; }
.cr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.cr-g { border: 1px solid var(--line); border-radius: 18px; padding: 6px 18px; background: var(--card); }
.cr-g h3 { font-size: .8125rem; font-family: var(--fm); font-weight: 500; color: var(--ink-3); padding: 12px 0 4px; letter-spacing: .01em; }
.cr-row { padding: 12px 0 13px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 3px 10px; }
.cr-g h3 + .cr-row { border-top: 0; }
.cr-row i { width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; background: var(--ink-3); grid-row: span 3; }
.cr-row.st-ok i { background: var(--sig); }
.cr-row.st-warn i { background: var(--amber); }
.cr-row.st-bad i { background: var(--bad); }
.cr-row.st-info i { background: transparent; border: 1.5px solid var(--ink-3); }
.cr-k { font-size: .8125rem; color: var(--ink-3); }
.cr-v { font-weight: 600; font-size: .9688rem; line-height: 1.4; overflow-wrap: anywhere; }
.cr-v.is-txt { font-weight: 400; font-size: .9375rem; }
.cr-n { font-size: .875rem; color: var(--ink-2); line-height: 1.45; overflow-wrap: anywhere; }
.cr-row.st-bad .cr-v { color: var(--bad); }
.cr-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: 20px 22px; border-radius: 18px; background: var(--night); color: var(--night-ink); border: 1px solid var(--night-line); }
.cr-cta p { max-width: 62ch; color: var(--night-ink2); font-size: .9375rem; }
.cr-cta p b { display: block; color: var(--night-ink); font-size: 1.0625rem; margin-bottom: 2px; }
.cr-cta-b { display: flex; gap: 10px; flex-wrap: wrap; }
.cr-cta .btn-s { border-color: var(--night-ink2); color: var(--night-ink); }
.cr-cta .btn-s:hover { background: var(--night-ink); color: var(--night); }
.cr-cta .cr-tel { font-family: var(--fm); font-size: 1.125rem; color: #fff; text-decoration: none; align-self: center; }
@media (max-width: 1080px) { .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .chk-in { flex-direction: column; }
  .chk-in input { flex: none; width: 100%; height: 52px; }
  .chk-in .btn { width: 100%; min-height: 52px; }
  .cr-grid { grid-template-columns: minmax(0, 1fr); }
  .cr-cta .btn { width: 100%; }
  .cr-cta-b { width: 100%; }
}

/* ---------- меню: выделенный пункт «Проверить сайт» ---------- */
.nav a.nav-hl { display: inline-flex; align-items: center; gap: 6px; color: var(--sig-ink); background: var(--sig-tint); font-weight: 600; }
.nav a.nav-hl .ico { width: 16px; height: 16px; }
.nav a.nav-hl:hover { background: var(--sig-soft); color: var(--sig-ink); }
.mnav a.nav-hl { display: flex; align-items: center; gap: 8px; color: var(--sig-ink); font-weight: 600; }
.mnav a.nav-hl .ico { width: 18px; height: 18px; }

/* ---------- один тариф ---------- */
.tariff { background: var(--card); border: 2px solid var(--ink); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 30px 60px -44px rgba(22, 25, 30, .45); }
.tariff-h h3 { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem); letter-spacing: -.02em; margin-bottom: 4px; }
.tariff-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.tcol { padding: 24px 0 4px; }
.tcol + .tcol { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.tcol:first-child { padding-right: clamp(20px, 3vw, 40px); }
.tcol-l { font-family: var(--fm); font-size: .8125rem; color: var(--ink-3); letter-spacing: .02em; }
.tprice { margin: 8px 0 4px; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.tprice small { font-size: .9375rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.tprice.is-disc { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-3); font-size: clamp(1.25rem, 1rem + .8vw, 1.5rem); }
.tp-new { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; color: var(--sig-ink); margin-bottom: 4px; }
.tp-new small { font-size: .8125rem; font-weight: 600; letter-spacing: 0; color: var(--sig-ink); background: var(--sig-tint); border: 1px solid var(--sig-soft); padding: 3px 9px; border-radius: 999px; }
.tcol ul { display: grid; gap: 10px; margin-top: 16px; }
.tcol li { display: flex; gap: 10px; align-items: flex-start; font-size: .9688rem; line-height: 1.45; }
.tcol li .ico { width: 19px; height: 19px; color: var(--ok); margin-top: 2px; }
.tcol .plan-term { margin: 10px 0 0; }
.tariff-f { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.tariff-f .extra { display: flex; gap: 10px; align-items: flex-start; max-width: 64ch; color: var(--ink-2); font-size: .9375rem; }
.tariff-f .extra .ico { width: 19px; height: 19px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 760px) {
  .tariff-g { grid-template-columns: minmax(0, 1fr); }
  .tcol + .tcol { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; margin-top: 18px; }
  .tcol:first-child { padding-right: 0; }
  .tariff-f .btn { width: 100%; }
}

/* ---------- форма: когда позвонить ---------- */
.opt span .ico { width: 17px; height: 17px; margin-right: 7px; }
.slots { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); display: grid; gap: 10px; }
.slot-row { display: flex; flex-wrap: wrap; gap: 6px; }
.slot-row label { position: relative; }
.slot-row input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot-row label > span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--card); font-size: .875rem; font-family: var(--fm); transition: background .2s, border-color .2s, color .2s; }
.slot-row input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.slot-row input:focus-visible + span { outline: 2.5px solid var(--sig); outline-offset: 2px; }
.slot-row input:disabled + span { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.slot-tz { font-size: .8125rem; color: var(--ink-3); }
.row.when.is-bad .slots { border-color: var(--bad); }

/* ---------- форма: промокод ---------- */
.promo-tg { justify-self: start; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 0; color: var(--sig-ink); font-size: .9375rem; font-weight: 600; text-decoration: underline; text-decoration-style: dashed; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.promo-tg .ico { width: 18px; height: 18px; }
.promo-tg[aria-expanded="true"] { display: none; }
.promo-box { display: grid; gap: 8px; }
.promo-box > label { font-size: .9375rem; font-weight: 600; }
.promo-in { display: flex; gap: 8px; }
.promo-in input { flex: 1; min-width: 0; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 11px 15px; background: var(--paper); font-family: var(--fm); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.promo-in input:focus { outline: none; border-color: var(--ink); background: var(--card); }
.promo-in .btn { min-height: 46px; }
.promo-msg { font-size: .9063rem; }
.promo-msg:empty { display: none; }
.promo-msg.is-ok { color: var(--ok); font-weight: 600; }
.promo-msg.is-bad { color: var(--bad); }
.promo.is-ok .promo-in input { border-color: var(--ok); background: var(--ok-tint); }

/* ---------- «Скорая помощь»: кнопка внизу слева ---------- */
.sos { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; transition: bottom .3s var(--ease); }
.sos-b { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 15px; border-radius: 999px; border: 1.5px solid var(--bad); background: var(--card); color: var(--bad); font-weight: 700; font-size: .9375rem; box-shadow: 0 14px 30px -14px rgba(190, 44, 32, .55); }
.sos-b:hover { background: var(--bad); color: #fff; }
.sos-b:hover .sos-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); }
.sos-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 4px rgba(190, 44, 32, .2); animation: blink 1.6s ease-in-out infinite; }
.sos-b[aria-expanded="true"] { visibility: hidden; }
.sos-p { position: absolute; left: 0; bottom: 0; width: min(380px, calc(100vw - 32px)); background: var(--night); color: var(--night-ink); border-radius: 22px; padding: 24px 22px 20px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55); display: grid; gap: 12px; }
.sos-h { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; padding-right: 34px; }
.sos-h .urg-dot { background: var(--bad); box-shadow: 0 0 0 4px rgba(190, 44, 32, .3); flex: none; }
.sos-lead { color: #fff; font-weight: 600; }
.sos-p ul { display: grid; gap: 8px; }
.sos-p li { display: flex; gap: 9px; align-items: flex-start; font-size: .9063rem; color: var(--night-ink2); line-height: 1.45; }
.sos-p li .ico { width: 17px; height: 17px; color: var(--sig-lt); margin-top: 2px; flex: none; }
.sos-call { width: 100%; font-family: var(--fm); font-size: 1.0625rem; margin-top: 4px; }
.sos-form { justify-self: center; display: inline-flex; align-items: center; gap: 6px; color: var(--sig-lt); font-size: .9063rem; }
.sos-form .ico { width: 16px; height: 16px; }
.sos-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--night-line); background: transparent; color: var(--night-ink2); display: grid; place-items: center; padding: 0; }
.sos-x .ico { width: 16px; height: 16px; }
.sos-x:hover { color: #fff; border-color: var(--night-ink2); }
@media (max-width: 720px) {
  body.dock-on .sos { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 70px); }
  .sos-b { min-height: 42px; padding: 0 14px 0 12px; font-size: .875rem; }
}
@media print { .sos, .toast { display: none !important; } }

/* ---------- всплывающее сообщение (промокод из ссылки) ---------- */
.toast { position: fixed; left: 50%; top: 92px; z-index: 60; transform: translate(-50%, -10px); opacity: 0; max-width: min(520px, calc(100vw - 32px)); background: var(--ink); color: var(--on-ink); padding: 12px 16px 12px 14px; border-radius: 14px; display: flex; align-items: center; gap: 10px; font-size: .9375rem; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); transition: opacity .25s, transform .25s; cursor: pointer; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .ico { width: 18px; height: 18px; color: var(--sig-lt); flex: none; }

/* режим переключения в тарифе */
.tariff-modes { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--sig-tint); border: 1px solid var(--sig-soft); font-size: .9688rem; font-weight: 500; max-width: 760px; }
.tariff-modes .ico { width: 19px; height: 19px; color: var(--sig-ink); margin-top: 2px; flex: none; }

/* ---------- партнёрская программа ---------- */
.ftr .ftr-pt { display: inline-flex; align-items: center; gap: 8px; color: var(--sig-lt); text-decoration: underline dashed; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.ftr .ftr-pt:hover { color: #fff; }
.ftr-pt .ico { width: 18px; height: 18px; flex: none; }
.ftr-b .ftr-pt { gap: 6px; }
.ftr-b .ftr-pt .ico { width: 15px; height: 15px; }
/* «Оставить заявку» в подвале — кнопка с пунктирной рамкой */
.ftr .ftr-cta-li { margin: 6px 0 6px; }
.ftr .ftr-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1.5px dashed var(--sig-lt); border-radius: 999px; color: var(--sig-lt); font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.ftr .ftr-cta:hover { border-style: solid; background: var(--sig-lt); color: var(--night); }
.ftr .ftr-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pt-hero .h1 { max-width: 18ch; }
.pt-hero .lead { max-width: 62ch; }
.pt-hero .cta .ico { width: 20px; height: 20px; }
.pt-hero .crumbs { margin-bottom: 4px; }

/* уведомление о cookie — только при подключённой Метрике */
.ckn { position: fixed; right: 16px; bottom: 16px; z-index: 60; max-width: 380px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--card, #fff); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(22,25,30,.45); font-size: .875rem; }
.ckn[hidden] { display: none; }
.ckn p { margin: 0; }
.ckn a { color: var(--sig-ink); }
body.dock-on .ckn { bottom: 84px; }
@media (max-width: 520px) { .ckn { left: 16px; right: 16px; max-width: none; } }

/* ---------- ТЗ SEO, этап 2: новые блоки ---------- */
.who-intro { max-width: 72ch; color: var(--ink-2); margin: 0 0 22px; }
.chk-more, .more-all { margin-top: 18px; }
.chk-more a, .more-all a, .ftr .ftr-all { font-weight: 600; color: var(--sig-ink); }
.ftr .ftr-all { color: var(--sig-lt); }
.cta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 36px 0 8px; }
.cta2-c { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.cta2-c p { margin: 0; }
.cta2-c.dark { background: var(--night); color: var(--night-ink2); border-color: var(--night); }
.cta2-c.dark .h3 { color: #fff; }
.cta2-c.dark .aside-tel { color: #fff; }
.cta2-b { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: auto; padding-top: 8px; }
@media (max-width: 760px) { .cta2 { grid-template-columns: 1fr; } }
.byline { margin: 30px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-3); }
.srcs { margin-top: 32px; font-size: .875rem; color: var(--ink-2); }
.srcs-h { font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.srcs ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.srcs a { color: var(--ink-2); overflow-wrap: anywhere; }
.urg-box { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--night); color: var(--night-ink2); margin: 8px 0 28px; }
.urg-box .rescue-tel { color: #fff; font-family: var(--fm); font-size: 1.25rem; text-decoration: none; }
.urg-box small { flex-basis: 100%; }
.ck-i { display: grid; gap: 0; }
.ck-fix { margin: -6px 0 0; padding: 12px 18px 12px 60px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: var(--paper); font-size: .875rem; color: var(--ink-2); }
.ck-i label { position: relative; z-index: 1; }
.ck-fix summary { cursor: pointer; font-weight: 600; color: var(--sig-ink); }
.ck-fix p { margin: 8px 0 0; line-height: 1.5; }
.ck-sum { margin-top: 18px; padding: 20px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.ck-sum-t { white-space: pre-line; font-size: .9375rem; line-height: 1.55; margin: 8px 0 14px; }
.ck-sum-b { display: flex; flex-wrap: wrap; gap: 10px; }
.cr-link { margin-left: 4px; }
.art-tool .prose .chk { margin: 8px 0 32px; }
.hub-h { margin-top: 48px; }

/* длинный H1 главной (ТЗ SEO §2.1) — кегль меньше, чтобы первый экран не растягивался */
.h1.h1-long { font-size: clamp(1.9rem, 1rem + 2.5vw, 3rem); line-height: 1.06; letter-spacing: -.028em; }

/* длинные надписи на кнопках новых блоков переносятся на телефоне */
.ck-sum-b .btn, .cta2-b .btn, .urg-box .btn { white-space: normal; max-width: 100%; height: auto; min-height: 40px; text-align: left; }

/* ---------- ТЗ SEO, этап 3: схема, калькулятор ---------- */
.scheme { margin: 8px 0 32px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.scheme svg { width: 100%; height: auto; display: block; }
.scheme figcaption { font-size: .875rem; color: var(--ink-3); margin-top: 10px; }
.sch-b { fill: var(--paper); stroke: var(--line-2); stroke-width: 1.5; }
.sch-res { stroke: var(--sig); stroke-width: 2; }
.sch-dns { stroke: var(--ink-3); }
.sch-tg { fill: var(--sig-soft); stroke: var(--sig); }
.sch-h { fill: var(--ink); font: 600 16px var(--ff, sans-serif); }
.sch-s { fill: var(--ink-2); font: 13px var(--ff, sans-serif); }
.sch-l { stroke: var(--ink-3); stroke-width: 1.8; fill: none; }
.sch-d { stroke-dasharray: 6 5; stroke: var(--sig); }
.sch-ah { fill: var(--ink-3); }
.kc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; margin: 8px 0 32px; }
.kc-in, .kc-out { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.kc-in { display: grid; gap: 16px; }
.kc-in fieldset { border: 0; padding: 0; margin: 0; }
.kc-in legend, .kc-in label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.kc-in input[type=number] { width: 100%; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; }
.kc-in input[type=range] { width: 100%; accent-color: var(--sig); }
.kc-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kc-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.kc-in .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kc-own { margin-top: 10px; max-width: 200px; }
.kc-out { display: grid; gap: 14px; align-content: start; background: var(--night); color: var(--night-ink2); border-color: var(--night); }
.kc-r { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--night-line); }
.kc-r span { font-size: .875rem; }
.kc-r b { font-size: 1.6rem; color: #fff; font-family: var(--fm); font-weight: 400; }
.kc-r small { font-size: .8125rem; }
.kc-total b { color: var(--sig-lt); }
.kc-intang, .kc-cmp { margin: 0; font-size: .875rem; }
.kc-cmp b { color: #fff; }
@media (max-width: 860px) { .kc { grid-template-columns: 1fr; } .kc-3 { grid-template-columns: 1fr; } }
.kmini { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; align-items: end; max-width: 980px; }
.kmini label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; color: var(--night-ink); }
.kmini input, .kmini select { width: 100%; min-height: 48px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--night-line); background: var(--night-2); color: #fff; font: inherit; }
.kmini-o { grid-column: 1 / -1; margin: 0; color: var(--night-ink2); }
.kmini-o b { color: #fff; font-family: var(--fm); font-weight: 400; font-size: 1.25rem; }
.kmini .btn { grid-row: 1; grid-column: 3; }
@media (max-width: 760px) { .kmini { grid-template-columns: 1fr; } .kmini .btn { grid-row: auto; grid-column: auto; } }

/* длинные пути в тексте (код) переносятся на телефоне */
.prose code { overflow-wrap: anywhere; }
/* калькулятор на светлой карточке: чипы — тёмные при выборе; скрытые строки не занимают места */
.kc [hidden] { display: none !important; }
.kc-in .chip span { border-color: var(--line-2); background: var(--paper); }
.kc-in .chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.kc-in .chip input { cursor: pointer; }
.kc-in fieldset legend { margin-bottom: 8px; }
.kmini-o b { font-family: inherit; font-weight: 600; }
.kc-in { align-content: start; gap: 18px; }
/* ---------- ТЗ SEO, этап 4: хаб «Сбои хостингов» ---------- */
.sb-wide { max-width: 980px; }
.art-sboi .art-g { display: block; }
.sb-st { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .875rem; padding: 3px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; }
.sb-st i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.sb-ok i { background: var(--ok); } .sb-ok { color: var(--ok); }
.sb-slow i { background: var(--amber); } .sb-slow { color: var(--ink-2); }
.sb-down i { background: var(--bad); } .sb-down { color: var(--bad); border-color: var(--bad); }
.sb-nodata { color: var(--ink-3); }
.sb-tbl td:first-child a { font-weight: 600; color: var(--sig-ink); }
.sb-note { font-size: .875rem; color: var(--ink-3); margin: 10px 0 0; }
.sb-alert { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--bad-soft); color: var(--ink); border: 1px solid var(--bad); }
.sb-alert a { color: var(--bad); font-weight: 600; }
.sb-now { display: grid; gap: 8px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin: 10px 0 14px; }
.sb-now .sb-st { justify-self: start; font-size: 1rem; }
.sb-targets { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: .875rem; }
.sb-targets li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; border-top: 1px dashed var(--line); padding-top: 4px; }
.sb-targets li span:first-child { font-family: var(--fm); overflow-wrap: anywhere; }
.sb-bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; height: 34px; margin-top: 8px; }
.sb-b { border-radius: 3px; background: var(--line); }
.sb-b-ok { background: var(--ok); } .sb-b-slow { background: var(--amber); } .sb-b-down { background: var(--bad); }
.sb-b-inc-down { background: var(--bad); } .sb-b-inc-partial { background: var(--amber); }
.sb-b-inc-note { background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.sb-bars-mini { grid-template-columns: repeat(30, 5px); gap: 2px; height: 20px; margin: 3px 0 6px; }
.sb-bars-mini .sb-b { border-radius: 1.5px; }
.sb-m { display: block; font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.sb-m-down { color: var(--bad); } .sb-m-partial { color: var(--amber-ink); } .sb-m-note, .sb-m-none { color: var(--ink-3); font-weight: 500; }
.sb-month { margin: 16px 0 0; font-weight: 600; } .sb-month .sb-m { display: inline; font-size: 1rem; }
.sb-last { display: block; font-size: .875rem; } .sb-last b { color: var(--ink); white-space: nowrap; margin-right: 4px; }
.sb-legend { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8125rem; color: var(--ink-2); }
.sb-legend li { display: inline-flex; align-items: center; gap: 6px; }
.sb-legend .sb-b { width: 12px; height: 12px; display: inline-block; }
.prose .sb-legend li { padding-left: 0; } .prose .sb-legend li::before { content: none; display: none; }
.sb-inc { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.sb-inc li { padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.sb-inc p { margin: 0; }
.sb-inc-h { font-size: .875rem; color: var(--ink-3); margin-bottom: 4px !important; }
.sb-auto { color: var(--bad); }
.sb-steps { display: grid; gap: 10px; padding-left: 20px; }

.prose .sb-inc li::before, .prose .sb-targets li::before { content: none; display: none; }
.prose .sb-inc, .prose .sb-inc li { padding-left: 0; }
.prose .sb-inc li { padding: 14px 16px; }
#srochno { display: block; }
