/*
 * Стык: чего нет в дизайн-системе .com, потому что там этого нет в продукте.
 * Правим здесь, а не в com-site.css: тот файл — копия и переносится целиком.
 */

/* Знак и меню шапки: у .com меню — набор ссылок, у нас — меню WordPress */
.site-scope .store-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.site-scope .store-nav a { color: var(--muted); }
.site-scope .store-nav-cart { font-weight: 600; color: var(--ink); }
.site-scope .store-actions-top { display: flex; align-items: center; gap: 14px; }
.site-scope .store-header-inner { gap: 24px; }
.site-scope .store-nav { flex: 1; }

/* Карточка отрасли — ссылка: внутренние узлы строчные, поэтому выкладываем их сами */
.site-scope .tpl-card .tpl-card-body { display: block; }
.site-scope .tpl-card .tpl-card-top { display: flex; }
.site-scope .tpl-card .card-text { display: block; }
.site-scope .tpl-cover { display: block; }
/* Плашка «Скоро» у нас — span, а flex-выкладку обложки задаёт .com: возвращаем её */
.site-scope .tpl-cover-soon { display: flex; align-items: center; justify-content: center; }
.site-scope .tpl-cover-shot img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .site-scope .store-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--bg); border-radius: 24px; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); overflow: hidden; display: none; }
  .site-scope .store-nav.is-open { display: block; }
  .site-scope .store-nav-list { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .site-scope .store-nav-list a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--surface-strong); }
  .site-scope .store-nav-cart { display: block; padding: 12px 24px 16px; }
  .site-scope .store-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-scope .store-footer-inner { grid-template-columns: 1fr; }
}

/* Меню кабинета на телефоне прокручивается внутри себя, а не тянет страницу */
.site-scope .woocommerce-MyAccount-navigation { min-width: 0; max-width: 100%; overflow-x: auto; }


/* Снимки решения: одна колонка, как галерея шаблона на .com */
.site-scope .shots { display: grid; gap: 16px; }
.site-scope .shots img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
@media (min-width: 900px) { .site-scope .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/*
 * H1 первого экрана — ровно две строки на любой ширине.
 * Каждая строка неразрывна, а кегль считается от ширины колонки текста:
 * самая длинная строка («с готовым дизайном») занимает 9,6 кегля, 9,8cqi
 * оставляет ей 6 % запаса. Потолок — 64 px, как у .com.
 */
.site-scope .store-hero-copy { container-type: inline-size; }
.site-scope .store-hero .store-hero-title { font-size: min(64px, 9.8cqi); letter-spacing: -0.0375em; }
.site-scope .store-hero-line { display: block; white-space: nowrap; }

/* Вход в личный кабинет: в ряду шапки, на телефоне — кружком со значком (решение 022) */
.site-scope .topbar__account-btn { white-space: nowrap; height: 48px; padding: 0 22px; gap: 9px; border-radius: 100px;
  background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); border: 0;
  font-size: 14px; font-weight: 600; }
.site-scope .topbar__account-btn:hover { background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand-ink); }
.site-scope .topbar__account-btn svg { flex-shrink: 0; display: block; }

