/* Шаблон «Рентген» — antkaznacheev.ru
   Шрифт Onest — SIL OFL 1.1, лицензия в /fonts. Все ресурсы отдаются с собственного сервера. */

@font-face {
  font-family: "Onest";
  src: url("fonts/onest.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --surface: #F3F5F9;
  --surface-2: #E8ECF3;
  --line: #DDE2EA;
  --ink: #121826;
  --ink-2: #3A4254;
  --muted: #5B6475;
  --primary: #2B4EFF;
  --primary-hover: #1A36D6;
  --primary-soft: #E9EDFF;
  --marker: #FFE066;
  --marker-soft: #FFF6CC;
  --danger: #C62828;
  --ok: #1E7B4F;
  --night: #121826;
  --night-text: #C3C9D6;
  --night-muted: #9AA3B5;

  --font: "Onest", "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 128px);
  --r-panel: 20px;
  --r-card: 14px;
  --r-control: 12px;
  --shadow-1: 0 1px 2px rgba(18, 24, 38, .06), 0 4px 12px rgba(18, 24, 38, .06);
  --shadow-2: 0 2px 4px rgba(18, 24, 38, .06), 0 16px 40px rgba(18, 24, 38, .12);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--primary);
}

::selection { background: var(--marker); color: var(--ink); }
html { scrollbar-color: #B7BFCC var(--surface); scrollbar-width: thin; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: #fff; border-radius: var(--r-control);
}
.skip-link:focus, .skip-link:hover { top: 16px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Типографика */
.h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.h3 { font-size: clamp(21px, 2vw, 24px); line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.text-muted { color: var(--muted); }
.mark { background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%); padding: 0 .12em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Иконки */
.icon { width: 20px; height: 20px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Кнопки */
.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-family: var(--font); font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 18px; }
.btn--primary, .btn--accent { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(43, 78, 255, .28); }
.btn--primary:hover, .btn--accent:hover { background: var(--primary-hover); color: #fff; box-shadow: 0 8px 22px rgba(26, 54, 214, .32); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2A3245; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--primary-soft); color: var(--ink); }
.btn[disabled] { background: var(--surface-2); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.btn__note { font-weight: 500; opacity: .8; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-weight: 700; font-size: 17px; }
.logo__role { font-size: 14px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.menu { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.menu__link { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 0; }
.menu__link:hover, .menu__link.is-active { color: var(--ink); }
.menu__link--accent { color: var(--primary); font-weight: 600; }
.menu__link--accent:hover { color: var(--primary-hover); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-control); background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger__line { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }

/* Секции */
.section { padding: var(--section-y) 0; }
.section--surface { background: var(--surface); }
.section__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section__head--split { max-width: none; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* Первый экран */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 16px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--ok); }
.trust strong { color: var(--ink); font-weight: 650; }

.hero__visual { position: relative; padding: 0 0 36px 36px; }
.hero__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: var(--surface-2); }
.hero__caption { position: absolute; right: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--muted); font-size: 13px; }
.notice {
  position: absolute; left: 0; bottom: 0; width: min(340px, 86%);
  padding: 18px 20px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-2);
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start;
}
.notice__icon { grid-row: span 3; width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.notice__title { font-weight: 650; font-size: 16px; line-height: 1.35; }
.notice__meta { font-size: 14px; color: var(--muted); line-height: 1.4; }
.notice__tag { justify-self: start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: #E6F4EC; color: var(--ok); font-size: 13px; font-weight: 600; }
.sticker {
  position: absolute; right: -8px; top: 22%;
  padding: 12px 16px; border-radius: var(--r-card); background: var(--marker); color: var(--ink);
  box-shadow: var(--shadow-1); text-decoration: none; display: flex; flex-direction: column; line-height: 1.25; max-width: 210px;
}
.sticker:hover { color: var(--ink); box-shadow: var(--shadow-2); }
.sticker__label { font-size: 14px; font-weight: 500; }
.sticker__price { font-size: 19px; font-weight: 700; }

/* Для кого */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.audiences { column-gap: clamp(32px, 5vw, 72px); }
.audience { display: flex; flex-direction: column; gap: 24px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; line-height: 1.5; color: var(--ink-2); }
.checks .icon { color: var(--primary); margin-top: 3px; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.audience__link { margin-top: auto; }

.demo { border-radius: var(--r-card); padding: 18px 20px; background: #fff; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 10px; }
.demo__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.demo__title { font-weight: 650; font-size: 16px; }
.demo__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.demo__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--surface); font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip--ok { background: #E6F4EC; border-color: #E6F4EC; color: var(--ok); font-weight: 600; }
.demo__label { font-size: 13px; color: var(--muted); }

/* Чек-лист симптомов */
.symptoms { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.symptoms__list { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.symptom { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; cursor: pointer; line-height: 1.45; transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out); }
.symptom:hover { border-color: #B7BFCC; }
.symptom input { position: absolute; opacity: 0; pointer-events: none; }
.symptom__box { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid #B7BFCC; background: #fff; display: grid; place-items: center; color: transparent; transition: background-color .15s var(--ease-out), border-color .15s var(--ease-out); }
.symptom__box .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.symptom input:checked + .symptom__box { background: var(--primary); border-color: var(--primary); color: #fff; }
.symptom input:focus-visible + .symptom__box { outline: 3px solid var(--primary); outline-offset: 2px; }
.symptom:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.symptom__text { color: var(--ink); }
.symptom__law { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: var(--marker-soft); color: #7A5A00; font-size: 13px; font-weight: 600; }

.verdict { position: sticky; top: 100px; background: var(--ink); color: #fff; border-radius: var(--r-panel); padding: clamp(28px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.verdict__count { font-size: 15px; color: var(--night-muted); }
.verdict__count b { color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; }
.verdict__title { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.verdict__text { color: var(--night-text); font-size: 17px; }
.verdict__meter { height: 6px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; }
.verdict__meter span { display: block; height: 100%; width: 100%; background: var(--marker); border-radius: 6px; transform: scaleX(0); transform-origin: left center; transition: transform .35s var(--ease-out); }
.verdict .btn { align-self: flex-start; }

/* Плашка чек-листа на телефоне */
.verdict-bar { display: none; }
@media (max-width: 960px) {
  .verdict-bar:not([hidden]) {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 55;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-2);
  }
  .verdict-bar__count { font-size: 15px; color: var(--night-text); }
  .verdict-bar__count b { color: #fff; font-variant-numeric: tabular-nums; }
}

/* Аудит */
.audit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.audit__text { display: flex; flex-direction: column; gap: 24px; }
.laws { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.laws li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.laws b { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.laws span { color: var(--ink-2); }
.audit__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.audit__price { font-size: 22px; font-weight: 700; }
.audit__price small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); }

.compare { margin: 0; background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-1); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.compare__title { font-size: 15px; font-weight: 600; color: var(--muted); }
.compare__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.compare__cell { border-radius: var(--r-card); padding: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.compare__cell--found { background: var(--marker-soft); }
.compare__who { font-size: 14px; color: var(--muted); }
.compare__value { font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.compare__note { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.findings { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.findings li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.findings .icon { color: var(--danger); margin-top: 2px; }
.compare__foot { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* Шаги */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--line); }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding-right: 12px; }
.step__num { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-size: 18px; position: relative; }
.step__title { font-size: 21px; font-weight: 650; line-height: 1.25; margin-top: 8px; }
.step__text { color: var(--ink-2); }

/* Кейсы */
.case-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border-radius: var(--r-panel); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-1); margin-bottom: 24px; }
.case-feature__text { display: flex; flex-direction: column; gap: 16px; }
.case__site { display: block; margin-top: 6px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.case__site a { color: inherit; }
.case-feature__shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 5px 12px; border-radius: 999px; background: var(--surface); font-size: 14px; color: var(--ink-2); }
.case-list { margin: 0; padding: 0; list-style: none; background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-1); }
.case-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; padding: 24px clamp(24px, 3.4vw, 44px); border-bottom: 1px solid var(--line); }
.case-row:last-child { border-bottom: 0; }
.case-row__name { font-size: 19px; font-weight: 650; line-height: 1.3; }
.case-row__kind { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--muted); }
.case-row__text { color: var(--ink-2); }
.cases__also { margin-top: 24px; color: var(--ink-2); }

/* Цены */
.prices { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.price { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.price__name { font-size: 20px; font-weight: 650; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.price__badge { padding: 3px 10px; border-radius: 999px; background: var(--marker); color: var(--ink); font-size: 13px; font-weight: 600; }
.price__desc { grid-column: 1; color: var(--muted); font-size: 16px; line-height: 1.5; }
.price__cost { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-size: clamp(20px, 2vw, 24px); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price__term { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.price--featured { background: var(--primary-soft); border-radius: var(--r-card); border-bottom-color: transparent; padding: 24px; margin: 8px -24px; }

/* Обо мне */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; background: var(--surface-2); }
.about__text { display: flex; flex-direction: column; gap: 20px; }
.about__text p { color: var(--ink-2); font-size: 19px; }

/* Вопросы */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { color: var(--muted); transition: transform .25s var(--ease-out); }
.qa[open] summary .icon { transform: rotate(45deg); color: var(--primary); }
.qa__answer { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* Заявка */
.request-band { background: var(--primary); color: #fff; }
.request { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.request__intro { display: flex; flex-direction: column; gap: 22px; }
.request__intro p { color: #DDE4FF; font-size: 19px; }
.contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: #fff; font-size: 17px; }
.contacts a { color: #fff; font-weight: 600; }
.contacts a:hover { color: #DDE4FF; }
.request__card { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 24px 60px rgba(10, 20, 80, .28); }

.lead-form { display: flex; flex-direction: column; gap: 18px; }
.lead-form__fields { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field__input {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r-control);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 17px; transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.field__input::placeholder { color: var(--muted); }
.field__input:hover { border-color: #B7BFCC; }
.field__input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(43, 78, 255, .18); }
textarea.field__input { min-height: 132px; resize: vertical; line-height: 1.5; }
.field__input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 14px; color: var(--danger); margin: 0; }
.field__error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--primary); }
.lead-form__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.lead-form .btn { align-self: stretch; }
.lead-form__status { margin: 0; font-size: 16px; font-weight: 600; }
.lead-form__status:empty { display: none; }
.lead-form__status.is-ok { color: var(--ok); }
.lead-form__status.is-error { color: var(--danger); }
.lead-form.is-sent .lead-form__fields { display: none; }

/* Внутренние страницы */
.page-head { padding: clamp(40px, 6vw, 72px) 0 0; }
.page-head__title { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }

/* Подвал */
.site-footer { background: var(--night); color: var(--night-muted); padding: 56px 0; font-size: 15px; }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 32px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer__col--end { align-items: flex-end; text-align: right; }
.site-footer__col p { margin: 0; }
.site-footer__name { font-weight: 700; font-size: 18px; color: #fff; }
.site-footer a, .site-footer .link-button { color: var(--night-text); }
.site-footer a:hover, .site-footer .link-button:hover { color: #fff; }

/* Cookie */
.cookie {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 60; width: min(980px, calc(100% - 24px)); padding: 16px 20px;
  background: #fff; border-radius: var(--r-panel);
  box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 20px;
}
.cookie[hidden] { display: none; }
.cookie__text { margin: 0; flex: 1; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Адаптив */
@media (max-width: 1280px) {
  .burger { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1);
  }
  .site-nav.is-open { display: flex; }
  .menu { flex-direction: column; gap: 0; }
  .menu__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav__cta { align-self: stretch; }
}

@media (max-width: 960px) {
  .hero__grid, .audit, .request, .faq, .about, .case-feature, .symptoms { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 520px; }
  .audiences { grid-template-columns: minmax(0, 1fr); }
  .verdict { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; row-gap: 6px; }
  .step__num { grid-row: span 2; }
  .step__title { margin-top: 10px; }
  .case-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__col--end { align-items: flex-start; text-align: left; }
  .about__photo { max-width: 420px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .demo__row { row-gap: 2px; }
  .demo__price { font-size: 14px; font-weight: 500; color: var(--muted); }
  .symptoms__list { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { padding: 0 0 28px 0; }
  .notice { left: 12px; width: calc(100% - 24px); }
  .sticker { right: 8px; top: 12px; }
  .hero__caption { display: none; }
  .hero__actions .btn { width: 100%; }
  .compare__rows { grid-template-columns: minmax(0, 1fr); }
  .laws li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .price { grid-template-columns: minmax(0, 1fr); }
  .price__cost { grid-column: 1; grid-row: auto; text-align: left; }
  .price--featured { margin: 8px -12px; padding: 20px 12px; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie__actions .btn { flex: 1; }
  .logo__role { display: none; }
}

/* AI-решения */
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.ai-case { display: flex; flex-direction: column; gap: 14px; }
.ai-case .demo { margin-top: 8px; }
.demo .demo__label { order: -1; }
.log__line { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.log__line b { color: var(--ink); font-weight: 650; }
.chip--warn { background: var(--marker-soft); border-color: var(--marker-soft); color: #7A5A00; font-weight: 600; }
.demo .chip { align-self: flex-start; }
.bubble { margin: 0; max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface); font-size: 15px; line-height: 1.45; color: var(--ink); }
.bubble--user { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--primary); color: #fff; }
.ai-note { margin-top: clamp(28px, 4vw, 40px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; max-width: 62ch; }

/* Telegram */
.tg { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.tg__text { display: flex; flex-direction: column; gap: 22px; }
.tg__text .checks b { color: var(--ink); font-weight: 650; }
.tg__text .ai-note { margin-top: 0; }
.tg__demo { max-width: 420px; justify-self: end; width: 100%; padding: 22px; gap: 12px; }
.tg__button { align-self: stretch; text-align: center; padding: 11px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-weight: 600; font-size: 15px; }

.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step--ai .step__num { background: var(--primary); color: #fff; }

/* Продукты */
.products { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); border-top: 1px solid var(--line); }
.product { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.product__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.product__name { font-size: 21px; font-weight: 650; line-height: 1.3; }
.product__text { color: var(--ink-2); }
.product__for { color: var(--muted); font-size: 15px; margin-top: auto; }
.status { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.status--ready { background: #E6F4EC; color: var(--ok); }
.status--soon { background: var(--surface-2); color: var(--ink-2); }

/* Страница «Проекты» */
.page-intro { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
.page-intro__inner { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.section--tight-top { padding-top: clamp(32px, 4vw, 40px); }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out); }
.filter:hover { border-color: #B7BFCC; color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.works { display: flex; flex-direction: column; gap: 24px; }
.work { background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-1); padding: clamp(24px, 3.4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.work[hidden] { display: none; }
.work__main { display: flex; flex-direction: column; gap: 16px; }
.work__shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line); }
.work__facts { margin: 0; display: grid; gap: 16px; }
.work__facts dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.work__facts dd { margin: 4px 0 0; color: var(--ink-2); }
.work--compact { grid-template-columns: minmax(0, 1fr); }
.work--compact .work__main { max-width: 62ch; }
.work .h3 a { color: var(--ink); text-decoration: none; }
.work .h3 a:hover { text-decoration: underline; }

/* Страница «О нас» */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-hero__text { display: flex; flex-direction: column; gap: 22px; }
.experience { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.experience li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.experience__what { font-size: clamp(21px, 2vw, 24px); font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
.experience__what span { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--muted); }
.experience__text { color: var(--ink-2); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.stack li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin: 0; }
.principles dt { font-size: clamp(21px, 2vw, 24px); font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
.principles dd { margin: 8px 0 0; color: var(--ink-2); }
.partner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; background: var(--primary-soft); border-radius: var(--r-panel); padding: clamp(24px, 3vw, 36px); }
.partner__text { display: flex; flex-direction: column; gap: 6px; max-width: 60ch; }
.partner__title { font-size: clamp(21px, 2vw, 24px); font-weight: 700; letter-spacing: -0.01em; }
.partner__text p { color: var(--ink-2); }

@media (max-width: 960px) {
  .tg { grid-template-columns: minmax(0, 1fr); }
  .tg__demo { justify-self: start; }
  .ai-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .products { grid-template-columns: minmax(0, 1fr); }
  .work { grid-template-columns: minmax(0, 1fr); }
  .work__shot { order: -1; }
  .about-hero { grid-template-columns: minmax(0, 1fr); }
  .steps--4 { grid-template-columns: minmax(0, 1fr); }
  .experience li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .principles { grid-template-columns: minmax(0, 1fr); }
}

/* Аудит, клуб, чек-лист, документы */
.law-date { display: inline-block; margin-bottom: 10px; padding: 2px 10px; border-radius: 999px; background: var(--marker-soft); color: #7A5A00; font-size: 13px; font-weight: 600; }
.principles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.principles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.numbered { counter-reset: n; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); line-height: 1.45; color: var(--ink-2); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.buy-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-1); }
.buy-panel__price { font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -0.01em; }
.buy-panel__price s { margin-left: 10px; font-size: .55em; font-weight: 500; color: var(--muted); }
.buy-panel__price small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); }
.buy-panel__note { max-width: 52ch; color: var(--ink-2); font-size: 15px; }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.doc-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; }
.doc-nav a { padding: 8px 12px; border-radius: var(--r-control); color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.doc-nav a:hover { background: var(--surface); color: var(--ink); }
.doc-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.doc { max-width: 72ch; }
.doc > * + * { margin-top: 16px; }
.doc h2 { margin-top: 36px; font-size: clamp(21px, 2vw, 24px); font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
.doc p, .doc li, .doc dd { color: var(--ink-2); line-height: 1.6; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; }
.doc dt { font-weight: 600; color: var(--ink); }
.doc dd { margin: 0; }
.doc__meta { color: var(--muted); font-size: 15px; }

@media (max-width: 960px) {
  .principles--4, .principles--2 { grid-template-columns: minmax(0, 1fr); }
  .numbered { grid-template-columns: minmax(0, 1fr); }
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .doc-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .doc dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc dd { margin-bottom: 10px; }
}
