/* wp-addon — тема сайта */

:root {
	--ink: #16203a;
	--ink-2: #3d4763;
	--muted: #66708a;
	--paper: #f6f7fa;
	--white: #fff;
	--line: #d8dde8;
	--signal: #3b3fd8;
	--signal-dark: #2c2fb0;
	--chat: #dde5f3;
	--ok: #1f9d55;
	--display: "Unbounded", "Onest", system-ui, sans-serif;
	--text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); }
img, svg { max-width: 100%; }
a { color: var(--signal); text-underline-offset: 3px; }
a:hover { color: var(--signal-dark); }
:focus-visible { outline: 3px solid #8f92ff; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--white); padding: 8px 14px; }
.main { min-height: 50vh; }
.section-title { font: 600 clamp(24px, 3vw, 32px)/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 28px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 10px; background: var(--signal); color: var(--white); font: 600 16px/1.2 var(--text); text-decoration: none; border: 2px solid var(--signal); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--signal-dark); border-color: var(--signal-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--signal); }
.btn--ghost:hover { background: var(--white); color: var(--signal-dark); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.link { font-weight: 600; }

/* ---------- Шапка ---------- */
.head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.admin-bar .head { top: 32px; }
.head__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--signal); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.logo__word { font: 600 19px/1 var(--display); letter-spacing: -0.02em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav__list a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav__list a:hover, .nav__list .current-menu-item a { color: var(--signal); }
.nav__toggle, .nav__burger { display: none; }
.nav__list > li { position: relative; }
.nav__list .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.nav__list .sub-menu { list-style: none; position: absolute; top: 100%; left: -18px; z-index: 50; min-width: 250px; margin: 0; padding: 10px 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(22, 32, 58, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { display: block; padding: 9px 18px; font-size: 15.5px; white-space: nowrap; }
.nav__list .sub-menu a:hover { background: var(--paper); }

/* ---------- Главная ---------- */
.intro { padding: 88px 0 56px; }
.intro__title { font: 600 clamp(32px, 5vw, 58px)/1.08 var(--display); letter-spacing: -0.025em; max-width: 15em; }
.intro__lead { margin-top: 24px; font-size: 19px; color: var(--ink-2); max-width: 40em; }

.shelf { padding: 24px 0 72px; }
.product { display: grid; grid-template-columns: 96px 1fr auto; gap: 28px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.product__icon { width: 96px; height: 96px; border-radius: 24px; background: var(--signal); color: var(--white); display: flex; align-items: center; justify-content: center; }
.product__icon:hover { color: var(--white); background: var(--signal-dark); }
.product__icon--img, .product__icon--img:hover { background: none; overflow: hidden; }
.product__icon--img img { display: block; width: 100%; height: 100%; }
.product__name { font: 600 24px/1.2 var(--display); letter-spacing: -0.015em; }
.product__name a { color: var(--ink); text-decoration: none; }
.product__name a:hover { color: var(--signal); }
.product__desc { margin: 10px 0 18px; color: var(--ink-2); max-width: 38em; }
.product__facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; }
.product__facts div { display: flex; gap: 8px; }
.product__facts dt { font-weight: 600; }
.product__facts dd { margin: 0; color: var(--muted); }
.product__cta { display: flex; flex-direction: column; gap: 14px; align-items: center; min-width: 210px; }
.shelf__next { margin-top: 22px; color: var(--muted); }

.ways { padding: 72px 0 88px; background: var(--white); border-top: 1px solid var(--line); }
.ways__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.ways__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.ways__list div { padding: 22px 0; border-top: 1px solid var(--line); }
.ways__list dt { font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.ways__list dd { margin: 0; color: var(--ink-2); }

/* ---------- Лендинг: первый экран ---------- */
.hero { padding: 72px 0 80px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font: 600 clamp(30px, 4.2vw, 50px)/1.1 var(--display); letter-spacing: -0.025em; }
.hero__lead { margin: 24px 0 30px; font-size: 19px; color: var(--ink-2); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__works { margin-top: 22px; color: var(--muted); font-size: 15px; max-width: 34em; }

/* Демонстрация: форма сайта → чат MAX */
.demo { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: end; gap: 0; }
.demo__form { position: relative; z-index: 2; margin-right: -28px; margin-bottom: 42px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 20px; box-shadow: 0 18px 40px -18px rgba(22, 32, 58, .35); }
.demo__form-title { font-weight: 700; margin: 0 0 14px; }
.demo__field { display: block; margin-bottom: 12px; }
.demo__field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.demo__field b { display: block; min-height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; }
.demo__send { display: block; text-align: center; background: var(--ink); color: var(--white); border-radius: 6px; padding: 10px; font-weight: 600; font-size: 15px; transition: transform .12s, background .2s; }
.demo__send.is-pressed { transform: scale(.96); background: var(--signal); }
.demo__chat { background: var(--chat); border-radius: 26px; padding: 14px; min-height: 420px; display: flex; flex-direction: column; }
.demo__chat-head { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .7); border-radius: 16px; padding: 10px 12px; }
.demo__chat-head b { display: block; font-size: 15px; }
.demo__chat-head small { display: block; color: var(--muted); font-size: 12.5px; }
.demo__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--signal); flex: 0 0 36px; }
.demo__feed { margin-top: auto; padding-top: 18px; padding-left: 34px; }
.bubble { background: var(--white); border-radius: 18px 18px 18px 6px; padding: 12px 14px 8px; font-size: 14.5px; line-height: 1.5; box-shadow: 0 1px 1px rgba(22, 32, 58, .06); }
.bubble u { color: var(--signal); }
.bubble__time { display: block; text-align: right; font-size: 12px; color: var(--muted); margin-top: 2px; }
.bubble__time i { font-style: normal; color: var(--ok); letter-spacing: -0.2em; }
.bubble-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.bubble-keys span { background: rgba(255, 255, 255, .85); border-radius: 12px; padding: 9px 6px; text-align: center; font-size: 13px; font-weight: 600; color: var(--signal); }

/* Состояния анимации (включаются скриптом) */
.demo.is-armed .bubble, .demo.is-armed .bubble-keys { opacity: 0; transform: translateY(16px); }
.demo.is-armed .demo__field b { color: transparent; }
.demo .bubble, .demo .bubble-keys { transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.demo.is-done .bubble, .demo.is-done .bubble-keys { opacity: 1; transform: none; }
.demo.is-done .bubble-keys { transition-delay: .25s; }
.demo__field b.is-typing { color: var(--ink); }
.demo__field b.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--signal); vertical-align: -2px; margin-left: 1px; }

/* ---------- Шаги ---------- */
.steps { padding: 80px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps__list li { counter-increment: step; position: relative; padding-top: 64px; }
.steps__list li::before { content: counter(step); position: absolute; top: 0; left: 0; font: 600 44px/1 var(--display); color: var(--signal); }
.steps__list li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 52px; right: -28px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps__list h3 { font-size: 19px; margin-bottom: 8px; }
.steps__list p { color: var(--ink-2); margin: 0; }

/* ---------- Бесплатно и Pro ---------- */
.free-pro { padding: 88px 0; }
.free-pro__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.tier--pro { border: 2px solid var(--signal); }
.tier__name { font: 600 24px/1.2 var(--display); }
.tier--pro .tier__name { color: var(--signal); }
.tier__note { color: var(--muted); margin: 8px 0 18px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid #eceff5; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }

/* ---------- Тарифы ---------- */
.buy { padding: 88px 0; background: var(--white); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.buy__lead { color: var(--ink-2); max-width: 40em; margin: -12px 0 30px; }
.sub-points { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sub-points li { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.sub-points b { display: block; font: 600 17px/1.35 var(--display); margin-bottom: 6px; }
.sub-points span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .sub-points { grid-template-columns: 1fr; } }
.site .mxls-pricing { --mx-accent: var(--signal); max-width: none; font-family: var(--text); scroll-margin-top: 90px; }
.site .mxls-pricing .mxls-card { border-color: var(--line); border-radius: 16px; padding: 24px; }
.site .mxls-pricing .mxls-card:has(input:checked) { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(59, 63, 216, .14); }
.site .mxls-pricing .mxls-card__title { font: 600 18px/1.3 var(--display); }
.site .mxls-pricing .mxls-card__price { font: 600 34px/1.1 var(--display); letter-spacing: -0.02em; margin: 14px 0 6px; }
.site .mxls-pricing .mxls-form input[type=text], .site .mxls-pricing .mxls-form input[type=email] { border-color: var(--line); border-radius: 8px; font-family: var(--text); min-height: 48px; }
.site .mxls-pricing .mxls-submit { border-radius: 10px; min-height: 54px; font-family: var(--text); }
.site .mxls-pricing .mxls-submit:hover { background: var(--signal-dark); }
.price-fallback { scroll-margin-top: 90px; }

/* ---------- Вопросы ---------- */
.faq { padding: 88px 0 96px; }
.faq details, .faq .section-title { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* ---------- Документы ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 64px; padding-top: 64px; padding-bottom: 96px; }
.doc__title { font: 600 clamp(28px, 4vw, 40px)/1.15 var(--display); letter-spacing: -0.02em; margin-bottom: 28px; }
.doc__aside ul { list-style: none; margin: 0; padding: 0; position: sticky; top: 100px; border-left: 2px solid var(--line); }
.doc__aside a { display: block; padding: 7px 0 7px 16px; color: var(--ink-2); text-decoration: none; }
.doc__aside a:hover { color: var(--signal); }
.prose { max-width: 42em; }
.prose h2 { font-size: 21px; font-weight: 700; margin: 36px 0 12px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose mark.todo { background: #ffe4a8; padding: 0 4px; border-radius: 3px; }
.requisites { border-collapse: collapse; width: 100%; margin: 8px 0 24px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.requisites th, .requisites td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.requisites tr:first-child th, .requisites tr:first-child td { border-top: 0; }
.requisites th { width: 38%; font-weight: 500; color: var(--muted); }

/* ---------- Подвал ---------- */
.foot { background: var(--ink); color: #c9cfdf; padding: 56px 0 32px; font-size: 15px; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--white); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.logo--light, .logo--light:hover { color: var(--white); }
.foot__brand p { margin-top: 14px; max-width: 22em; }
.foot__h { font: 600 15px/1.3 var(--text); color: var(--white); margin-bottom: 14px; }
.foot__list, .foot__docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #9aa3ba; }
.foot__legal p { margin: 0 0 6px; }

/* ---------- Адаптив ---------- */
@media (max-width: 980px) {
	.hero__grid { grid-template-columns: 1fr; gap: 48px; }
	.demo { max-width: 560px; }
	.product { grid-template-columns: 72px 1fr; }
	.product__icon { width: 72px; height: 72px; border-radius: 18px; }
	.product__cta { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
	.ways__grid { grid-template-columns: 1fr; gap: 0; }
	.free-pro__grid { grid-template-columns: 1fr; }
	.doc { grid-template-columns: 1fr; gap: 32px; }
	.doc__aside ul { position: static; }
}
@media (max-width: 760px) {
	body.site { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.nav__burger { display: flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
	.nav__burger span, .nav__burger span::before, .nav__burger span::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; }
	.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; }
	.nav__burger span::before { top: -7px; }
	.nav__burger span::after { top: 7px; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; }
	.nav__toggle:checked ~ .nav { display: flex; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 12px 0; border-bottom: 1px solid #eceff5; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 0 16px; border: 0; border-radius: 0; box-shadow: none; background: none; }
	.nav__list .sub-menu::before { display: none; }
	.nav__list .sub-menu a { padding: 10px 0; font-size: 15px; white-space: normal; }
	.nav__list .menu-item-has-children > a::after { display: none; }
	.nav .btn { margin-top: 14px; }
	.head__in { position: relative; }
	.intro { padding: 48px 0 32px; }
	.hero { padding: 40px 0 56px; }
	.demo { grid-template-columns: 1fr; }
	.demo__form { margin: 0 24px -28px; }
	.demo__chat { min-height: 0; padding-top: 44px; }
	.demo__chat-head { display: none; }
	.demo__feed { padding-left: 0; }
	.product { grid-template-columns: 1fr; padding: 22px; }
	.product__cta { flex-direction: column; align-items: stretch; }
	.ways__list { grid-template-columns: 1fr; }
	.steps__list { grid-template-columns: 1fr; gap: 28px; }
	.steps__list li { padding: 0 0 0 52px; }
	.steps__list li::before { font-size: 32px; }
	.steps__list li::after { display: none; }
	.steps, .free-pro, .buy, .faq { padding: 56px 0; }
	.tier { padding: 22px; }
	.foot__grid { grid-template-columns: 1fr; gap: 28px; }
	.btn { width: 100%; }
	.hero__cta { flex-direction: column; }
}
@media (max-width: 782px) {
	.admin-bar .head { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
	.demo .bubble, .demo .bubble-keys, .demo__send { transition: none; }
}

/* ---------- Демо баннера «Согласие 152-ФЗ» ---------- */
.sgdemo { --sg-accent: #2563eb; --sg-ink: #fff; }
.sgdemo__window { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(22, 32, 58, .45); }
.sgdemo__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1f6; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.sgdemo__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd5e1; }
.sgdemo__bar span { margin-left: 10px; background: var(--white); border-radius: 6px; padding: 2px 10px; }
.sgdemo__page { position: relative; height: 340px; padding: 26px; }
.sgdemo__line { display: block; height: 12px; border-radius: 6px; background: #e8ecf3; margin-bottom: 12px; width: 70%; }
.sgdemo__line.is-wide { width: 90%; height: 18px; background: #dfe4ee; }
.sgdemo__line.is-short { width: 45%; }
.sgdemo__img { display: block; height: 110px; border-radius: 10px; background: linear-gradient(135deg, #e3e8f2, #f1f4f9); margin-top: 18px; }
.sgdemo__banner { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; color: #111827; border-top: 1px solid #e5e7eb; box-shadow: 0 -8px 24px rgba(17, 24, 39, .12); padding: 14px 16px; font-size: 13px; line-height: 1.45; transition: all .3s ease; }
.sgdemo__title { font-weight: 700; margin: 0 0 4px; font-size: 14px; }
.sgdemo__text { margin: 0 0 10px; color: #4b5563; }
.sgdemo__actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.sgdemo__btn { background: var(--sg-accent); color: var(--sg-ink); border-radius: 8px; padding: 7px 14px; font-weight: 600; transition: background .2s; }
.sgdemo__btn.is-secondary { background: #f3f4f6; color: #111827; border: 1px solid #e5e7eb; }
.sgdemo__link { text-decoration: underline; font-weight: 600; margin-right: auto; }
.sgdemo.is-card .sgdemo__banner { left: auto; right: 16px; bottom: 16px; width: 270px; border: 1px solid #e5e7eb; border-radius: 12px; }
.sgdemo.is-dark .sgdemo__banner { background: #111827; color: #f9fafb; border-color: #374151; }
.sgdemo.is-dark .sgdemo__text { color: #cbd5e1; }
.sgdemo.is-dark .sgdemo__btn.is-secondary { background: #1f2937; color: #f9fafb; border-color: #374151; }
.sgdemo__controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.sgdemo__group { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.sgdemo__group button { font: inherit; font-size: 14px; border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; cursor: pointer; color: var(--ink-2); }
.sgdemo__group button.is-active { background: var(--ink); color: var(--white); }
.sgdemo__colors { display: flex; gap: 8px; }
.sgdemo__colors button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.sgdemo__colors button.is-active { box-shadow: 0 0 0 2px var(--ink); }
.sgdemo__group button:focus-visible, .sgdemo__colors button:focus-visible { outline: 3px solid #8f92ff; outline-offset: 2px; }
.sgdemo__note { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
@media (max-width: 640px) {
	.sgdemo__page { height: 380px; padding: 18px; }
	.sgdemo.is-card .sgdemo__banner { right: 10px; left: 10px; width: auto; }
}
.product + .product { margin-top: 18px; }

/* ---------- Лендинг «Русский язык 168-ФЗ» ---------- */
.ysdemo__window { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(22, 32, 58, .45); }
.ysdemo__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1f6; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.ysdemo__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd5e1; }
.ysdemo__bar span { margin-left: 10px; }
.ysdemo__input { display: block; width: 100%; box-sizing: border-box; min-height: 110px; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); font: inherit; font-size: 15px; line-height: 1.55; color: var(--ink); resize: vertical; background: #fbfcfe; }
.ysdemo__input:focus { outline: 2px solid var(--signal); outline-offset: -2px; }
.ysdemo__out { padding: 14px 16px 16px; font-size: 15px; }
.ysdemo__text { margin: 0 0 10px; line-height: 1.7; }
.ysdemo__text mark { background: #fde68a; color: inherit; border-radius: 3px; padding: 0 2px; }
.ysdemo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ysdemo__list li { font-size: 14px; }
.ysdemo__list span { font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: #eef0ff; color: var(--signal-dark); }
.ysdemo__ok { color: #15803d; font-weight: 600; margin: 0; }
.ysdemo__note { margin: 10px 2px 0; font-size: 13px; color: var(--muted); }
.product__icon--text { font: 800 30px/1 var(--display, inherit); letter-spacing: -.03em; text-decoration: none; }

/* ---------- Лендинг «Вход 406-ФЗ» ---------- */
.prdemo { position: relative; }
.prdemo__card { max-width: 400px; margin: 0 auto; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(22, 32, 58, .45); }
.prdemo__title { margin: 0 0 12px; font-weight: 700; font-size: 17px; }
.prdemo__buttons { display: grid; gap: 8px; }
.prdemo__btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.prdemo__btn:hover { border-color: #047857; box-shadow: 0 0 0 3px rgba(4, 120, 87, .12); }
.prdemo__pro { font-size: 11px; padding: 2px 7px; border-radius: 99px; background: var(--ink); color: var(--white); }
.prdemo__phone { margin-top: 14px; }
.prdemo__phone[hidden], .prdemo__row[hidden], .prdemo__sms[hidden] { display: none; }
.prdemo__phone label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.prdemo__row { display: flex; gap: 8px; margin-bottom: 8px; }
.prdemo__row input { flex: 1; min-width: 0; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 11px; font: inherit; font-size: 16px; }
.prdemo__row input:focus { outline: none; border-color: #047857; box-shadow: 0 0 0 3px rgba(4, 120, 87, .15); }
.prdemo__go { flex: 0 0 auto; padding: 0 16px; border: 0; border-radius: 11px; background: #047857; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.prdemo__go:hover { background: #065f46; }
.prdemo__msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.prdemo__msg.is-error { color: #b91c1c; }
.prdemo__msg.is-ok { color: #047857; font-weight: 600; }
.prdemo__sms { position: absolute; top: -18px; right: -10px; max-width: 250px; padding: 10px 14px; border-radius: 14px; background: rgba(22, 32, 58, .92); color: #fff; font-size: 13.5px; line-height: 1.45; white-space: pre-line; box-shadow: 0 16px 40px -12px rgba(22, 32, 58, .6); animation: prdemo-in .35s ease-out; }
@keyframes prdemo-in { from { transform: translateY(-10px); opacity: 0; } }
@media (max-width: 640px) { .prdemo__sms { position: static; margin: 12px auto 0; max-width: 400px; } }

/* ---------- Главная: законы ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.section-lead { color: var(--ink-2); max-width: 44em; margin: -14px 0 32px; font-size: 18px; }
.lx-hero { padding: 72px 0 64px; background: radial-gradient(circle at 92% 0%, rgba(59, 63, 216, .1), transparent 45%), var(--paper); }
.lx-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.lx-hero__eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; }
.lx-hero__title { font: 600 clamp(32px, 4.6vw, 54px)/1.08 var(--display); letter-spacing: -0.025em; }
.lx-hero__lead { margin: 24px 0 30px; font-size: 19px; color: var(--ink-2); max-width: 36em; }
.timeline { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; box-shadow: 0 30px 60px -36px rgba(22, 32, 58, .45); }
.timeline__title { margin: 0 0 16px; font: 600 18px/1.3 var(--display); }
.timeline__list { list-style: none; margin: 0; padding: 0; }
.timeline__list li { position: relative; padding: 0 0 18px 26px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline__list li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline__list li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--signal); }
.timeline__list li.is-new::before { background: #e11d48; border-color: #e11d48; box-shadow: 0 0 0 4px rgba(225, 29, 72, .15); }
.timeline__list time { display: block; font-size: 13px; font-weight: 600; color: var(--signal); text-transform: uppercase; letter-spacing: .03em; }
.timeline__list li.is-new time { color: #e11d48; }
.timeline__list b { display: block; margin: 2px 0; font-size: 16px; }
.timeline__list span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

.laws { padding: 80px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.laws__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.law { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.law__badge { align-self: flex-start; margin: 0 0 14px; padding: 4px 12px; border-radius: 8px; background: var(--ink); color: var(--white); font: 600 14px/1.3 var(--display); }
.law__title { font-size: 19px; line-height: 1.3; }
.law__since { margin: 6px 0 10px; font-size: 14px; color: var(--signal); font-weight: 600; }
.law__text { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.law__fine { margin: 4px 0 14px; padding: 10px 12px; border-radius: 10px; background: #fff1f2; font-size: 14px; color: #9f1239; }
.law__fine b { display: block; font: 600 20px/1.2 var(--display); color: #be123c; }
.law__link { font-weight: 600; text-decoration: none; }
.law__link.is-muted { color: var(--muted); font-weight: 500; }

.check { padding: 80px 0; scroll-margin-top: 70px; }
.check__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.check__q { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.check__q label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.check__q label:hover { border-color: var(--signal); }
.check__q label:has(input:checked) { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(59, 63, 216, .12); }
.check__q input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--signal); flex: 0 0 20px; }
.check__out { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; position: sticky; top: 92px; }
.check__count { margin: 0 0 14px; font: 600 19px/1.3 var(--display); }
.check__list { margin: 0; padding: 0; list-style: none; counter-reset: need; }
.check__list li { counter-increment: need; position: relative; padding: 12px 0 12px 40px; border-top: 1px solid #eceff5; }
.check__list li:first-child { border-top: 0; }
.check__list li[hidden] { display: none; }
.check__list li::before { content: counter(need); position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--signal); color: var(--white); font-weight: 700; font-size: 13px; text-align: center; line-height: 26px; }
.check__list b { display: block; }
.check__list span { display: block; color: var(--ink-2); font-size: 15px; }
.check__empty { color: var(--muted); }
.check__empty[hidden] { display: none; }

.shelf { scroll-margin-top: 70px; }
.product__law { display: inline-block; vertical-align: 4px; margin-left: 6px; padding: 2px 9px; border-radius: 7px; background: var(--paper); border: 1px solid var(--line); font: 600 13px/1.4 var(--text); color: var(--ink-2); }
.product__glyph { font: 600 34px/1 var(--display); letter-spacing: -0.03em; }
.product__features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.product__features li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 15px; }
.product__features li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

.fines { padding: 80px 0; background: var(--white); border-top: 1px solid var(--line); }
.fines__wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.fines__table { width: 100%; border-collapse: collapse; min-width: 640px; }
.fines__table th, .fines__table td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.fines__table thead th { border-top: 0; background: var(--paper); font-size: 14px; color: var(--muted); font-weight: 600; }
.fines__table td:nth-child(2) { white-space: nowrap; color: var(--ink-2); }
.fines__table td:last-child { white-space: nowrap; font-weight: 700; color: #be123c; }
.fines__table small { font-weight: 500; color: var(--muted); }
.fines__note { margin: 16px 0 0; color: var(--muted); font-size: 15px; max-width: 52em; }

.latest { padding: 80px 0; }
.latest__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }

/* ---------- Блог ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: border-color .15s, box-shadow .15s; }
.card-post:hover { border-color: var(--signal); box-shadow: 0 18px 40px -28px rgba(22, 32, 58, .5); }
.card-post__cat { align-self: flex-start; font-size: 13px; font-weight: 600; text-decoration: none; padding: 3px 10px; border-radius: 99px; background: #eef0ff; color: var(--signal-dark); }
.card-post__title { margin: 14px 0 10px; font: 600 19px/1.3 var(--display); letter-spacing: -0.01em; }
.card-post__title a { color: var(--ink); text-decoration: none; }
.card-post__title a:hover { color: var(--signal); }
.card-post__excerpt { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.card-post__meta { margin: 0; color: var(--muted); font-size: 13.5px; }
.blog-head { padding: 40px 0 28px; }
.blog-head__title { font: 600 clamp(30px, 4.4vw, 48px)/1.1 var(--display); letter-spacing: -0.025em; margin-top: 18px; }
.blog-head__lead, .blog-head__lead p { color: var(--ink-2); font-size: 18px; max-width: 46em; margin: 16px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.chip:hover { border-color: var(--signal); color: var(--signal); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.blog-list { padding: 12px 0 88px; }
.blog-list .cta-plugin { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-decoration: none; }
.nav-links .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #b6bdcc; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--signal); }
.doc .crumbs { margin-bottom: 18px; }

.article-wrap { padding-top: 32px; padding-bottom: 88px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; margin-top: 20px; align-items: start; }
.article__title { font: 600 clamp(28px, 4vw, 44px)/1.12 var(--display); letter-spacing: -0.02em; }
.article__meta { margin: 14px 0 0; color: var(--muted); font-size: 14.5px; }
.article__lead { margin: 20px 0 0; font-size: 19px; color: var(--ink-2); }
.toc { margin: 28px 0 8px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.toc summary { cursor: pointer; font-weight: 700; }
.toc ol { margin: 12px 0 0; padding-left: 20px; }
.toc li { margin: 6px 0; }
.toc a { text-decoration: none; }
.article__body { max-width: none; margin-top: 28px; font-size: 17.5px; }
.article__body h2 { font: 600 25px/1.25 var(--display); letter-spacing: -0.01em; margin: 44px 0 14px; scroll-margin-top: 90px; }
.article__body h3 { font-size: 19px; margin: 28px 0 10px; }
.article__body ol { padding-left: 22px; }
.article__body table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15.5px; background: var(--white); border: 1px solid var(--line); }
.article__body th, .article__body td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article__body th { background: var(--paper); }
.article__body .table-wrap { overflow-x: auto; }
.article__body blockquote { margin: 20px 0; padding: 14px 20px; border-left: 4px solid var(--signal); background: var(--white); border-radius: 0 12px 12px 0; }
.article__disclaimer { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.note { margin: 22px 0; padding: 16px 20px; border-radius: 14px; background: #eef0ff; border: 1px solid #d9dcff; }
.note--warn { background: #fff7ed; border-color: #fed7aa; }
.note--fine { background: #fff1f2; border-color: #fecdd3; }
.note p:last-child { margin-bottom: 0; }
.cta-plugin { margin: 36px 0 8px; padding: 28px; border-radius: 20px; background: var(--ink); color: #d5dbea; }
.cta-plugin__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #a9b2ff; }
.cta-plugin__name { margin: 0; font: 600 24px/1.25 var(--display); color: var(--white); }
.cta-plugin__name span { display: inline-block; vertical-align: 4px; margin-left: 6px; padding: 2px 9px; border-radius: 7px; background: rgba(255, 255, 255, .12); font: 600 13px/1.4 var(--text); }
.cta-plugin__lead { margin: 10px 0 14px; }
.cta-plugin ul { margin: 0 0 20px; padding-left: 20px; }
.cta-plugin li { margin: 4px 0; }
.cta-plugin__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.cta-plugin .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.cta-plugin .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.article-side { position: sticky; top: 92px; display: grid; gap: 16px; }
.side-card { padding: 22px; border-radius: 16px; background: var(--white); border: 2px solid var(--signal); }
.side-card--plain { border: 1px solid var(--line); }
.side-card__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.side-card__name { margin: 0 0 8px; font: 600 19px/1.25 var(--display); }
.side-card__lead { font-size: 15px; color: var(--ink-2); }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-links a { text-decoration: none; }
.related { margin-top: 64px; }

@media (max-width: 980px) {
	.lx-hero__grid, .check__grid, .article-grid { grid-template-columns: 1fr; }
	.laws__grid, .posts-grid { grid-template-columns: 1fr 1fr; }
	.check__out, .article-side { position: static; }
}
@media (max-width: 640px) {
	.laws__grid, .posts-grid, .product__features { grid-template-columns: 1fr; }
	.lx-hero { padding: 40px 0 44px; }
	.laws, .check, .fines, .latest { padding: 56px 0; }
	.timeline, .check__out, .cta-plugin { padding: 20px; }
	.latest__head { flex-direction: column; gap: 0; margin-bottom: 8px; }
	.article__body { font-size: 16.5px; }
}
.nowrap { white-space: nowrap; }

/* Тарифы и вопросы — по центру */
.buy .section-title, .buy__lead { text-align: center; margin-left: auto; margin-right: auto; }
.site .mxls-pricing .mxls-form, .site .mxls-pricing .mxls-note, .site .mxls-pricing .mxls-error { margin-left: auto; margin-right: auto; max-width: 560px; }
.site .mxls-pricing .mxls-note { text-align: center; }
.faq__in { max-width: 860px; margin-left: auto; margin-right: auto; }
.faq .section-title { text-align: center; }

/* Обложки статей */
.article__cover { margin: 28px 0 0; }
.article__cover img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.card-post__img { display: block; margin: -24px -24px 18px; border-radius: 18px 18px 0 0; overflow: hidden; aspect-ratio: 1200 / 630; background: var(--paper); }
.card-post__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card-post:hover .card-post__img img { transform: scale(1.03); }

/* ---------- Лендинг «Защита 24/7» ---------- */
.zsdemo__card { max-width: 430px; margin: 0 auto; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(22, 32, 58, .45); position: relative; }
.zsdemo__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.zsdemo__logo { flex: 0 0 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, #1e3a8a, #0e7490); color: #fff; display: flex; align-items: center; justify-content: center; }
.zsdemo__title { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.3; }
.zsdemo__sub { margin: 0; font-size: 13px; color: var(--muted); }
.zsdemo__go { width: 100%; min-height: 48px; border: 0; border-radius: 11px; background: linear-gradient(120deg, #1e3a8a, #0e7490); color: #fff; font: 600 16px/1.2 var(--text); cursor: pointer; }
.zsdemo__go:hover { filter: brightness(1.08); }
.zsdemo__go[hidden], .zsdemo__progress[hidden], .zsdemo__list[hidden], .zsdemo__push[hidden] { display: none; }
.zsdemo__bar { height: 10px; border-radius: 99px; background: #e6e9f2; overflow: hidden; }
.zsdemo__bar span { display: block; height: 100%; width: 0; background: linear-gradient(120deg, #1e3a8a, #0e7490); border-radius: 99px; }
.zsdemo__count { margin: 8px 0 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.zsdemo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zsdemo__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-left: 4px solid #dc2626; border-radius: 10px; transition: opacity .2s, border-color .2s; }
.zsdemo__list li.is-warn { border-left-color: #f59e0b; }
.zsdemo__list li.is-done { border-left-color: var(--ok); opacity: .75; }
.zsdemo__list b { font-size: 14.5px; line-height: 1.3; }
.zsdemo__list code { grid-column: 1; font-size: 12.5px; color: var(--muted); background: none; padding: 0; word-break: break-all; }
.zsdemo__list button { grid-column: 2; grid-row: 1 / span 2; min-height: 34px; padding: 0 12px; border: 1px solid #1e3a8a; border-radius: 8px; background: var(--white); color: #1e3a8a; font: 600 13px/1.2 var(--text); cursor: pointer; white-space: nowrap; }
.zsdemo__list button:hover:not(:disabled) { background: #1e3a8a; color: #fff; }
.zsdemo__list li.is-done button { border-color: var(--ok); color: var(--ok); cursor: default; }
.zsdemo__msg { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); min-height: 1em; }
.zsdemo__msg:empty { display: none; }
.zsdemo__msg.is-bad { color: #b91c1c; }
.zsdemo__msg.is-ok { color: var(--ok); }
.zsdemo__push { margin: 0 0 12px; padding: 12px 14px; background: #0f172a; color: #e2e8f0; border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .55); font-size: 13px; line-height: 1.4; display: grid; gap: 2px; animation: zs-pop .35s ease-out; }
.zsdemo__push-app { font-size: 11.5px; color: #94a3b8; }
.zsdemo__push b { color: #fff; font-size: 14px; }
@keyframes zs-pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.zs-why, .zs-login, .zs-scan { padding: 88px 0; }
.zs-why { background: var(--white); }
.zs-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.zs-why__item { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.zs-why__num { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; align-items: center; justify-content: center; background: #fee2e2; color: #b91c1c; font: 600 17px/1 var(--display); margin-bottom: 14px; }
.zs-why__item h3 { font-size: 19px; margin-bottom: 8px; }
.zs-why__item p { margin: 0; color: var(--ink-2); }

.zs-login__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.zs-login__grid > div > p { color: var(--ink-2); }
.zs-addr { display: grid; gap: 12px; }
.zs-addr__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px -20px rgba(22, 32, 58, .4); }
.zs-addr__bar { flex: 1; min-width: 0; padding: 8px 12px; background: var(--paper); border-radius: 99px; font: 500 14px/1.3 ui-monospace, Menlo, Consolas, monospace; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zs-addr__res { flex: 0 0 auto; font-weight: 600; font-size: 14px; padding: 4px 10px; border-radius: 99px; }
.zs-addr__row.is-bad .zs-addr__res { background: #fee2e2; color: #b91c1c; }
.zs-addr__row.is-ok { border-color: #86efac; }
.zs-addr__row.is-ok .zs-addr__res { background: #dcfce7; color: #15803d; }

.zs-scan { background: var(--white); }
.zs-scan__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zs-scan__grid > div { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 6px; }
.zs-scan__grid b { font-size: 17px; }
.zs-scan__grid span { color: var(--ink-2); font-size: 15px; }
.zs-scan__note { margin: 24px 0 0; color: var(--muted); }

@media (max-width: 980px) {
	.zs-login__grid { grid-template-columns: 1fr; gap: 32px; }
	.zs-why__grid, .zs-scan__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.zs-why, .zs-login, .zs-scan { padding: 56px 0; }
	.zs-why__grid, .zs-scan__grid { grid-template-columns: 1fr; }
	.zsdemo__list li { grid-template-columns: 1fr; }
	.zsdemo__list button { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
}

/* ---------- Проверка сайта (1.6.0) ---------- */
.lx-hero__check { margin: 0 0 22px; scroll-margin-top: 100px; }
.lx-hero__check .mxlc { max-width: 600px; }
.lx-hero__check .mxlc__form { box-shadow: 0 20px 44px -26px rgba(22, 32, 58, .45); }
.lx-hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-2); font-size: 15px; }
.lx-hero__trust li { position: relative; padding-left: 16px; }
.lx-hero__trust li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.lx-hero__trust b { color: var(--ink); }
.lx-hero--page { padding: 40px 0 56px; }
.lx-hero--page .lx-hero__title { max-width: 18em; }
.lx-hero--page .breadcrumbs { margin-bottom: 22px; }
.section-eyebrow { margin: 0 0 8px; color: var(--signal); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }

.what { padding: 72px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.what__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; counter-reset: what; }
.what__item { counter-increment: what; position: relative; display: grid; grid-template-columns: 1fr; padding: 16px 0 16px 48px; border-top: 1px solid #eceff5; }
.what__item::before { content: counter(what); position: absolute; left: 0; top: 16px; width: 30px; height: 30px; border-radius: 9px; background: #eef0fb; color: var(--signal); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.what__law { font-size: 13px; font-weight: 600; color: var(--muted); }
.what__name { font-size: 17px; margin: 2px 0 4px; }
.what__text { color: var(--ink-2); font-size: 15.5px; }
.what__more { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

.points { padding: 80px 0; }
.points__table td:first-child { white-space: nowrap; font-weight: 600; color: var(--ink-2); }
.limits { padding: 0 0 80px; }
.limits__list { max-width: 860px; margin-bottom: 28px; }
.limits__list li::before { border-color: var(--signal); }

.lead-card { background: var(--ink); color: #fff; border-radius: 20px; padding: 28px; scroll-margin-top: 100px; }
.lead-card__title { font: 600 22px/1.25 var(--display); margin: 0 0 8px; }
.lead-card a { color: #fff; }

.check-box { margin: 28px 0; padding: 22px 24px; border-radius: 16px; background: #eef0fb; border: 1px solid #d9dcf7; }
.check-box__title { margin: 0 0 4px; font: 600 19px/1.3 var(--display); color: var(--ink); }
.check-box__lead { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; }
.check-box .mxlc__note { margin-top: 8px; }
.check-box--side { margin: 0 0 20px; padding: 20px; }
.check-box--side .check-box__title { font-size: 17px; }
.check-box--side .check-box__lead { font-size: 15px; }
.prose .check-box p { margin-bottom: 0; }

@media (max-width: 980px) {
	.what__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.what, .points { padding: 52px 0; }
	.lx-hero__trust { flex-direction: column; gap: 6px; }
	.points__table td:first-child { white-space: normal; }
}
.points__table td:nth-child(2) { white-space: normal; }
.points__table td:last-child, .points__table td:nth-child(3) { white-space: normal; font-weight: 500; color: var(--ink-2); width: 150px; }
.points__table td { padding: 12px 16px; }

/* ---------- Лендинг LeadSender Forms ---------- */
.lfdemo { display: flex; flex-direction: column; gap: 12px; }
.lfdemo__form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(22, 32, 58, .35); display: flex; flex-direction: column; gap: 14px; min-height: 360px; }
.lfdemo__step { margin: 0; font-size: 14px; color: var(--muted); }
.lfdemo__bar { height: 6px; border-radius: 3px; background: var(--paper); overflow: hidden; }
.lfdemo__bar span { display: block; height: 100%; width: 50%; background: var(--signal); transition: width .3s; }
.lfdemo__page { display: flex; flex-direction: column; gap: 14px; }
.lfdemo__page[hidden], .lfdemo__row[hidden], .lfdemo__done[hidden], .lfdemo__step[hidden] { display: none; }
.lfdemo__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lfdemo__field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.lfdemo__field input { font: 400 15px/1.3 var(--text); padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); pointer-events: none; }
.lfdemo__choice { border: 0; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.lfdemo__choice legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; width: 100%; }
.lfdemo__choice label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.lfdemo__choice input { accent-color: var(--signal); width: 18px; height: 18px; }
.lfdemo__btn { align-self: flex-end; min-height: 44px; padding: 0 22px; border: 0; border-radius: 9px; background: var(--signal); color: var(--white); font: 600 15px/1 var(--text); cursor: pointer; }
.lfdemo__btn:hover { background: var(--signal-dark); }
.lfdemo__back { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); font: 500 15px/1 var(--text); cursor: pointer; }
.lfdemo__actions { display: flex; justify-content: space-between; gap: 10px; }
.lfdemo__photos { display: flex; gap: 10px; }
.lfdemo__photos span { width: 76px; height: 76px; border-radius: 10px; background: linear-gradient(135deg, #c7d2fe, #818cf8); }
.lfdemo__photos span:nth-child(2) { background: linear-gradient(135deg, #bae6fd, #38bdf8); }
.lfdemo__photos .is-add { background: var(--paper); border: 1.5px dashed var(--line); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--muted); }
.lfdemo__consent { display: flex; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.lfdemo__consent input { flex: none; margin-top: 3px; accent-color: var(--signal); }
.lfdemo__done { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 12px; background: #e8f5e9; color: #1b5e20; margin: auto 0; text-align: center; }
.lfdemo__done b { font-size: 18px; }
.lfdemo__note { margin: 0; font-size: 14px; color: var(--muted); }
.lf-why { padding: 72px 0; background: var(--white); }
.lf-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.lf-why__item { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.lf-why__item h3 { font-size: 18px; margin-bottom: 8px; }
.lf-why__item p { margin: 0; color: var(--ink-2); font-size: 15px; }
.lf-move { padding: 72px 0; }
.lf-move__in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.lf-move__in p { color: var(--ink-2); }
.lf-move__list { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px 24px; }
@media (max-width: 1000px) {
	.lf-why__grid { grid-template-columns: 1fr 1fr; }
	.lf-move__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.lf-why__grid, .lfdemo__row { grid-template-columns: 1fr; }
	.lfdemo__form { padding: 18px; }
}

/* ---------- Скриншоты плагинов ---------- */
.shots { padding: 80px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.shots__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.shots__grid.is-odd > .shots__item:last-child { grid-column: 1 / -1; max-width: calc(50% - 14px); justify-self: center; width: 100%; }
.shots__item figure { margin: 0; }
.shots__link { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 1px 2px rgba(22, 32, 58, .06), 0 8px 24px -12px rgba(22, 32, 58, .18); transition: transform .2s, box-shadow .2s; cursor: zoom-in; }
.shots__link:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(22, 32, 58, .06), 0 16px 32px -16px rgba(22, 32, 58, .3); }
.shots__link img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.shots__item figcaption { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.shots__dialog { width: min(1240px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px; background: var(--white); overflow: auto; }
.shots__dialog::backdrop { background: rgba(14, 20, 38, .78); }
.shots__view { margin: 0; }
.shots__view img { display: block; width: 100%; height: auto; }
.shots__view figcaption { position: sticky; bottom: 0; padding: 12px 64px 12px 20px; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.shots__close, .shots__nav { position: fixed; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font: 400 28px/1 var(--text); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.shots__close { top: 24px; right: 24px; }
.shots__nav { top: 50%; transform: translateY(-50%); }
.shots__nav--prev { left: 24px; }
.shots__nav--next { right: 24px; }
.shots__dialog.is-single .shots__nav { display: none; }
html.shots-open { overflow: hidden; }
@media (max-width: 760px) {
	.shots { padding: 56px 0; }
	.shots__grid { grid-template-columns: 1fr; gap: 24px; }
	.shots__grid.is-odd > .shots__item:last-child { max-width: none; }
	.shots__close { top: 12px; right: 12px; }
	.shots__nav { top: auto; bottom: 64px; transform: none; }
	.shots__nav--prev { left: 12px; }
	.shots__nav--next { right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .shots__link { transition: none; } .shots__link:hover { transform: none; } }

/* ---------- Лендинг «Обязательные разделы» ---------- */
.svdemo { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: 0 18px 40px rgba(22, 32, 58, .10); }
.svdemo__head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.svdemo__head b { display: block; font-size: 18px; }
.svdemo__head span { color: var(--muted); font-size: 14px; }
.svdemo__ring { --p: 0; flex: 0 0 78px; height: 78px; border-radius: 50%; background: conic-gradient(#d97706 calc(var(--p) * 1%), #e5e7ef 0); display: flex; align-items: center; justify-content: center; position: relative; }
.svdemo__ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--white); }
.svdemo__ring b { position: relative; font: 700 19px/1 var(--display); }
.svdemo__list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.svdemo__list li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid #eef0f5; }
.svdemo__list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.svdemo__list li.is-bad::before { background: #e5484d; }
.svdemo__list li.is-warn::before { background: #f59e0b; }
.svdemo__list i { font-style: normal; font-size: 12px; color: var(--muted); background: #f1f3f8; border-radius: 6px; padding: 2px 6px; margin-left: 6px; }
.svdemo__list small { display: block; color: var(--muted); font-size: 13px; }