/* Карточка презентации бренд-комплекта на главной (решение 048) */
.site-scope .kit-show { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 0; overflow: hidden;
  background: var(--kit-bg, #fff); color: var(--kit-on, #111); border: 0; border-radius: 28px; /* Figma 142:1443 */ }
.site-scope .kit-show .eyebrow, .site-scope .kit-show .card-text, .site-scope .kit-show-title { color: inherit; }
.site-scope .kit-show .eyebrow, .site-scope .kit-show .card-text { opacity: .78; }
.site-scope .kit-show .tpl-meta { color: inherit; opacity: .72; }
.site-scope .kit-show-cta { background: var(--kit-accent, #111); color: var(--kit-on-accent, #fff); border-color: transparent; }
.site-scope .kit-show:hover .kit-show-cta { filter: brightness(1.06); }
/* Высоту задаёт текст, а не пропорции фото: вертикальный кадр не вытягивает карточку */
.site-scope .kit-show-cover { display: block; position: relative; min-height: 360px; }
.site-scope .kit-show-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.site-scope .kit-show-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 36px 40px; }
.site-scope .kit-show-title { display: block; }
@media (max-width: 760px) {
  .site-scope .kit-show { grid-template-columns: 1fr; }
  .site-scope .kit-show-cover { min-height: 0; aspect-ratio: 3 / 2; }
  .site-scope .kit-show-body { padding: 22px 20px 24px; }
}
.site-scope .kit-show-cta { align-self: flex-start; margin-top: 6px; }
.site-scope .kit-show + .kit-show { margin-top: 20px; }

/*
 * Ширина страниц — 1440 px на всём сайте, вместе с полями. Контейнеров два —
 * .shell из системы .com и наш .wrap, — и оба берут ширину отсюда, чтобы
 * страницы разных шаблонов не расходились по краю.
 */
.site-scope { --max: 1440px; --wrap: 1440px; }
/* Текстовые страницы (документы, контакты): рамка — те же 1440, чтобы край
   совпадал с шапкой; колонка чтения внутри — 780, прижата влево, как .measure
   у .com: длинную строку читать тяжело. */
.site-scope .wrap--text { max-width: var(--wrap); }
.site-scope .wrap--text > * { max-width: 780px; }

/* Телефон в шапке — рядом с Firmenno Cloud. Ниже 1100 px ряду не хватает места
   (решение 022: знак и вход остаются, остальное уступает) — телефон уходит в
   меню под бургером и там же кликается. */
.site-scope .topbar__phone { font-weight: 600; font-size: 20px; color: var(--ink); white-space: nowrap; }
.site-scope .topbar__phone:hover { color: var(--brand-ink); text-decoration: none; }
.site-scope .store-nav-phone { display: none; }
.site-scope .store-nav-account { display: none; }
@media (max-width: 1100px) { .site-scope .topbar__phone { display: none; } }
@media (max-width: 900px) {
  .site-scope .store-nav-phone { display: block; padding: 12px 24px 16px; font-weight: 600; font-size: 18px; color: var(--ink); }
}

/*
 * Шапка — плавающая «таблетка» по макету Figma (Firmenno v0.1, узел 142:795):
 * белая плашка с тенью на всю ширину колонки, 24 px воздуха сверху и снизу.
 * Сама полоса шапки прозрачна и клики пропускает — под ней видна страница.
 */
.site-scope .store-header { background: transparent; padding: 24px 0; pointer-events: none; }
.site-scope .store-header-inner { position: relative; pointer-events: auto; height: 64px; padding: 0 10px;
  background: var(--bg); border-radius: 100px; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); gap: 24px; }
.site-scope .store-mark { gap: 6px; }
.site-scope .store-mark-img { display: block; width: 48px; height: 48px; border-radius: 100px; }
.site-scope .store-header .wordmark { font-size: 20px; line-height: 19px; letter-spacing: -0.019em; }
.site-scope .store-nav { justify-content: center; }
.site-scope .store-nav-list a { font-size: 16px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.site-scope .store-nav-list a:hover { color: var(--ink); }
.site-scope .store-actions-top { gap: 18px; }
/* На средних экранах меню не помещается в строку — Cloud сжимается до значка.
   Порог был 1320: с «О нас» в строке стало шесть пунктов, с «Кейсами» будет
   семь, и до 1400 им не хватало до 80 px (решение 099, п. 2). */
@media (max-width: 1400px) and (min-width: 901px) {
  .site-scope .topbar__account-btn { width: 48px; min-height: 48px; padding: 0; }
  .site-scope .topbar__account-btn span { display: none; }
}
@media (max-width: 1280px) {
  .site-scope .topbar__phone { font-size: 18px; }
  .site-scope .store-nav-list { gap: 18px; }
  .site-scope .store-nav-list a { font-size: 16px; }
}
@media (max-width: 600px) {
  .site-scope .store-header { padding: 12px 0; }
  .site-scope .store-header-inner { height: 60px; padding: 0 8px; }
  .site-scope .store-mark-img { width: 44px; height: 44px; }
  .site-scope .store-header .wordmark { font-size: 18px; }
  .site-scope .store-actions-top { gap: 8px; }
  /* На телефоне кнопка сжимается до кружка со значком: подпись уступает место */
  /* Кружок, а не овал: у .btn своя min-height, её тоже опускаем */
  .site-scope .topbar__account-btn { width: 44px; height: 44px; min-height: 44px; padding: 0; }
  .site-scope .topbar__account-btn span { display: none; }
  .site-scope .store-nav-account { display: flex; margin: 0 24px 20px; height: 48px; gap: 9px; border: 0;
    background: color-mix(in srgb, var(--brand) 10%, transparent); font-size: 16px; font-weight: 600; }
  .site-scope .store-nav-account svg { flex-shrink: 0; }
  /* Цвет ссылок меню (.store-nav a — серый) этим двум не подходит */
  .site-scope .store-nav a.store-nav-account, .site-scope .store-nav a.store-nav-account:hover { color: var(--brand); }
  .site-scope .store-nav a.store-nav-phone { color: var(--ink); }
}

/*
 * Переключатель языка в шапке (решение 087): две подписи в общей «таблетке»,
 * текущий язык — белой плашкой. Стоит в ряду шапки на любой ширине: на
 * витрине с двумя языками кнопки кабинета нет, и место рядом с бургером его.
 */
.site-scope .lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 100px;
  background: color-mix(in srgb, var(--brand) 10%, transparent); flex-shrink: 0; }
.site-scope .lang-switch__item { display: inline-flex; align-items: center; justify-content: center; height: 40px;
  min-width: 48px; padding: 0 14px; border-radius: 100px; font-size: 14px; font-weight: 600; line-height: 1;
  color: var(--muted); white-space: nowrap; }
.site-scope .lang-switch__item:hover { color: var(--ink); text-decoration: none; }
.site-scope .lang-switch__item.is-current { background: var(--bg); color: var(--brand); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
@media (max-width: 600px) {
  .site-scope .lang-switch { padding: 3px; }
  .site-scope .lang-switch__item { height: 38px; min-width: 44px; padding: 0 10px; font-size: 13px; }
}

/*
 * Лейаут главной по макету Figma (Firmenno v0.1, узел 142:793), кадр 1440:
 * - шапка-таблетка — 1440, первый экран и карточка комплекта — 1420,
 *   остальные секции — колонка 1376 (поля .shell 32 px);
 * - 40 px от шапки до первого экрана и от последней секции до подвала;
 * - между секциями 80 px, внутри секции — свои 64 px сверху и снизу;
 *   у первого экрана и блока комплекта своих полей нет.
 * - первый экран — две равные колонки по 710, правая — 559 px: фото и
 *   карточка решения поверх него, как в прежней версии.
 */
.site-scope .store-hero { overflow: visible; padding: 0; }
/* Карточка решения поверх фото: снимок внутри, а не скриншот Framer. Поля
   визуала слева и снизу — место, куда карточка выступает за фото. */
.site-scope .store-hero-card img { display: block; width: 100%; height: auto; }
/* Динамика: фото и карточка слегка повёрнуты в разные стороны, карточка
   меньше — фото главное. При наведении карточка выпрямляется. */
.site-scope .store-hero-photo { transform: rotate(1.5deg); }
.site-scope .store-hero-card { width: 46%; bottom: 8px; transform: rotate(-3deg); transform-origin: left bottom; }
.site-scope .store-hero-card:hover { transform: rotate(0deg) translateY(-4px); }
@media (max-width: 640px) {
  .site-scope .store-hero-photo { transform: rotate(1deg); }
  .site-scope .store-hero-card { width: 56%; transform: rotate(-2.5deg); }
}
.site-scope .store-hero-visual picture { display: block; }
.site-scope .store-kits { padding-top: 0; padding-bottom: 0; }
/* На главной воздуха между секциями больше, чем на внутренних страницах:
   отступ складывается с полями `.section` — 208 px против 128. Так задумано
   (решение владельца 2026-10-06), к общему шагу не приводить. */
.home.site-scope main { padding: 24px 0; }
.home.site-scope main > section + section { margin-top: 48px; }
@media (min-width: 901px) {
  .site-scope .store-header .shell { max-width: calc(1440px + 32px); padding-left: 16px; padding-right: 16px; }
  .site-scope .store-hero .shell, .site-scope .store-kits.shell { max-width: calc(1420px + 32px); padding-left: 16px; padding-right: 16px; }
  .site-scope .store-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
  /* Колонка — 559 px, как в макете: 48 px поля под карточку + фото 511 */
  .site-scope .store-hero-photo { height: 511px; max-height: none; aspect-ratio: auto; }
  .home.site-scope main { padding: 40px 0; }
  .home.site-scope main > section + section { margin-top: 80px; }
}

/* На телефоне кнопки действий — во всю ширину колонки: по ним попадают большим пальцем */
@media (max-width: 640px) {
  .site-scope .store-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .site-scope .store-actions .btn,
  .site-scope .hero__cta .btn { width: 100%; justify-content: center; }
  .site-scope .hero__cta { flex-direction: column; align-items: stretch; }
  .site-scope .kit-show-cta { align-self: stretch; justify-content: center; }
}

/* WordPress ставит <body> класс `page` на любой странице, и правило обёртки
   `.page` из main.css давало ей поля 44/84 px: шапка съезжала вниз. */
body.page { padding: 0; }

/* Кнопки на всём сайте — «таблетки», как в шапке и в WooCommerce (999px в main.css).
   В .com у .btn радиус 8 px; правим здесь, копию .com не трогаем. */
.site-scope .btn { border-radius: 100px; }

/* Открытое меню бургера на телефоне: страница под ним тонируется серым.
   Шапка (z-index 20) остаётся над тонировкой. */
@media (max-width: 900px) {
  .site-scope.fm-nav-open::after { content: ""; position: fixed; inset: 0; z-index: 19; background: rgba(17, 17, 17, .4); }
}

/* Бейдж «Новый» в начале строки маленькой карточки комплекта */
.site-scope .tpl-card-lead { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
/* У .eyebrow из main.css нижний отступ 14 px — в строке с бейджем и ценой он
   поднимал надпись над ними на 7 px. В строке отступ не нужен. */
.site-scope .tpl-card-lead .eyebrow, .site-scope .tpl-card-top .eyebrow { margin: 0; }
.site-scope .tag-new { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; border: 0; }
.site-scope .tpl-card-lead + .tpl-price { white-space: nowrap; }
.site-scope .kit-show-body .tpl-card-lead { display: flex; }

/*
 * WooCommerce на телефоне. Его smallscreen-стили тема не грузит (functions.php),
 * поэтому колонки кабинета и формы складываем сами: «Вход» и «Регистрация»
 * идут друг под другом, поля — на всю ширину.
 */
.site-scope .woocommerce form .form-row label { line-height: 1.4; }
@media (max-width: 768px) {
  .site-scope .woocommerce .col2-set .col-1,
  .site-scope .woocommerce .col2-set .col-2 { float: none; width: 100%; }
  .site-scope .woocommerce .col2-set .col-2 { margin-top: 32px; }
  .site-scope .woocommerce form .form-row-first,
  .site-scope .woocommerce form .form-row-last { float: none; width: 100%; }
}
/* Кнопки форм на телефоне — во всю ширину, как остальные кнопки действий */
@media (max-width: 640px) {
  .site-scope .woocommerce form .button { width: 100%; }
  .site-scope .woocommerce-form-login .woocommerce-form-login__rememberme { display: block; margin: 0 0 14px; }
  .site-scope .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-direction: column; }
}

/* Kit + try-on are sibling links, never nested interactive controls. */
.fm-tryon-card-wrap{display:flex;flex-direction:column;gap:12px;min-width:0}
.fm-tryon-card-wrap>.card{flex:1}
.fm-tryon-card-wrap>.btn{white-space:normal;min-height:44px}

.store-kits > .fm-tryon-card-wrap + .fm-tryon-card-wrap{margin-top:20px}

/* Два auto-layout из Figma: без параграфа и с ним (решения 075, 076).
   В компактном варианте поле иконки фиксированное — 124 × 124 px. */
.site-scope .navigation-card {
  display: flex; min-width: 0; padding: 0; border: 0; border-radius: 12px;
  overflow: hidden; background: var(--band);
  font-family: var(--font-site-geologica), var(--font-site-inter), sans-serif;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.site-scope .navigation-card:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.site-scope .navigation-card[hidden] { display: none; }
.site-scope .navigation-card--compact { flex-direction: row; align-items: stretch; min-height: 124px; }
.site-scope .navigation-card--described { flex-direction: column; min-height: 200px; }
.site-scope .navigation-card-header { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.site-scope .navigation-card-heading { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; width: 100%; }
.site-scope .navigation-card-label {
  font-size: 12px; font-weight: 900; line-height: 13px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--faint);
}
.site-scope .navigation-card .card-title {
  display: block; max-width: 100%; font-size: 24px; font-weight: 500;
  line-height: 30px; letter-spacing: -.8px; color: var(--ink);
  /* Переносим по словам: «Уличная тор-говля» посреди слова читается как
     ошибка. Слово, которое не влезает целиком, всё-таки разрывается. */
  overflow-wrap: break-word; hyphens: manual;
}
.site-scope .navigation-card-body {
  display: flex; flex: 1 0 0; flex-direction: column; align-items: flex-start;
  min-width: 0; padding: 12px 14px 14px;
}
.site-scope .navigation-card--compact .navigation-card-body { justify-content: space-between; gap: 12px; }
.site-scope .navigation-card .tpl-meta {
  display: block; flex-shrink: 0; margin: 0; padding: 2px 0;
  font-size: 12px; font-weight: 400; line-height: 18.6px; color: var(--brand);
}
.site-scope .navigation-card .tag { margin-top: 8px; }
.site-scope .navigation-card .tpl-cover {
  position: relative; flex: 1 0 0; align-self: stretch; min-width: 0;
  aspect-ratio: auto; padding: 10px; overflow: hidden; background: transparent;
}
.site-scope .navigation-card--compact .tpl-cover {
  flex: 0 0 124px; align-self: stretch; width: 124px; min-height: 124px; padding: 0;
}
.site-scope .navigation-card .tpl-cover-icon img {
  position: absolute; max-width: none; height: auto;
}
/* Иллюстрация стоит на нижнем крае карточки: пустые пиксели снизу срезаны
   в самих файлах, поэтому bottom: 0 — это край рисунка, а не поля. */
.site-scope .navigation-card--compact .tpl-cover-icon img {
  left: 50%; right: auto; top: auto; bottom: 0;
  /* Уходит под нижний край на 5 % своей высоты: рисунок стоит на карточке,
     а не лежит внутри неё. */
  transform: translate(-50%, 5%);
  width: 100%; height: auto;
}
.site-scope .navigation-card--described > .navigation-card-header { padding: 12px 14px 6px; }
.site-scope .navigation-card-row { display: flex; flex: 1; align-items: stretch; min-height: 139px; }
.site-scope .navigation-card--described .navigation-card-body { gap: 12px; padding-top: 0; }
.site-scope .navigation-card .card-text {
  flex: 1; min-width: 0; margin: 0; font-size: 12px; font-weight: 300;
  line-height: 1.3; color: var(--faint); overflow-wrap: break-word;
}
.site-scope .navigation-card--described .tpl-cover-icon img {
  right: max(-28.87px, -17.99%); top: -11.77%; width: 117.67%; max-width: 188.86px;
}
.site-scope .navigation-card .tpl-cover-shot { padding: 10px; }
.site-scope .navigation-card .tpl-cover-shot img { position: absolute; inset: 0; }
/* Все карточки одной высоты: ряд с двустрочным названием («Уличная торговля»)
   и меткой перерастал соседний, и сетка шла ступеньками. 1fr равняет ряды по
   самому высокому, а карточка тянется на всю ячейку сама — она flex. */
.site-scope .verticals-grid { grid-auto-rows: 1fr; }

@media (max-width: 1320px) {
  .site-scope .verticals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .site-scope .verticals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .site-scope .verticals-grid { grid-template-columns: 1fr; }
}

/*
 * Внутренние страницы (документы, кабинет, корзина) стоят в .wrap, а шапка и
 * подвал — в .shell: поля расходились на 8 px, и край страницы не совпадал с
 * краем шапки. Плюс заголовок: .com сбрасывает отступы заголовкам, и «Личный
 * кабинет» лип к меню кабинета.
 */
.site-scope .wrap { padding-left: 32px; padding-right: 32px; }
.site-scope .page__title { margin: 0 0 28px; }
@media (max-width: 680px) {
  .site-scope .wrap { padding-left: 18px; padding-right: 18px; }
  .site-scope .page__title { margin-bottom: 20px; }
}

/* Пустой кабинет на телефоне: поля карточки 40 px съедали половину ширины */
@media (max-width: 680px) {
  .site-scope .fm-empty { padding: 24px 20px; }
  .site-scope .fm-empty h2 { font-size: 22px; }
}

/* Пустой кабинет: у .com заголовки и абзацы без отступов, и текст слипался
   с заголовком, а кнопка — с текстом. Задаём ритм блоку. */
.site-scope .fm-empty { padding: 36px 40px; max-width: 720px; }
/* Пустая плашка, под которой идут строки решений, держит ширину колонки:
   720 px над строкой во всю ширину выглядит сломанной вёрсткой. */
.site-scope .fm-empty--wide { max-width: none; }
.site-scope .fm-empty h2 { margin: 0 0 10px; }
.site-scope .fm-empty p { margin: 0; color: var(--prose); }
.site-scope .fm-empty .btn { margin-top: 24px; }
@media (max-width: 680px) {
  .site-scope .fm-empty { padding: 24px 20px; }
  .site-scope .fm-empty .btn { margin-top: 20px; }
}

/* Подвал: четыре колонки по смыслу — кто мы, отрасли, услуги, документы.
   Отступы задаём здесь: .com сбрасывает поля абзацам, и блок расползался. */
.site-scope .store-footer-inner { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px 32px; align-items: start; }
.site-scope .store-footer-brand { max-width: 30em; }
.site-scope .store-footer-brand .muted { margin: 12px 0 0; }
.site-scope .store-footer-contacts { margin: 16px 0 0; }
.site-scope .store-footer .eyebrow { margin: 0 0 12px; }
.site-scope .store-footer ul { margin: 0; gap: 8px; }
@media (max-width: 1100px) {
  .site-scope .store-footer-inner { grid-template-columns: 1fr 1fr; }
  .site-scope .store-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-scope .store-footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* Артикул комплекта: имя бренда нужно для учёта, а не для продажи — мелко
   внизу карточки, отдельной строкой под остальным. */
.site-scope .kit-article { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--faint); }
/* В большой карточке артикул прижат к правому нижнему углу — но в потоке:
   при абсолютном положении он наезжал на кнопку, стоило карточке сузиться. */
.site-scope .kit-show .kit-article { align-self: flex-end; margin-top: auto; padding-top: 6px;
  color: inherit; opacity: .55; }
/* В маленькой карточке — по правому краю под остальным */
.site-scope .kit-card .kit-article { text-align: right; }

/* Заголовок карточки комплекта — главное на ней: назначение бизнеса */
.site-scope .kit-card .card-title { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; }
@media (max-width: 680px) { .site-scope .kit-card .card-title { font-size: 18px; } }

/* Описание в большой карточке комплекта читается как абзац, а не подпись */
.site-scope .kit-show .card-text { font-size: 16px; line-height: 1.55; }
@media (max-width: 760px) { .site-scope .kit-show .card-text { font-size: 16px; } }


/* ─── Стать автором /designers/ (решения 077, 078) ───────────────────────── */
.site-scope .designers-page { overflow: clip; }
.site-scope .designers-hero { padding: 84px 0 72px; }
.site-scope .designers-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 28px; align-items: stretch;
}
.site-scope .designers-hero__copy { align-self: center; max-width: 860px; }
.site-scope .designers-hero__copy .display-xl { margin-top: 14px; }
.site-scope .designers-hero__copy .lede { max-width: 760px; margin-top: 20px; }
.site-scope .designers-hero__copy .store-actions { margin-top: 28px; }
.site-scope .designers-hero__card {
  display: flex; flex-direction: column; padding: 0; overflow: hidden;
}
.site-scope .designers-hero__card-body { padding: 32px; }
.site-scope .designers-hero__card .display-md { margin-top: 14px; }
.site-scope .designers-hero__card .card-text { margin-top: 18px; font-size: 16px; line-height: 1.55; }
.site-scope .designers-photo {
  margin: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 3 / 2;
  background: var(--band);
}
.site-scope .designers-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.site-scope .designers-photo--hero { flex: 0 0 auto; aspect-ratio: 4 / 3; border-radius: 0; }

.site-scope .designers-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
}
.site-scope .designers-meta span,
.site-scope .designers-niches span {
  display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  color: var(--ink); font-size: 14px; line-height: 1.2;
}
.site-scope .designers-niches { display: flex; flex-wrap: wrap; gap: 10px; }
/* wpautop вставляет переносы между чипами — в сетке они занимали ячейки,
   и ниши выстраивались в одну колонку вместо двух. */
.site-scope .designers-niches br { display: none; }
.site-scope .designers-niches span { min-height: 46px; padding: 10px 16px; font-size: 16px; }

.site-scope .designers-models { align-items: stretch; }
.site-scope .designers-model { display: flex; flex-direction: column; min-height: 100%; }
.site-scope .designers-model .display-md { margin-top: 16px; }
.site-scope .designers-model .lede { margin-top: 14px; }
.site-scope .designers-model .muted { margin-top: auto; padding-top: 20px; }

.site-scope .designers-checks {
  display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none;
}
.site-scope .designers-checks li {
  position: relative; margin: 0; padding-left: 27px; color: var(--prose); line-height: 1.5;
}
.site-scope .designers-checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800;
}
.site-scope .card-accent .designers-checks li,
.site-scope .card-accent .muted { color: inherit; }
.site-scope .card-accent .designers-checks li::before { color: currentColor; }

.site-scope .designers-scope { gap: 16px; }
.site-scope .designers-scope .card { min-height: 170px; }
.site-scope .designers-scope .card-text { margin-top: 10px; font-size: 16px; line-height: 1.5; }

.site-scope .designers-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  margin: 28px 0 0; padding: 0; list-style: none; counter-reset: none;
}
.site-scope .designers-steps li {
  display: flex; gap: 16px; min-width: 0; min-height: 166px; padding: 22px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
}
.site-scope .designers-steps li > span {
  flex: 0 0 auto; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .06em;
}
.site-scope .designers-steps b { display: block; font-size: 18px; line-height: 1.25; }
.site-scope .designers-steps p { margin: 10px 0 0; color: var(--prose); font-size: 14px; line-height: 1.5; }

