/* ================= Kon24 / Red Studio — фирменный слой публичного сайта (17.11.2026) =================
   Подключается после app.css и site.css и действует только внутри body.brand-site (все публичные страницы Kon24).
   Страницы клиентов (визитки /v/, мини-сайты /m/, страница отзывов /p/ — body.vc-page или без brand-site) не меняются.
   Логика генератора, форм и скриптов не зависит от этого файла: убрать слой = вернуть прежний вид.
   Порядок: токены → общие элементы → шапка и подвал → генератор → главная → остальные страницы → адаптивность. */

:root {
  --b-page: #fafaf8; --b-surface: #ffffff; --b-panel: #f3f3f1; --b-panel-2: #ecece9;
  --b-ink: #171b21; --b-ink-2: #4d5259; --b-muted: #5d6269;
  --b-rule: #e2e2de; --b-rule-2: #d3d4d0; --b-input: #c3c5c2;
  /* фирменный цвет — из accents.css (красный, синий, зелёный, фиолетовый; в тёмной теме — свои оттенки) */
  --b-red: var(--ac); --b-red-hover: var(--ac-hover); --b-btn: var(--ac-btn); --b-btn-hover: var(--ac-btn-hover);
  --b-red-ink: var(--ac-ink); --b-soft: var(--ac-soft); --b-soft-2: var(--ac-soft-2);
  --b-shadow: 0 1px 2px rgba(23, 27, 33, .04), 0 10px 30px rgba(23, 27, 33, .05);
  --b-shadow-hi: 0 2px 6px rgba(23, 27, 33, .05), 0 22px 50px rgba(23, 27, 33, .09);
  --b-display: Arial, "Helvetica Neue", Helvetica, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  --b-page: #14171c; --b-surface: #1b1f25; --b-panel: #22272e; --b-panel-2: #2a3038;
  --b-ink: #f3f3f0; --b-ink-2: #c5c8ce; --b-muted: #a3a8b1;
  --b-rule: #313740; --b-rule-2: #3d444e; --b-input: #59606b;
  --b-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 12px 32px rgba(0, 0, 0, .25);
  --b-shadow-hi: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 56px rgba(0, 0, 0, .4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --b-page: #14171c; --b-surface: #1b1f25; --b-panel: #22272e; --b-panel-2: #2a3038;
    --b-ink: #f3f3f0; --b-ink-2: #c5c8ce; --b-muted: #a3a8b1;
    --b-rule: #313740; --b-rule-2: #3d444e; --b-input: #59606b;
    --b-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 12px 32px rgba(0, 0, 0, .25);
    --b-shadow-hi: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 56px rgba(0, 0, 0, .4);
  }
}

/* стеклянные токены site.css → фирменные; так меняется всё, что на них построено */
:root body.glass.brand-site {
  --text: var(--b-ink); --text-2: var(--b-ink-2); --text-3: var(--b-muted);
  --accent: var(--b-red); --accent-hover: var(--b-red-hover); --accent-soft: var(--b-soft);
  --bg: var(--b-surface); --bg-side: var(--b-panel); --bg-input: var(--b-surface); --bg-hover: var(--b-panel);
  --bg-selected: var(--b-soft); --line: var(--b-rule);
  --g-card: var(--b-surface); --g-card-2: var(--b-surface); --g-edge: var(--b-rule); --g-line: var(--b-rule);
  --g-input: var(--b-surface); --g-input-edge: var(--b-input); --g-solid: var(--b-surface); --sl-fill: var(--b-panel);
  --g-shadow: var(--b-shadow);
  background: var(--b-page); color: var(--b-ink);
}
.brand-site .g-deco { display: none; }
.brand-site :is(.glass-card, .card, .feature, .faq details, .price, .center-card, .prose, .kind, .steps li, .cta-band, .btn, .seg-types, .gen-design,
  .legal-docs a, .legal-toc details, .legal-card, .legal-doc, .legal-req, .ec-design, .ec-strip, .g-bar, .mnav, .cookie-note, .auth-card) {
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* ---------- общие элементы ---------- */
.brand-site ::selection { background: var(--b-soft-2); }
.brand-site :focus-visible { outline: 3px solid color-mix(in srgb, var(--b-red) 70%, transparent); outline-offset: 3px; }
.brand-site .input:focus-visible { outline: 0; }
.brand-site a { color: var(--b-red-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.brand-site .site-wrap, .brand-site .g-wrap, .brand-site .g-foot-in { max-width: 1280px; padding-inline: 32px; }
.brand-site :is(h1, h2) { font-family: var(--b-display); }
.brand-site .eyebrow { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--b-red-ink); margin: 0 0 14px; }

.brand-site .btn { height: 48px; border-radius: 10px; padding: 0 20px; font-weight: 600; background: var(--b-surface); border: 1px solid var(--b-input); color: var(--b-ink); box-shadow: none; transition: background .15s, border-color .15s, color .15s; }
.brand-site .btn:hover { background: var(--b-panel); border-color: var(--b-ink-2); }
.brand-site .btn.primary { background: var(--b-btn); border-color: var(--b-btn); color: #fff; box-shadow: 0 1px 2px color-mix(in srgb, var(--ac-deep) 20%, transparent); }
.brand-site .btn.primary:hover { background: var(--b-btn-hover); border-color: var(--b-btn-hover); }
.brand-site .btn.ghost { background: transparent; border-color: transparent; }
.brand-site .btn.ghost:hover { background: var(--b-panel); }
.brand-site .btn.sm { height: 40px; border-radius: 9px; padding: 0 14px; font-size: 14.5px; }
.brand-site .btn.big { height: 56px; border-radius: 12px; font-size: 17px; padding: 0 26px; }
.brand-site .btn:disabled { cursor: not-allowed; }
.brand-site .input { height: 52px; border-radius: 10px; font-size: 16px; padding: 0 16px; background: var(--b-surface); border: 1px solid var(--b-input); box-shadow: none; }
.brand-site textarea.input { padding: 12px 16px; }
.brand-site select.input { height: 42px; border-radius: 9px; font-size: 15px; }
.brand-site .input:hover { border-color: var(--b-ink-2); }
/* 19.11.2026: фокус поля — тёмный, а не красный: красная рамка читается как «ошибка» (на главной поле в фокусе сразу) */
/* фокус — тонкая рамка фирменного цвета и мягкий ореол (заметно, но без тяжёлой двойной серой обводки) */
.brand-site .input:focus { border-color: var(--b-red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--b-red) 15%, transparent); }
.brand-site .field > span, .brand-site .field > label { font-weight: 600; font-size: 15px; }
.brand-site .hint { color: var(--b-muted); }
.brand-site input:not([type=range]) { accent-color: var(--b-red); }
.brand-site input[type=range] { accent-color: var(--b-red); }
.brand-site .chip { height: 36px; border-radius: 8px; padding: 0 13px; font-size: 14px; background: var(--b-surface); border: 1px solid var(--b-rule-2); color: var(--b-ink); box-shadow: none; }
.brand-site .chip:hover { border-color: var(--b-ink-2); }
.brand-site .chip.on { background: var(--b-soft); color: var(--b-red-ink); border-color: transparent; }
.brand-site .seg { background: var(--b-panel); border: 0; border-radius: 10px; padding: 3px; box-shadow: none; }
.brand-site .seg span { border-radius: 8px; color: var(--b-ink-2); }
.brand-site .seg input:checked + span { background: var(--b-surface); color: var(--b-ink); box-shadow: 0 1px 3px rgba(23, 27, 33, .12); }
.brand-site .crumbs { font-size: 14px; padding-top: 26px; }
.brand-site .crumbs a { color: var(--b-ink-2); }
.brand-site .crumbs a:hover { color: var(--b-red-ink); }

/* карточки: белая поверхность, тонкая линия, мягкая тень — вместо стекла */
.brand-site :is(.glass-card, .card, .feature, .price, .center-card, .prose, .kind, .cta-band, .legal-card, .legal-doc, .legal-req, .ec-design, .ec-strip, .auth-card) {
  background: var(--b-surface); border: 1px solid var(--b-rule); box-shadow: var(--b-shadow);
}
.brand-site .features { gap: 14px; }
.brand-site .feature { border-radius: 16px; padding: 22px 24px; }
.brand-site .feature .ic, .brand-site .kind .ic, .brand-site .lc-ic, .brand-site .choice .ic {
  width: 42px; height: 42px; border-radius: 10px; background: var(--b-soft); color: var(--b-red-ink);
}
.brand-site .feature h3 { font-size: 17px; letter-spacing: -.01em; margin-top: 14px; }
.brand-site .feature p { color: var(--b-ink-2); }
.brand-site .seo-block { margin: 72px 0; }
.brand-site .seo-block > h2, .brand-site .seo-text h2, .brand-site .faq h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; margin: 0 0 24px;
}
.brand-site .seo-text h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 12px; }
.brand-site .seo-text p, .brand-site .seo-text li { color: var(--b-ink-2); }

/* шаги: номер в рамке, строки разделены линией */
.brand-site .steps { gap: 0 32px; }
.brand-site .steps li { background: transparent; border: 0; border-top: 1px solid var(--b-rule-2); border-radius: 0; box-shadow: none; padding: 22px 0; color: var(--b-ink-2); }
.brand-site .steps .n { width: 36px; height: 36px; border-radius: 9px; background: transparent; color: var(--b-ink); border: 1px solid var(--b-rule-2); font-family: var(--b-display); font-size: 16px; font-weight: 700; }

/* вопросы-ответы: строки с линиями, без карточек */
.brand-site .faq { margin: 72px 0 56px; }
.brand-site .faq details { background: transparent; border: 0; border-top: 1px solid var(--b-rule-2); border-radius: 0; box-shadow: none; padding: 0; }
.brand-site .faq details:last-of-type { border-bottom: 1px solid var(--b-rule-2); }
.brand-site .faq details + details { margin-top: 0; }
.brand-site .faq summary { padding: 20px 40px 20px 0; font-size: 17px; font-weight: 600; position: relative; }
.brand-site .faq summary:hover { color: var(--b-red-ink); }
.brand-site .faq details p { color: var(--b-ink-2); max-width: 860px; margin: -4px 0 22px; }

