/* =====================================================================
   Безопасный Бизнес — деловой стиль: тёмно-синий первый экран, светлые разделы, один синий акцент.
   Шрифт Onest лежит в проекте (site/fonts, лицензия OFL) — без обращений к сторонним серверам.
   Поверхности разделяются оттенком фона, а не рамками и тенями; без градиентов в тексте и кнопках.
   ===================================================================== */

@font-face { font-family: 'Onest'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/onest-cyrillic-wght-normal.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(fonts/onest-latin-wght-normal.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 {
  --navy: #102347;     /* тёмно-синий для первых экранов и подвала */
  --navy-2: #19345f;
  --mint: #93c5fd;     /* светло-голубой акцент на тёмном фоне */
  --mint-ink: #102347; /* текст на голубой кнопке */
  --bg: #f5f7fb;
  --surface: #ffffff;
  --line: #e1e7f0;
  --line-strong: #c9d3e3;
  --text: #0f1b2d;
  --text-2: #334058;   /* основной текст карточек и пояснений */
  --muted: #56657d;    /* только второстепенные заметки */
  --primary: #2457c5;      /* единый синий акцент: кнопки, ссылки и цены */
  --primary-dark: #1746a2;
  --primary-soft: #eaf1ff;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --green: #1763df;
  --green-soft: #eaf3ff;
  --amber: #b45309;
  --amber-soft: #fdf3e2;
  --red: #c42d2d;
  --red-soft: #fdeaea;
  --radius: 12px;
  --shadow: none;                                     /* в покое поверхности без теней */
  --shadow-hover: 0 10px 28px rgba(15, 27, 45, .08);  /* только поднятый при наведении элемент */
  /* Движение: одна кривая и четыре длительности на весь сайт */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 180ms;    /* кнопки, ссылки, мелкие элементы */
  --t-base: 260ms;    /* подсветка карточек и объектов сцены */
  --t-panel: 300ms;   /* появление панелей и карточек */
  --t-slow: 420ms;    /* крупные блоки */
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.6; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 750; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 19px; font-weight: 650; }
h4 { font-size: 15px; font-weight: 650; color: var(--text); margin-top: 18px; }
p { margin: 0 0 1em; }
a { color: var(--primary); }
img, svg { max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.good { color: var(--green); }
.mid { color: var(--amber); }
.bad { color: var(--red); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(36, 87, 197, .45); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section--alt { background: var(--surface); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section__head h2 { margin: 0; flex: 1 1 100%; }
.section__lead { color: var(--text-2); max-width: 62ch; margin: 8px 0 0; flex: 1 1 auto; }
.eyebrow { color: var(--primary); font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.eyebrow--light { color: #8bbcff; }
.lead { font-size: 19px; color: var(--text-2); max-width: 60ch; }
.lead-dark { font-size: 18px; }
.h1-sm { font-size: clamp(26px, 3.2vw, 36px); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.disclaimer { color: var(--muted); font-size: 14px; margin-top: 24px; padding: 14px 16px; border-left: 3px solid var(--line-strong); background: var(--surface); border-radius: 8px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background-color: var(--primary-dark); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-soft); }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--light:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 17px; }
.btn--block { width: 100%; margin-top: 10px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.more { color: var(--primary); font-weight: 650; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 40; background: var(--surface); transition: box-shadow var(--t-base) var(--ease); }
.header.is-scrolled { box-shadow: 0 4px 18px rgba(15, 27, 45, .08); }
.header__top { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; text-decoration: none; white-space: nowrap; }
.logo__icon { width: 30px; height: 30px; color: var(--primary); }
.header__actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.nav { background: var(--surface); }
.nav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav__inner::-webkit-scrollbar { display: none; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 550; padding: 11px 10px; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--primary); border-color: var(--primary); }
.nav__mobile-actions { display: none; }
.burger { display: none; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Первый экран ---------- */
.hero, .page-hero { background: var(--navy); color: #fff; }
.hero { padding: 72px 0 80px; }
.hero h1 { max-width: 760px; }
.hero .lead, .page-hero .lead { color: #c7d7ed; }
.hero__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center; }
.page-hero { padding: 56px 0 60px; }
.page-hero--compact { padding: 40px 0 36px; }
.page-hero .eyebrow { color: #8bbcff; }

/* ---------- Сетки и карточки ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split--center { align-items: center; }
.card, .panel, .benefit { background: var(--surface); border: 1px solid transparent; border-radius: var(--radius); }
.section--alt .card, .section--alt .panel, .section--alt .benefit, .section--alt .faq__item { background: var(--bg); }
.card { position: relative; display: flex; flex-direction: column; padding: 24px; color: inherit; text-decoration: none; transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.card p { color: var(--text-2); font-size: 15px; }
.card--link:hover, .card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: rgba(36, 87, 197, .24); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.card__letter { position: absolute; top: 20px; right: 22px; font-weight: 800; color: #cbd5e6; font-size: 20px; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.panel { padding: 22px; }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 22px; }
.benefit { padding: 22px; }
.benefit p { color: var(--text-2); margin: 0; }
.benefit__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 12px; }
.price { font-weight: 750; white-space: nowrap; }
.price__note { display: inline-block; font-size: 11px; font-weight: 650; letter-spacing: .03em; color: var(--amber); background: var(--amber-soft); border-radius: 6px; padding: 1px 6px; vertical-align: middle; }
.badge { position: absolute; top: -11px; left: 20px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.tag { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 20px; background: var(--primary-soft); color: var(--primary); margin-bottom: 8px; }
.tag--high { background: var(--red-soft); color: var(--red); }
.tag--medium { background: var(--amber-soft); color: var(--amber); }
.tag--low { background: var(--green-soft); color: var(--green); }

.list { padding-left: 20px; margin: 0 0 12px; }
.list li { margin: 4px 0; }
.list--check, .list--cross, .list--muted { list-style: none; padding: 0; }
.list--check li, .list--cross li, .list--muted li { position: relative; padding-left: 26px; }
.list--check li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.list--cross li::before { content: "×"; position: absolute; left: 4px; top: -1px; color: var(--red); font-weight: 800; }
.list--muted li { color: var(--muted); }
.list--muted li::before { content: "+"; position: absolute; left: 4px; color: var(--muted); }
.list--cols { columns: 2; column-gap: 32px; }
.list--cols li { break-inside: avoid; }
.facts-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0; font-size: 14px; }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; }
.facts-list--wide { grid-template-columns: 140px 1fr; font-size: 16px; }
.note-box { margin-top: 20px; padding: 14px 16px; background: var(--primary-soft); border-radius: 10px; color: #23365c; font-size: 15px; }

/* ---------- Шаги, тарифы, FAQ ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 0 0 0 0; }
.steps p { color: var(--text-2); margin: 0; font-size: 16px; max-width: 28ch; }
.steps__num { display: block; font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--primary); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.tariff-mini { display: grid; gap: 10px; }
.tariff-mini__item { display: flex; justify-content: space-between; gap: 12px; background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.tariff-mini__item span { color: var(--muted); font-size: 14px; }
.tariff { padding-top: 28px; }
.tariff--popular { border-color: var(--primary); }
.tariff__price { font-size: 30px; font-weight: 800; margin: 4px 0; }
.tariff__price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq__item { background: var(--surface); border-radius: 10px; padding: 0 20px; }
.faq__item summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq__item summary::after { content: "+"; color: var(--primary); font-size: 20px; line-height: 1; transition: transform var(--t-base) var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-2); max-width: 70ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font: inherit; font-size: 14px; color: var(--text); transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.chip input { display: none; }
.chip:has(input:checked), .chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.mini-calc__total { font-size: 26px; font-weight: 800; margin: 10px 0 2px; }

/* ---------- Формы ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea, .input { font: inherit; font-weight: 400; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36, 87, 197, .15); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field--wide { grid-column: 1 / -1; }
.lead-form h3 { margin-bottom: 6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); margin: 4px 0 14px; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--primary); }
.consent a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form__status { margin: 12px 0 0; font-size: 14px; padding: 10px 12px; border-radius: 8px; }
.lead-form__status.ok { background: var(--green-soft); color: var(--green); }
.lead-form__status.err { background: var(--amber-soft); color: var(--amber); }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.form-hint { color: var(--red); font-size: 14px; margin-top: 10px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.check-row:last-child { border-bottom: 0; }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.check-row span { display: grid; }
.check-row span.inline { display: block; }
.check-row small { color: var(--muted); }

/* ---------- Диагностика ---------- */
.stepper { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); }
.stepper li span { width: 22px; height: 22px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.stepper li.done { border-color: var(--primary); }
.stepper li.done span { background: var(--primary); color: #fff; }
.stepper li.current { border-color: var(--primary); color: var(--text); font-weight: 650; }
.stepper li.current span { background: var(--primary-soft); color: var(--primary); }
.q-field { border: 0; padding: 0; margin: 0 0 22px; }
.q-field legend { font-weight: 700; margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.option input { accent-color: var(--primary); margin: 0; }
.option:hover { border-color: var(--primary); }
.option:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.option--answer { padding: 14px 16px; font-weight: 600; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.choice { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.choice input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.choice span { display: grid; }
.choice small { color: var(--muted); }
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.progress { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.progress__bar { height: 100%; background: var(--primary); transition: width var(--t-panel) var(--ease); }
.progress__label { color: var(--muted); font-size: 14px; margin: 10px 0 24px; }
.question h2 { font-size: clamp(21px, 2.6vw, 26px); }
.question__hint { color: var(--muted); margin-bottom: 22px; }
.answers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.review { list-style: none; padding: 0; margin: 0 0 18px; }
.review__dir { margin-top: 24px; font-size: 16px; color: var(--muted); }
.review__item { width: 100%; display: flex; justify-content: space-between; gap: 16px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; font: inherit; color: var(--text); cursor: pointer; }
.review__item:hover { border-color: var(--primary); }
.ans { white-space: nowrap; font-size: 14px; }
.ans--yes { color: var(--green); }
.ans--partial, .ans--unknown { color: var(--amber); }
.ans--no, .ans--none { color: var(--red); }
.ans--na { color: var(--muted); }

/* ---------- Результат и калькулятор ---------- */
.summary { margin-bottom: 24px; }
.score { display: flex; align-items: center; gap: 14px; }
.score p { margin: 2px 0 0; }
.ring { --p: 0; --c: var(--primary); width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); }
.ring span { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; }
.ring--good { --c: var(--green); }
.ring--mid { --c: #d98a1d; }
.ring--bad { --c: var(--red); }
.result-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.result-grid > * { min-width: 0; }
.findings { list-style: none; padding: 0; margin: 0; }
.findings li { padding: 14px 0; border-top: 1px solid var(--line); }
.findings li:first-child { border-top: 0; }
.finding__top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.finding__top .tag { margin-bottom: 0; }
.finding__text { font-weight: 650; margin: 6px 0 2px; }
.plan__stage h3 { margin-top: 12px; }
.rec { list-style: none; padding: 0; margin: 0 0 12px; }
.rec a { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; }
.rec a:hover { color: var(--primary); }
.rec .ico { color: var(--primary); }
.big-price { font-size: clamp(26px, 3vw, 32px); font-weight: 800; margin: 4px 0 8px; }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.calc__result { position: sticky; top: 130px; }
.breakdown { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.breakdown td { padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.breakdown td:last-child { text-align: right; padding-left: 12px; white-space: nowrap; font-weight: 600; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg); font-size: 14px; color: var(--muted); }
.table .yes { color: var(--green); font-weight: 650; }
.table .no { color: var(--red); font-weight: 650; }

/* ---------- Подробные страницы, база знаний ---------- */
.detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.detail__main { min-width: 0; }
.detail__main h2 { margin-top: 8px; }
.detail__side { position: sticky; top: 130px; }
.kb-tools { display: grid; gap: 12px; margin-bottom: 24px; }
.kb-tools .input { max-width: 420px; }
.chips--filter { margin: 0; }
.article h2 { margin-top: 28px; font-size: 22px; }
.article p, .article li { font-size: 17px; }

/* ---------- Подвал ---------- */
.footer { background: var(--navy); color: #c7d7ed; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px 24px 24px; }
.footer a { display: block; color: #c7d7ed; text-decoration: none; padding: 3px 0; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer .muted { color: #71819a; }
.footer__brand { font-weight: 800; color: #fff; font-size: 18px; }
.footer__title { font-weight: 700; color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 24px 28px; font-size: 13px; color: #71819a; }

/* ---------- Документы (политика, согласие, оферта) ---------- */
.doc { padding-top: 24px; padding-bottom: 48px; }
.doc h1 { font-size: 30px; margin: 12px 0 8px; }
.doc h2 { font-size: 19px; margin: 28px 0 8px; }
.doc p, .doc li { line-height: 1.65; }
.ph { background: #fff3cd; color: #5c4400; padding: 0 4px; border-radius: 4px; }
.doc .draft { border: 1px solid #e6c866; background: #fff8e1; color: #5c4400; border-radius: 10px; padding: 10px 14px; font-size: 14px; }


/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .header__actions .btn:nth-child(4) { display: none; }
}
@media (max-width: 980px) {
  .hero__grid, .split, .detail, .result-grid, .calc { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail__side, .calc__result { position: static; }
}
@media (max-width: 860px) {
  .header__actions { display: none; }
  .burger { display: block; }
  .nav { display: none; }
  .nav.is-open { display: block; max-height: calc(100vh - 64px); overflow-y: auto; animation: panelIn var(--t-panel) var(--ease) both; }
  .nav__inner { flex-direction: column; gap: 0; padding-bottom: 16px; overflow: visible; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.is-active { border-color: var(--line); }
  .nav__mobile-actions { display: grid; gap: 8px; margin-top: 14px; }
  .nav__mobile-actions a { padding: 12px 16px; border: 1px solid transparent; }
  .nav__mobile-actions .btn--primary { border-color: var(--primary); color: #fff; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 52px; }
  .grid--2, .grid--3, .grid--4, .steps, .answers, .choice-grid, .form-grid, .footer__grid { grid-template-columns: 1fr; }
  .list--cols { columns: 1; }
  .stepper li { font-size: 0; gap: 0; justify-content: center; }
  .stepper li span { font-size: 12px; }
  .facts-list--wide { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 auto; }
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- Отклик кнопок и карточек ---------- */
.btn { position: relative; transition: background-color var(--t-fast) var(--ease), background-position var(--t-slow) var(--ease), color var(--t-fast) var(--ease),
  border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: 80ms; }
.header.is-scrolled { box-shadow: 0 6px 20px rgba(11, 27, 58, .08); }
.quick { gap: 14px; }
.quick__tile { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; padding: 18px 20px; background: var(--surface);
  border: 1px solid transparent; border-radius: var(--radius); color: inherit; text-decoration: none;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.quick__tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: rgba(4, 120, 87, .32); }
.quick__tile .card__icon { grid-row: span 2; margin: 0; }
.quick__body b { display: block; font-size: 17px; margin-bottom: 4px; }
.quick__body small { color: var(--text-2); font-size: 14px; line-height: 1.45; }
.quick__go { grid-column: 2; color: var(--primary); font-weight: 650; font-size: 14px; }
.pkg--popular { border-color: var(--primary); }
.pkg__badge { position: absolute; top: -11px; left: 20px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 650; padding: 3px 10px; border-radius: 12px; }
.pkg__docs { margin: 4px 0 8px; font-size: 14px; }
.pkg__docs summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.pkg__docs ul { margin-top: 8px; }
.h3 { font-size: 18px; margin: 18px 0 8px; }
.h3:first-child { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .reveal { animation: none !important; }
  .header, .footer, .no-print, .actions, .lead-form { display: none !important; }
  body { background: #fff; }
  .page-hero { background: none; color: var(--text); padding: 0 0 12px; }
  .page-hero .lead { color: var(--text); }
  .panel, .card { box-shadow: none; break-inside: avoid; }
  .result-grid { grid-template-columns: 1fr; }
}

/* ---------- Главная кнопка и фокус ---------- */
.hero .btn--primary, .page-hero .btn--primary { background: var(--mint); color: var(--mint-ink); }
.hero .btn--primary:hover, .page-hero .btn--primary:hover { background: #5b9dff; }
.hero :focus-visible, .page-hero :focus-visible { outline-color: rgba(91, 157, 255, .9); }

/* Цветные иконки: каждая карточка в ряду своего оттенка */
.card__icon, .benefit__icon { transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.grid > :nth-child(6n+1) .card__icon, .grid > :nth-child(6n+1).quick__tile .card__icon { background: #e8efff; color: var(--primary); }
.grid > :nth-child(6n+2) .card__icon, .grid > :nth-child(6n+2).quick__tile .card__icon { background: #f1eaff; color: #7c3aed; }
.grid > :nth-child(6n+3) .card__icon, .grid > :nth-child(6n+3).quick__tile .card__icon { background: #e0f7fb; color: #0891b2; }
.grid > :nth-child(6n+4) .card__icon, .grid > :nth-child(6n+4).quick__tile .card__icon { background: #fde8f3; color: #db2777; }
.grid > :nth-child(6n+5) .card__icon, .grid > :nth-child(6n+5).quick__tile .card__icon { background: #eaf3ff; color: #1763df; }
.grid > :nth-child(6n+6) .card__icon, .grid > :nth-child(6n+6).quick__tile .card__icon { background: #fff1e0; color: #d97706; }
.card:hover .card__icon, .quick__tile:hover .card__icon { transform: translateY(-2px); }

.card, .quick__tile, .pkg { background-clip: padding-box; }

.more span, .quick__go { transition: transform var(--t-fast) var(--ease); display: inline-block; }
.more:hover span { transform: translateX(3px); }
.quick__tile:hover .quick__go { transform: translateX(3px); }
.big-price, .mini-calc__total { color: var(--primary-dark); }
.nav a { transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.chip:hover { border-color: var(--primary); }

/* Появление блоков при прокрутке: один раз, коротко, контент виден всегда; соседи — с небольшим сдвигом */
.reveal.is-in { animation: rise var(--t-slow) var(--ease) both; }
.grid > .reveal:nth-child(2), .offer-list > .reveal:nth-child(2), .price-rows > .reveal:nth-child(2) { animation-delay: 40ms; }
.grid > .reveal:nth-child(3), .offer-list > .reveal:nth-child(3), .price-rows > .reveal:nth-child(3) { animation-delay: 80ms; }
.grid > .reveal:nth-child(n+4), .offer-list > .reveal:nth-child(n+4), .price-rows > .reveal:nth-child(n+4) { animation-delay: 120ms; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
/* Смена страницы: короткое проявление, без задержки ввода */
#app.is-enter { animation: pageIn 220ms var(--ease) both; }
@keyframes pageIn { from { opacity: .35; } to { opacity: 1; } }
/* Раскрытие вопросов FAQ */
.faq__item[open] > p { animation: panelIn var(--t-panel) var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Личный кабинет ---------- */
.header__account { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 14px; color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 10px; transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.header__account::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); -webkit-mask: radial-gradient(circle at 50% 36%, #000 4.5px, transparent 5px), radial-gradient(circle at 50% 100%, #000 8px, transparent 8.5px); mask: radial-gradient(circle at 50% 36%, #000 4.5px, transparent 5px), radial-gradient(circle at 50% 100%, #000 8px, transparent 8.5px); }
.header__account:hover { color: var(--primary-dark); background: var(--primary-soft); }
.account-login { text-align: left; }
.tg-widget { min-height: 54px; margin: 14px 0 6px; display: flex; align-items: center; }
.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.account-head h2 { margin: 0 0 4px; }
.account-head h2::after { display: none; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.account-grid .panel h3 { margin-top: 0; }
.acc-list { list-style: none; margin: 0 0 12px; padding: 0; }
.acc-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 0; }
.acc-item b { display: block; }
.acc-item small { color: var(--muted); font-size: 13px; }
.acc-item__side { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; text-align: right; font-size: 14px; }
.acc-more { margin: 4px 0 10px; font-size: 14px; }
.acc-more summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.acc-docs { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.field-err { color: var(--red); font-size: 13px; min-height: 0; }
.stage { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 12px; background: #eef0f4; color: var(--muted); white-space: nowrap; }
.stage--confirmed, .stage--done, .stage--completed { background: var(--green-soft); color: var(--green); }
.stage--pending, .stage--in_progress { background: var(--amber-soft); color: var(--amber); }
.stage--new { background: var(--primary-soft); color: var(--primary); }
@media (max-width: 860px) {
  .account-grid { grid-template-columns: 1fr; }
  .acc-item { flex-direction: column; align-items: flex-start; }
  .acc-item__side { justify-content: flex-start; text-align: left; }
}
@media (max-width: 600px) { .header__account { display: none; } }
.account-grid > .panel { margin: 0; }

/* ---------- Автоматизированная проверка ---------- */
.check-form { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: end; }
.check-form .field { margin-bottom: 0; }
.check-form .form-hint, .check-form p { grid-column: 1 / -1; }
.check-form input[name=inn] { font-size: 20px; letter-spacing: .06em; }
.check-view { margin-top: 20px; }
.check-view__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.check-view__head h2 { margin: 0 0 4px; }
.check-view__head h2::after { display: none; }
.check-progress { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--primary-soft); margin: 16px 0; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(36, 87, 197, .2); border-top-color: var(--primary); animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.check-source { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.check-source h3 { margin: 0 0 8px; }
.check-badge { display: inline-block; font-weight: 700; padding: 6px 14px; border-radius: 10px; margin: 0 0 10px; }
.check-badge--ok { background: var(--green-soft); color: var(--green); }
.check-badge--warn { background: var(--amber-soft); color: var(--amber); }
.check-badge--bad { background: var(--red-soft); color: var(--red); }
.check-table td:first-child { color: var(--muted); width: 38%; }
.check-table td:last-child { text-align: left; white-space: normal; }
.evidence { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 12px; }
.evidence__item { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.evidence__item img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); transition: transform var(--t-base) var(--ease); }
.evidence__item a:hover img { transform: scale(1.02); }
.evidence__item figcaption { padding: 10px 12px; font-size: 13px; }
.evidence__item figcaption b { display: block; margin-bottom: 4px; }
.evidence__item small { color: var(--muted); word-break: break-all; }
.check-log { list-style: none; padding: 0; margin: 8px 0; font-size: 13px; }
.check-log span { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 6px; }
@media (max-width: 600px) { .check-form { grid-template-columns: 1fr; } .check-form button { margin-top: 10px; } .check-view__head { flex-direction: column; } }
.check-form { grid-template-columns: 1fr 1fr auto; }
.check-progress--inline { display: inline-flex; margin: 0; padding: 10px 14px; font-size: 14px; }
.findings { list-style: none; padding: 0; margin: 10px 0 14px; display: grid; gap: 10px; }
.finding { border: 1px solid var(--line); border-left: 4px solid var(--line-strong); border-radius: 10px; padding: 10px 14px; background: #fff; }
.finding--high { border-left-color: var(--red); } .finding--medium { border-left-color: var(--amber); } .finding--low { border-left-color: var(--green); }
.finding .check-badge { font-size: 12px; padding: 2px 8px; margin: 0 8px 4px 0; }
.finding p { margin: 4px 0; font-size: 14px; }
.bad { color: var(--red); }
@media (max-width: 860px) { .check-form { grid-template-columns: 1fr; } }

/* ---------- генератор документов ---------- */
.dg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; counter-reset: dg; }
.dg-steps li { counter-increment: dg; font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: #f3f5f8; }
.dg-steps li::before { content: counter(dg) '. '; font-weight: 700; }
.dg-steps li.is-on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.dg-form { display: grid; gap: 14px; }
.dg-q { border: 1px solid var(--line, #e3e7ee); margin: 0; }
.dg-q legend { font-weight: 650; padding: 0 6px; display: flex; gap: 10px; align-items: baseline; }
.dg-q__n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 13px; }
.dg-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.dg-opt { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--line, #e3e7ee); border-radius: 10px; cursor: pointer; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.dg-opt:hover { border-color: var(--primary); }
.dg-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.dg-bar { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 12px 16px; background: var(--card, #fff); border: 1px solid var(--line, #e3e7ee); border-radius: 12px; box-shadow: 0 -4px 18px rgba(20,30,60,.06); }
.dg-bar .progress { flex: 1 1 160px; }
.dg-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.dg-docs { padding-left: 22px; display: grid; gap: 10px; }
.dg-docs p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.dg-buy { margin-top: 16px; }
.dg-review { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line, #e3e7ee); }
.dg-promo { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px; border-radius: 16px; background: var(--primary-soft); }
.dg-promo h2 { margin: 4px 0 8px; }
.dg-promo p { margin: 0; max-width: 640px; }
@media (max-width: 640px) { .dg-steps { grid-template-columns: 1fr 1fr; } }
.login-actions { margin: 16px 0 8px; }
.login-actions .btn { gap: 10px; }
.login-actions .ico { width: 20px; height: 20px; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.login-alt { margin-top: 14px; font-size: 14px; color: var(--muted); }
.login-alt summary { cursor: pointer; }

/* ---------- главная: три дорожки и цены ---------- */
.dg-alt { margin-top: 18px; }

/* ---------- личный кабинет ---------- */
.section--tight { padding-top: 32px; }
.auth-card { max-width: 460px; margin: 0 auto; padding: 28px; }
.auth-card h2 { margin-top: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; background: var(--bg, #f3f5f8); border: 1px solid var(--line); border-radius: 12px; }
.seg a { text-align: center; padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; text-decoration: none; }
.seg a.is-on { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.auth-form { display: grid; gap: 12px; }
.auth-form .field { margin: 0; }
.auth-links { margin: 4px 0 0; font-size: 14px; text-align: center; color: var(--muted); }
.form-hint.ok { color: var(--green); }
.auth-alt { margin-top: 18px; display: grid; gap: 10px; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 4px 0; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-alt .ico { width: 18px; height: 18px; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
.cab { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.cab__side { position: sticky; top: 130px; display: grid; gap: 16px; padding: 18px; background: var(--surface); border-radius: var(--radius); }
.cab__who { display: flex; gap: 12px; align-items: center; min-width: 0; }
.cab__who div { min-width: 0; }
.cab__who b, .cab__who small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cab__who small { color: var(--muted); font-size: 12px; }
.cab__avatar { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 700; }
.cab__nav { display: grid; gap: 2px; }
.cab__nav a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--text, inherit); text-decoration: none; font-weight: 500; }
.cab__nav a:hover { background: var(--primary-soft); }
.cab__nav a.is-on { background: var(--primary-soft); color: var(--primary); font-weight: 650; }
.cab__badge { min-width: 20px; padding: 1px 6px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 12px; text-align: center; }
.cab__exit { display: grid; gap: 8px; justify-items: start; padding-top: 12px; border-top: 1px solid var(--line); }
.cab__main { min-width: 0; display: grid; gap: 16px; }
.cab__title { margin: 0 0 4px; }
.cab-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cab-quick__item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.cab-quick__item:hover { border-color: var(--primary); transform: translateY(-1px); }
.cab-quick__item .ico { width: 22px; height: 22px; color: var(--primary); flex: none; }
.cab-quick__item b, .cab-quick__item small { display: block; }
.cab-quick__item small { color: var(--muted); font-size: 13px; }
.panel--wide { grid-column: 1 / -1; }
.pf-tg { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.org-form .form-grid { margin-bottom: 14px; }
@media (max-width: 860px) {
  .cab { grid-template-columns: 1fr; }
  .cab__side { position: static; }
  .cab__nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
}
.auth-form .btn--sm { justify-self: start; }
.auth-form .msg { min-height: 0; }

/* ---------- заказы и документы ---------- */
.dg-versions { margin: 16px 0; display: grid; gap: 10px; }
.dg-versions h3 { margin: 0 0 4px; }
.dg-ver { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.dg-ver > summary { list-style: none; cursor: pointer; }
.dg-ver > summary::-webkit-details-marker { display: none; }
.dg-ver__head { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 12px 14px; }
.dg-ver__head .btn { margin-left: auto; }
.dg-files { list-style: none; margin: 0; padding: 0 14px 10px; }
.dg-files li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dg-files li a { white-space: nowrap; font-weight: 600; }
.dg-reqs { margin: 14px 0; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.dg-reqs summary { cursor: pointer; }
.empty { text-align: center; padding: 32px 20px; }
.empty h3 { margin-top: 0; }
.ord-table td, .ord-table th { vertical-align: middle; }
.ord-table .ord-act { text-align: right; white-space: nowrap; }
.ord-sub td { border-top: 0; color: var(--muted); font-size: 14px; }
#ord-tpl, #ord-pay { margin-top: 16px; }
.doc-card { display: grid; gap: 8px; }
.doc-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.doc-card__head h3 { margin: 0; }
.doc-card .dg-files { padding: 0; }
.doc-card__foot { margin: 6px 0 0; }
#doc-list { display: grid; gap: 16px; }
.cab-services { margin-bottom: 20px; }
@media (max-width: 640px) {
  .ord-table thead { display: none; }
  .ord-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .ord-table td { border: 0; padding: 0; }
  .ord-table .ord-act { grid-column: 1 / -1; text-align: left; }
}

/* ---------- запись на консультацию ---------- */
.cab__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bk-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; flex-wrap: wrap; }
.bk-steps li { padding: 6px 12px; border-radius: 20px; background: #eef0f4; color: var(--muted); font-size: 13px; font-weight: 600; }
.bk-steps li.is-on { background: var(--primary); color: #fff; }
.bk-steps li.is-done { background: var(--primary-soft); color: var(--primary); }
.bk-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.bk-service h3 { margin: 0 0 6px; font-size: 17px; }
.bk-service.is-on { border-color: var(--primary); }
.bk-price { font-weight: 650; margin: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { padding: 8px 12px; border: 1px solid var(--line-strong); background: #fff; border-radius: 10px; cursor: pointer; font: inherit; font-size: 14px; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.chip-btn:hover { border-color: var(--primary); background: var(--primary-soft); }
.bk-summary { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-bottom: 12px; padding: 10px 14px; background: var(--primary-soft); border-radius: 12px; }
.bk-summary span { color: var(--muted); font-size: 14px; }
.bk-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.bk-date { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.bk-date b { font-size: 22px; line-height: 1.1; }
.bk-date small { color: var(--muted); font-size: 12px; }
.bk-date:hover, .bk-slot:hover { border-color: var(--primary); transform: translateY(-1px); }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 12px; }
.bk-slot { padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.bk-done { text-align: center; padding: 32px 20px; }
.bk-done__icon { font-size: 40px; }
.bk-card { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; margin-bottom: 12px; }
.bk-card__date { display: grid; justify-items: center; padding: 10px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.bk-card__date b { font-size: 20px; }
.bk-card__date span { font-size: 13px; }
.bk-card__body h3 { margin: 0 0 4px; font-size: 17px; }
.bk-card__act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.stage--hold { background: #eef0f4; }
.stage--cancelled, .stage--no_show { background: #f6eaea; color: var(--red, #c0392b); }
@media (max-width: 640px) {
  .bk-card { grid-template-columns: 76px 1fr; }
  .bk-card__act { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ---------- сообщения ---------- */
.ms-list { display: grid; gap: 10px; }
.ms-item { display: grid; gap: 4px; color: inherit; text-decoration: none; transition: border-color var(--t-fast) var(--ease); }
.ms-item:hover { border-color: var(--primary); }
.ms-item.is-unread { border-left: 4px solid var(--primary); }
.ms-item p { margin: 0; }
.ms-item__top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ms-item__tags { display: flex; gap: 8px; align-items: center; }
#ms-form { margin-bottom: 14px; }
.ms-thread { display: grid; gap: 12px; }
.ms-thread__head h2 { margin: 0; font-size: 20px; }
.ms-msgs { display: grid; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 4px; }
.ms-msg { display: grid; max-width: 78%; }
.ms-msg.is-mine { justify-self: end; justify-items: end; }
.ms-msg__bubble { padding: 10px 14px; border-radius: 16px; background: #f1f3f7; line-height: 1.45; white-space: normal; word-wrap: break-word; }
.ms-msg.is-mine .ms-msg__bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.ms-msg.is-theirs .ms-msg__bubble { border-bottom-left-radius: 4px; }
.ms-msg__meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.ms-reply { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.ms-reply textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; resize: vertical; }
.pf-danger { border-color: #f1d0d0; }
@media (max-width: 640px) { .ms-msg { max-width: 92%; } .ms-reply { grid-template-columns: 1fr; } }
.cab-quick { margin-bottom: 4px; }
.panel h3 .cab__badge { vertical-align: middle; font-size: 12px; }

/* ---------- проверка документов ---------- */
.dr-intro p { margin: 0 0 8px; }
.dr-form { display: grid; gap: 12px; margin-top: 14px; }
.dr-form h3 { margin: 6px 0 0; }
.dr-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.dr-type { position: relative; display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.dr-type input { position: absolute; opacity: 0; }
.dr-type small { color: var(--muted); font-size: 13px; }
.dr-type.is-on { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 2px var(--primary-soft); }
.dr-drop { display: grid; place-items: center; min-height: 110px; padding: 20px; border: 2px dashed var(--line-strong); border-radius: 14px; background: #fafbfd; text-align: center; color: var(--muted); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.dr-drop input { display: none; }
.dr-drop.is-over, .dr-drop:hover { border-color: var(--primary); background: var(--primary-soft); }
.dr-drop.is-ready { border-style: solid; border-color: var(--green, #2684ff); color: inherit; background: #edf5ff; }
.dr-head h3 { margin: 4px 0; }
.dr-progress { display: flex; gap: 16px; align-items: center; }
.dr-progress p { margin: 4px 0 0; }
.dr-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--primary-soft); border-top-color: var(--primary); animation: dr-spin 1s linear infinite; flex: none; }
@keyframes dr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dr-spinner { animation: none; } }
.dr-summary { border-left: 5px solid var(--primary); }
.dr-summary h3 { margin: 0 0 6px; }
.dr-summary--ok { border-left-color: var(--green, #2684ff); }
.dr-summary--warn { border-left-color: var(--amber, #e09a12); }
.dr-summary--err { border-left-color: var(--red, #c0392b); }
.dr-counts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0; font-size: 14px; color: var(--muted); }
.dr-counts b { color: var(--text, #0f1b2d); font-size: 18px; }
.dr-group { display: grid; gap: 10px; margin-top: 8px; }
.dr-group h3 { margin: 10px 0 0; }
.dr-group > p { margin: 0; }
.dr-item p { margin: 6px 0; }
.dr-item__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.dr-quote { margin: 8px 0; padding: 8px 12px; border-left: 3px solid var(--line-strong); background: #f7f8fb; border-radius: 0 8px 8px 0; font-size: 14px; color: #3a4658; white-space: pre-wrap; word-break: break-word; }
.dr-basis { font-size: 14px; color: var(--muted); }

/* ---------- Главная: направления, сцена офиса, «Бесплатно и платно» ---------- */
.hero__chips { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 22px; }
.hero__chips a { color: #c7d7ed; text-decoration: none; font-size: 16px; font-weight: 500; padding: 4px 0; border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.hero__chips a:hover, .hero__chips a:focus-visible { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero__title { font-size: clamp(30px, calc(2.2vw + 18px), 50px); max-width: none; margin-bottom: 28px; }
@media (max-width: 600px) { .hero__title { font-size: 27px; } }
.hero__note { color: #a8bad5; font-size: 15px; margin: 18px 0 0; }
.hero__note a { color: #d4e7ff; }
.hero--scene .hero__grid { grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.hero--scene .lead { color: #d0e1d8; }

.scene { position: relative; min-width: 0; }
.sc-stage { position: relative; overflow: hidden; }
.sc-svg { display: block; width: 100%; height: auto; overflow: hidden; }
.sc-hot { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.sc-hit { pointer-events: all; }
/* Подсветка зоны: мягкое пятно света, лёгкий подъём объекта, блик экрана. Только opacity и transform. */
.sc-glow { opacity: 0; transition: opacity var(--t-base) var(--ease); pointer-events: none; }
.sc-lift { transition: transform var(--t-base) var(--ease); }
.sc-glare, .sc-outline { opacity: 0; transition: opacity var(--t-base) var(--ease); }
.sc-teal { transition: opacity var(--t-panel) var(--ease); }
.sc-hot.is-on .sc-glow, .sc-hot.is-picked .sc-glow, .sc-hot:focus-visible .sc-glow { opacity: 1; }
.sc-hot.is-on .sc-lift, .sc-hot.is-picked .sc-lift { transform: translateY(-2px); }
.sc-hot.is-on .sc-glare, .sc-hot.is-picked .sc-glare { opacity: 1; }
.sc-hot.is-on .sc-outline, .sc-hot.is-picked .sc-outline, .sc-hot:focus-visible .sc-outline { opacity: .9; }
.sc-hot[data-id="server"].is-on .sc-teal { opacity: .55; }
.sc-hot[data-id="server"].is-picked .sc-teal { opacity: 1; }
/* Маркеры: небольшие, спокойные; при наведении чуть крупнее и ярче, у выбранного — бирюзовое кольцо */
.sc-mark { pointer-events: none; }
.sc-mark__in { transform-box: fill-box; transform-origin: center; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); opacity: .92; }
.sc-mark__halo { fill: rgba(4, 120, 87, .14); }
.sc-mark__ring { fill: #fff; stroke: rgba(4, 120, 87, .6); stroke-width: 1.4; transition: stroke var(--t-fast) var(--ease); }
.sc-mark__dot { fill: var(--primary); transition: fill var(--t-fast) var(--ease); }
.scene.has-on .sc-hot:not(.is-on):not(.is-picked) .sc-mark__in { opacity: .55; }
.sc-hot.is-on .sc-mark__in, .sc-hot.is-picked .sc-mark__in, .sc-hot:focus-visible .sc-mark__in { transform: scale(1.18); opacity: 1; }
.sc-hot.is-picked .sc-mark__ring { stroke: #2684ff; stroke-width: 2; }
.sc-hot.is-picked .sc-mark__halo { fill: rgba(20, 184, 166, .18); }
.sc-hot.is-picked .sc-mark__dot { fill: #1763df; }
.sc-hot:focus-visible .sc-mark__ring { stroke: #fff; stroke-width: 2.4; }
.scene--static .sc-glow, .scene--static .sc-lift, .scene--static .sc-glare, .scene--static .sc-outline, .scene--static .sc-teal,
.scene--static .sc-mark__in, .scene--static .sc-pane, .scene--static .sc-card, .scene--static .sc-tab { transition: none; }

/* Направления под сценой: дублируют объекты для касания и клавиатуры */
.sc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sc-tab { font: inherit; font-size: 13px; font-weight: 600; color: #dce7f6; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
  padding: 7px 12px; min-height: 36px; cursor: pointer; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.sc-tab:hover, .sc-tab.is-on { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .34); color: #fff; }
.sc-tab[aria-pressed="true"] { border-color: rgba(45, 212, 191, .7); background: rgba(45, 212, 191, .14); }

/* Карточка направления: высота постоянная, содержимое сменяется плавно */
.sc-card { display: grid; position: relative; margin-top: 10px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15);
  color: #dce7f6; transition: border-color var(--t-panel) var(--ease), background-color var(--t-panel) var(--ease); }
.sc-card.is-pinned { border-color: rgba(52, 211, 153, .5); background: rgba(4, 120, 87, .14); }
.sc-pane { grid-area: 1 / 1; padding: 16px 18px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 180ms var(--ease), transform var(--t-panel) var(--ease), visibility 0s linear 180ms; }
.sc-pane.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-panel) var(--ease) 60ms, transform var(--t-panel) var(--ease) 60ms, visibility 0s; }
.sc-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.sc-card__picks { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-card__picks button { display: grid; gap: 1px; text-align: left; font: inherit; color: #e1eaf7; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.sc-card__picks b { font-size: 13px; font-weight: 600; }
.sc-card__picks span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sc-card__picks button:hover, .sc-card__picks button:focus-visible { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); }
@media (max-width: 980px) { .sc-card__picks { display: none; } }
.sc-card__note { font-size: 13px; color: #f3d9a8; background: rgba(217, 170, 90, .12); border-left: 3px solid rgba(217, 170, 90, .7); border-radius: 6px; padding: 6px 10px; margin: -4px 0 12px; }
.sc-card__title { color: #fff; font-weight: 700; font-size: 17px; margin: 0 0 6px; padding-right: 32px; }
.sc-card__text { font-size: 14px; margin: 0 0 12px; color: #c7d7ed; }
.sc-card__tag { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 9px; border-radius: 20px; background: rgba(255, 255, 255, .14); color: #e1eaf7; margin-bottom: 8px; }
.sc-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sc-card__more { color: #d4e7ff; font-size: 14px; font-weight: 600; transition: color var(--t-fast) var(--ease); }
.sc-card__more:hover { color: #fff; }
.sc-card__close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease); }
.sc-card__close:hover, .sc-card__close:focus-visible { background: rgba(255, 255, 255, .22); }

.offer { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.offer__title { font-size: 28px; margin: 0; color: var(--primary-dark); }
.offer__title--free { color: var(--green); }
.offer__sub { color: var(--text-2); margin: 4px 0 18px; }
.offer-list, .price-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.offer-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 20px; border-radius: 10px; background: var(--surface); color: inherit; text-decoration: none;
  transition: background-color var(--t-fast) var(--ease); }
.offer-row:hover { background: var(--primary-soft); }
.offer-row__name { font-size: 19px; font-weight: 650; }
.offer-row__go { color: var(--primary); font-weight: 600; align-self: center; }
.offer-row__desc { grid-column: 1 / -1; color: var(--text-2); font-size: 15px; max-width: 60ch; }
.price-row { border-radius: 10px; background: var(--surface); }
.price-row > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 20px; border-radius: 10px;
  transition: background-color var(--t-fast) var(--ease); }
.price-row > summary::-webkit-details-marker { display: none; }
.price-row > summary:hover { background: var(--primary-soft); }
.price-row__name { font-size: 19px; font-weight: 650; }
.price-row__price { font-size: 19px; color: var(--primary-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-row__why { grid-column: 1 / -1; color: var(--text-2); font-size: 15px; }
.price-row__more { padding: 0 20px 18px; animation: panelIn var(--t-panel) var(--ease) both; }
.price-row__more dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 16px; margin: 0 0 14px; font-size: 15px; }
.price-row__more dt { color: var(--muted); }
.price-row__more dd { margin: 0; }
/* Экраны сервиса на главной: один крупный слева, два справа */
.shots { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 28px 32px; }
.shot { margin: 0; display: grid; gap: 12px; align-content: start; }
.shot--1 { grid-row: span 2; }
.shot__img { display: block; border-radius: 10px; overflow: hidden; background: var(--surface); }
.shot__img img { display: block; width: 100%; height: auto; transition: transform var(--t-slow) var(--ease); }
.shot--2 .shot__img, .shot--3 .shot__img { aspect-ratio: 16 / 10; }
.shot--2 .shot__img img, .shot--3 .shot__img img { height: 100%; object-fit: cover; object-position: top; }
.shot__img:hover img { transform: scale(1.015); }
.shot figcaption { font-size: 16px; color: var(--text-2); }
.shot figcaption b { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } .shot--1 { grid-row: auto; } }
.list--price li { font-size: 14px; }
.calc__factors { margin: 12px 0; font-size: 14px; }
.calc__factors summary { cursor: pointer; font-weight: 650; color: var(--primary); }
.dg-q__note { background: var(--amber-soft); color: #7a3d06; border-radius: 10px; padding: 8px 12px; }
.benefit.card--link { text-decoration: none; color: inherit; display: block; }
.benefit.card--link:hover h3 { color: var(--primary); }

@media (max-width: 1100px) { .offer { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .hero--scene .hero__grid { grid-template-columns: 1fr; } .scene { max-width: 620px; } }
@media (max-width: 600px) { .price-row__more dl { grid-template-columns: 1fr; } .price-row__more dt { margin-top: 6px; } .hero__chips { gap: 4px 16px; } }
@media (min-width: 981px) {
  .hero--scene { padding: 44px 0 52px; }
  .hero--scene .scene { max-width: 560px; justify-self: end; width: 100%; }
  .hero--scene .sc-tabs { display: none; }    /* на компьютере достаточно объектов и маркеров; на телефоне — кнопки */
  .sc-pane { padding: 14px 16px; }
}
.section .container > .list { max-width: 72ch; }
.offer > * { min-width: 0; }
@media (max-width: 600px) { .price-row > summary, .offer-row { padding: 14px 16px; } .price-row__name, .offer-row__name, .price-row__price { font-size: 17px; } }

/* ---------- Первый экран: палитра визуала ----------
   Цвет акцента и фона первого экрана задаются здесь; сцена (грани куба, свечение, маркеры, ярлыки) берёт их из
   переменных (палитра «мята»: тёмно-зелёный фон, мятный акцент). */
.hero--scene { --hero-bg: var(--navy); --sc-accent: var(--mint); --sc-accent-ink: var(--mint-ink); --sc-accent-soft: rgba(38,132,255,.12); background: var(--hero-bg); }
.hero--scene .btn--primary.btn--lg { background: var(--sc-accent); color: var(--sc-accent-ink); }
.hero--scene .btn--primary.btn--lg:hover { background: var(--sc-accent); filter: brightness(1.08); }
.hero--scene .hero__chips a:hover, .hero--scene .hero__chips a:focus-visible { border-color: var(--sc-accent); }
.hero--scene .hero__note a { color: var(--sc-accent); }

.sc-edge { stroke: var(--sc-accent); stroke-linecap: round; fill: none; }
.sc-edge--1 { stroke-width: 1.3; opacity: .95; }
.sc-edge--2 { stroke-width: 3.5; opacity: .28; }
.sc-edge--3 { stroke-width: 8; opacity: .1; }
.sc-mark__dot { fill: var(--sc-accent); }
.sc-mark__ring { stroke: var(--sc-accent); }
.sc-mark__halo { fill: var(--sc-accent-soft); }

/* Ярлыки направлений вокруг куба (компьютер) */
.sc-frame { position: relative; }
.sc-callouts { display: none; }
@media (min-width: 1100px) {
  .hero--scene .sc-stage { width: 80%; margin: 0 auto; }
  .sc-callouts { display: block; position: absolute; inset: 0; pointer-events: none; }
  .sc-leads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .sc-lead { fill: none; stroke: var(--sc-accent); stroke-width: 1; opacity: .35; stroke-dasharray: 3 4; transition: opacity var(--t-base) var(--ease); }
  .scene[data-on="pc"] .sc-lead[data-id="pc"], .scene[data-on="docs"] .sc-lead[data-id="docs"], .scene[data-on="server"] .sc-lead[data-id="server"],
  .scene[data-on="staff"] .sc-lead[data-id="staff"], .scene[data-on="monitor"] .sc-lead[data-id="monitor"] { opacity: .95; stroke-dasharray: none; }
  .sc-callout { position: absolute; pointer-events: auto; display: flex; align-items: center; gap: 10px; width: 21%; min-width: 132px; padding: 9px 12px;
    border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(5, 14, 10, .74); color: #e1eaf7; font: inherit; font-size: 13px; line-height: 1.25;
    text-align: left; cursor: pointer; backdrop-filter: blur(6px);
    transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
  .sc-callout svg { width: 30px; height: 30px; flex: none; padding: 6px; border-radius: 50%; background: var(--sc-accent-soft); stroke: var(--sc-accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .sc-callout:hover, .sc-callout.is-on { border-color: var(--sc-accent); transform: translateY(-1px); }
  .sc-callout[aria-pressed="true"] { border-color: var(--sc-accent); background: rgba(5, 14, 10, .9); box-shadow: 0 0 0 1px var(--sc-accent) inset; }
  .sc-card__picks { display: none; }
  .hero--scene .sc-tabs { display: none; }
}
@media (min-width: 981px) and (max-width: 1099px) { .hero--scene .sc-tabs { display: flex; } }
.sc-card.is-pinned { border-color: var(--sc-accent); background: var(--sc-accent-soft); }
.sc-tab[aria-pressed="true"] { border-color: var(--sc-accent); background: var(--sc-accent-soft); }
.hero .hero__title { max-width: none; }
@media (min-width: 1100px) {
  .hero--scene .hero__grid { grid-template-columns: .9fr 1.1fr; }
  .hero--scene .scene { max-width: 660px; }
  .sc-callout { width: 19%; min-width: 150px; }
}
@media (min-width: 1100px) { .sc-callout { width: auto; min-width: 0; white-space: nowrap; } }
.hero--scene .sc-card .btn--primary { background: var(--sc-accent); color: var(--sc-accent-ink); }

/* ---------- Неон первого экрана ----------
   Импульсы бегут по граням куба, свечение граней и пола медленно дышит, при первом показе грани «зажигаются»
   как неоновая вывеска, по линиям к ярлыкам течёт пунктир. Только opacity и stroke-dashoffset у нескольких линий;
   всё замирает, когда сцена вне экрана (.is-away), и выключено при prefers-reduced-motion и на слабых устройствах. */
.sc-edge--run { stroke-width: 2.2; stroke-dasharray: 9 91; stroke-dashoffset: 100; opacity: .95; filter: none;
  animation: scRun 4s linear infinite; }
.sc-edge--2 { animation: scBreath 5.5s ease-in-out infinite; }
.sc-floorglow { animation: scBreathFloor 7s ease-in-out infinite; }
@keyframes scRun { to { stroke-dashoffset: 0; } }
@keyframes scBreath { 0%, 100% { opacity: .22; } 50% { opacity: .42; } }
@keyframes scBreathFloor { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.scene:not(.is-lit) .sc-edges { opacity: 0; }
.scene.is-lit .sc-edges { animation: scNeonOn 1.1s steps(1, end) both; }
@keyframes scNeonOn { 0% { opacity: 0; } 12% { opacity: .8; } 20% { opacity: .15; } 34% { opacity: .9; } 42% { opacity: .35; } 60%, 100% { opacity: 1; } }
@media (min-width: 1100px) {
  .sc-lead { animation: scMarch 1.6s linear infinite; }
  .sc-callout[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--sc-accent) inset, 0 0 18px -2px var(--sc-accent); }
  .sc-callout svg { transition: box-shadow var(--t-base) var(--ease); }
  .sc-callout:hover svg, .sc-callout.is-on svg { box-shadow: 0 0 12px -1px var(--sc-accent); }
}
@keyframes scMarch { to { stroke-dashoffset: -14; } }
.hero--scene .btn--primary.btn--lg { transition: box-shadow var(--t-base) var(--ease), filter var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.hero--scene .btn--primary.btn--lg:hover { box-shadow: 0 0 0 1px rgba(38,132,255,.55), 0 0 26px -4px var(--sc-accent); }
.sc-hot.is-picked .sc-mark__halo { animation: scBreath 2.6s ease-in-out infinite; }
.scene.is-away .sc-edge--run, .scene.is-away .sc-edge--2, .scene.is-away .sc-floorglow, .scene.is-away .sc-lead, .scene.is-away .sc-mark__halo { animation-play-state: paused; }
.scene--static .sc-edge--run { display: none; }
.scene--static .sc-edge--2, .scene--static .sc-floorglow, .scene--static .sc-lead, .scene--static .sc-edges, .scene--static .sc-mark__halo { animation: none; }
@media (prefers-reduced-motion: reduce) { .sc-edge--run { display: none; } }


/* =====================================================================
   Modern Tech SaaS refresh — light blue cybersecurity identity
   Added as an override layer to preserve existing component behavior.
   ===================================================================== */
:root {
  --navy: #10264a;
  --navy-2: #173763;
  --mint: #2684ff;
  --mint-ink: #ffffff;
  --bg: #f3f7fc;
  --surface: #ffffff;
  --line: #e1e8f2;
  --line-strong: #c7d7ed;
  --text: #142033;
  --text-2: #334766;
  --muted: #65748b;
  --primary: #1746a2;
  --primary-hover: #0d5fe8;
  --accent: #2684ff;
  --radius-card: 18px;
}
body { background: #fff; color: var(--text); }
.header { background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(225,232,242,.78); }
.logo__icon { color: #1746a2; }
.nav__inner a, .header__account { color: #425574; }
.nav__inner a:hover, .header__account:hover { color: #1746a2; }
.btn--primary { background: linear-gradient(135deg,#1763df,#2684ff); color: #fff; box-shadow: 0 7px 20px rgba(38,132,255,.18); }
.btn--primary:hover { filter: brightness(1.04); box-shadow: 0 10px 26px rgba(38,132,255,.24); }
.btn--ghost, .btn--light { background: rgba(255,255,255,.88); color: #1746a2; border-color: #c9dcf7; }
.btn--ghost:hover, .btn--light:hover { background: #edf5ff; border-color: #2684ff; }
.hero--scene {
  --hero-bg: #fff;
  --sc-accent: #2684ff;
  --sc-accent-ink: #fff;
  --sc-accent-soft: rgba(38,132,255,.12);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(ellipse at 78% 40%, rgba(83,166,255,.18), transparent 38%),
    radial-gradient(ellipse at 58% 92%, rgba(212,232,255,.55), transparent 42%),
    linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.hero--scene:before {
  content: ""; position:absolute; z-index:-1; width:560px; height:560px; right:4%; top:2%;
  border-radius:50%; pointer-events:none;
  background: radial-gradient(circle,rgba(92,170,255,.13),rgba(92,170,255,0) 68%);
  animation: blue-orbit-glow 9s ease-in-out infinite alternate;
}
.hero--scene .hero__title { color: #10264a; letter-spacing: -.045em; max-width: 780px; }
.hero--scene .hero__title strong, .hero--scene .hero__title em { color: #1763df; }
.hero--scene .lead { color: #536783; max-width: 560px; }
.hero--scene .hero__chips a { background: rgba(255,255,255,.78); border: 1px solid #e1eaf7; color: #456080; border-radius: 999px; transition: transform .22s ease,border-color .22s ease,background .22s ease; }
.hero--scene .hero__chips a:hover { transform: translateY(-2px); background:#edf5ff; border-color:#8bbcff; }
.hero--scene .hero__note { color: #71819a; }
.hero--scene .hero__note a { color: #1763df; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero--scene .hero__grid { align-items: center; }
.hero--scene .btn--primary.btn--lg { background: linear-gradient(135deg,#1458d4,#2684ff); color:#fff; border:0; }
.hero--scene .btn--primary.btn--lg:hover { filter:brightness(1.05); transform:translateY(-2px); }
.hero--scene .scene { filter: drop-shadow(0 18px 34px rgba(44,106,181,.08)); }
.scene .sc-stage { filter: saturate(1.12); }
.scene [class*="marker"], .scene [class*="point"], .scene [class*="node"] { animation: soft-node-pulse 3.8s ease-in-out infinite; }
.scene [class*="marker"]:nth-child(2n), .scene [class*="point"]:nth-child(2n), .scene [class*="node"]:nth-child(2n) { animation-delay: 1.1s; }
.section { background: #fff; }
.section--alt { background: linear-gradient(180deg,#f4f8fe 0%,#eef5ff 100%); }
.section__head h2 { color: #142b50; letter-spacing: -.035em; }
.card, .panel, .offer-row, .price-row { border-color: #e1eaf6; box-shadow: 0 4px 18px rgba(26,72,130,.035); }
.card { border-radius: 16px; transition: transform .24s ease,box-shadow .24s ease,border-color .24s ease; }
.card:hover, .card:focus-within { transform: translateY(-4px); border-color: #b6d4ff; box-shadow: 0 14px 34px rgba(33,104,194,.10); }
.card__icon { background: #eaf3ff; color: #1763df; border-radius: 13px; }
.offer__title--free { color: #1763df; }
.offer-row:hover, .price-row:hover { background: #f5f9ff; }
.faq__item { border-color: #e1eaf6; }
.faq__item summary:hover { color: #1763df; }
input:focus, textarea:focus, select:focus { border-color: #2684ff; box-shadow: 0 0 0 3px rgba(38,132,255,.12); outline: none; }
.footer { background: #10264a; color: #d3e1f6; }
.footer .muted { color: #a8bad5; }
.footer a:hover { color: #8dc1ff; }
@keyframes blue-orbit-glow { from { transform: translate3d(0,-8px,0) scale(.96); opacity:.7; } to { transform: translate3d(-18px,12px,0) scale(1.06); opacity:1; } }
@keyframes soft-node-pulse { 0%,100% { filter: drop-shadow(0 0 0 rgba(38,132,255,0)); } 50% { filter: drop-shadow(0 0 7px rgba(38,132,255,.22)); } }
@media (prefers-reduced-motion: reduce) {
  .hero--scene:before, .scene [class*="marker"], .scene [class*="point"], .scene [class*="node"] { animation: none !important; }
  .card, .hero--scene .hero__chips a, .hero--scene .btn--primary.btn--lg { transition: none !important; }
}
@media (max-width: 700px) {
  .hero--scene:before { width:320px; height:320px; right:-30%; top:14%; }
  .hero--scene .hero__title { letter-spacing:-.03em; }
}

.audit-demo { padding:76px 0; background:linear-gradient(180deg,#f2f7ff,#fff); }
.audit-demo__intro { max-width:700px; margin:0 auto 34px; text-align:center; }
.audit-demo__eyebrow { color:#1763df; font-size:11px; font-weight:800; letter-spacing:.13em; }
.audit-demo__intro h2 { color:#10264a; font-size:clamp(28px,3.3vw,42px); letter-spacing:-.04em; margin:12px 0; }
.audit-demo__intro p { color:#65748b; line-height:1.7; margin:0 auto; max-width:620px; }
.audit-demo__layout { display:grid; grid-template-columns:minmax(240px,.78fr) minmax(0,1.22fr); gap:22px; align-items:stretch; }
.audit-demo__steps { display:flex; flex-direction:column; gap:9px; }
.audit-step { display:grid; grid-template-columns:40px 1fr; grid-template-rows:auto auto; gap:3px 12px; align-items:center; text-align:left; width:100%; padding:15px; background:#fff; border:1px solid #e1eaf6; border-radius:14px; color:#142033; cursor:pointer; transition:background .2s,border-color .2s,transform .2s; }
.audit-step>span { grid-row:1 / span 2; display:grid; place-items:center; width:38px;height:38px;border-radius:11px;background:#edf4ff;color:#1763df;font-size:12px;font-weight:800; }
.audit-step b { font-size:14px; } .audit-step small { color:#65748b;line-height:1.4;font-size:12px; }
.audit-step:hover,.audit-step.is-active { border-color:#8bbcff;background:#f5f9ff; } .audit-step.is-active { box-shadow:0 6px 20px rgba(38,132,255,.09); }
.audit-demo__run { margin-top:5px;display:flex;justify-content:space-between;align-items:center;min-height:48px; }
.audit-board { border:1px solid #dce7f6;background:rgba(255,255,255,.94);border-radius:20px;box-shadow:0 18px 48px rgba(34,83,145,.09);padding:22px;overflow:hidden; }
.audit-board__top { display:flex;align-items:center;gap:9px;color:#526783;font-size:12px;padding-bottom:18px;border-bottom:1px solid #edf1f7; }
.audit-board__dot { width:8px;height:8px;border-radius:50%;background:#2684ff;box-shadow:0 0 0 4px #e7f1ff; }
.audit-board__sample { margin-left:auto;color:#1763df;font-size:10px;letter-spacing:.08em;font-weight:800; }
.audit-board__heading { display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 0 16px; }
.audit-board__heading small { color:#1763df;font-size:10px;letter-spacing:.1em;font-weight:800; }
.audit-board__heading h3 { margin:7px 0 0;font-size:22px;color:#10264a; }
.audit-board__icon { width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#e8f2ff,#d4e7ff);color:#1763df;font-size:25px; }
.audit-board__progress { height:5px;background:#eaf0f8;border-radius:99px;overflow:hidden; }
.audit-board__progress span { display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#1763df,#59adff);transition:width .55s cubic-bezier(.2,.7,.2,1); }
.audit-board__items { display:grid;gap:10px;padding:20px 0; }
.audit-result { display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;background:#f8faff;border:1px solid #e8eff9;border-radius:12px;animation:audit-result-in .32s ease both; }
.audit-result__icon { display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e4efff;color:#1763df;font-weight:800; }
.audit-result b { display:block;font-size:12px;color:#1b2c47; } .audit-result small { display:block;font-size:11px;color:#6a7b93;line-height:1.45;margin-top:4px; }
.audit-result em { font-size:10px;font-style:normal;color:#1763df;background:#eaf3ff;padding:5px 7px;border-radius:7px;white-space:nowrap; }
.audit-board__bottom { display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #edf1f7;padding-top:16px;color:#71819a;font-size:11px; }
.audit-board__bottom a { color:#1763df;font-weight:700;white-space:nowrap; }
.audit-board.is-changing .audit-board__heading,.audit-board.is-changing .audit-board__items { animation:audit-fade .3s ease both; }
@keyframes audit-result-in { from {opacity:0;transform:translateY(7px)} to {opacity:1;transform:translateY(0)} }
@keyframes audit-fade { from {opacity:.45;transform:translateY(4px)} to {opacity:1;transform:translateY(0)} }
.sc-svg .sc-scan-beam { animation:scene-scan 6s ease-in-out infinite alternate;pointer-events:none; }
.sc-svg .sc-network-pulses circle { transform-box:fill-box;transform-origin:center;animation:scene-pulse 2.8s ease-in-out infinite; }
.sc-svg .sc-network-pulses circle:nth-child(2) { animation-delay:.8s; } .sc-svg .sc-network-pulses circle:nth-child(3) { animation-delay:1.6s; }
@keyframes scene-scan { from {transform:translateY(8px);opacity:.18} to {transform:translateY(310px);opacity:.8} }
@keyframes scene-pulse { 0%,100% {opacity:.35;transform:scale(.8)} 50% {opacity:1;transform:scale(1.9)} }
@media(max-width:760px) { .audit-demo{padding:54px 0}.audit-demo__layout{grid-template-columns:1fr}.audit-board{padding:16px}.audit-result{grid-template-columns:28px minmax(0,1fr)}.audit-result em{grid-column:2;justify-self:start}.audit-board__bottom{align-items:flex-start;flex-direction:column} }
@media(prefers-reduced-motion:reduce) { .sc-svg .sc-scan-beam,.sc-svg .sc-network-pulses circle{animation:none!important}.audit-result,.audit-board.is-changing .audit-board__heading,.audit-board.is-changing .audit-board__items{animation:none!important}.audit-board__progress span,.audit-step{transition:none!important} }


/* UX fixes: light hero scene, tighter vertical rhythm, calmer demo and readable risk status */
:root { --section-space: 64px; }
.section { padding-top: 64px; padding-bottom: 64px; }
.hero--scene { padding-top: 34px; padding-bottom: 38px; }
.hero--scene .hero__grid { gap: 32px; }
.audit-demo { padding: 48px 0; }
.audit-demo__intro { margin-bottom: 24px; }
.audit-demo__layout { gap: 18px; }
.audit-demo__steps { gap: 8px; }
.audit-step { padding: 13px 14px; }
.audit-board { padding: 20px; }
.audit-board__heading { padding: 16px 0 12px; }
.audit-board__items { padding: 16px 0; gap: 8px; }
.audit-result { animation: none; transition: opacity .24s ease, transform .24s ease; }
.audit-board.is-changing .audit-board__heading,
.audit-board.is-changing .audit-board__items { animation: none; }
.audit-board.is-changing .audit-board__items { animation: audit-soft-change .34s ease both; }
.audit-board__items { transition: none; }
@keyframes audit-soft-change { from { opacity:.45; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }

/* The scene is now on a light background: cards and hover labels must stay readable. */
.hero--scene .sc-card {
  background: rgba(255,255,255,.96);
  border-color: #dce7f6;
  color: #142033;
  box-shadow: 0 12px 34px rgba(31,77,135,.10);
}
.hero--scene .sc-card__title { color: #10264a; }
.hero--scene .sc-card__text { color: #526783; }
.hero--scene .sc-card__tag { color: #1746a2; background: #eaf3ff; }
.hero--scene .sc-card__more { color: #1746a2; }
.hero--scene .sc-card__more:hover { color: #0d5fe8; }
.hero--scene .sc-card__picks button { color: #334766; background: #f7faff; border-color: #dce7f6; }
.hero--scene .sc-card__picks button:hover,
.hero--scene .sc-card__picks button:focus-visible { background: #eaf3ff; border-color: #8bbcff; }
.hero--scene .sc-card__note { color: #82520a; background: #fff7e6; border-left-color: #e7ad42; }
.hero--scene .sc-card__close { color: #526783; background: #edf3fb; }
.hero--scene .sc-card__close:hover,
.hero--scene .sc-card__close:focus-visible { color: #10264a; background: #dceaff; }
.hero--scene .sc-callout { color: #263c5a; background: rgba(255,255,255,.96); border-color: #d5e2f3; box-shadow: 0 6px 18px rgba(31,77,135,.08); }
.hero--scene .sc-callout svg { background: #eaf3ff; }
.hero--scene .sc-callout:hover,
.hero--scene .sc-callout.is-on,
.hero--scene .sc-callout[aria-pressed="true"] { color: #10264a; background: #fff; border-color: #2684ff; box-shadow: 0 0 0 1px rgba(38,132,255,.12), 0 8px 22px rgba(38,132,255,.12); }
.hero--scene .sc-lead { stroke: #2684ff; opacity: .45; }
.hero--scene .sc-callout svg { stroke: #1763df; }

/* Traffic-light summary for scan findings */
.risk-traffic { display:flex; align-items:center; gap:12px; padding:14px 16px; margin:14px 0 20px; border:1px solid #dce7f6; border-radius:14px; background:#f8faff; }
.risk-traffic__lights { display:flex; gap:5px; padding:6px 7px; background:#e8eef7; border-radius:999px; flex:none; }
.risk-traffic__light { width:13px; height:13px; border-radius:50%; background:#cbd5e1; box-shadow:inset 0 1px 2px rgba(0,0,0,.12); }
.risk-traffic__light.is-active.red { background:#dc3545; box-shadow:0 0 0 3px rgba(220,53,69,.13); }
.risk-traffic__light.is-active.yellow { background:#e5a000; box-shadow:0 0 0 3px rgba(229,160,0,.16); }
.risk-traffic__light.is-active.green { background:#198754; box-shadow:0 0 0 3px rgba(25,135,84,.14); }
.risk-traffic__copy b { display:block; color:#142033; font-size:15px; }
.risk-traffic__copy small { display:block; color:#65748b; line-height:1.5; margin-top:3px; }
.risk-traffic--red { border-color:#f1b7bf; background:#fff7f8; }
.risk-traffic--yellow { border-color:#f2d58b; background:#fffbef; }
.risk-traffic--green { border-color:#b8dfc8; background:#f4fbf6; }
.finding { padding:14px 14px !important; margin:8px 0; border:1px solid #e1e8f2; border-radius:12px; background:#fff; }
.finding--high { border-left:4px solid #dc3545; }
.finding--medium { border-left:4px solid #e5a000; }
.finding--low { border-left:4px solid #198754; }
@media (max-width:760px) {
  .section { padding-top: 44px; padding-bottom: 44px; }
  .hero--scene { padding-top: 24px; padding-bottom: 28px; }
  .audit-demo { padding: 38px 0; }
  .audit-demo__intro { margin-bottom: 20px; }
  .audit-board { padding: 15px; }
  .risk-traffic { align-items:flex-start; padding:12px; }
}
@media (prefers-reduced-motion: reduce) {
  .audit-board__items, .audit-result { transition:none !important; }
}


/* Password visibility control in login, registration and profile forms */
.password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  padding: 5px 10px;
  border: 1px solid #d7e2f1;
  border-radius: 8px;
  background: #f3f7fd;
  color: #1746a2;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  background: #e6f0ff;
  border-color: #8bbcff;
  outline: none;
}


/* Case-study interactive demo: clear, user-controlled examples */
.case-demo{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.55fr);gap:22px;align-items:start;margin-top:30px}
.case-demo__tabs{display:grid;gap:10px}
.case-tab{appearance:none;width:100%;display:grid;grid-template-columns:36px 1fr;gap:3px 12px;align-items:start;text-align:left;padding:17px 18px;border:1px solid var(--line,#dbe4f0);border-radius:15px;background:var(--surface,#fff);color:var(--text,#172b4d);cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
.case-tab>span{grid-row:span 2;font-size:12px;font-weight:800;color:var(--muted,#718096);padding-top:2px}
.case-tab b{font-size:15px;line-height:1.35;color:inherit}
.case-tab small{font-size:12px;line-height:1.5;color:var(--muted,#718096)}
.case-tab:hover,.case-tab:focus-visible{border-color:var(--primary,#3478f6);outline:none}
.case-tab.is-active{border-color:var(--primary,#3478f6);background:var(--primary-soft,#f0f6ff);box-shadow:0 5px 18px rgba(34,89,160,.08)}
.case-tab.is-active>span{color:var(--primary,#3478f6)}
.case-demo__content{min-width:0;padding:clamp(22px,3vw,34px);border:1px solid var(--line,#dbe4f0);border-radius:20px;background:var(--surface,#fff);box-shadow:0 12px 36px rgba(28,55,90,.06)}
.case-demo__label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted,#718096);font-size:12px}
.case-demo__sample{display:inline-flex;align-items:center;padding:5px 8px;border-radius:6px;background:#fff4d6;color:#805b0a;font-size:10px;font-weight:800;letter-spacing:.06em}
.case-demo__content h3{margin:17px 0 9px;font-size:clamp(22px,2.5vw,30px);line-height:1.2;color:var(--text,#172b4d)}
.case-demo__lead{margin:0 0 24px;font-size:15px;line-height:1.7;color:var(--muted-strong,#4b5d73)}
.case-demo__section{padding:18px 0;border-top:1px solid var(--line,#e5ebf3)}
.case-demo__section h4{display:flex;gap:10px;align-items:center;margin:0 0 11px;font-size:15px;color:var(--text,#172b4d)}
.case-demo__number{display:inline-grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:8px;background:#eaf2ff;color:#235fca;font-size:12px;font-weight:800}
.case-demo__section>p{margin:0;color:var(--muted-strong,#4b5d73);font-size:14px;line-height:1.7}
.case-demo__section ul{display:grid;gap:9px;margin:0;padding-left:20px;color:var(--muted-strong,#4b5d73);font-size:14px;line-height:1.65}
.case-demo__section li::marker{color:var(--primary,#3478f6)}
.case-demo__outcome{display:flex;gap:12px;margin-top:7px;padding:16px;border:1px solid #b8e4ce;border-radius:13px;background:#f0fbf5}
.case-demo__outcome-icon{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:9px;background:#d9f4e5;color:#167346;font-weight:800}
.case-demo__outcome b{display:block;margin:1px 0 5px;font-size:13px;color:#17613d}
.case-demo__outcome p{margin:0;color:#285d45;font-size:13px;line-height:1.6}
.case-demo__note{margin:14px 0 0;color:var(--muted,#718096);font-size:11px;line-height:1.6}
.case-demo__footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:21px;padding-top:19px;border-top:1px solid var(--line,#e5ebf3)}
.case-demo__footer>span{max-width:250px;color:var(--muted,#718096);font-size:11px;line-height:1.5}
@media(max-width:760px){.case-demo{grid-template-columns:1fr;gap:14px}.case-demo__tabs{grid-template-columns:1fr;gap:8px}.case-tab{padding:14px 15px}.case-demo__content{padding:21px 18px}.case-demo__footer{align-items:flex-start;flex-direction:column}.case-demo__footer>span{max-width:none}}
@media(prefers-reduced-motion:reduce){.case-tab{transition:none}}