.site-scope .designers-roles { gap: 56px; align-items: start; }
.site-scope .designers-roles .designers-photo { margin-bottom: 28px; }
.site-scope .designers-roles .section-title { margin-top: 10px; }
.site-scope .designers-rights .card { max-width: 900px; }
.site-scope .designers-rights .card-text { margin-top: 18px; font-size: 16px; line-height: 1.55; }

.site-scope .designers-apply { background: var(--band); }
.site-scope .designers-apply__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 44px; align-items: start;
}
.site-scope .designers-apply .display-lg { margin-top: 12px; }
.site-scope .designers-apply .lede { margin-top: 18px; }
.site-scope .designers-apply .link-action { display: inline-block; margin-top: 20px; }
.site-scope .designers-form { background: var(--paper); }
.site-scope .designers-form form { margin-top: 0; }

@media (max-width: 980px) {
  .site-scope .designers-hero { padding-top: 56px; }
  .site-scope .designers-hero__grid,
  .site-scope .designers-apply__grid { grid-template-columns: 1fr; }
  .site-scope .designers-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .site-scope .designers-hero { padding: 40px 0 46px; }
  .site-scope .designers-hero__copy .store-actions { display: grid; }
  .site-scope .designers-hero__copy .store-actions .btn { width: 100%; }
  .site-scope .designers-hero__card-body { padding: 24px; }
  .site-scope .designers-niches { display: grid; grid-template-columns: 1fr 1fr; }
  .site-scope .designers-niches span { justify-content: center; text-align: center; font-size: 14px; }
  .site-scope .designers-steps { grid-template-columns: 1fr; }
  .site-scope .designers-steps li { min-height: 0; }
  .site-scope .designers-roles { grid-template-columns: 1fr; gap: 36px; }
  .site-scope .designers-roles .designers-photo { margin-bottom: 22px; }
}
/* На узком экране ниши остаются в две колонки: пять подписей в столбик
   читались как пять кнопок и занимали целый экран. */