/* призыв: тёмная полоса с красной кнопкой */
.brand-site .cta-band { border-radius: 18px; padding: 30px 34px; background: var(--b-ink); border-color: var(--b-ink); color: #f3f3f0; box-shadow: none; }
.brand-site .cta-band b { font-family: var(--b-display); font-size: 24px; letter-spacing: -.03em; color: #fff; }
.brand-site .cta-band .hint, .brand-site .cta-band p { color: #c5c8ce; }
.brand-site .cta-band a:not(.btn) { color: #fff; }
.brand-site .cta-band .btn:not(.primary) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.brand-site .cta-band .btn:not(.primary):hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
:root[data-theme="dark"] .brand-site .cta-band { background: var(--b-panel); border-color: var(--b-rule-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-site .cta-band { background: var(--b-panel); border-color: var(--b-rule-2); } }

/* таблицы сравнения */
.brand-site .card:has(> .cmp), .brand-site .card:has(> table) { border-radius: 16px; }
.brand-site .cmp th { background: var(--b-panel); color: var(--b-ink); font-weight: 600; }
.brand-site .cmp td, .brand-site .cmp th { border-color: var(--b-rule); }
.brand-site .cmp tbody tr:hover td { background: color-mix(in srgb, var(--b-panel) 55%, transparent); }

/* заголовок обычной страницы */
.brand-site .hero { padding: 40px 0 18px; text-align: left; }
.brand-site .hero p { margin-left: 0; }
.brand-site .hero .hero-cta, .brand-site .hero .chips { justify-content: flex-start; }
.brand-site .kinds-hero p { margin: 18px 0 0; }
.brand-site .hero h1, .brand-site h1.big { font-weight: 700; letter-spacing: -.05em; line-height: 1.02; }
.brand-site .hero h1 { margin-bottom: 16px; }
.brand-site .hero p { color: var(--b-ink-2); }

/* телефон с примером страницы */
.brand-site .phone-frame { background: #1d1f23; border: 1px solid #55575c; box-shadow: 0 30px 60px -24px rgba(23, 27, 33, .45), inset 0 0 0 2px #9f9d96; }
.brand-site .phone-frame iframe { background: #faf8f4; }
.brand-site .phone-frame:not(:has(iframe[srcdoc])):has(iframe[data-lazy-src]) { position: relative; }

/* полоска-предложение над генератором */
.brand-site .ec-strip { border-radius: 12px; box-shadow: none; }
.brand-site .ec-strip .i, .brand-site .ec-strip .go { color: var(--b-red-ink); }
.brand-site .ec-strip:hover { border-color: var(--b-rule-2); background: var(--b-panel); }

/* мелочи */
.brand-site .callout { border-radius: 12px; }
.brand-site .toast { border-radius: 12px; }
.brand-site .kv { border-color: var(--b-rule); }

/* ---------- шапка ---------- */
html:has(body.brand-site) { scroll-padding-top: 108px; }
.brand-site .g-head { padding: 0 32px; background: var(--b-page); pointer-events: auto; }
.brand-site .g-bar { max-width: 1216px; height: 88px; padding: 0; gap: 24px; border: 0; border-bottom: 1px solid var(--b-rule); border-radius: 0; box-shadow: none; background: transparent; }
.brand-site .g-logo { color: var(--b-ink); }
.brand-site .brand-wordmark { display: block; width: 150px; height: auto; color: var(--b-ink); flex: none; }
.brand-site .g-nav { gap: clamp(20px, 3.4vw, 52px); }
.brand-site .g-nav a { color: var(--b-ink); font-size: 16px; font-weight: 600; padding: 31px 0; }
.brand-site .g-nav a::after { bottom: -1px; height: 3px; border-radius: 0; background: var(--b-red); }
.brand-site .g-nav a:hover { color: var(--b-red-ink); }
.brand-site .g-nav a:hover::after { width: 100%; opacity: .25; }
.brand-site .g-nav a[aria-current="page"]::after { width: 100%; opacity: 1; }
.brand-site .g-theme { margin-right: -12px; color: var(--b-ink-2); border-radius: 10px; }
.brand-site .g-theme:hover { background: var(--b-panel); color: var(--b-ink); }
.brand-site .g-login, .brand-site .g-menu-btn { height: 42px; border-radius: 10px; border: 1px solid var(--b-input); background: var(--b-surface); color: var(--b-ink); font-weight: 600; font-size: 15px; }
.brand-site .g-login:hover { border-color: var(--b-ink); color: var(--b-ink); background: var(--b-panel); }
.brand-site .g-menu-btn.open { border-color: transparent; background: transparent; }
.brand-site .mnav { border-radius: 16px; background: var(--b-surface); border: 1px solid var(--b-rule); box-shadow: var(--b-shadow-hi); }
.brand-site .mnav[hidden] { display: none; }
.brand-site .mnav-item { border-color: var(--b-rule); font-family: var(--b-display); letter-spacing: -.02em; }
.brand-site .mnav-item:hover { color: var(--b-red-ink); }
.brand-site .mnav-item[aria-current="page"]::before { background: var(--b-red); border-radius: 3px; }
.brand-site .mnav .g-login.wide { border-color: var(--b-ink); }
.brand-site .mnav-reg { color: var(--b-red-ink); }

/* ---------- подвал: светлый, с линиями ---------- */
.brand-site .g-foot { margin-top: 48px; background: var(--b-surface); border-top: 1px solid var(--b-rule); color: var(--b-ink); }
:root[data-theme="dark"] .brand-site .g-foot { background: #111418; border-top-color: var(--b-rule); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-site .g-foot { background: #111418; border-top-color: var(--b-rule); } }
.brand-site .foot-top { padding: 48px 0 34px; }
.brand-site .foot-brand { display: grid; gap: 14px; align-content: start; }
.brand-site .g-foot .g-logo { color: var(--b-ink); }
.brand-site .g-foot .brand-wordmark { width: 140px; }
.brand-site .foot-tag { margin: 0; max-width: 250px; color: var(--b-muted); font-size: 14px; line-height: 1.5; }
.brand-site .fcol summary { color: var(--b-ink); font-size: 15px; font-family: var(--b-display); }
.brand-site .g-foot a { color: var(--b-ink-2); }
.brand-site .g-foot a:hover { color: var(--b-red-ink); }
.brand-site .fcol a { font-size: 14.5px; padding: 4px 0; }
.brand-site .foot-bottom, .brand-site .foot-legal, .brand-site .fcol { border-color: var(--b-rule); }
.brand-site .foot-copy, .brand-site .foot-legal p { color: var(--b-muted); }
.brand-site .foot-legal a, .brand-site .foot-links a { color: var(--b-ink-2); font-size: 13.5px; }
.brand-site .foot-legal a:hover { color: var(--b-red-ink); }
.brand-site .g-foot :focus-visible { outline-color: var(--b-red); }
/* 19.11.2026 (заметки дизайнера): контрастный графитовый подвал — спокойное завершение страницы; сверху справа крупный
   фрагмент фирменной ленты, обрезанный краем. Цвета текста — свои, светлые, в любой теме. */
.brand-site .g-foot { position: relative; overflow: hidden; background: #1b2330; border-top: 0; color: #f3f3f0;
  --b-ink: #f3f3f0; --b-ink-2: #c9cdd4; --b-muted: #9ca2ab; --b-rule: rgba(255, 255, 255, .1); --b-red: var(--ac-on-dark); --b-red-ink: var(--ac-on-dark); }
:root[data-theme="dark"] .brand-site .g-foot { background: #161b23; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-site .g-foot { background: #161b23; } }
/* 20.11.2026: обрезанный кусок ленты сверху справа убран (пользователь: «почему так мало видно — тогда уж логотип целиком»).
   Вместо него — логотип подвала крупнее и целиком: знак «К» и надпись. */
.brand-site .g-foot-in { position: relative; z-index: 1; }
.brand-site .g-foot .foot-top { padding-top: 56px; }
.brand-site .g-foot .brand-wordmark { width: 188px; height: auto; }
.brand-site .g-foot .fcol summary .i { color: #9ca2ab; }
@media (max-width: 760px) {
  .brand-site .g-foot .foot-top { padding-top: 36px; }
  .brand-site .g-foot .brand-wordmark { width: 160px; }
}
.brand-site .cookie-note { background: var(--b-surface); color: var(--b-ink-2); border: 1px solid var(--b-rule); box-shadow: var(--b-shadow-hi); border-radius: 14px; }
.brand-site .cookie-note b { color: var(--b-ink); }
.brand-site .cookie-note a { color: var(--b-red-ink); }
.brand-site .cookie-note .btn { background: var(--b-ink); color: var(--b-surface); border-color: var(--b-ink); }

/* ================= генератор: одна рабочая панель (главная и посадочные) ================= */
.brand-site .gen { display: block; padding: 0 0 8px; }
.brand-site .crumbs + .gen, .brand-site .ec-strip + .gen { padding-top: 0; }
.brand-site .gen-head { display: block; position: relative; padding: 34px 0 28px; }
.brand-site .gen-head .eyebrow { display: block; position: relative; z-index: 1; margin: 0 0 16px; }
.brand-site .gen-head h1 { position: relative; z-index: 1; max-width: 860px; font-weight: 700; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.05em; margin: 0; }
.brand-site .gen-head h1.long { font-size: clamp(36px, 3.9vw, 54px); }
.brand-site .gen-sub { position: relative; z-index: 1; max-width: 640px; margin: 16px 0 0; color: var(--b-ink-2); font-size: 19px; line-height: 1.45; }
.brand-site .gen-trust { position: relative; z-index: 1; gap: 10px 22px; margin: 20px 0 0; font-size: 14.5px; font-weight: 500; color: var(--b-ink); }
.brand-site .gen-trust li + li { border-left: 1px solid var(--b-rule-2); padding-left: 22px; }
.brand-site .gen-trust .i { color: var(--b-red); stroke-width: 2.2; }

.brand-site .gen-workbench {
  display: grid; position: relative; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-areas: "types preview" "fields preview" "design preview" "dyn preview" "privacy privacy";
  grid-template-rows: auto auto auto 1fr auto;
  border: 1px solid var(--b-rule); border-radius: 20px; background: var(--b-surface); box-shadow: var(--b-shadow);
}
.brand-site .gen .types { margin: 0 30px; padding-top: 12px; z-index: 31; }
.brand-site .seg-types { display: flex; width: 100%; gap: 4px; padding: 0; background: transparent; border: 0; border-bottom: 1px solid var(--b-rule); border-radius: 0; box-shadow: none; }
.brand-site .seg-type { flex: 1; padding: 0 10px; gap: 8px; height: 56px; font-size: 15px; border-radius: 0; color: var(--b-ink-2); background: transparent; }
.brand-site .seg-type::before { display: none; }
.brand-site .seg-type.on { background: transparent; color: var(--b-ink); box-shadow: inset 0 -3px var(--b-red); font-weight: 650; }
.brand-site .seg-type.on .i { color: var(--b-red); }
.brand-site .seg-type:not(.on):hover { background: var(--b-panel); color: var(--b-ink); border-radius: 8px 8px 0 0; }
.brand-site .seg-type .i { width: 18px; height: 18px; }
.brand-site .more-wrap { flex: 1.2; }
.brand-site .more-wrap .seg-type { width: 100%; }
.brand-site .types-panel { width: min(620px, calc(100vw - 64px)); background: var(--b-surface); border: 1px solid var(--b-rule); border-radius: 16px; box-shadow: var(--b-shadow-hi); -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand-site .tp-item { border-radius: 10px; }
.brand-site .tp-item:hover { background: var(--b-panel); }
.brand-site .tp-item.on { background: var(--b-soft); }
.brand-site .tp-item .ic { background: var(--b-panel); color: var(--b-ink); border-radius: 9px; }
.brand-site .tp-item.on .ic { background: var(--b-surface); color: var(--b-red-ink); }
.brand-site .gen-fields { margin: 0; padding: 24px 30px 0; }
.brand-site .gen-fields .field { margin-bottom: 12px; }
.brand-site .gen-fields .input { height: 52px; padding-inline: 14px; }
.brand-site .studio-auto { font-size: 12.5px; margin: -2px 0 20px; }
.brand-site .gen-design { margin: 0 30px 26px; border: 0; border-top: 1px solid var(--b-rule); border-radius: 0; background: transparent; box-shadow: none; }
.brand-site .gen-design > summary { padding: 18px 0; min-height: 64px; border-radius: 0; font-family: var(--b-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; gap: 10px; }
.brand-site .gen-design > summary > .i:first-child { display: none; }
.brand-site .gen-design > summary .hint { font-family: var(--font); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.brand-site .gen-design[open] > summary .hint { display: none; }
.brand-site .gen-design > summary .chev { width: 18px; height: 18px; color: var(--b-muted); }
/* закрытое «Оформление» показывает, что внутри: четыре готовых стиля кружками */
.brand-site .sum-dots { display: inline-flex; margin-left: auto; padding-left: 8px; }
.brand-site .gen-design > summary .sum-dots + .chev { margin-left: 12px; }
.brand-site .sum-dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--b-surface); background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%); box-shadow: 0 0 0 1px var(--b-rule-2); }
.brand-site .sum-dots i + i { margin-left: -5px; }
.brand-site .gen-design[open] .sum-dots { display: none; }
.brand-site .gen-design[open] > summary .chev { margin-left: auto; }
.brand-site .gen-design:not([open]) { margin-bottom: 0; }
.brand-site .gen-design > summary:hover { color: var(--b-red-ink); }
.brand-site .gen-design-body { padding: 0; }
.brand-site .presets { gap: 6px; margin-bottom: 16px; }
.brand-site .chip.preset { border-radius: 8px; height: 34px; font-size: 13px; padding-inline: 10px; }
.brand-site .presets-reset { font-size: 13px; padding: 7px 0; }
.brand-site .studio-options { margin: 0 0 8px; }
.brand-site .studio-options > summary { padding: 10px 0; color: var(--b-ink-2); font-size: 13.5px; cursor: pointer; width: fit-content; }
.brand-site .studio-options > summary:hover { color: var(--b-red-ink); }
.brand-site .studio-options[open] > summary { margin-bottom: 10px; }
.brand-site .label-block { background: var(--b-panel); border: 0; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.brand-site .lb-head { gap: 10px; }
.brand-site .lb-k { font-size: 14.5px; }
.brand-site .lb-seg { flex: none; }
.brand-site .lb-seg span { height: 32px; font-size: 13px; padding: 0 12px; }
.brand-site .style-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; border-bottom: 1px solid var(--b-rule); border-radius: 0; background: transparent; padding: 0; margin-bottom: 16px; gap: 16px; }
.brand-site .style-tabs .tab { border-radius: 0; height: 44px; font-size: 15px; padding: 0 4px; color: var(--b-ink-2); background: transparent; box-shadow: none; }
.brand-site .style-tabs .tab.on { background: transparent; color: var(--b-ink); box-shadow: inset 0 -2px var(--b-red); }
.brand-site .style-pane > .field, .brand-site .style-pane .row2 .field { margin-bottom: 14px; gap: 6px; }
.brand-site .style-pane .field > span { font-size: 14px; font-weight: 500; }
.brand-site .style-pane .hint { font-size: 12.5px; }
.brand-site .color-row { gap: 8px; }
.brand-site .color-row input[type=color] { width: 42px; height: 42px; padding: 3px; border-radius: 9px; flex: none; border-color: var(--b-input); }
.brand-site .color-row .input { height: 42px; min-width: 0; width: 116px; font-size: 13.5px; padding-inline: 10px; }
.brand-site .color-row .btn { height: 42px; padding: 0 10px; font-size: 12.5px; }
.brand-site .swatches { gap: 10px; }
.brand-site .swatch { width: 36px; height: 36px; border-radius: 8px; border: 2px solid var(--b-surface); box-shadow: 0 0 0 1px var(--b-rule-2); }
.brand-site .swatch.on, .brand-site .swatch:hover { outline: 2px solid var(--b-ink); outline-offset: 1px; }
.brand-site .switch { font-size: 14px; line-height: 1.5; }
.brand-site .switch input { width: 18px; height: 18px; flex: none; }
.brand-site .logo-drop { border-radius: 12px; background: var(--b-panel); border-color: var(--b-rule-2); }
.brand-site .logo-drop:hover, .brand-site .logo-drop:focus-visible { border-color: var(--b-red); background: var(--b-soft); }

.brand-site .gen-preview { position: static; margin: 0; align-self: stretch; padding: 28px; border-left: 1px solid var(--b-rule); background: var(--b-panel); border-radius: 0 20px 0 0; }
.brand-site .preview-card { position: sticky; top: 110px; border: 0; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.brand-site .studio-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.brand-site .studio-preview-head h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.brand-site .studio-live { display: inline-flex; align-items: center; gap: 6px; color: var(--b-muted); font-size: 12px; }
.brand-site .studio-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--b-input); }
.brand-site .preview-card:not(.empty) .studio-live i { background: #2fa86b; box-shadow: 0 0 0 3px rgba(47, 168, 107, .18); }
.brand-site .qr-plate { max-width: 312px; min-height: 0; aspect-ratio: 1; padding: 14px; margin: 0 auto; border-radius: 14px; background: #fff; border: 1px solid var(--b-rule); box-shadow: 0 4px 16px rgba(23, 27, 33, .06); }
.brand-site .qr-plate .qr { max-width: 284px; }
.brand-site .qr-plate .placeholder { color: #686d74; font-size: 14px; }
/* пример кода до ввода: бледный, с меткой «Пример»; исчезает вместе с подсказкой, когда появляется свой код */
.brand-site .ph-sample { position: relative; display: block; width: 62%; max-width: 190px; margin: 0 auto 14px; }
.brand-site .ph-sample img { display: block; width: 100%; height: auto; opacity: .28; filter: grayscale(.2); }
.brand-site .ph-sample b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 5px 11px; border-radius: 7px; background: #fff; border: 1px solid #e2e2de; color: #171b21; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(23, 27, 33, .08); }
.brand-site .placeholder:has(.ph-sample) > .i { display: none; }
.brand-site .target-line { font-size: 12.5px; row-gap: 7px; margin-top: 14px; }
.brand-site .target-line .t-act { gap: 12px; }
.brand-site .preview-card .dl-row { gap: 10px; margin-top: 18px; }
.brand-site .preview-card .dl-row .btn { height: 50px; font-size: 15.5px; border-radius: 10px; padding: 0 16px; }
.brand-site .preview-card .btn.primary:disabled { opacity: 1; background: var(--b-surface); color: var(--b-muted); border-color: var(--b-rule-2); box-shadow: none; }
.brand-site .status { font-size: 13.5px; margin-top: 16px; gap: 8px; }
.brand-site .status .dot { width: 8px; height: 8px; }
.brand-site .checks-more, .brand-site .checks { font-size: 12.5px; }
.brand-site .dl-opts { margin-top: 14px; font-size: 13.5px; }
.brand-site .dl-opts .input { height: 38px; font-size: 13.5px; }
.brand-site .preview-card > .hint { font-size: 12.5px; text-align: left; line-height: 1.5; }
.brand-site .preview-card > .print-tip { border-top: 1px solid var(--b-rule-2); padding-top: 14px; margin-top: 16px; }
/* невысокий экран ноутбука (1280×720, 1366×768): код чуть меньше и плотнее — «Скачать PNG» видно без прокрутки */
@media (min-width: 901px) and (max-height: 900px) {
  .brand-site .gen-preview { padding: 22px 26px; }
  .brand-site .studio-preview-head { margin-bottom: 12px; }
  .brand-site .qr-plate { max-width: 232px; padding: 12px; }
  .brand-site .qr-plate .qr { max-width: 208px; }
  .brand-site .target-line { margin-top: 10px; }
  .brand-site .preview-card .dl-row { margin-top: 12px; }
}
/* предложение «изменяемый код» — карточкой в левой колонке, под оформлением */
.brand-site .dyn-opt { align-self: start; margin: 4px 30px 28px; padding: 18px 20px; border: 1px solid var(--b-rule); border-radius: 14px; background: var(--b-page); box-shadow: none; }
.brand-site .dyn-opt > .ic { background: var(--b-soft); color: var(--b-red-ink); border-radius: 10px; width: 38px; height: 38px; }
.brand-site .dyn-tx { flex: 1; display: block; }
.brand-site .dyn-tx b { font-size: 15.5px; }
.brand-site .dyn-tx p { font-size: 13.5px; margin: 4px 0 0; }
.brand-site .dyn-tx .btn { margin-top: 14px; font-size: 14px; height: 44px; padding: 0 16px; }
.brand-site .dyn-tx .hint { font-size: 12.5px; margin: 10px 0 0; max-width: none; }
.brand-site .privacy-note { border-top: 1px solid var(--b-rule); margin: 0; padding: 14px 30px; font-size: 12.5px; align-items: center; color: var(--b-muted); }
.brand-site .privacy-note .i { margin: 0; flex: none; }

/* ================= главная ================= */
/* 19.11.2026 по заметкам дизайнера: вступление компактнее (заголовок в одну строку, лента на четверть меньше) —
   на экране 1280×720 кнопка «Скачать» видна сразу после ввода ссылки */
.brand-home .gen-head { padding: 26px 0 22px; }
.brand-home .gen-head h1 { max-width: 820px; font-size: clamp(44px, 4.7vw, 64px); line-height: 1; letter-spacing: -.055em; }
.brand-home .gen-sub { max-width: 640px; margin-top: 12px; font-size: 18px; line-height: 1.4; }
.brand-home .gen-trust { margin-top: 14px; }
/* лента уходит за правый край окна, а не обрывается на краю колонки; под панелью генератора, а не над ней */
.brand-home .studio-ribbon { position: absolute; z-index: 0; width: 330px; height: auto; right: min(-32px, calc((1216px - 100vw) / 2)); top: 0; pointer-events: none; user-select: none; }
.brand-home .gen-workbench { z-index: 1; }

/* «Страница, с которой вам пишут» */
.brand-home .home-show { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 72px 0; margin: 80px 0 0; background: none; border: 0; border-top: 1px solid var(--b-rule-2); border-bottom: 1px solid var(--b-rule-2); border-radius: 0; box-shadow: none; overflow: visible; }
.brand-home .home-show::before { display: none; }
.brand-home .home-show h2 { font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; letter-spacing: -.052em; line-height: 1.02; max-width: 560px; }
.brand-home .hs-lead { font-size: 18.5px; line-height: 1.5; max-width: 520px; margin: 20px 0 24px; }
/* путь клиента в три шага: код → страница → сообщение */
.brand-home .hs-flow { list-style: none; margin: 0; padding: 0; display: grid; max-width: 520px; counter-reset: f; border-bottom: 1px solid var(--b-rule-2); }
.brand-home .hs-flow li { counter-increment: f; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--b-rule-2); }
.brand-home .hs-flow li::before { content: counter(f); grid-row: span 2; align-self: start; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--b-soft); color: var(--b-red-ink); font-family: var(--b-display); font-weight: 700; font-size: 15px; }
.brand-home .hs-flow b { font-size: 16.5px; }
.brand-home .hs-flow span { color: var(--b-muted); font-size: 14px; margin-top: 2px; }
.brand-home .hs-copy .hero-cta { margin-top: 26px; }
.brand-home .hs-copy > .hint { font-size: 13.5px; margin-top: 14px; }
.brand-home .hs-demo { gap: 18px; min-width: 0; }
.brand-home .hs-switch { background: var(--b-panel); border: 0; padding: 3px; border-radius: 10px; }
.brand-home .hs-switch button { border-radius: 8px; font-size: 14px; padding: 7px 18px; color: var(--b-ink-2); min-height: 36px; }
.brand-home .hs-switch button[aria-pressed="true"] { background: var(--b-surface); color: var(--b-ink); box-shadow: 0 1px 3px rgba(23, 27, 33, .14); }
.brand-home .hs-stage { position: relative; display: flex; justify-content: center; width: 100%; padding: 6px 0 10px; }
/* телефон стоит ровно: наклон и уменьшение через transform размывали текст. Страница внутри уменьшена через zoom
   (app.js) и рисуется в настоящем размере — чётко на любом экране. Три примера сменяются плавно. */
.brand-home .phone-frame.hs-frame { width: 286px; height: 540px; padding: 9px; border-radius: 42px; transform: none; }
.brand-home .hs-stage:hover .phone-frame.hs-frame { transform: none; }
.brand-home .hs-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #faf8f4; isolation: isolate; }
.brand-home .phone-frame.hs-frame .hs-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; border: 0; border-radius: 0;
  opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.brand-home .phone-frame.hs-frame .hs-screen iframe.on { opacity: 1; }
.brand-home .hs-stage .phone-frame { position: relative; }
.brand-home .hs-stage .phone-frame:not(:has(iframe[srcdoc]))::after { content: "Загружаем пример…"; position: absolute; inset: 9px; display: grid; place-content: center; background: #faf8f4; color: #686d74; font-size: 13px; border-radius: 34px; }
.brand-home .hs-proof b, .brand-home .hs-proof small { transition: opacity .3s; }
.brand-home .hs-proof.swap b, .brand-home .hs-proof.swap small { opacity: 0; }
/* прогресс автопоказа — тонкая полоска под выбранным примером */
.brand-home .hs-switch button { position: relative; }
.brand-home .hs-switch button[aria-pressed="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 1px;
  background: var(--b-red); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; }
.brand-home .home-show.hs-playing .hs-switch button[aria-pressed="true"]::after { opacity: .55; animation: hs-progress var(--hs-dur, 5.5s) linear forwards; }
.brand-home .home-show.hs-paused .hs-switch button[aria-pressed="true"]::after { animation-play-state: paused; }
@keyframes hs-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.brand-home .hs-proof { left: auto; right: calc(50% + 96px); bottom: 54px; padding: 12px 16px; border-radius: 12px; background: var(--b-surface); border: 1px solid var(--b-rule); box-shadow: var(--b-shadow-hi); transform: none; z-index: 2; }
.brand-home .hs-proof .ic { background: var(--b-soft); color: var(--b-red-ink); border-radius: 9px; }
.brand-home .hs-qr { position: absolute; left: calc(50% + 112px); top: 62px; z-index: 2; display: grid; justify-items: center; gap: 6px; padding: 10px 10px 8px; border-radius: 12px; background: var(--b-surface); border: 1px solid var(--b-rule); box-shadow: var(--b-shadow-hi); transform: none; }
.brand-home .hs-qr img { display: block; width: 64px; height: 64px; }
.brand-home .hs-qr span { font-size: 11.5px; font-weight: 600; color: var(--b-ink-2); white-space: nowrap; }
.brand-home .hs-note { font-size: 12.5px; }

/* «Что хотите создать?»: полоса «сразу, без регистрации» и панель «в бесплатном кабинете» */
.brand-home .seo-block { margin: 80px 0; }
.brand-home .ho-band { border-radius: 20px; }
.brand-home .ho-band + .ho-band { margin-top: 14px; }
.brand-home .ho-text .eyebrow { margin-bottom: 10px; }
.brand-home .ho-text h3 { margin: 0; font-family: var(--b-display); font-size: 26px; font-weight: 700; letter-spacing: -.035em; }
.brand-home .ho-text p { margin: 10px 0 0; color: var(--b-ink-2); font-size: 15.5px; line-height: 1.5; max-width: 460px; }
.brand-home .ho-free { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; padding: 30px 32px; background: var(--b-surface); border: 1px solid var(--b-rule); }
.brand-home .ho-free .kind-chips { margin: 0; gap: 8px; }
.brand-home .ho-free .kind-chips .chip { height: 38px; font-size: 14px; }
.brand-home .ho-free .kind-chips .chip .i { color: var(--b-red); }
.brand-home .ho-biz { padding: 30px 32px 18px; background: var(--b-panel); }
.brand-home .ho-head { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.brand-home .ho-head .btn { flex: none; }
.brand-home .choice-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.brand-home .choice-list a { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--b-rule-2); color: var(--b-ink); text-decoration: none; height: 100%; }
.brand-home .choice-list .ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--b-surface); color: var(--b-red-ink); }
.brand-home .choice-list .tx { display: grid; gap: 3px; min-width: 0; }
.brand-home .choice-list b { font-size: 15.5px; transition: color .15s; }
.brand-home .choice-list small { font-size: 13.5px; color: var(--b-muted); line-height: 1.4; }
.brand-home .choice-list .go { margin-left: auto; margin-top: 3px; color: var(--b-muted); flex: none; transition: transform .15s, color .15s; }
.brand-home .choice-list a:hover b, .brand-home .choice-list a:hover .go { color: var(--b-red-ink); }
.brand-home .choice-list a:hover .go { transform: translateX(3px); }

/* тарифы прямо на главной */
.brand-home .price-strip { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.brand-home .ps-head h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; }
.brand-home .ps-head p { margin: 14px 0 0; color: var(--b-ink-2); font-size: 15.5px; line-height: 1.55; }
.brand-home .ps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.brand-home .ps-item { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 16px; background: var(--b-surface); border: 1px solid var(--b-rule); color: var(--b-ink); text-decoration: none; transition: border-color .15s; }
.brand-home .ps-item:hover { border-color: var(--b-ink-2); }
.brand-home .ps-item.best { border-color: var(--b-red); box-shadow: 0 0 0 1px var(--b-red); }
.brand-home .ps-item b { font-size: 15px; }
.brand-home .ps-price { font-family: var(--b-display); font-size: 34px; font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
.brand-home .ps-price i { font-style: normal; font-family: var(--font); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--b-muted); margin-left: 6px; }
.brand-home .ps-item small { color: var(--b-ink-2); font-size: 13.5px; line-height: 1.45; }

/* сканер QR на главной (19.11.2026): слева — зачем и что умеет, справа — рабочий сканер (тот же scanner.js) */
.brand-home .home-scan { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.brand-home .hsc-text h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; }
.brand-home .hsc-text > p { margin: 14px 0 0; color: var(--b-ink-2); font-size: 15.5px; line-height: 1.55; max-width: 460px; }
.brand-home .hsc-text kbd { display: inline-block; padding: 0 6px; border: 1px solid var(--b-rule-2); border-bottom-width: 2px; border-radius: 6px;
  font: 600 12.5px/1.6 var(--font); background: var(--b-surface); color: var(--b-ink); }
.brand-home .hsc-text .ec-points { margin-top: 18px; font-size: 15px; }
.brand-home .hsc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--b-red-ink); font-weight: 600; text-decoration: none; }
.brand-home .hsc-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.brand-home .hsc-more .i { transition: transform .15s; }
.brand-home .hsc-more:hover .i { transform: translateX(3px); }
.brand-home .hsc-box .sc-stage:not(.has-img) { aspect-ratio: 16 / 9; min-height: 210px; }
@media (max-width: 900px) { .brand-home .home-scan { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
@media (max-width: 760px) {
  .brand-home .hsc-box .sc-stage:not(.has-img) { aspect-ratio: auto; min-height: 170px; }
  .brand-home .hsc-box .sc-acts .btn { flex: 1 1 auto; justify-content: center; }
}

/* ================= остальные публичные страницы ================= */
/* герой визитки, мини-сайта, отраслей, партнёров, сокращателя */
.brand-site :is(.ec-hero, .sl-hero) { padding: 34px 0 12px; gap: 64px; }
.brand-site :is(.ec-hero, .sl-hero) h1 { font-size: clamp(42px, 5vw, 72px); font-weight: 700; letter-spacing: -.055em; line-height: 1; }
/* 19.11.2026 по заметкам дизайнера: телефон меньше (весь пример в первом экране), текст поднят к верху телефона,
   за телефоном — изгиб фирменной ленты (цвет — из accents.css, --ribbon) */
@media (min-width: 901px) {
  .brand-site :is(.ec-hero, .sl-hero) { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; padding-top: 18px; }
  .brand-site .ec-hero .ec-copy { padding-top: 46px; }
  .brand-site .ec-hero .phone-frame { zoom: .74; }
  .brand-site .ec-hero .ec-phone { position: relative; isolation: isolate; }
  .brand-site .ec-hero .ec-phone::before { content: ""; position: absolute; z-index: -1; width: 430px; aspect-ratio: 580 / 430; left: -230px; top: 110px;
    background: var(--ribbon) no-repeat center / contain; transform: rotate(-10deg); pointer-events: none; }
}
.brand-site .ec-lead { color: var(--b-ink-2); font-size: 19px; }
.brand-site .ec-points { gap: 10px; }
.brand-site .ec-points .i { color: var(--b-red); }
.brand-site .ec-phone-link { color: var(--b-red-ink); font-weight: 600; }
.brand-site .ec-designs { gap: 14px; }
.brand-site .ec-design { border-radius: 14px; box-shadow: none; }
.brand-site .ec-design:hover { transform: none; border-color: var(--b-ink-2); }

.brand-site .ms-flow-step { border-radius: 16px; }
.brand-site .ms-flow-step .n { border-radius: 9px; background: var(--b-soft); color: var(--b-red-ink); }
.brand-site .ms-flow-step .ms-bubble { background: #1f5fe8; }  /* белый текст: контраст 5:1 (было 4,35) */
.brand-site .ms-phone b { font-family: var(--b-display); letter-spacing: -.02em; }

.brand-site .sl-demo { border-radius: 18px; }
.brand-site .sl-short { color: var(--b-red-ink); font-weight: 700; }
.brand-site .sl-bars i { background: var(--b-red); opacity: .8; }
.brand-site .sl-qr { border: 1px solid var(--b-rule); box-shadow: none; }
.brand-site .sl-form .input { height: 56px; }
.brand-site .sl-form .btn { height: 56px; }

/* все виды кодов */
.brand-site .kinds-hero h1 { font-size: clamp(42px, 5vw, 68px); }
.brand-site .kind-grid { gap: 12px; }
.brand-site .kind { border-radius: 14px; box-shadow: none; padding: 18px; }
.brand-site .kind:hover { transform: none; border-color: var(--b-ink-2); }
.brand-site .kind:hover b { color: var(--b-red-ink); }

/* тарифы */
.brand-site .prices.three { gap: 18px; }
.brand-site .price { border-radius: 20px; box-shadow: none; }
.brand-site .prices.three .price { border-radius: 20px; padding: 32px 28px; }
.brand-site .price .p-name { font-family: var(--b-display); letter-spacing: -.035em; }
.brand-site .price .amount { font-family: var(--b-display); font-weight: 700; letter-spacing: -.05em; }
.brand-site .price li svg { color: var(--b-ink-2); }
.brand-site .price.best { border-color: var(--b-red); box-shadow: 0 0 0 1px var(--b-red), var(--b-shadow-hi); }
.brand-site .p-tag { background: var(--b-soft); color: var(--b-red-ink); border-radius: 6px; font-size: 13px; }
/* «Про»: фирменная лента загнута через правый верхний угол карточки (заметки дизайнера, 19.11.2026) */
.brand-site .price.best { position: relative; overflow: hidden; }
.brand-site .p-corner { position: absolute; top: 38px; right: -62px; width: 240px; padding: 6px 0; transform: rotate(45deg); text-align: center;
  background: linear-gradient(90deg, var(--k3, var(--b-btn)), var(--b-btn) 55%, var(--k7, var(--b-btn))); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .02em; box-shadow: 0 6px 12px -6px color-mix(in srgb, var(--ac-deep) 60%, transparent); }
.brand-site .p-corner::before, .brand-site .p-corner::after { content: ""; position: absolute; bottom: -6px; border-top: 6px solid color-mix(in srgb, var(--ac-deep) 85%, #000); }
.brand-site .p-corner::before { left: 0; border-left: 6px solid transparent; }
.brand-site .p-corner::after { right: 0; border-right: 6px solid transparent; }
.brand-site .price.best .p-year { color: var(--b-red-ink); }
.brand-site .prices.three .btn { height: 54px; border-radius: 12px; font-size: 16.5px; }

/* вход и регистрация: фирменная лента вместо стеклянной фигуры */
.brand-site .auth { gap: 56px; min-height: calc(100vh - 90px); }
.brand-site .auth-art { height: 600px; border-radius: 24px; background: var(--b-ink); overflow: hidden; }
.brand-site .auth-art img { display: none; }
.brand-site .auth-art::before { content: ""; position: absolute; right: -60px; top: 40px; width: 560px; height: 420px; background: url("/static/brand-ribbon.svg") no-repeat center / contain; }
.brand-site .auth-art::after { content: "Код печатаете один раз.\A Ссылку, цены и контакты\A меняете когда угодно."; white-space: pre; position: absolute; left: 44px; bottom: 44px; color: #fff; font-family: var(--b-display); font-size: 30px; font-weight: 700; letter-spacing: -.04em; line-height: 1.12; }
:root[data-theme="dark"] .brand-site .auth-art { background: var(--b-panel); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-site .auth-art { background: var(--b-panel); } }
.brand-site .auth-card { border-radius: 20px; padding: 44px 48px; box-shadow: var(--b-shadow); }
.brand-site .auth-card h1 { font-weight: 700; letter-spacing: -.05em; }
.brand-site .auth-card .lead { font-size: 18px; color: var(--b-ink-2); }
.brand-site .ico-input > .i { color: var(--b-muted); left: 17px; z-index: 1; }
/* значок слева в поле («Почта», «Пароль»): общий отступ .brand-site .input перебивал место под значок — текст налезал */
.brand-site .ico-input .input { padding-left: 50px; }
.brand-site .ico-input .input.has-eye { padding-right: 56px; }
.brand-site .auth-foot { font-size: 16px; }
.brand-site .auth-ctx { background: var(--b-soft); border-radius: 10px; }
.brand-site .auth-ctx .i { color: var(--b-red-ink); }
.brand-site .test-box { border-radius: 10px; }

/* сообщения, жалоба, пароль кода, контакты, надёжность */
.brand-site .center-card { border-radius: 20px; }
.brand-site .center-card h1 { font-weight: 700; letter-spacing: -.04em; }
.brand-site .prose { border-radius: 20px; box-shadow: none; }
.brand-site .prose h1 { font-weight: 700; letter-spacing: -.05em; }
.brand-site .prose h2, .brand-site .prose h3 { letter-spacing: -.02em; }
/* «Если тариф закончился» на /nadezhnost: две колонки — что работает и что ждёт оплаты (21.11.2026) */
.brand-site .after-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 6px; }
.brand-site .ap-col { background: var(--b-panel); border: 1px solid var(--b-rule); border-radius: 16px; padding: 18px 20px 8px; }
.brand-site .ap-col h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: 18px; color: var(--b-ink); }
.brand-site .ap-col h3 .i { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; stroke-width: 2.4; }
.brand-site .ap-ok h3 .i { color: #fff; background: #15803d; }
.brand-site .ap-pause h3 .i { color: #fff; background: #b45309; }
.brand-site .ap-col ul { margin: 0; padding-left: 20px; }
.brand-site .ap-col li { margin: 0 0 10px; color: var(--b-ink-2); }
@media (max-width: 760px) { .brand-site .after-pay { grid-template-columns: 1fr; } .brand-site .ap-col { padding: 16px 16px 6px; } }

/* документы */
.brand-site .legal-docs a { height: 36px; border-radius: 8px; background: var(--b-surface); border: 1px solid var(--b-rule-2); color: var(--b-ink-2); }
.brand-site .legal-docs a:hover { color: var(--b-ink); border-color: var(--b-ink-2); }
.brand-site .legal-docs a[aria-current="page"] { background: var(--b-ink); color: var(--b-surface); border-color: var(--b-ink); }
.brand-site .legal-toc details { border-radius: 16px; background: var(--b-surface); border: 1px solid var(--b-rule); box-shadow: none; }
.brand-site .legal-toc a { border-radius: 8px; }
.brand-site .legal-toc a:hover, .brand-site .legal-toc a.on { background: var(--b-soft); }
.brand-site .legal-doc { border-radius: 20px; box-shadow: none; }
.brand-site .legal-head h1, .brand-site .legal-hub-head h1 { font-weight: 700; letter-spacing: -.05em; }
.brand-site .legal-eyebrow { color: var(--b-red-ink); letter-spacing: .12em; }
.brand-site .legal-n { border-radius: 9px; background: var(--b-soft); color: var(--b-red-ink); }
.brand-site .legal-card { border-radius: 16px; box-shadow: none; }
.brand-site .legal-card:hover { transform: none; border-color: var(--b-ink-2); }
.brand-site .lc-go, .brand-site .legal-contact .i { color: var(--b-red-ink); }
.brand-site .legal-req { border-radius: 16px; box-shadow: none; }

/* шаблоны страниц и отраслевые */
.brand-site .tpl-cats .chip { border-radius: 8px; }
.brand-site .tpl-card { border-radius: 16px; background: var(--b-surface); border: 1px solid var(--b-rule); box-shadow: none; }
.brand-site .tpl-card:hover { border-color: var(--b-ink-2); }
.brand-site .tpl-thumb { border-radius: 12px; background: var(--b-panel); }
.brand-site .tpl-sec h2 { letter-spacing: -.035em; }
.brand-site :is(.ind-use, .ind-print, .pt-tools > *, .pt-land) { border-radius: 16px; }

/* ================= адаптивность ================= */
@media (min-width: 1061px) { .brand-site .mnav { display: none; } }
/* короткие подписи разделов помещаются и на планшете: меню-кнопка нужна только уже 880 px */
@media (min-width: 880px) and (max-width: 1060px) {
  .brand-site .g-nav { display: flex; gap: 26px; }
  .brand-site .g-bar > .g-login { display: inline-flex; }
  .brand-site .g-menu-btn, .brand-site .mnav { display: none; }
  .brand-site .g-theme { margin: 0 -10px 0 0; }
}
@media (max-width: 600px) { .brand-site .mnav { left: 0; right: 0; } }
@media (max-width: 1100px) and (min-width: 761px) {
  .brand-site .gen .types { margin-inline: 20px; }
  .brand-site .seg-type { padding: 0 5px; gap: 5px; font-size: 13.5px; }
  .brand-site .gen-fields { padding-inline: 20px; }
  .brand-site .gen-design { margin-inline: 20px; }
  .brand-site .gen-preview { padding: 24px 20px; }
  .brand-site .studio-live { display: none; }
  .brand-site .lb-head { flex-direction: column; align-items: flex-start; }
  .brand-home .studio-ribbon { width: 360px; top: 20px; }
  .brand-home .home-show { gap: 28px; }
  .brand-home .hs-qr { display: none; }
  .brand-home .hs-proof { right: auto; left: 0; }
  .brand-home .price-strip { grid-template-columns: 1fr; gap: 20px; }
  .brand-home .choice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-home .ho-free { grid-template-columns: 1fr; gap: 18px; }
  .brand-site .dyn-opt { margin-inline: 20px; }
}
@media (max-width: 1060px) {
  .brand-site .g-bar { height: 76px; }
  .brand-site .g-head .mnav { top: calc(100% + 8px); }
}
@media (max-width: 900px) and (min-width: 761px) {
  .brand-home .gen-head h1 { font-size: 64px; }
  .brand-home .studio-ribbon { width: 260px; right: -32px; top: 70px; }
  .brand-home .gen-sub { max-width: 440px; font-size: 19px; }
  .brand-site .gen-workbench { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .brand-site .seg-type .i { display: none; }
  .brand-site .color-row .input { width: 90px; }
  .brand-site .style-pane .row2 { gap: 10px; }
  .brand-site .preview-card .dl-row .btn { padding-inline: 11px; font-size: 14px; }
  .brand-site .dyn-tx { display: block; }
  .brand-site .dyn-tx .btn { margin: 12px 0 8px; }
  .brand-site .dyn-opt { margin-inline: 20px; }
}
@media (max-width: 960px) {
  .brand-site :is(.ec-hero, .sl-hero) { gap: 32px; }
}
@media (max-width: 900px) {
  .brand-site .auth { grid-template-columns: minmax(0, 1fr); }
  .brand-site .auth-art { display: none; }
}
@media (max-width: 760px) {
  .brand-site .site-wrap, .brand-site .g-wrap, .brand-site .g-foot-in { padding-inline: 20px; }
  .brand-site .g-head { padding: 0 20px; }
  .brand-site .g-bar { height: 68px; gap: 8px; }
  .brand-site .brand-wordmark { width: 122px; }
  .brand-site .g-theme { margin: 0 0 0 auto; width: 40px; height: 40px; }
  .brand-site .g-menu-btn { height: 40px; padding: 0 12px; gap: 6px; font-size: 14.5px; }
  .brand-site .mnav { max-height: calc(100dvh - 90px); overflow-y: auto; }
  .brand-site .foot-top { padding-top: 30px; }
  .brand-site .foot-brand { margin-bottom: 18px; }
  .brand-site .seo-block { margin: 48px 0; }
  .brand-site .faq { margin: 48px 0 40px; }
  .brand-site .faq summary { font-size: 16px; padding: 17px 32px 17px 0; }
  .brand-site .cta-band { padding: 24px 22px; }

  .brand-site .gen-head { padding: 22px 0 20px; min-height: 0; }
  .brand-site .gen-head .eyebrow { font-size: 11px; letter-spacing: .12em; margin-bottom: 12px; }
  .brand-site .gen-head h1, .brand-site .gen-head h1.long { font-size: clamp(32px, 8.6vw, 44px); line-height: 1.04; }
  .brand-site .gen-sub { font-size: 16px; line-height: 1.45; margin-top: 12px; }
  .brand-site .gen-sub.low { font-size: 15px; color: var(--b-muted); }
  .brand-site .gen-trust { gap: 8px 12px; margin-top: 16px; font-size: 13px; }
  .brand-site .gen-trust { flex-direction: column; align-items: flex-start; }
  .brand-site .gen-trust li + li { padding-left: 0; border-left: 0; }
  .brand-site .gen-trust .desk-only { display: none; }
  .brand-site .gen-workbench { grid-template-columns: minmax(0, 1fr); grid-template-areas: "types" "fields" "preview" "design" "dyn" "privacy"; grid-template-rows: none; border-radius: 16px; }
  .brand-site .gen .types { margin: 0 14px; padding-top: 4px; }
  .brand-site .seg-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
  .brand-site .seg-type { padding: 0 2px; height: 50px; gap: 5px; font-size: 13.5px; }
  .brand-site .seg-type.desk-only { display: none; }
  .brand-site .seg-type .i { width: 16px; height: 16px; }
  .brand-site .seg-type.more .chev { display: none; }
  .brand-site .gen-fields { padding: 18px 16px 0; }
  .brand-site .studio-auto { margin-bottom: 18px; }
  .brand-site .gen-preview { border: 0; border-top: 1px solid var(--b-rule); border-bottom: 1px solid var(--b-rule); border-radius: 0; padding: 20px 16px; }
  .brand-site .preview-card { position: static; }
  .brand-site .studio-preview-head { margin-bottom: 14px; }
  .brand-site .studio-preview-head h2 { font-size: 18px; }
  .brand-site .qr-plate { width: 100%; max-width: 248px; }
  .brand-site .preview-card.empty .qr-plate { aspect-ratio: auto; max-width: none; padding: 16px; min-height: 120px; }
  .brand-site .preview-card.empty .placeholder { display: flex; gap: 14px; align-items: center; text-align: left; max-width: 300px; font-size: 13.5px; }
  .brand-site .preview-card.empty .placeholder .i { width: 38px; height: 38px; flex: none; margin: 0; }
  .brand-site .preview-card.empty .ph-sample { width: 64px; flex: none; margin: 0; }
  .brand-site .preview-card.empty .ph-sample b { display: none; }
  .brand-site .gen-design { margin: 0; padding: 0 16px; border: 0; }
  .brand-site .gen-design > summary { min-height: 60px; font-size: 18px; }
  .brand-site .gen-design-body { padding-bottom: 20px; }
  .brand-site .dyn-opt { margin: 0 16px 20px; padding: 16px; gap: 10px; }
  .brand-site .dyn-tx { display: block; }
  .brand-site .dyn-tx b { font-size: 15px; }
  .brand-site .dyn-tx p { margin-top: 6px; font-size: 13.5px; }
  .brand-site .dyn-tx .btn { margin-top: 12px; width: 100%; justify-content: center; white-space: normal; height: auto; min-height: 46px; line-height: 1.35; padding: 8px 12px; }
  .brand-site .dyn-opt > .ic { display: none; }
  .brand-site .privacy-note { font-size: 12px; padding: 14px 16px; align-items: flex-start; }
  .brand-site .privacy-note .i { margin-top: 2px; }

  .brand-home .gen-head { padding: 26px 0 22px; }
  .brand-home .gen-head h1 { font-size: clamp(40px, 11vw, 60px); max-width: 560px; line-height: 1; }
  .brand-home .gen-sub { font-size: 16.5px; margin-top: 14px; max-width: 440px; }
  .brand-home .studio-ribbon { display: none; }
  .brand-home .home-show { grid-template-columns: minmax(0, 1fr); padding: 40px 0; margin-top: 48px; gap: 28px; }
  .brand-home .home-show h2 { font-size: clamp(34px, 9vw, 48px); }
  .brand-home .hs-lead { font-size: 16.5px; margin: 16px 0 20px; }
  .brand-home .hs-qr, .brand-home .hs-proof { display: none; }
  .brand-home .phone-frame.hs-frame { transform: none; }
  .brand-home .hs-stage:hover .phone-frame.hs-frame { transform: none; }
  .brand-home .seo-block { margin: 48px 0; }
  .brand-site .steps { grid-template-columns: 1fr; gap: 0; }
  .brand-home .ho-free { grid-template-columns: 1fr; gap: 16px; padding: 22px 18px; }
  .brand-home .ho-biz { padding: 22px 18px 8px; }
  .brand-home .ho-band { border-radius: 16px; }
  .brand-home .ho-text h3 { font-size: 22px; }
  .brand-home .ho-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .brand-home .ho-head .btn { width: 100%; }
  .brand-home .choice-list { grid-template-columns: 1fr; }
  .brand-home .price-strip { grid-template-columns: 1fr; gap: 18px; }
  .brand-home .ps-grid { grid-template-columns: 1fr; gap: 10px; }
  .brand-home .ps-item { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 16px 18px; }
  .brand-home .ps-item b { grid-row: 1; }
  .brand-home .ps-price { grid-column: 2; grid-row: 1 / 3; font-size: 26px; align-self: center; text-align: right; }
  .brand-home .ps-price i { display: block; margin: 0; font-size: 12px; }
  .brand-home .ps-item small { grid-column: 1; }
  .brand-home .hs-flow b { font-size: 15.5px; }

  .brand-site :is(.ec-hero, .sl-hero) h1 { font-size: clamp(36px, 10vw, 48px); }
  .brand-site .prices.three .price { padding: 26px 22px; }
}
@media (max-width: 600px) {
  .brand-site .types-panel { width: 100%; border-radius: 18px 18px 0 0; }
}
@media (max-width: 480px) {
  .brand-site .site-wrap, .brand-site .g-wrap, .brand-site .g-foot-in { padding-inline: 16px; }
  .brand-site .g-head { padding-inline: 16px; }
  .brand-home .gen-head h1 { font-size: clamp(38px, 11.4vw, 50px); }
  .brand-site .gen-trust { column-gap: 10px; font-size: 12.5px; }
  .brand-home .phone-frame.hs-frame { width: 262px; height: 496px; padding: 8px; border-radius: 38px; }
  .brand-home .hs-screen { border-radius: 30px; }
  .brand-site .color-row .input { width: 100px; }
}
@media (max-width: 360px) {
  .brand-site .brand-wordmark { width: 104px; }
  .brand-site .gen-trust { font-size: 12px; gap: 6px 8px; }
  .brand-site .gen-trust .i { display: none; }
  .brand-site .seg-type { font-size: 12px; gap: 4px; }
  .brand-site .color-row .input { width: 82px; }
  .brand-site .style-pane .row2 { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-site *, .brand-site *::before, .brand-site *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  .brand-site .g-head { position: static; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ================= инструменты печати кабинета (макеты, лист A4): только фирменный акцент, раскладка прежняя ================= */
body.brand-tool { --accent: var(--ac); --accent-hover: var(--ac-hover); --accent-soft: var(--ac-soft); --bg-selected: var(--ac-sel); }
body.brand-tool .btn.primary { background: var(--ac-btn); border-color: var(--ac-btn); color: #fff; }
body.brand-tool .btn.primary:hover { background: var(--ac-btn-hover); border-color: var(--ac-btn-hover); }

/* полоска Kon24 над примером визитки, мини-сайта и шаблона: кнопка в цвет бренда, сама страница клиента не меняется */
.vc-example-bar .btn.primary { background: var(--ac-btn); border-color: var(--ac-btn); color: #fff; box-shadow: none; }
.vc-example-bar .btn.primary:hover { background: var(--ac-btn-hover); border-color: var(--ac-btn-hover); }

/* ================= установщик /install (17.11.2026) ================= */
.install-page .inst-head { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto; padding: 28px 20px 0; }
.install-page .inst-logo .brand-wordmark { width: 128px; height: auto; color: var(--b-ink); display: block; }
.install-page .inst-tag { color: var(--b-muted); font-size: 14px; padding-left: 16px; border-left: 1px solid var(--b-rule-2); }
.install-page .inst-foot { text-align: center; color: var(--b-muted); font-size: 13px; padding: 26px 20px 40px; }
.install-page .inst-wrap { max-width: 760px; margin: 0 auto; padding: 22px 20px 0; }
.install-page .inst-card { background: var(--b-surface); border: 1px solid var(--b-rule); border-radius: 20px; box-shadow: var(--b-shadow); padding: 36px 40px 40px; }
.install-page .inst-card h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.install-page .inst-lead { margin: 12px 0 0; color: var(--b-ink-2); font-size: 16.5px; line-height: 1.5; }
.install-page .inst-h2 { margin: 30px 0 14px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.install-page .inst-checks, .install-page .inst-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--b-rule); }
.install-page .inst-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--b-rule); }
.install-page .inst-checks .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.install-page .inst-checks li.ok .ic { background: #e3f6e8; color: #1f7a3a; }
.install-page .inst-checks li.warn .ic { background: #fff4d6; color: #9a6700; }
.install-page .inst-checks li.bad .ic { background: var(--b-soft); color: var(--b-red-ink); }
.install-page .inst-checks b { display: block; font-size: 15px; }
.install-page .inst-checks small { display: block; color: var(--b-muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.install-page .inst-stop, .install-page .inst-error { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--b-soft); color: var(--b-ink); font-size: 15px; line-height: 1.5; }
.install-page .inst-stop .btn { margin-top: 12px; }
.install-page .inst-error { display: flex; gap: 10px; align-items: flex-start; }
.install-page .inst-error .i { color: var(--b-red-ink); flex: none; margin-top: 3px; }
.install-page .inst-form .field { margin-bottom: 14px; }
.install-page .inst-form .hint { font-size: 13px; line-height: 1.45; }
.install-page .field > span.hint, .install-page .field > span .hint { font-weight: 400; color: var(--b-muted); }
.install-page .inst-form code, .install-page .inst-todo code { font-size: .92em; background: var(--b-panel); padding: 1px 5px; border-radius: 5px; }
.install-page .inst-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.install-page .inst-note { margin: -4px 0 0; }
.install-page .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; }
.install-page .inst-mail { margin: 22px 0 6px; padding: 0 16px; border: 1px solid var(--b-rule); border-radius: 12px; background: var(--b-page); }
.install-page .inst-mail > summary { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 14px 0; cursor: pointer; list-style: none; }
.install-page .inst-mail > summary::-webkit-details-marker { display: none; }
.install-page .inst-mail > summary::before { content: "+"; width: 18px; color: var(--b-red-ink); font-weight: 700; }
.install-page .inst-mail[open] > summary::before { content: "−"; }
.install-page .inst-mail[open] { padding-bottom: 6px; }
.install-page .inst-mail > p { margin: 0 0 14px; }
.install-page .inst-go { width: 100%; margin-top: 18px; }
.install-page .inst-form > .inst-note:last-child { margin-top: 12px; text-align: center; }
.install-page .inst-done-head { display: flex; gap: 18px; align-items: flex-start; }
.install-page .inst-big-ok { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; background: #e3f6e8; color: #1f7a3a; }
.install-page .inst-big-ok .i { width: 28px; height: 28px; stroke-width: 2.4; }
.install-page .inst-todo { counter-reset: t; }
.install-page .inst-todo li { counter-increment: t; position: relative; padding: 16px 0 16px 46px; border-bottom: 1px solid var(--b-rule); }
.install-page .inst-todo li::before { content: counter(t); position: absolute; left: 0; top: 15px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.install-page .inst-todo li.ok::before { content: "✓"; background: #e3f6e8; color: #1f7a3a; }
.install-page .inst-todo li.warn::before { background: #fff4d6; color: #9a6700; }
.install-page .inst-todo li.bad::before { background: var(--b-soft); color: var(--b-red-ink); }
.install-page .inst-todo b { font-size: 15.5px; }
.install-page .inst-todo p { margin: 4px 0 0; color: var(--b-ink-2); font-size: 14.5px; line-height: 1.5; }
.install-page .inst-todo .btn { margin-top: 10px; }
.install-page .inst-code { margin: 10px 0 4px; padding: 12px 14px; border-radius: 10px; background: var(--b-ink); color: #f3f3f0; font: 13.5px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: pre-wrap; word-break: break-all; user-select: all; }
.install-page .inst-cta { justify-content: flex-start; margin-top: 26px; }
:root[data-theme="dark"] .install-page .inst-code { background: #0d0f12; }
@media (max-width: 640px) {
  .install-page .inst-card { padding: 24px 18px 26px; border-radius: 16px; }
  .install-page .inst-row { grid-template-columns: 1fr; }
  .install-page .inst-done-head { flex-direction: column; gap: 12px; }
  .install-page .inst-cta .btn { width: 100%; }
}

/* ================= Уведомление о cookie (18.11.2026) =================
   Полоса снизу по центру, как на обычных сайтах: текст, «Хорошо» и крестик. Всплывает плавно через ~17 секунд
   после захода (app.js), на телефоне — компактной карточкой у нижнего края. Страницы клиентов его не показывают. */
.brand-site .cookie-note { position: fixed; left: 50%; right: auto; bottom: 18px; z-index: 70; width: min(980px, calc(100% - 32px)); max-width: none; margin: 0;
  display: flex; align-items: center; gap: 24px; padding: 18px 56px 18px 26px; border-radius: 16px;
  background: var(--b-surface); color: var(--b-ink-2); border: 1px solid var(--b-rule); box-shadow: 0 24px 60px -18px rgba(23, 27, 33, .35), 0 2px 8px rgba(23, 27, 33, .06);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  opacity: 0; transform: translate(-50%, 24px); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.brand-site .cookie-note.on { opacity: 1; transform: translate(-50%, 0); }
.brand-site .cookie-note[hidden] { display: none; }
.brand-site .cookie-note p { margin: 0; flex: 1; font-size: 15px; line-height: 1.5; color: var(--b-ink-2); }
.brand-site .cookie-note a { color: var(--b-ink); text-decoration: underline; text-underline-offset: 3px; }
.brand-site .cookie-note a:hover { color: var(--b-red-ink); }
.brand-site .cookie-note .cn-ok { flex: none; min-width: 150px; height: 46px; justify-content: center; font-size: 16px; font-weight: 700; letter-spacing: .02em;
  background: var(--b-ink); color: var(--b-surface); border: 0; border-radius: 10px; }
.brand-site .cookie-note .cn-ok:hover { background: var(--b-red, #d91d30); color: #fff; }
.brand-site .cookie-note .cn-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 9px; background: none;
  color: var(--b-ink-2); display: grid; place-items: center; cursor: pointer; }
.brand-site .cookie-note .cn-x:hover { background: var(--b-panel); color: var(--b-ink); }
.brand-site .cookie-note .cn-x .i { width: 20px; height: 20px; }
.brand-site .cookie-note :is(.cn-ok, .cn-x, a):focus-visible { outline: 3px solid color-mix(in srgb, var(--b-red, #d91d30) 45%, transparent); outline-offset: 2px; }
@media (max-width: 640px) {
  .brand-site .cookie-note { left: 8px; right: 8px; width: auto; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); transform: translateY(24px);
    flex-wrap: wrap; gap: 12px; padding: 14px 46px 14px 16px; border-radius: 14px; }
  .brand-site .cookie-note.on { transform: none; }
  .brand-site .cookie-note p { flex-basis: 100%; font-size: 13.5px; line-height: 1.45; }
  .brand-site .cookie-note .cn-more { display: none; }  /* на телефоне короче: подробности — по ссылке */
  .brand-site .cookie-note .cn-ok { width: 100%; min-width: 0; height: 42px; font-size: 15px; }
  .brand-site .cookie-note .cn-x { top: 6px; right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .brand-site .cookie-note { transition: opacity .2s; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) and (max-width: 640px) { .brand-site .cookie-note { transform: none; } }

/* 19.11.2026 доступность: ссылки внутри текста подвала отличаются не только цветом (WCAG 1.4.1) */
.brand-site .g-foot p a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.brand-site .tpl-cats a[aria-current] span { color: #fff; opacity: 1; }  /* число на красном — контраст ≥ 4,5 */
.brand-site .tpl-cats a[aria-current] { background: var(--ac-btn); border-color: var(--ac-btn); color: #fff; }  /* и в тёмной теме: белый на светло-красном был 3:1 */


/* ---------- 19.11.2026: страницы сканера QR и генератора штрихкодов (tools.py); сами инструменты — в tools.css ---------- */
.brand-site .tl-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; margin: 8px 0 36px; }
.brand-site .tl-main h1 { margin-top: 0; }
@media (max-width: 900px) { .brand-site .tl-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; } }


/* ---------- «От QR-кода до заявки» (19.11.2026): код на носителе → страница на телефоне → заявка ----------
   Слева от телефона — табличка, визитка или упаковка с кодом (видна одна сцена, .on), справа внизу — что пришло владельцу.
   Тонкая лента (svg .hs-ribbon) идёт от носителя за телефоном к заявке. */
.brand-home .home-show { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.brand-home .hs-stage { isolation: isolate; min-height: 560px; }
.brand-home .hs-ribbon { position: absolute; z-index: -1; left: calc(50% - 320px); top: 0; width: 640px; height: 560px; pointer-events: none; overflow: visible; }
.brand-home .hs-ribbon .rb-main { stroke: url(#hsRibbon); }
.brand-home .hs-ribbon .rb-shade { stroke: color-mix(in srgb, var(--ac-deep) 20%, transparent); }
.brand-home .hs-media { position: absolute; z-index: 3; left: calc(50% - 318px); top: 84px; width: 230px; height: 260px; pointer-events: none; }
.brand-home .hs-mock { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(10px) scale(.97);
  transition: opacity .4s ease, transform .4s ease; }
.brand-home .hs-mock.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .brand-home .hs-mock { transition: opacity .2s; transform: none; } }
.brand-home .hs-mock img { display: block; background: #fff; border-radius: 4px; }
/* на столе: акриловая табличка на деревянной подставке */
.brand-home .hm-tent { position: relative; z-index: 1; display: grid; justify-items: center; gap: 7px; width: 158px; padding: 13px 12px 11px; border-radius: 10px;
  background: #fff; color: #171b21; transform: perspective(700px) rotateY(10deg) rotateX(3deg);
  box-shadow: 0 18px 26px -14px rgba(40, 24, 8, .55), 0 0 0 1px rgba(23, 27, 33, .07); }
.brand-home .hm-tent b { font-size: 14px; letter-spacing: -.02em; }
.brand-home .hm-tent img { width: 112px; height: 112px; }
.brand-home .hm-tent span { font-size: 10.5px; color: #5d626a; }
.brand-home .hm-wood { position: absolute; left: 24px; right: 18px; bottom: 34px; height: 22px; border-radius: 6px;
  background: linear-gradient(180deg, #d0a272 0%, #b7864f 70%, #a47240 100%); box-shadow: 0 14px 20px -10px rgba(60, 36, 12, .55); }
.brand-home .hs-m-table .hm-tent { margin-bottom: 18px; }
/* на визитке: белая карточка на тёмной */
.brand-home .hm-bc-back { position: absolute; left: 22px; top: 82px; width: 208px; height: 126px; border-radius: 10px; background: #1b2330; transform: rotate(9deg);
  box-shadow: 0 16px 26px -14px rgba(10, 14, 22, .6); }
.brand-home .hm-bc { position: absolute; left: 4px; top: 70px; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 214px; height: 128px;
  padding: 14px 14px 14px 16px; border-radius: 10px; background: #fff; color: #171b21; transform: rotate(-5deg);
  box-shadow: 0 18px 28px -16px rgba(10, 14, 22, .55), 0 0 0 1px rgba(23, 27, 33, .07); }
.brand-home .hm-bc::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 2px 2px 0; background: var(--b-red); }
.brand-home .hm-bc-tx { display: grid; gap: 2px; min-width: 0; }
.brand-home .hm-bc-tx b { font-size: 13px; letter-spacing: -.02em; white-space: nowrap; }
.brand-home .hm-bc-tx span { font-size: 10px; color: #5d626a; white-space: nowrap; }
.brand-home .hm-bc-tx small { margin-top: 6px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.brand-home .hm-bc img { width: 84px; height: 84px; flex: none; }
/* на упаковке: крафтовая коробка с наклейкой */
.brand-home .hm-box { position: relative; width: 184px; height: 168px; margin-top: 30px; border-radius: 5px;
  background: linear-gradient(160deg, #d6b48a 0%, #c59c6b 55%, #b98d5c 100%); box-shadow: 0 22px 32px -18px rgba(60, 36, 12, .65), inset 0 0 0 1px rgba(80, 50, 20, .12); }
.brand-home .hm-lid { position: absolute; left: -6px; right: -6px; top: -20px; height: 24px; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #e3c59f, #cfa97a); box-shadow: 0 3px 5px -3px rgba(60, 36, 12, .4); }
.brand-home .hm-sticker { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 9px; padding: 9px; border-radius: 8px;
  background: #fff; color: #171b21; box-shadow: 0 5px 10px -5px rgba(60, 36, 12, .5); }
.brand-home .hm-sticker img { width: 64px; height: 64px; flex: none; }
.brand-home .hm-sticker span { display: grid; gap: 3px; font-size: 10px; color: #5d626a; }
.brand-home .hm-sticker b { font-size: 11.5px; color: #171b21; }
/* заявка — справа внизу, куда приходит лента */
.brand-home .hs-proof { right: auto; left: calc(50% + 92px); bottom: 70px; z-index: 3; }
.brand-home .home-show { overflow-x: clip; }  /* лента и карточка заявки не дают странице прокручиваться вбок */
.brand-home .hs-copy .hero-cta { flex-wrap: wrap; gap: 10px; }
@media (min-width: 1101px) { .brand-home .hs-copy .hero-cta .btn.big { padding-inline: 18px; font-size: 15.5px; } }
.brand-home .home-show.has-own .hs-note { color: var(--b-ink-2); }
@media (max-width: 1100px) and (min-width: 901px) {
  .brand-home .home-show { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .brand-home .hs-media { left: calc(50% - 290px); transform: scale(.86); transform-origin: top left; }
  .brand-home .hs-proof { left: calc(50% + 60px); display: flex; }
}
/* телефон и планшет: блок в одну колонку; пример — сразу после заголовка, до трёх шагов; носитель поменьше слева сверху */
@media (max-width: 900px) {
  .brand-home .home-show { grid-template-columns: minmax(0, 1fr); overflow-x: clip; }
  .brand-home .hs-copy { display: contents; }
  .brand-home .hs-copy > .eyebrow { order: -5; } .brand-home .hs-copy > h2 { order: -4; } .brand-home .hs-copy > .hs-lead { order: -3; margin-bottom: 0; }
  .brand-home .hs-demo { order: -2; }
  .brand-home .hs-stage { min-height: 520px; }
  .brand-home .hs-ribbon { display: none; }
  .brand-home .hs-media { display: block; left: calc(50% - 205px); top: 210px; transform: scale(.62); transform-origin: top left; }
  .brand-home .hs-proof { display: flex; left: auto; right: max(0px, calc(50% - 190px)); bottom: 26px; }
}
@media (max-width: 420px) { .brand-home .hs-media { left: -6px; transform: scale(.56); } }
/* 20.11.2026, обход сайта: пункты тарифа идут подряд, а не растягиваются на высоту соседней карточки (были дыры у «Бесплатно» и «Бизнеса») */
.brand-site .price ul { align-content: start; }

/* 22.11.2026: на телефоне код уже виден, а кнопка «Скачать» была ниже края экрана. Теперь, пока на экране карточка
   с готовым кодом, кнопки скачивания прилипают к низу экрана; долистали до них — стоят на своём месте. */
@media (max-width: 760px) {
  .brand-site .preview-card:not(.empty) .dl-row { position: sticky; bottom: 12px; z-index: 6; padding: 8px; margin-inline: -8px;
    background: var(--b-surface); border: 1px solid var(--b-rule); border-radius: 14px; box-shadow: var(--b-shadow-hi); }
}

/* 22.11.2026: на регистрации видно, что человек выбрал до неё («Создаём вашу визитку — после кода…») */
.brand-site .auth-goal { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 14px; padding: 10px 12px; border-radius: 10px;
  background: var(--b-soft); color: var(--b-ink-2); font-size: 14px; line-height: 1.45; }
.brand-site .auth-goal .i { color: var(--b-red-ink); flex: none; margin-top: 2px; }
.brand-site .auth-goal b { color: var(--b-ink); }
/* 22.11.2026: «Нет сайта? Сделайте меню или прайс» под полем ссылки */
.brand-site .no-site { display: flex; gap: 8px; align-items: flex-start; margin: -10px 0 20px; font-size: 13.5px; line-height: 1.45; color: var(--b-ink-2); }
.brand-site .no-site .i { color: var(--b-muted); flex: none; margin-top: 2px; }
.brand-site .no-site a { color: var(--b-red-ink); font-weight: 600; }