/* ─── Firmenno AI /ai/ (решение 086) ─────────────────────────────────────── */
.site-scope .ai-page { overflow: clip; }
/* wpautop оставляет в разметке пустые абзацы и переносы: в сетках они
   становились лишними ячейками, в строке кнопок и чипов — лишним отступом. */
.site-scope .ai-page p:empty,
.site-scope .ai-page .ai-meta br,
.site-scope .ai-page .store-actions br,
.site-scope .ai-page .ai-terms br,
.site-scope .ai-page .ai-kit br { display: none; }
.site-scope .ai-hero { padding: 84px 0 72px; }
.site-scope .ai-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
  gap: 32px; align-items: center;
}
.site-scope .ai-hero__copy { max-width: 820px; }
.site-scope .ai-hero__copy .display-xl { margin-top: 14px; }
.site-scope .ai-hero__copy .lede { max-width: 740px; margin-top: 20px; }
.site-scope .ai-hero__copy .store-actions { margin-top: 28px; }
.site-scope .ai-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.site-scope .ai-meta span {
  display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  color: var(--ink); font-size: 14px; line-height: 1.2;
}
.site-scope .ai-hero__card .card-text { margin-top: 18px; font-size: 16px; line-height: 1.5; color: var(--prose); }

/* Пример задачи: повод, карточка условий и комплект — подписан «Пример» */
.site-scope .ai-task__quote { margin: 12px 0 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.site-scope .ai-terms {
  display: grid; gap: 0; margin: 16px 0 0; padding: 4px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
}
.site-scope .ai-terms div {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px 0;
}
.site-scope .ai-terms div + div { border-top: 1px solid var(--line); }
.site-scope .ai-terms dt { margin: 0; color: var(--prose); font-size: 14px; line-height: 1.45; }
.site-scope .ai-terms dd { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.45; }
.site-scope .ai-kit { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.site-scope .ai-kit li {
  margin: 0; padding: 7px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.2;
}

.site-scope .ai-tasks {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.site-scope .ai-tasks .card-text { margin-top: 10px; font-size: 16px; line-height: 1.5; }

.site-scope .ai-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin: 28px 0 0; padding: 0; list-style: none;
}
.site-scope .ai-steps li {
  display: flex; gap: 16px; min-width: 0; padding: 22px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
}
.site-scope .ai-steps li > span {
  flex: 0 0 auto; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .06em;
}
.site-scope .ai-steps b { display: block; font-size: 18px; line-height: 1.25; }
.site-scope .ai-steps p { margin: 10px 0 0; color: var(--prose); font-size: 14px; line-height: 1.5; }

.site-scope .ai-limits { gap: 56px; align-items: start; }
.site-scope .ai-limits .section-title { margin-top: 10px; }
.site-scope .ai-limits .lede { margin-top: 18px; }
.site-scope .ai-checks {
  display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none;
}
.site-scope .ai-checks li {
  position: relative; margin: 0; padding-left: 27px; color: var(--prose); line-height: 1.5;
}
.site-scope .ai-checks li::before {
  content: "—"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800;
}

.site-scope .ai-apply { background: var(--band); }
.site-scope .ai-apply__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 44px; align-items: start;
}
.site-scope .ai-apply .display-lg { margin-top: 12px; }
.site-scope .ai-apply .lede { margin-top: 18px; }
.site-scope .ai-form { background: var(--paper); }
.site-scope .ai-form form { margin-top: 0; }

@media (max-width: 980px) {
  .site-scope .ai-hero { padding-top: 56px; }
  .site-scope .ai-hero__grid,
  .site-scope .ai-apply__grid { grid-template-columns: 1fr; }
  .site-scope .ai-tasks,
  .site-scope .ai-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .site-scope .ai-hero { padding: 40px 0 46px; }
  .site-scope .ai-hero__copy .store-actions { display: grid; }
  .site-scope .ai-hero__copy .store-actions .btn { width: 100%; }
  .site-scope .ai-tasks,
  .site-scope .ai-steps { grid-template-columns: 1fr; }
  .site-scope .ai-limits { grid-template-columns: 1fr; gap: 36px; }
  .site-scope .ai-apply__grid { gap: 28px; }
}

/* ── Журнал (решение 079) ──────────────────────────────────────────────────── */

/* Подпись навигации страниц WordPress выводит всегда — прячем для глаза, а не
   для чтения с экрана. Своего класса у дизайн-системы для этого нет. */
.site-scope .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-scope .journal-shell { padding-bottom: 64px; }
.site-scope .journal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.site-scope .journal-nav .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Карточка: обложки может не быть — тогда карточка текстовая, без пустого поля */
.site-scope .journal-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; }
.site-scope .journal-card-cover { display: block; aspect-ratio: 4 / 3; background: var(--band); }
.site-scope .journal-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.site-scope .journal-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 22px; }
.site-scope .journal-card-lead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.site-scope .journal-card-lead .eyebrow { margin: 0; }
.site-scope .journal-card .card-title { font-size: 18px; line-height: 1.3; }
.site-scope .journal-card .card-text { margin-top: 0; font-size: 14px; }
.site-scope .journal-card .blog-meta { margin-top: auto; padding-top: 8px; }
/* Без обложки карточка — заметка: тот же тёплый серый, что у навигационных
   карточек (решение 076), а не белое поле, где будто не догрузилась картинка */
.site-scope .journal-card:not(.journal-card--cover) { background: var(--band); border-color: transparent; }
.site-scope .journal-card:not(.journal-card--cover):hover { border-color: #111; }

.site-scope .journal-pages { margin-top: 40px; }
.site-scope .journal-pages .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.site-scope .journal-pages .page-numbers {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 14px;
}
.site-scope .journal-pages .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.site-scope .journal-pages a.page-numbers:hover { border-color: var(--ink); }

.site-scope .journal-post .page-head .display { margin-top: 16px; }
.site-scope .journal-post-meta { margin-top: 16px; }
.site-scope .journal-post-cover { max-width: 1040px; margin: 0 0 40px; }
.site-scope .journal-post-cover img { display: block; width: 100%; height: auto; border-radius: 24px; }
.site-scope .blog-body figure { margin: 24px 0; }
.site-scope .blog-body figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Следующий шаг — не «читайте также»: одна фраза и одна кнопка */
.site-scope .journal-next { margin-top: 48px; }
.site-scope .journal-next .card-title { font-size: 18px; font-weight: 600; line-height: 1.45; }
.site-scope .journal-next-action { margin-top: 18px; }

@media (max-width: 680px) {
  .site-scope .journal-post-cover { margin-bottom: 28px; }
  .site-scope .journal-post-cover img { border-radius: 16px; }
  .site-scope .journal-next-action .btn { width: 100%; justify-content: center; }
}

/* ─── Сравнение способов получить оформление (главная) ──────────────────── */

.site-scope .fm-compare {
  width: 100%; table-layout: fixed;
  border-collapse: separate; border-spacing: 0;
  text-align: left; margin-top: 4px;
}
.site-scope .fm-compare th, .site-scope .fm-compare td {
  padding: 16px 18px; vertical-align: top;
  font-size: 16px; line-height: 1.45; font-weight: 400;
  border-bottom: 1px solid var(--line);
}
.site-scope .fm-compare thead th {
  padding-top: 14px; padding-bottom: 14px;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.site-scope .fm-compare .fm-compare-corner { border-bottom: 1px solid var(--line); }
/* Заголовок строки — то, что сравниваем: он подписывает ряд, а не спорит с ним */
.site-scope .fm-compare tbody th { width: 19%; padding-left: 0; color: var(--muted); font-size: 14px; }
.site-scope .fm-compare tbody tr:last-child th,
.site-scope .fm-compare tbody tr:last-child td { border-bottom: 0; }
/* Своя колонка — подложкой, а не жирным шрифтом: жирный читается как крик,
   подложка просто показывает, где в таблице мы. */
.site-scope .fm-compare .fm-compare-own { background: var(--brand-soft); }
.site-scope .fm-compare thead .fm-compare-own { color: var(--brand-ink); border-radius: 14px 14px 0 0; }
.site-scope .fm-compare tbody tr:last-child .fm-compare-own { border-radius: 0 0 14px 14px; }
.site-scope .fm-compare-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Узкий экран: пять колонок не помещаются, и таблица разбирается на карточки —
   по карточке на строку сравнения, с подписью варианта у каждого значения. */
@media (max-width: 900px) {
  .site-scope .fm-compare, .site-scope .fm-compare tbody,
  .site-scope .fm-compare tr, .site-scope .fm-compare tbody th,
  .site-scope .fm-compare tbody td { display: block; width: auto; }
  .site-scope .fm-compare thead { display: none; }
  .site-scope .fm-compare tbody tr {
    border: 1px solid var(--line); border-radius: 16px;
    padding: 0 16px 4px; margin-bottom: 12px; overflow: hidden;
  }
  .site-scope .fm-compare tbody th {
    padding: 14px 0 4px; border-bottom: 0;
    font-size: 12px; text-transform: uppercase; letter-spacing: .6px;
  }
  .site-scope .fm-compare tbody td { padding: 10px 0; }
  .site-scope .fm-compare tbody tr td:last-child { border-bottom: 0; }
  .site-scope .fm-compare tbody td::before {
    content: attr(data-col); display: block;
    font-size: 12px; color: var(--muted); margin-bottom: 2px;
  }
  .site-scope .fm-compare tbody .fm-compare-own,
  .site-scope .fm-compare tbody tr:last-child .fm-compare-own {
    margin: 0 -16px; padding: 10px 16px; border-radius: 0;
  }
  .site-scope .fm-compare tbody .fm-compare-own::before { color: var(--brand-ink); }
}

/* ── Кабинет: ритм, который гасит сброс com-site ─────────────────────────────
 *
 * `com-site.css` обнуляет поля заголовков и абзацев у всего, что внутри
 * `.site-scope`, и подключается после `main.css`. Витрина набрана явными
 * отступами и не страдает, а кабинет набран полями — и оставался без них:
 * «Свой бренд» стоял вплотную к пояснению, «← Все решения» — к заголовку,
 * раскрытая гармошка — к своей подписи. Ноль между заголовком и текстом
 * читается как сбой вёрстки, а не как плотность.
 *
 * Возвращаем ритм здесь, в мосту: чужой сброс не трогаем — он держит
 * витрину, — а свои правила объявляем после него и только для кабинета.
 */
.site-scope .woocommerce-MyAccount-content .fm-back { margin: 0 0 12px; }
.site-scope .woocommerce-MyAccount-content .fm-solution-head { margin-bottom: 16px; }

/* Заголовок секции и пояснение под ним */
.site-scope .woocommerce-MyAccount-content .fm-audit h3,
.site-scope .woocommerce-MyAccount-content .fm-brand h3,
.site-scope .woocommerce-MyAccount-content .fm-visuals h3,
.site-scope .woocommerce-MyAccount-content .fm-files h3,
.site-scope .woocommerce-MyAccount-content .fm-cloud h3,
.site-scope .woocommerce-MyAccount-content .fm-next h3,
.site-scope .woocommerce-MyAccount-content .fm-step-title { margin: 0 0 8px; }

/* Пояснение, плашка состояния и подпись под блоком идут через воздух */
.site-scope .woocommerce-MyAccount-content .fm-hint + .fm-status,
.site-scope .woocommerce-MyAccount-content .fm-hint + .fm-hint,
.site-scope .woocommerce-MyAccount-content .fm-status + .fm-hint,
.site-scope .woocommerce-MyAccount-content .fm-kit + .fm-kit__note,
.site-scope .woocommerce-MyAccount-content details + .fm-cloud__usage { margin-top: 12px; }

/* Раскрытая гармошка не липнет к своей подписи */
.site-scope .woocommerce-MyAccount-content details > summary + * { margin-top: 16px; }

/* Название решения и его подпись — две строки, а не одна слипшаяся */
.site-scope .woocommerce-MyAccount-content .fm-solution span em { margin-top: 2px; }

/* Профиль: WooCommerce ставит подпись и поле соседями, и сброс полей оставил
   их вплотную. В наших формах между ними 6 px — здесь столько же. */
.site-scope .woocommerce-MyAccount-content .woocommerce-form-row > label { display: block; margin-bottom: 6px; }
.site-scope .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset { margin-top: 24px; }

/* Настройка решения — отдельная секция, а не продолжение абзаца над ней */
.site-scope .woocommerce-MyAccount-content .fm-configure { margin-top: 24px; }
.site-scope .woocommerce-MyAccount-content .fm-status + .fm-form,
.site-scope .woocommerce-MyAccount-content .fm-credits p + .fm-hint { margin-top: 12px; }

/* Ховер карточек — без тени. Тень из com-site.css поднимала карточку над
   страницей, а карточки у нас лежат в сетке заподлицо: на главной и в каталоге
   она читалась как лишний слой. Наводка остаётся видимой: рамка темнеет, а у
   карточки вертикали подложка окрашивается фирменным. */
.site-scope .card-link:hover { box-shadow: none; }

/* Каталог: те же ряды в одну высоту, что и у вертикалей на главной. Селектор
   по data-атрибуту сетки, а не по .grid-3: этой сеткой набраны и уровни
   «Кто делает работу», где ряд один и равнять нечего. */
.site-scope [data-catalogue-grid] { grid-auto-rows: 1fr; }

/* ═══════════════════════════════════════════════════════════════════════════
 * Одна система, три способа (решение 087): главная, посадочные по нишам,
 * брендинг, сайты. Новых визуальных сущностей — минимум: всё собрано из
 * .card, .grid-* и переменных системы; здесь только то, чего в ней не было.
 * ═════════════════════════════════════════════════════════════════════════ */

/* Призыв шапки. Ниже 900 ряду не хватает места (решение 022) — кнопка живёт в
   меню под бургером; от 901 до 1180 рядом с ней нет телефона, и она помещается. */
.site-scope .topbar__cta { height: 48px; padding: 0 22px; font-size: 14px; white-space: nowrap; }
.site-scope .store-nav-cta { display: none; }
@media (max-width: 900px) {
  .site-scope .topbar__cta { display: none; }
  .site-scope .store-nav a.store-nav-cta { display: flex; margin: 4px 24px 12px; height: 48px; color: var(--brand-on); }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .site-scope .store-nav-list { gap: 14px; }
  .site-scope .store-nav-list a { font-size: 14px; }
  .site-scope .topbar__cta { padding: 0 16px; }
}
/* Сразу над бургером семи пунктам не хватает ещё 42 px (решение 099, п. 2) */
@media (max-width: 960px) and (min-width: 901px) {
  .site-scope .store-nav-list { gap: 10px; }
  .site-scope .store-nav-list a { font-size: 14px; }
}

/* Подвал: пять колонок — бренд, готовые решения, для кого, услуги, остальное */
.site-scope .store-footer-inner { grid-template-columns: 1.7fr 1fr 1fr 1fr 1.2fr; }
@media (max-width: 1100px) {
  .site-scope .store-footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .site-scope .store-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) { .site-scope .store-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .site-scope .store-footer-inner { grid-template-columns: 1fr; } }

/* Первый экран: три строки вместо двух. Строка не переносится на широком
   экране, а на телефоне — переносится: «и обновления бренда» в 38 px шире 375. */
@media (max-width: 640px) { .site-scope .store-hero-line { white-space: normal; } }
@media (min-width: 901px) and (max-width: 1240px) { .site-scope .store-hero .display-xl { font-size: 52px; } }

/* ── Три способа ─────────────────────────────────────────────────────────── */

/*
 * Три карточки идут слева направо по нарастанию работы дизайнера, и это видно
 * тоном: белая → фирменный светлый → чернильная. Один и тот же приём на
 * главной, в каталоге, на странице назначения и на посадочных.
 */
.site-scope .ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.site-scope .way { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 24px;
  border: 1px solid var(--line); background: var(--surface); }
.site-scope .way--adapt { background: var(--brand-soft); border-color: transparent; }
.site-scope .way--custom { background: var(--ink); border-color: transparent; color: #fff; }
.site-scope .way__step { align-self: flex-start; display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
  border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--band); color: var(--ink); }
.site-scope .way__step--adapt, .site-scope .way--adapt .way__step { background: var(--brand); color: var(--brand-on); }
.site-scope .way--custom .way__step { background: #fff; color: var(--ink); }
.site-scope .way__title { font-family: var(--font-site-geologica), var(--font-site-inter), Inter, Arial, sans-serif;
  font-size: 26px; font-weight: 500; letter-spacing: -0.8px; line-height: 1.15; margin-top: 6px; }
.site-scope .way__for { font-size: 16px; font-weight: 600; }
.site-scope .way__text { font-size: 16px; line-height: 1.55; color: var(--prose); }
.site-scope .way--custom .way__text { color: rgba(255, 255, 255, .78); }
.site-scope .way__foot { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.site-scope .way__price { font-size: 14px; font-weight: 600; color: var(--muted); }
.site-scope .way--adapt .way__price { color: var(--brand-ink); }
.site-scope .way--custom .way__price { color: rgba(255, 255, 255, .7); }
.site-scope .way--custom .btn-outline { background: #fff; border-color: #fff; }
/* minmax(0, 1fr), а не 1fr: иначе длинная кнопка распирает колонку шире экрана */
@media (max-width: 900px) { .site-scope .ways { grid-template-columns: minmax(0, 1fr); } }
.site-scope .way { min-width: 0; }
.site-scope .way__foot .btn { white-space: normal; text-align: center; }
@media (max-width: 640px) {
  .site-scope .way { padding: 22px 20px; border-radius: 20px; }
  .site-scope .way__foot .btn { width: 100%; }
}
/* Один блок выбора на странице назначения: способ и режим — одна карточка.
   Плашка способа над названием, под ценой — строка с именем режима: им названы
   вариация в заказе, письма и презентация, и человек должен их узнать. */
.site-scope .level .way__step { margin-bottom: 2px; }
.site-scope .level .way__step--custom { background: var(--ink); color: #fff; }
.site-scope .level__for { margin: 0; font-size: 16px; font-weight: 600; }
.site-scope .level__mode { margin: -4px 0 0; font-size: 14px; color: var(--muted); }
/* Вторая половина формулы адаптации набрана мельче цены: это ставка, а не сумма */
.site-scope .level__plus { font-size: 18px; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap; }
.site-scope .level__scratch { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ── «Всё уже связано» ───────────────────────────────────────────────────── */

.site-scope .chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
.site-scope .chain__item { position: relative; padding: 18px 14px 18px 0; display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--brand); }
/* Короткая цепочка — у услуги (решение 093): пять звеньев на всю ширину */
.site-scope .chain--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
/* Три звена — «Образ → Опыт → Результат» на «О нас» (решение 101) */
.site-scope .chain--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Точка на линии и стрелка в конце: цепочка читается как один путь */
.site-scope .chain__item::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.site-scope .chain__item:last-child::after { content: ""; position: absolute; top: -7px; right: 0; width: 10px; height: 10px;
  border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: rotate(45deg); transform-origin: center; margin-top: 1px; }
.site-scope .chain__title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.site-scope .chain__note { font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 1000px) {
  /* На узком экране путь идёт сверху вниз: линия слева, точки на ней */
  .site-scope .chain, .site-scope .chain--5, .site-scope .chain--3 { grid-template-columns: 1fr; }
  .site-scope .chain__item { border-top: 0; border-left: 2px solid var(--brand); padding: 0 0 20px 22px; flex-direction: row; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
  .site-scope .chain__item::before { top: 4px; left: -7px; }
  .site-scope .chain__item:last-child { padding-bottom: 0; border-left-color: transparent; }
  .site-scope .chain__item:last-child::after { display: none; }
}

/* ── Шаги процесса ───────────────────────────────────────────────────────── */

.site-scope .process { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-scope .process--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.site-scope .process--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-scope .process .card-title { display: block; }
@media (max-width: 1100px) { .site-scope .process, .site-scope .process--5, .site-scope .process--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .site-scope .process, .site-scope .process--5, .site-scope .process--6 { grid-template-columns: 1fr; gap: 12px; }
  /* Номер слева от текста: пять карточек в столбик не должны занимать три экрана */
  .site-scope .process .card { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; }
  .site-scope .process .step-num { grid-row: 1 / span 2; margin: 0; }
}

/* ── Сетка решений на главной: карточка в цвете бренда (решение 048) ─────── */

.site-scope .solutions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.site-scope .solution-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 0; border-radius: 24px;
  background: var(--kit-bg, #fff); color: var(--kit-on, #111); }
.site-scope .solution-card__cover { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.site-scope .solution-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.site-scope .solution-card:hover .solution-card__cover img { transform: scale(1.03); }
.site-scope .solution-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.site-scope .solution-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.site-scope .solution-card .eyebrow { margin: 0; color: inherit; opacity: .72; }
.site-scope .solution-card__price { font-size: 14px; font-weight: 700; white-space: nowrap; }
.site-scope .solution-card__title { font-family: var(--font-site-geologica), var(--font-site-inter), Inter, Arial, sans-serif;
  font-size: 22px; font-weight: 500; letter-spacing: -0.6px; line-height: 1.15; }
.site-scope .solution-card__text { font-size: 14px; line-height: 1.5; opacity: .82;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.site-scope .solution-card__meta { font-size: 14px; opacity: .72; }
.site-scope .solution-card__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.site-scope .solution-card__cta { font-size: 14px; font-weight: 700; border-bottom: 2px solid var(--kit-accent, currentColor); padding-bottom: 1px; }
.site-scope .solution-card__article { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
@media (max-width: 1200px) { .site-scope .solutions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .site-scope .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .site-scope .solutions-grid { grid-template-columns: 1fr; } }

/* ── Посадочные ──────────────────────────────────────────────────────────── */

.site-scope .landing-hero { padding-top: 32px; padding-bottom: 48px; }
.site-scope .landing-hero .crumbs { margin-bottom: 20px; }
.site-scope .landing-hero .display-xl { max-width: 20em; }
/* Лид — 16 px на всех страницах: вступление под заголовком читается одинаково
   и в каталоге, и на посадочной, и на главной. Раньше три места набирали его
   на 18 px и сбрасывали до 16 только на узком экране. */
.site-scope .landing-hero .lede { font-size: 16px; max-width: 760px; margin-top: 20px; }
@media (max-width: 900px) { .site-scope .landing-hero .display-xl { font-size: 38px; letter-spacing: -1.3px; } }
@media (max-width: 640px) {
  .site-scope .landing-hero .display-xl { font-size: 32px; letter-spacing: -1px; }
}

/* Карточки «заголовок — пояснение»: проблемы, потребности, части системы */
.site-scope .points .card-title { display: block; font-size: 18px; }
.site-scope .points .card-text { font-size: 16px; line-height: 1.55; color: var(--prose); }
.site-scope .points { align-items: stretch; }
.site-scope .points--numbered { counter-reset: point; }
.site-scope .points--numbered .point { counter-increment: point; }
.site-scope .points--numbered .point::before { content: counter(point, decimal-leading-zero); display: block; margin-bottom: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--brand-ink); }

/* Что должен суметь клиент: список крупнее обычного — это главный текст блока */
.site-scope .jobs { gap: 14px; font-size: 16px; }
.site-scope .site-pages { font-size: 16px; gap: 12px; }

/* Образ → Опыт → Результат: три карточки, связанные стрелкой */
.site-scope .ior { align-items: stretch; }
.site-scope .ior__item { position: relative; }
.site-scope .ior__item .card-title { display: block; font-size: 20px; }
.site-scope .ior__item + .ior__item::before { content: "→"; position: absolute; left: -17px; top: 30px; font-size: 18px; color: var(--muted); }
@media (max-width: 900px) { .site-scope .ior__item + .ior__item::before { display: none; } }

/* Карточки-ссылки: ниша, перелинковка */
.site-scope .industry-card, .site-scope .related-card { display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: 20px; }
.site-scope .industry-card .card-title, .site-scope .related-card .card-title { font-size: 20px; }
.site-scope .industry-card .card-text, .site-scope .related-card .card-text { font-size: 16px; color: var(--prose); }
.site-scope .industry-card .tpl-meta { margin-top: auto; padding-top: 14px; color: var(--brand-ink); font-weight: 600; }
.site-scope .industry-card:hover, .site-scope .related-card:hover { background: color-mix(in srgb, var(--brand) 6%, transparent); }

.site-scope .scenario .link-action { margin-top: 2px; }
.site-scope .no-kit .lede { max-width: 760px; }
.site-scope .adapt-modes__price { margin-top: 14px; font-size: 16px; font-weight: 700; }
@media (max-width: 1100px) { .site-scope .adapt-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .site-scope .adapt-modes { grid-template-columns: 1fr; } }

/* Завершающий призыв главной и форма в конце посадочной */
.site-scope .final-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-scope .cta-band .display-md { max-width: 16em; }
.site-scope .case-cover { display: block; width: 100%; height: auto; border-radius: 24px; }
.site-scope .case-card__result { font-weight: 600; color: var(--ink); }

/* Якоря не прячутся под плавающей шапкой */
.site-scope [id="start"], .site-scope [id="adapt"], .site-scope [id="ways"], .site-scope [id="levels"],
.site-scope [id="buy"], .site-scope [id="custom"], .site-scope [id="how-it-works"], .site-scope [id="includes"] { scroll-margin-top: 112px; }

/* ── Услуга направления (решение 093) ────────────────────────────────────── */

/* Первый экран: слева оффер, справа — изображение; под ними — три вопроса */
.site-scope .service-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.site-scope .service-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
.site-scope .service-hero .display-xl { font-size: 60px; line-height: 1.04; letter-spacing: -2.2px; }
.site-scope .service-hero .service-hero__offer { font-size: 22px; line-height: 1.4; color: var(--ink); letter-spacing: -0.02em; max-width: 620px; }
.site-scope .service-hero .service-hero__note { font-size: 16px; margin-top: 14px; max-width: 560px; }
.site-scope .service-anchor { scroll-margin-top: 96px; }

/* Изображение услуги и заглушка на его месте */
.site-scope .service-shot { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 28px; background: var(--band-2); }
.site-scope .service-shot--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center;
  border: 1.5px dashed var(--line-strong); color: var(--muted); font-size: 14px; }
.site-scope .service-shot--empty b { font-size: 16px; color: var(--ink); }
.site-scope .service-shot--empty span { font-variant-numeric: tabular-nums; }
.site-scope .service-shot--empty small { max-width: 34em; font-size: 14px; color: var(--faint); }
.site-scope .service-outcome__side { display: grid; gap: 20px; }
.site-scope .service-process__shot { margin-bottom: 20px; }

.site-scope .service-hero__panel { margin-top: 48px; background: var(--brand-soft); border-radius: 28px; padding: 32px 36px 36px; }
.site-scope .service-hero__panel .eyebrow { display: block; margin-bottom: 20px; color: var(--brand-ink); }
.site-scope .service-hero__questions { list-style: none; margin: 0; padding: 0; counter-reset: question; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-scope .service-hero__questions li { counter-increment: question; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--ink);
  font-family: var(--font-site-geologica), var(--font-site-inter), Inter, Arial, sans-serif; font-size: 30px; font-weight: 500; line-height: 1.15; letter-spacing: -1px; }
.site-scope .service-hero__questions li::before { content: counter(question, decimal-leading-zero); font-family: var(--font-site-inter), Inter, Arial, sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--brand-ink); }
.site-scope .service-hero__questions li:last-child { color: var(--brand-ink); border-top-color: var(--brand); }
.site-scope .service-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
@media (max-width: 1200px) {
  .site-scope .service-hero .display-xl { font-size: 48px; letter-spacing: -1.6px; }
  .site-scope .service-hero__questions li { font-size: 24px; letter-spacing: -0.7px; }
}
@media (max-width: 1000px) {
  .site-scope .service-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-scope .service-hero .display-xl { font-size: 38px; letter-spacing: -1.3px; }
  .site-scope .service-hero__panel { margin-top: 32px; padding: 26px 28px 28px; }
  .site-scope .service-hero__questions { gap: 20px; }
  .site-scope .service-hero__questions li { font-size: 22px; }
}
@media (max-width: 640px) {
  .site-scope .service-hero .display-xl { font-size: 32px; letter-spacing: -1px; }
  .site-scope .service-hero .service-hero__offer { font-size: 18px; }
  .site-scope .service-hero .service-hero__note { font-size: 16px; }
  .site-scope .service-shot { border-radius: 20px; }
  .site-scope .service-hero__panel { padding: 22px 20px 6px; border-radius: 20px; }
  .site-scope .service-hero__questions { grid-template-columns: 1fr; gap: 0; }
  .site-scope .service-hero__questions li { flex-direction: row; align-items: baseline; gap: 14px; padding: 14px 0; font-size: 22px; border-top: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
  .site-scope .service-hero__questions li:first-child { border-top: 2px solid var(--ink); }
  .site-scope .service-hero__questions li:last-child { border-top-color: color-mix(in srgb, var(--brand) 22%, transparent); }
  .site-scope .service-hero__questions li::before { flex: none; width: 22px; }
}

/* Определение: крупный абзац — прямой ответ на «что это такое» */
.site-scope .service-definition { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 40px; align-items: start; }
.site-scope .service-definition__text { font-family: var(--font-site-geologica), var(--font-site-inter), Inter, Arial, sans-serif;
  font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: -0.7px; color: var(--ink); max-width: 30em; }
.site-scope .service-definition .lede { max-width: 640px; }
.site-scope .service-compare { margin-top: 40px; align-items: stretch; }
.site-scope .service-compare .card-title { display: block; font-size: 20px; }
.site-scope .service-compare dl { margin: 18px 0 0; display: grid; gap: 4px; }
.site-scope .service-compare dt { margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.site-scope .service-compare dt:first-child { margin-top: 0; }
.site-scope .service-compare dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--prose); }
@media (max-width: 900px) {
  .site-scope .service-definition { grid-template-columns: 1fr; }
  .site-scope .service-definition__text { font-size: 22px; letter-spacing: -0.4px; }
  .site-scope .service-compare { margin-top: 28px; }
}

/* «Когда нужна»: заголовок занимает первую ячейку сетки — карточек пять */
.site-scope .service-when__head { padding: 6px 12px 0 0; }

/* Итог работы: документ и то, где он применяется */
.site-scope .service-document__uses { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.site-scope .service-document__uses .tag { background: #fff; color: var(--ink); padding: 6px 12px; font-size: 14px; font-weight: 600; letter-spacing: 0; }

/* Главная мысль страницы — тем же тёмным, что способ «С нуля» */
.site-scope .service-pair { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1000px) { .site-scope .service-pair { grid-template-columns: 1fr; } }
.site-scope .service-statement { background: var(--ink); border-color: transparent; color: #fff; padding: 56px; }
.site-scope .service-statement .eyebrow { display: block; margin-bottom: 14px; color: rgba(255, 255, 255, .64); }
.site-scope .service-statement .display { color: #fff; max-width: 16em; }
.site-scope .service-statement .lede { margin-top: 20px; max-width: 760px; font-size: 16px; color: rgba(255, 255, 255, .82); }
@media (max-width: 640px) {
  .site-scope .service-statement { padding: 28px 24px; }
}

.site-scope .service-next__ask { margin-top: auto; padding-top: 14px; }

/* Ссылка на услугу со страницы направления и с главной */
.site-scope .service-card { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-scope .service-card__copy { flex: 1 1 420px; max-width: 760px; }
.site-scope .service-card .card-text { font-size: 16px; color: var(--prose); }

/* ── «Бесплатно» (решение 096) ───────────────────────────────────────────── */

/* Предложение — панель в его фирменных цветах, как карточка комплекта */
.site-scope .free-offers { display: grid; gap: 20px; padding-bottom: 64px; }
.site-scope .free-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); overflow: hidden;
  background: var(--kit-bg, #fff); color: var(--kit-on, #111); border-radius: 28px; scroll-margin-top: 96px; }
.site-scope .free-offer--plain { grid-template-columns: 1fr; }
.site-scope .free-offer-body { display: flex; flex-direction: column; gap: 14px; padding: 44px 48px; }
.site-scope .free-offer-main, .site-scope .free-offer-detail { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
/* Без обложки вторая колонка — состав: панель не остаётся наполовину пустой */
.site-scope .free-offer--plain .free-offer-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 48px; align-items: end; }
.site-scope .free-offer .tpl-card-lead { display: flex; align-items: center; gap: 12px; margin: 0; }
.site-scope .free-offer .eyebrow, .site-scope .free-offer .card-text, .site-scope .free-offer-title { color: inherit; }
.site-scope .free-offer .eyebrow { opacity: .72; }
.site-scope .free-offer .card-text { font-size: 16px; line-height: 1.55; opacity: .86; margin: 0; }
.site-scope .free-offer-tag { background: var(--kit-accent, #111); color: var(--kit-on-accent, #fff); }
.site-scope .free-offer--soon .free-offer-tag { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.site-scope .free-offer-title { margin: 0; max-width: 14em; text-wrap: balance; }
.site-scope .free-offer-for { margin: 0; font-size: 16px; font-weight: 600; }
.site-scope .free-offer-get { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 16px; line-height: 1.45; }
.site-scope .free-offer-get li { position: relative; padding-left: 22px; }
.site-scope .free-offer-get li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 2px; background: var(--kit-accent, currentColor); }
.site-scope .free-offer-how { margin: 6px 0 0; font-size: 14px; line-height: 1.5; opacity: .78; max-width: 34em; }
.site-scope .free-offer-cta { background: var(--kit-accent, #111); color: var(--kit-on-accent, #fff); border-color: transparent; }
.site-scope .free-offer-cta:hover { filter: brightness(1.06); }
.site-scope .free-offer-paid { margin: 0; font-size: 14px; opacity: .66; }

.site-scope .free-offer-cover { position: relative; min-height: 420px; }
.site-scope .free-offer-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Варианты комплекта: первый крупно, остальные парой под ним */
.site-scope .free-offer-kits { list-style: none; margin: 0; padding: 20px 20px 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.site-scope .free-offer-kits li:first-child { grid-column: 1 / -1; }
.site-scope .free-offer-kits a { position: relative; display: block; overflow: hidden; border-radius: 16px; color: #fff; }
.site-scope .free-offer-kits img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.site-scope .free-offer-kits li:first-child img { aspect-ratio: 16 / 9; }
.site-scope .free-offer-kits a:hover img { transform: scale(1.03); }
.site-scope .free-offer-kits span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 14px; font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, .62)); }

/* Блок на главной: те же предложения короткими карточками в своих цветах */
.site-scope .free-teaser { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 240px; padding: 28px;
  background: var(--kit-bg, #fff); color: var(--kit-on, #111); border-radius: 24px; text-decoration: none; transition: transform .2s ease; }
.site-scope .free-teaser:hover { transform: translateY(-2px); }
.site-scope .free-teaser .tpl-card-lead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-scope .free-teaser .eyebrow { color: inherit; opacity: .72; }
.site-scope .free-teaser--soon .free-offer-tag { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.site-scope .free-teaser__title { font-family: var(--font-site-geologica), var(--font-site-inter), Inter, Arial, sans-serif;
  font-size: 24px; font-weight: 500; letter-spacing: -0.6px; line-height: 1.15; text-wrap: balance; }
.site-scope .free-teaser__for { font-size: 16px; line-height: 1.45; opacity: .82; }
.site-scope .free-teaser__more { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 700;
  border-bottom: 2px solid var(--kit-accent, currentColor); padding-bottom: 1px; }
@media (max-width: 640px) { .site-scope .free-teaser { min-height: 0; padding: 22px; border-radius: 20px; } }

.site-scope .free-border .card-title { display: block; font-size: 18px; margin-bottom: 14px; }
.site-scope .free-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--prose); }
.site-scope .free-list li { position: relative; padding-left: 24px; }
.site-scope .free-list li::before { content: "·"; position: absolute; left: 6px; font-weight: 700; }
.site-scope .free-list--yes li::before { content: "✓"; left: 0; color: var(--success); }
.site-scope .free-more { margin-top: 28px; }

@media (max-width: 1000px) {
  .site-scope .free-offer, .site-scope .free-offer--plain .free-offer-body { grid-template-columns: 1fr; }
  .site-scope .free-offer-kits { padding: 0 20px 20px; }
  .site-scope .free-offer-cover { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) {
  .site-scope .free-offers { padding-bottom: 48px; }
  .site-scope .free-offer { border-radius: 22px; }
  .site-scope .free-offer-body { padding: 26px 22px 28px; }
  .site-scope .free-offer-kits { padding: 0 12px 12px; gap: 8px; }
  .site-scope .free-offer-cta { align-self: stretch; justify-content: center; }
}

/* ── Вертикальный ритм: отступы, которые съедал сброс .site-scope p ─────────
 *
 * `.site-scope p { margin: 0 }` и такой же сброс заголовков сильнее правил из
 * main.css, записанных одним классом, — их отступы молча обнулялись, и
 * соседние строки слипались. Здесь эти отступы возвращены адресно.
 */
/* Блок сразу под шапкой страницы: верхнее поле уже дала шапка, нижнее — как у
   любой секции, чтобы до следующей было те же 128 px (96 на телефоне). Раньше
   нижнее поле писали в style по месту: 48 и 56 px, без поправки на телефон. */
.site-scope .section.section--flush-top { padding-top: 0; }
/* Крошки над заголовком: у .landing-hero отступ был, у обычной шапки — нет */
.site-scope .page-head .crumbs { margin-bottom: 16px; }
/* Эксклюзив: заголовок, текст и цена стояли без воздуха */
.site-scope .exclusive p { margin-top: 12px; }
.site-scope .exclusive .exclusive__price { margin-top: 16px; }
/* Простая страница вне .prose (404): надзаголовок, абзацы, кнопка */
.site-scope .page .eyebrow { margin-bottom: 14px; }
.site-scope .page .wrap > p + p { margin-top: 20px; }
/* Форма заявки под заголовком раздела — рамка, ей нужно больше воздуха, чем строке */
.site-scope .prose h2 + .fm-form, .site-scope .prose h2 + form { margin-top: 1.8em; }
/* Вход и регистрация: пояснения WooCommerce — абзацы, сброс лишал их отступов */
.site-scope .woocommerce form.register > p:not(.form-row),
.site-scope .woocommerce form.lost_reset_password > p:not(.form-row),
.site-scope .woocommerce .woocommerce-privacy-policy-text { margin-bottom: 14px; }
.site-scope .woocommerce form.login .form-row,
.site-scope .woocommerce form.register .form-row,
.site-scope .woocommerce form.lost_reset_password .form-row { margin-bottom: 12px; }
/* Надзаголовок над заголовком секции («Стать автором»): стояли вплотную */
.site-scope .eyebrow + h2 { margin-top: 6px; }

/* ── «О нас» (решение 099) ──────────────────────────────────────────────────
 * Миссия — заголовок слева, пояснение справа; на узком экране — столбцом.
 */
.site-scope .about-mission { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: start; }
.site-scope .about-mission__head .display { margin-top: 12px; max-width: 12em; }
.site-scope .about-mission__text { color: #2f2f30; font-size: 18px; line-height: 1.7; }
.site-scope .about-mission__text p + p { margin-top: 1.1em; }
.site-scope .about-lead { max-width: 820px; margin: 0 0 28px; font-size: 17px; line-height: 1.7; color: #2f2f30; }
.site-scope .about-ways .card { display: flex; flex-direction: column; }
.site-scope .about-ways .link-action { margin-top: auto; padding-top: 14px; }
.site-scope .about-now { align-items: stretch; }
.site-scope .about-now .card { display: flex; flex-direction: column; gap: 14px; }
.site-scope .about-now__figure { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.site-scope .about-now__figure b { font-size: 56px; line-height: 1; letter-spacing: -2px; font-weight: 600; }
.site-scope .about-now__figure span { font-size: 18px; font-weight: 500; }
.site-scope .about-now__seller { font-size: 20px; font-weight: 600; letter-spacing: -0.3px; }
.site-scope .about-now__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) {
  .site-scope .about-mission { grid-template-columns: 1fr; }
  .site-scope .about-now__figure b { font-size: 44px; }
}
/* Определение и «коротко»: строки «вопрос — ответ», их читают и люди, и ассистенты */
.site-scope .about-definition { max-width: 820px; }
.site-scope .about-summary { margin: 0 0 40px; border-top: 1px solid var(--line); }
.site-scope .about-summary__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4px 32px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.site-scope .about-summary dt { font-weight: 600; }
.site-scope .about-summary dd { margin: 0; color: #2f2f30; }
@media (max-width: 700px) { .site-scope .about-summary__row { grid-template-columns: 1fr; } }

/* ─── Первый экран каталога ──────────────────────────────────────────────── */

/* Одна типографика с /branding/, /web/ и /free/: заголовок растёт 28 → 38 → 48 px,
   надзаголовок набран чернилами, а лид отбит на 24 px. Этому контракту следуют
   три разных первых экрана — каталог (`page-head--hero`), посадочные
   (`landing-hero` поверх него) и обычные страницы (`page__title`): раньше у
   каждого был свой кегль, и разделы выглядели разного веса. */
.site-scope .page-head--hero .display,
.site-scope .page__title,
.page .page__title { font-size: 28px; font-weight: 500; letter-spacing: -.033em; line-height: 1.229; }
.site-scope .page-head--hero .eyebrow { margin-bottom: 24px; color: var(--ink); }
.site-scope .page-head--hero .lede { margin-top: 24px; }
.site-scope .page-head--hero .lede + .lede { margin-top: 14px; }
@media (min-width: 760px) {
  .site-scope .page-head--hero .display,
  .site-scope .page__title,
  .page .page__title { font-size: 38px; }
}
@media (min-width: 1200px) {
  .site-scope .page-head--hero .display,
  .site-scope .page__title,
  .page .page__title { font-size: clamp(38px, 4vw, 48px); }
}

/* Первый экран главной набирал лид на 18 px (com-site.css): файл системы не
   правим, поэтому возвращаем общий размер здесь. */
.site-scope .store-hero .lede { font-size: 16px; }

/* ─── Размеры текста ─────────────────────────────────────────────────────────
 *
 * Шкала сайта: 12 px — микрометка прописными, 14 px — вспомогательное
 * (подписи, мета, сноски, крошки), 16 px — основной текст. Промежуточных
 * размеров нет: 13 и 15 px читаются как случайность, а 12,5 и 14,5 px —
 * след наследования от родителя.
 *
 * com-site.css — копия дизайн-системы .com, и правится она только здесь:
 * в ней основной текст набран 13–14,5 px, то есть ниже порога, с которого
 * текст на вебе читается без усилия.
 */
.site-scope .card-text,
.site-scope .tpl-meta,
.site-scope .tpl-list,
.site-scope .store-niche-list li,
.site-scope .faq details p,
.site-scope .store-hero-facts,
.site-scope .notice { font-size: 16px; }

.site-scope .store-footer-note,
.site-scope .store-hero-card-meta,
.site-scope .blog-meta,
.site-scope .tpl-cms span,
.site-scope .field > span,
.site-scope .field-hint,
.site-scope .field-error,
.site-scope .pilot-styles-label,
.site-scope .stat span { font-size: 14px; }

/* Длинное чтение — документы, статьи журнала: на шаг крупнее основного */
.site-scope .prose { font-size: 18px; }
.site-scope .prose pre code { font-size: 14px; }

/* Остатки системы: кнопка и сводка вопросов были на 15 px, метка — на 11,
   заголовок карточки — на 16,5. Кнопку читают так же, как текст рядом. */
.site-scope .btn,
.site-scope .faq summary { font-size: 16px; }
.site-scope .tag { font-size: 12px; }
.site-scope .store-usual-list li { font-size: 16px; }
/* Крошки — вспомогательный текст, но 13 px для ссылки уже мелко */
.site-scope .crumbs { font-size: 14px; }
.site-scope .card-title { font-size: 18px; }

/* Узкий экран: система уменьшает заголовки до 23 и 27 px — промежуточных
   ступеней в шкале нет, и на телефоне они тоже не нужны. */
@media (max-width: 680px) {
  .site-scope .display-md { font-size: 24px; }
  .site-scope .display-lg { font-size: 26px; }
}

/* Остатки 15 px из дизайн-системы: цена в карточке, метка «Скоро» на обложке,
   поля ввода, меню шапки и ссылка кабинета. Поля особенно: на iOS размер
   меньше 16 px заставляет Safari увеличивать страницу при касании поля. */
.site-scope .tpl-price,
.site-scope .tpl-cover-soon span,
.site-scope .input,
.site-scope .textarea,
.site-scope .select,
.site-scope .nav,
.site-scope .topbar-auth > a:not(.topbar-avatar) { font-size: 16px; }
/* Заголовки внутри документа — ступени шкалы, а не 25 и 19 px */
.site-scope .prose h2 { font-size: 24px; }
.site-scope .prose h3 { font-size: 20px; }
@media (max-width: 680px) { .site-scope .prose h2 { font-size: 22px; } }
