/* Главная сайта сервиса с пробой на первом экране (владелец 2026-11-10, картинки 114a-114c, логотип Б с картинки 115).
   Лаконичный вид: белый фон, один шрифт Manrope, жёлтый #FFD426 только на действиях. Классы с приставкой «h-» и обёртка .hm,
   чтобы не пересекаться с vservice.css: его правила для кабинета, входа и документов остаются как были.
   Скрипт окна «Так видит клиент»: vhome.js. Разметка: VitrinaCabinet.home. */
@font-face { font-family: Manrope; src: url(manrope.ttf) format('truetype'); font-weight: 200 800; }
.hm { --bg: #FFFFFF; --ink: #121417; --mut: #6B7280; --line: #E7E9EE; --soft: #F5F7FA; --acc: #FFD426; --blue: #121417; }
.hm { font: 500 16px/25px Manrope, sans-serif; letter-spacing: normal; color: var(--ink); background: var(--bg); }
/* Шапка закреплена (76, на телефоне 62): раздел по ссылке встаёт под ней, а не за ней */
.hm [id] { scroll-margin-top: 100px; }
/* Меню разделов на телефоне: разметка и выпадающий список прежние (vservice.css, .menu), здесь только форма кнопки */
.h-menu { display: none; }
.h-menu summary { border-radius: 11px; width: 38px; height: 38px; background: var(--soft); }
.h-in { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.hm h1 { font: 700 64px/70px Manrope; letter-spacing: -0.035em; }
.hm h2 { font: 700 40px/48px Manrope; letter-spacing: -0.03em; text-align: center; }
.h-sub { color: var(--mut); font-size: 18px; line-height: 28px; margin: 12px auto 0; max-width: 620px; text-align: center; }
.h-btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border-radius: 14px; background: var(--acc); color: var(--ink); font: 700 16px/22px Manrope; white-space: nowrap; }
.h-btn.h-g { background: var(--soft); }
.h-btn.h-s { height: 42px; padding: 0 18px; border-radius: 12px; font-size: 15px; }

.h-top .h-in { display: flex; align-items: center; gap: 24px; height: 76px; max-width: 1240px; }
.h-logo { display: flex; align-items: center; gap: 10px; font: 700 19px/24px Manrope; letter-spacing: -0.02em; white-space: nowrap; }
/* Пункты по центру страницы (владелец 2026-11-14, картинки 167-168): логотип и правая часть шапки равной ширины */
.h-top .h-logo, .h-act { flex: 1 1 0; }
.h-act { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.h-nav { display: flex; gap: 4px; flex: none; align-self: stretch; align-items: center; color: var(--ink); }
.h-top .h-enter { font: 600 15px/22px Manrope; }
/* Шапка с панелями преимуществ (владелец 2026-11-11, картинки 125a-125d, CONTEXT.md В31): закреплена, полупрозрачная с
   размытием. Размытие на ::before, а не на самой шапке: иначе панель внутри шапки размывала бы шапку, а не страницу.
   Контраст на самом тёмном месте страницы (замер 2026-11-11): текст шапки 8,51 : 1, название в панели 13,17 : 1, фраза 5,39 : 1;
   фраза #4B5563, а не серый страницы #6B7280: тот на полупрозрачном фоне ниже 4,5 : 1. */
.h-top { position: sticky; top: 0; z-index: 30; }
.h-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgba(18,20,23,.07); }
.h-nav > a, .h-ddb { font: 600 15px/22px Manrope; color: var(--ink); padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
/* Пункт с панелью занимает всю высоту шапки: между ним и панелью нет промежутка, наведение не срывается */
.h-dd { align-self: stretch; display: flex; align-items: center; }
.h-ddb { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.h-ddb svg, .h-mnav summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.h-nav > a:hover, .h-ddb:hover, .h-dd.open .h-ddb { background: rgba(18,20,23,.06); }
.h-dd.open .h-ddb svg { transform: rotate(180deg); }
.h-pan { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(18,20,23,.08); box-shadow: 0 24px 48px rgba(18,20,23,.10); }
.h-dd.open .h-pan { display: block; }
/* Панель «Наши возможности» (владелец 2026-11-14, картинка 168, CONTEXT.md В52): 4 колонки шириной по содержимому, чтобы
   названия не переносились; заголовок первой колонки под логотипом, край последней под кнопкой шапки. У строки значок в
   плитке, под указателем плитка жёлтая. Внизу строка с ценой и кнопкой (.h-pf). Замер макета на 1440: панель высотой 344,
   сетка 1240 без переполнения, строк в две линии нет. */
.h-pin { max-width: 1240px; margin: 0 auto; padding: 26px 14px 22px; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 20px; align-items: start; }
.h-pc h3 { font: 700 12px/16px Manrope; letter-spacing: .08em; text-transform: uppercase; color: #4B5563; margin: 0 0 8px; padding: 0 10px; text-align: left; }
.h-it { display: flex; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 12px; white-space: nowrap; }
.h-it:hover { background: rgba(18,20,23,.06); }
.h-it b { display: block; font: 600 15px/20px Manrope; color: var(--ink); }
.h-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(18,20,23,.05); display: flex; align-items: center; justify-content: center; }
.h-ic svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h-it:hover .h-ic { background: var(--acc); }
.h-pf { max-width: 1212px; margin: 0 auto; padding: 16px 10px 20px; border-top: 1px solid rgba(18,20,23,.08); display: flex; align-items: center; gap: 14px; }
.h-pf b { font: 700 17px/24px Manrope; }
.h-pf span { font: 500 14px/20px Manrope; color: #4B5563; flex: 1; }
/* С 2026-11-14 пунктов в шапке 3, граница меню 1280 оставлена: панели из 4 колонок нужна строка шириной 1240. История границы:
   уже 1280 точек пункты, «Войти» и кнопка в строку не помещаются: пункты в меню (ISSUES.md №61). С 2026-11-12 пунктов 7
   (первым «Для кого»): при прежних отступах им нужно 1277 точек, а строка шапки не шире 1240, поэтому отступ пункта по
   бокам 9 вместо 12, промежутки 24 вместо 30, граница меню 1280 (ISSUES.md №113). Ниже история границы 1200. До 2026-11-11 граница была
   1080 при 5 пунктах; с 6 пунктами («Преимущества», «Быстрый старт», «Примеры», «Свой домен», «Цена», «Вопросы») шапке гостя
   нужно 1157 точек при промежутках 24 (замер 2026-11-11: на 1080 и 1100 страница была шириной 1157, ISSUES.md №113), а при
   промежутках 30 нужно 1175. Меню: лист под шапкой во
   всю ширину, те же две группы раскрывающимися списками; правила .menu из vservice.css (кнопка-круг у summary, выпадающий
   список шириной 240) здесь отменены */
@media (max-width: 1279px) {
  .h-nav { display: none; }
  .h-menu { display: block; position: static; }
  .h-top .h-logo { flex: none; margin-right: auto; }
  .h-act { flex: none; }
  .h-menu > nav.h-mnav { position: absolute; left: 0; right: 0; top: 100%; width: auto; max-height: calc(100vh - 76px); overflow-y: auto;
    padding: 12px 16px 0; border-radius: 0 0 20px 20px; background: rgba(255,255,255,.88);
    -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px);
    box-shadow: 0 24px 48px rgba(18,20,23,.12); border-top: 1px solid rgba(18,20,23,.07); }
  /* Меню (владелец 2026-11-14, картинка 168): «Примеры» и «Цена» двумя кнопками, 4 группы строк со значками (на телефоне
     в 1 колонку, шире колонками от 340: в такой «Предложить своё оформление» с меткой «Скоро» стоит в одну строку), внизу закреплены «Войти» и «Создать витрину». Замер макета на 375 × 812: низ списка 723,
     верх полосы кнопок 743, весь лист на экране без прокрутки. */
  .h-mq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .h-mnav .h-mq a, .h-mnav .h-mbar a { display: flex; align-items: center; justify-content: center; height: 44px; padding: 0; border-radius: 12px; background: var(--soft); font: 700 15px/22px Manrope; }
  .h-mg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 0 16px; padding-bottom: 14px; }
  .h-mnav .h-pc h3 { font-size: 11px; margin: 14px 0 2px; padding: 0 4px; }
  .h-mnav .h-it { padding: 2px 4px; gap: 10px; border-radius: 10px; white-space: normal; }
  .h-mnav .h-it:hover { background: none; }
  .h-mnav .h-ic { width: 30px; height: 30px; border-radius: 9px; }
  .h-mnav .h-ic svg { width: 17px; height: 17px; }
  .h-mbar { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin: 0 -16px; padding: 10px 16px 12px; background: #fff; border-top: 1px solid var(--line); }
  .h-mnav .h-mbar a { height: 46px; }
  .h-mnav .h-mbar a.h-btn, .h-mnav .h-mbar a.h-btn:hover { background: var(--acc); }
}

.h-hero { text-align: center; padding: 72px 0 0; }
.h-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 10px; background: var(--soft); font: 600 14px/20px Manrope; color: var(--mut); margin-bottom: 26px; }
.h-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.h-hero h1 { max-width: 900px; margin: 0 auto; }
.h-hero .h-lead { color: var(--mut); font-size: 20px; line-height: 31px; margin: 24px auto 0; max-width: 620px; }
.h-cta { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.h-hero .h-note { color: var(--mut); font-size: 14px; line-height: 20px; margin-top: 18px; }

/* Путь заказа: 3 белые карточки на светлой подложке */

.h-sec { padding: 104px 0 0; }
.h-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }

/* Раздел «Такой может быть ваша витрина»: путь заказа (владелец 2026-11-14, картинки 162a, 162b; CONTEXT.md В51).
   Переключатель из 3 видов мастера (.h-sw), у вида цветная панель (.h-put) с 3 телефонами по шагам (.h-pcol): экраны
   картинками site/put_*.webp, снятыми с витрин-примеров (tools/galereya_ekrany.py). Живого окна с витриной в телефоне нет
   с 2026-11-14 (владелец: «живые витрины очень сложные, идея плохая… нужны статичные витрины»): копия прежнего в
   backup/2026-11-14_primery_statichnye/. Рамка телефона как у айфона (владелец 2026-11-11): тёмный корпус с серой кромкой,
   «остров» сверху, без кнопок по бокам. Точки шагов на телефоне стоят под панелью, а не поверх экрана. */
.h-sw { display: flex; width: max-content; max-width: 100%; margin: 28px auto 0; padding: 6px; border-radius: 20px; background: #F1F3F6; gap: 4px; }
.h-sw button { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border: 0; border-radius: 15px; background: none;
  font: 700 16px/22px Manrope; color: #4B5563; white-space: nowrap; cursor: pointer; }
.h-sw button.on { background: var(--ink); color: #fff; }
.h-sw svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.h-sw b { font-weight: inherit; }
.h-sw i { display: none; font-style: normal; }
.h-putw[hidden] { display: none; }
.h-put { position: relative; display: flex; justify-content: center; gap: 64px; height: 640px; margin-top: 36px; padding-top: 40px; border-radius: 36px; overflow: hidden; }
.h-k-ready .h-put { background: linear-gradient(135deg, #FFE9A8, #FFC39A); }
.h-k-service .h-put { background: linear-gradient(135deg, #E4D6FF, #FFC9E3); }
.h-k-custom .h-put { background: linear-gradient(135deg, #CDEFD9, #BFE3F5); }
.h-pcol { position: relative; flex: none; width: 300px; text-align: center; }
.h-pn { display: inline-block; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 15px/30px Manrope; }
.h-pcol h3 { font: 800 20px/26px Manrope; letter-spacing: -0.02em; margin: 8px 0 2px; }
.h-pcol > p { font: 600 14px/20px Manrope; color: #3B4250; min-height: 40px; }
.h-pcol + .h-pcol::before { content: ""; position: absolute; left: -47px; top: 340px; width: 30px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M5 15h19M17 8l7 7-7 7' fill='none' stroke='%23121417' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.h-phone { position: relative; display: block; padding: 3px; border-radius: 38px; background: #1A1B1E; border: 1px solid #4D4F55;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 26px 44px -14px rgba(18, 20, 23, .4); }
.h-pcol .h-phone { width: 288px; margin: 22px auto 0; text-align: left; }
.h-scr { position: relative; display: block; overflow: hidden; border-radius: 34px; background: var(--soft); }
.h-pcol .h-scr { height: 580px; }
.h-scr img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.h-scr::after { content: ""; position: absolute; left: 50%; top: 11px; width: 78px; height: 23px; margin-left: -39px; border-radius: 12px; background: #000; }
/* Плашка у телефона: одна фраза о главном в экране шага (картинка 165). У нечётных шагов слева, у чётного справа и ниже,
   чтобы три плашки не стояли в одну линию. Вынос за колонку 10: на 1100 колонка стоит в 12 точках от края панели, при
   выносе 14 левая плашка выходила за панель на 2 (замер 2026-11-14). */
.h-tip { position: absolute; z-index: 3; top: 392px; padding: 10px 16px; border-radius: 16px; background: #fff; color: var(--ink); font: 800 15px/20px Manrope;
  white-space: nowrap; box-shadow: 0 16px 36px rgba(18, 20, 23, .22); }
.h-pcol:nth-child(odd) .h-tip { left: -10px; }
.h-pcol:nth-child(even) .h-tip { right: -10px; top: 468px; }
.h-tip::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: var(--acc); }
.h-pdots { display: none; }
/* Кнопки под панелью. Имя не .h-pcta: до 2026-11-14 оно было занято блоком с ценой в панели шапки */
.h-pgo { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
/* Уже 1100 точек три телефона по 300 с двумя промежутками по 64 (1028) в панель не помещаются (замер 2026-11-14: на 1001
   панель 953): шаги лентой, листаются пальцем, с остановкой на
   каждом. Номер шага
   плашкой «Шаг 1 из 3», кнопки вида с короткими названиями в 1 строку. */
@media (max-width: 1099px) {
  .h-sw { width: 100%; max-width: 420px; margin-top: 20px; padding: 4px; border-radius: 16px; }
  .h-sw button { flex: 1; justify-content: center; height: 44px; padding: 0; border-radius: 12px; font-size: 13.5px; }
  .h-sw svg, .h-sw b { display: none; }
  .h-sw i { display: inline; }
  .h-put { justify-content: flex-start; gap: 14px; height: 436px; margin-top: 16px; padding: 20px calc(50% - 125px) 0; border-radius: 24px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .h-put::-webkit-scrollbar { display: none; }
  .h-pcol { width: 250px; scroll-snap-align: center; }
  .h-pcol + .h-pcol::before { display: none; }
  /* У соседнего шага виден только край телефона: его номер, заголовок и подпись скрыты, иначе у края панели торчат обрывки слов */
  .h-pcol > :not(.h-phone) { transition: opacity .2s; }
  .h-pcol:not(.on) > :not(.h-phone) { opacity: 0; }
  .h-pn { width: auto; height: auto; padding: 4px 12px; border-radius: 14px; background: rgba(18, 20, 23, .1); color: var(--ink); font: 700 12px/17px Manrope; }
  .h-pn::before { content: "Шаг "; }
  .h-pn::after { content: " из 3"; }
  .h-pcol h3 { font-size: 19px; line-height: 25px; }
  .h-pcol > p { font-size: 13.5px; line-height: 19px; min-height: 0; }
  /* Плашка на узком экране: строкой под подписью шага, а не поверх телефона (поверх она выходила за панель) */
  .h-pcol .h-tip, .h-pcol:nth-child(even) .h-tip { position: static; display: inline-block; margin-top: 8px; padding: 5px 11px; border-radius: 13px; font-size: 12.5px; line-height: 18px; box-shadow: none; }
  .h-tip::before { width: 7px; height: 7px; margin-right: 7px; }
  .h-pcol .h-phone { width: 250px; margin-top: 16px; padding: 2px; border-radius: 32px; }
  .h-pcol .h-scr { height: 500px; border-radius: 29px; }
  .h-scr::after { top: 9px; width: 66px; height: 19px; margin-left: -33px; border-radius: 10px; }
  .h-pdots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
  .h-pdots i { width: 7px; height: 7px; border-radius: 4px; background: #C9CED8; }
  .h-pdots i.on { width: 18px; background: var(--ink); }
  .h-pgo { flex-direction: column; align-items: center; gap: 10px; margin-top: 16px; }
  .h-pgo .h-btn { width: 100%; max-width: 420px; height: 50px; }
}

.h-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 44px; }
.h-step { border-top: 1px solid var(--ink); padding-top: 18px; }
.h-step em { font: 700 14px/20px Manrope; color: var(--blue); font-style: normal; }
.h-step b { display: block; font: 700 20px/26px Manrope; letter-spacing: -0.02em; margin-top: 10px; }
.h-step p { color: var(--mut); font-size: 15px; line-height: 23px; margin-top: 6px; }

/* Что умеет: одна рамка, внутри 9 ячеек через тонкие линии */
/* Карточки со схемами: раздел «Преимущества» главной и страницы преимуществ (до 2026-11-12 «Возможности витрины»). В карточке схема из 2-3 строк, название и 1-2 фразы. Карточка, на которую
   пришли из шапки, обведена. */
.h-fts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.h-ft { border-radius: 24px; background: var(--soft); padding: 14px 14px 26px; transition: box-shadow .2s; }
.h-ft:target { box-shadow: 0 0 0 2px var(--ink); }
.h-ft > b, .h-dom b { display: block; font: 700 19px/26px Manrope; letter-spacing: -0.015em; margin: 20px 10px 0; }
.h-ft > p, .h-dom p { color: var(--mut); font-size: 15px; line-height: 23px; margin: 6px 10px 0; }
.h-fpic { height: 158px; border-radius: 16px; background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px; overflow: hidden; }
.h-ftag { display: block; font: 700 11px/16px Manrope; letter-spacing: .07em; text-transform: uppercase; color: var(--mut); }
.h-frow { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; font: 600 13.5px/18px Manrope; white-space: nowrap; overflow: hidden; }
.h-frow.hi { border-color: var(--ink); }
.h-frow.dash { border-style: dashed; color: var(--mut); }
.h-frow.k { background: var(--ink); border-color: var(--ink); color: #fff; justify-content: center; }
.h-frow.c { justify-content: center; }
.h-frow em { margin-left: auto; font-style: normal; padding: 3px 9px; border-radius: 8px; background: var(--acc); font-weight: 700; }
.h-frow u { margin-left: auto; text-decoration: none; color: var(--mut); font-weight: 500; }
.h-fqr { display: flex; align-items: center; gap: 16px; }
.h-fqr svg { flex: none; width: 96px; height: 96px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; fill: var(--ink); shape-rendering: crispEdges; }
.h-fqr b { display: block; font: 700 13.5px/18px Manrope; margin-top: 6px; word-break: break-all; }
/* Свой домен: карточка во всю ширину, справа строка проверки домена (vhome.js, /domain-check) */
.h-dom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 40px; padding: 26px 28px; }
.h-dom b, .h-dom p { margin-left: 0; margin-right: 0; } .h-dom b { margin-top: 0; font-size: 22px; line-height: 29px; }
.h-check { display: flex; gap: 10px; }
.h-check input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border: 1px solid #C5CAD3; border-radius: 14px; background: #fff; font: 600 16px/22px Manrope; outline: none; }
.h-check input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--acc); }
.h-check .h-btn[disabled] { opacity: .6; cursor: default; }
.h-res { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; font: 500 14.5px/22px Manrope; color: var(--mut); }
.h-res b { display: block; margin: 0; color: var(--ink); font: 700 15px/22px Manrope; letter-spacing: 0; }
.h-res.h-good b { color: #0E7A49; }
.h-dom .h-fhint { margin: 12px 0 0; font: 500 14px/20px Manrope; }
/* Кнопка под разделом главной: «Все шаги подробно» ведёт на /start, «Как подключить домен» на /domain */
.h-more { display: flex; justify-content: center; margin-top: 32px; }
/* Страницы «Быстрый старт» (/start) и «Свой домен» (/domain) в виде главной (владелец 2026-11-11, образец: tvoi-catalog.ru/start
   и /domain; VitrinaCabinet.quickStart, ownDomain). Заголовок страницы по центру; шаг инструкции: светлая карточка, слева
   номер, название и текст, справа схема из тех же строк, что в карточках функций. Схема шага растёт по содержимому: в ней
   бывает 3 строки, а в 158 точек карточки функции помещаются 2. */
.h-phead { text-align: center; padding: 72px 0 0; }
.h-phead h1 { max-width: 900px; margin: 0 auto; }
.h-phead .h-lead { color: var(--mut); font-size: 20px; line-height: 31px; margin: 24px auto 0; max-width: 640px; }
.h-sec.h-sec0 { padding-top: 8px; }
.h-ways { display: grid; gap: 20px; margin-top: 40px; }
.h-way { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: center; padding: 14px 14px 14px 32px; }
.h-way > div:first-child > em { font: 700 14px/20px Manrope; color: var(--mut); font-style: normal; }
.h-way > div:first-child > b { display: block; font: 700 22px/29px Manrope; letter-spacing: -0.02em; margin-top: 8px; }
.h-way > div:first-child > p { color: var(--mut); font-size: 16px; line-height: 25px; margin-top: 8px; }
.h-way .h-fpic { height: auto; min-height: 158px; }
.h-steps3 { grid-template-columns: repeat(3, 1fr); }
.h-end { text-align: center; }
.h-end .h-cta { justify-content: center; }
/* Раздел «Преимущества» главной и страницы преимуществ /advantages/<key> (владелец 2026-11-12; VitrinaCabinet.home,
   advantage; данные HOME_ADVS). На главной карточка целиком ссылка на страницу. На странице: две карточки сравнения
   «Обычно» и «На витрине мастера» (вторая белая с жёлтой рамкой), три карточки со схемами, ссылки на остальные
   преимущества. Метка «Скоро» у того, чего в кабинете ещё нет. */
a.h-fta { display: block; color: inherit; }
a.h-fta:hover { box-shadow: 0 0 0 2px var(--ink); }
.h-go { display: inline-block; margin: 12px 10px 0; font: 700 14px/20px Manrope; border-bottom: 2px solid var(--acc); }
.h-soon { display: inline-block; vertical-align: 2px; margin-left: 4px; padding: 2px 8px; border-radius: 8px; background: var(--acc); color: var(--ink);
  font: 700 11px/16px Manrope; letter-spacing: .04em; text-transform: uppercase; }
.h-chips2 { display: flex; justify-content: center; gap: 8px; }
.h-chip2 { background: var(--acc); color: var(--ink); } .h-chip2::before { display: none; }
.h-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.h-vs .h-ft { padding: 26px 28px 28px; }
.h-vs .h-ft > em { display: block; font: 700 12px/16px Manrope; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); font-style: normal; }
.h-vs .h-ft > p { margin: 10px 0 0; font: 600 18px/27px Manrope; color: var(--mut); }
.h-vs .h-our { background: #fff; box-shadow: inset 0 0 0 2px var(--acc); }
.h-vs .h-our > em, .h-vs .h-our > p { color: var(--ink); }
.h-vs + .h-fts { margin-top: 20px; }
.h-others { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.h-others a { padding: 10px 16px; border-radius: 12px; background: var(--soft); font: 600 15px/22px Manrope; }
.h-others a:hover { background: #ECEFF3; }
@media (max-width: 900px) {
  .h-fts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-dom { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .h-way { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 14px 14px; }
  .h-way > div:first-child { padding: 0 10px; }
}
@media (max-width: 760px) {
  .h-phead { padding-top: 32px; }
  .h-phead .h-lead { font-size: 17px; line-height: 26px; margin-top: 16px; }
  .h-sec.h-sec0 { padding-top: 0; }
  .h-ways { gap: 14px; margin-top: 26px; }
  .h-way > div:first-child > b { font-size: 19px; line-height: 26px; }
  .h-way > div:first-child > p { font-size: 15px; line-height: 23px; }
  .h-more { margin-top: 22px; } .h-more .h-btn { width: 100%; }
  .h-vs { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 26px; }
  .h-vs .h-ft { padding: 22px 20px; }
  .h-vs .h-ft > p { font-size: 16px; line-height: 24px; }
  .h-vs + .h-fts { margin-top: 14px; }
  .h-others { justify-content: flex-start; margin-top: 22px; }
}
.h-table { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.h-cell { padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-cell:nth-child(3n) { border-right: 0; } .h-cell:nth-last-child(-n+3) { border-bottom: 0; }
.h-cell b { display: block; font: 700 17px/23px Manrope; letter-spacing: -0.01em; }
.h-cell p { color: var(--mut); font-size: 15px; line-height: 23px; margin-top: 6px; }

.h-cols b { display: block; font: 700 19px/25px Manrope; letter-spacing: -0.02em; }
.h-cols p { color: var(--mut); font-size: 15px; line-height: 23px; margin-top: 8px; }

.h-price { margin-top: 40px; background: #F5F7FA; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.h-price .h-big { font: 700 52px/56px Manrope; letter-spacing: -0.035em; }
.h-price p { color: var(--mut); font-size: 18px; line-height: 27px; margin: 12px 0 28px; }
.h-price .h-btn { background: #FFD426; }
.h-price ul { list-style: none; }
.h-price li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid #E7E9EE; font: 600 16px/24px Manrope; }
.h-price li:last-child { border: 0; }
.h-price li::before { content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); margin-top: 6px; flex: none; }

.h-faq { margin: 32px auto 0; max-width: 760px; }
.h-faq details { border-bottom: 1px solid var(--line); }
.h-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 0; font: 600 18px/25px Manrope; letter-spacing: -0.01em; cursor: pointer; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; color: var(--mut); font: 400 26px/1 Manrope; }
.h-faq details[open] summary::after { content: "−"; }
.h-faq details p { color: var(--mut); font-size: 16px; line-height: 25px; padding: 0 40px 20px 0; }

.h-about { max-width: 700px; margin: 0 auto; text-align: center; }
.h-about p { color: var(--mut); font-size: 18px; line-height: 29px; margin-top: 16px; }
.h-about .h-sig { color: var(--ink); font: 700 16px/22px Manrope; margin-top: 22px; }

.h-foot { margin-top: 104px; padding: 28px 0 36px; color: var(--mut); font-size: 14px; border-top: 1px solid var(--line); }
/* Документы одной строкой: с ИНН подвалу на 1440 с промежутками макета (28 и 22) нужно 1199 точек из 1192, третий документ
   переносился (ISSUES.md №108). Промежутки 24 и 18: нужно 1183. Где места меньше, вниз уходит строка «ИНН · ©» целиком */
.h-foot .h-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; max-width: 1240px; }
.h-foot nav { display: flex; gap: 18px; flex: 1 1 auto; flex-wrap: wrap; }
.h-foot .h-logo { color: var(--ink); font-size: 17px; }
.h-foot span { white-space: nowrap; }

@media (max-width: 760px) {
  .h-in { padding: 0 16px; }
  .hm h1 { font-size: 36px; line-height: 41px; }
  .hm h2 { font-size: 28px; line-height: 34px; }
  .h-sub { font-size: 16px; line-height: 25px; }
  .h-top .h-in { height: 62px; gap: 10px; }
  .h-nav, .h-top .h-enter { display: none; }
  .h-logo { font-size: 17px; gap: 8px; } .h-logo svg { width: 30px; height: 30px; }
  .h-top .h-act > .h-btn { padding: 0 12px; font-size: 14px; height: 38px; border-radius: 11px; }
  .h-top .h-act > .h-btn span { display: none; }
  /* Меню открыто: «Создать витрину» стоит внизу листа, в шапке её не повторяем */
  .h-top .h-in:has(.h-menu[open]) .h-act > .h-btn[href="/create"] { display: none; }
  .h-menu > nav.h-mnav { max-height: calc(100vh - 62px); }
  .hm [id] { scroll-margin-top: 78px; }
  .h-hero { padding-top: 32px; }
  .h-chip { font-size: 13px; margin-bottom: 18px; }
  .h-hero .h-lead { font-size: 17px; line-height: 26px; margin-top: 16px; }
  .h-cta { flex-direction: column; gap: 10px; margin-top: 24px; }
  .h-sec { padding-top: 64px; }
  .h-g3 { grid-template-columns: 1fr; gap: 28px; margin-top: 26px; }
  .h-steps { grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
  .h-fts { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 26px; }
  .h-dom { margin-top: 26px; padding: 22px 20px; }
  .h-check { flex-direction: column; } .h-check input { flex: none; } .h-check .h-btn { width: 100%; }
  .h-table { grid-template-columns: 1fr; margin-top: 26px; border-radius: 20px; }
  .h-cell { padding: 20px; border-right: 0; }
  .h-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } .h-cell:last-child { border-bottom: 0; }
  .h-price { grid-template-columns: 1fr; padding: 26px 20px; gap: 22px; margin-top: 26px; border-radius: 22px; }
  .h-price .h-big { font-size: 36px; line-height: 40px; }
  .h-price p { font-size: 16px; line-height: 24px; margin-bottom: 20px; }
  .h-price .h-btn { width: 100%; }
  .h-price li { font-size: 15px; line-height: 22px; padding: 11px 0; }
  .h-faq summary { font-size: 16px; line-height: 23px; padding: 16px 0; }
  .h-faq details p { font-size: 15px; line-height: 23px; padding: 0 0 16px; }
  .h-foot span { order: 3; }
  .h-about p { font-size: 16px; line-height: 26px; }
  .h-foot { margin-top: 64px; }
  .h-foot .h-in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .h-foot nav { flex-direction: column; gap: 10px; }
}

/* Логотип Б (владелец 2026-11-10, картинка 115): жёлтая «В» в чёрном квадрате, «Витрина» жирно, «мастера» обычным */
.h-logo { font-weight: 500; }
.h-logo b { font-weight: 800; }
/* Вид В: первый экран в 2 колонки, справа окно «так витрину видит клиент» с прокруткой и работающими вопросами */
.h-hero { text-align: left; padding: 48px 0 0; }
.h-hero .h-in { max-width: 1160px; display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: center; }
.h-hero h1 { margin: 0; max-width: none; font-size: 60px; line-height: 66px; }
.h-hero .h-lead { margin: 22px 0 0; max-width: 520px; }
.h-cta { justify-content: flex-start; }
.h-try { display: flex; align-items: center; gap: 10px; margin-top: 44px; font: 600 15px/22px Manrope; }
.h-try::before { content: "→"; width: 34px; height: 34px; border-radius: 11px; background: var(--acc); display: flex; align-items: center; justify-content: center; font: 700 17px/1 Manrope; }
.h-win { height: 580px; border: 1px solid var(--line); border-radius: 28px; background: #fff; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 0 0 10px var(--soft); }
.h-win .h-wtop { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.h-win .h-wtop span { flex: 1; height: 32px; border-radius: 10px; background: var(--soft); font: 500 13px/32px Manrope; color: var(--mut); text-align: center; }
.h-win .h-wtop b { font: 700 12px/26px Manrope; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--ink); color: #fff; white-space: nowrap; }
.h-win .h-scroll { flex: 1; overflow-y: auto; padding: 16px 18px 20px; scrollbar-width: thin; scrollbar-color: #C9CED6 transparent; }
.h-win .h-ph { height: 190px; border-radius: 16px; background: var(--soft) center/cover; }
.h-win .h-wt { font: 700 20px/26px Manrope; letter-spacing: -0.02em; margin-top: 14px; }
.h-win .h-wp { font: 700 18px/24px Manrope; margin-top: 4px; } .h-win .h-wp small { font: 500 14px/20px Manrope; color: var(--mut); }
.h-win .h-wd { color: var(--mut); font-size: 14px; line-height: 21px; margin-top: 8px; }
.h-win .h-q { font: 700 14px/20px Manrope; margin-top: 20px; }
.h-win .h-q small { font-weight: 500; color: var(--mut); }
.h-win input[type=text] { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line); margin-top: 8px; padding: 0 14px; font: 600 15px/20px Manrope; color: var(--ink); outline: none; }
.h-win input[type=text]:focus { border-color: var(--ink); }
.h-win .h-chips { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.h-win .h-chips button { height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 600 14px/20px Manrope; color: var(--ink); cursor: pointer; }
.h-win .h-chips button.h-on { background: var(--acc); border-color: var(--acc); }
/* Счётчик «Сколько пар»: в макете он назывался как карточка «Четыре шага» (.step) и брал от неё отступ сверху 18 и блочную
   цифру, «− 1 +» стояли ниже рамки. Своё имя .h-cnt, от .h-step ничего не наследует. */
.h-win .h-cnt { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; height: 46px; }
.h-win .h-cnt button { width: 46px; height: 44px; border: 0; background: none; font: 600 20px/44px Manrope; cursor: pointer; color: var(--ink); padding: 0; }
.h-win .h-cnt b { min-width: 34px; text-align: center; font: 700 16px/44px Manrope; }
.h-win .h-hint { color: var(--mut); font-size: 13px; line-height: 19px; margin-top: 18px; }
.h-win .h-wbot { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
.h-win .h-wbot div { flex: 1; color: var(--mut); font: 500 12px/16px Manrope; }
.h-win .h-wbot div b { display: block; color: var(--ink); font: 700 22px/26px Manrope; letter-spacing: -0.02em; }
.h-win .h-wbot .h-btn { height: 48px; padding: 0 22px; border: 0; cursor: pointer; }
.h-win .h-done { display: none; }
/* Три вида витрины и «Клиент · Мастер» (владелец 2026-11-12, VitrinaCabinet.tryWindow): видна одна работа (.h-pane) по
   data-kind окна; у мастера вместо вопросов и нижней строки то, что он получит. Сверху два ряда переключателей. */
.h-win .h-wtop { flex-direction: column; align-items: stretch; gap: 8px; }
.h-win .h-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 3px; border-radius: 12px; background: var(--soft); }
.h-win .h-kinds button, .h-win .h-views button { height: 32px; border: 0; border-radius: 9px; background: none; font: 600 13.5px/20px Manrope; color: var(--mut); cursor: pointer; padding: 0 8px; white-space: nowrap; }
.h-win .h-kinds button.h-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(18,20,23,.12); }
.h-win .h-wrow { display: flex; align-items: center; gap: 8px; }
.h-win .h-wrow > span { flex: 1; min-width: 0; height: 32px; border-radius: 10px; background: var(--soft); font: 500 13px/32px Manrope; color: var(--mut); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 8px; }
.h-win .h-views { display: flex; gap: 2px; padding: 2px; border-radius: 10px; border: 1px solid var(--line); }
.h-win .h-views button { height: 26px; font-size: 12.5px; }
.h-win .h-views button.h-on { background: var(--ink); color: #fff; }
.h-win .h-pane { display: none; flex: 1; min-height: 0; flex-direction: column; }
.h-win[data-kind="order"] .h-pane[data-pane="order"], .h-win[data-kind="service"] .h-pane[data-pane="service"], .h-win[data-kind="ready"] .h-pane[data-pane="ready"] { display: flex; }
.h-win[data-view="master"] .h-form, .h-win[data-view="master"] .h-wbot { display: none; }
.h-win[data-view="master"] .h-done { display: block; }
/* Мастер: кнопки заказа в кабинете (для вида, не нажимаются) и день календаря с новой записью */
.h-win .h-acts { display: flex; gap: 8px; margin-top: 14px; }
.h-win .h-acts span { flex: 1; height: 38px; border-radius: 10px; border: 1px solid var(--line); font: 600 13px/36px Manrope; text-align: center; }
.h-win .h-cal { margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: var(--soft); }
.h-win .h-cal em { display: block; font: 700 12px/16px Manrope; font-style: normal; color: var(--mut); text-transform: uppercase; letter-spacing: .05em; }
.h-win .h-cal div { display: flex; gap: 10px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; font-size: 13.5px; line-height: 18px; }
.h-win .h-cal div span { font-weight: 700; min-width: 42px; }
.h-win .h-cal div.h-new { background: var(--acc); }
/* Все возможности витрины в окне (владелец 2026-11-12, server/src/main/resources/home/okno.html): у клиента два шага,
   витрина (.h-form) и «Мой заказ» (.h-my, data-step="my"); у мастера кабинет (.h-done). */
.h-win .h-my { display: none; }
.h-win[data-view="client"] .h-pane[data-step="my"] .h-form, .h-win[data-view="client"] .h-pane[data-step="my"] .h-wbot { display: none; }
.h-win[data-view="client"] .h-pane[data-step="my"] .h-my { display: block; }
.h-win .h-my h3 { font: 700 20px/26px Manrope; letter-spacing: -0.02em; margin-top: 12px; }
.h-win .h-ready { margin-top: 8px; font-size: 13.5px; line-height: 20px; color: var(--mut); } .h-win .h-ready b { color: var(--ink); }
.h-win .h-colors button { display: inline-flex; align-items: center; gap: 7px; }
.h-win .h-colors i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(18,20,23,.15); }
.h-win .h-chips button[disabled] { opacity: .45; cursor: default; text-decoration: line-through; }
.h-win .h-file { display: block; width: 100%; height: 44px; margin-top: 8px; border-radius: 12px; border: 1px dashed #C5CAD3; background: #fff; font: 600 14px/20px Manrope; color: var(--mut); cursor: pointer; }
.h-win .h-file.h-on { border-style: solid; color: var(--ink); background: var(--soft); }
.h-win textarea { width: 100%; margin-top: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); font: 500 14px/20px Manrope; color: var(--ink); resize: none; outline: none; }
.h-win .h-sep { margin-top: 22px; padding-top: 14px; border-top: 1px dashed var(--line); font: 700 12px/16px Manrope; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); }
.h-win .h-idea { margin-top: 18px; padding: 12px 14px; border-radius: 14px; border: 1px dashed #C5CAD3; font-size: 13.5px; line-height: 20px; color: var(--mut); } .h-win .h-idea b { color: var(--ink); }
.h-win .h-stages { display: flex; gap: 4px; margin-top: 12px; }
.h-win .h-stages i { flex: 1; font-style: normal; text-align: center; font: 600 11.5px/16px Manrope; color: var(--mut); padding-top: 8px; border-top: 3px solid var(--line); }
.h-win .h-stages i.on { color: var(--ink); border-top-color: var(--acc); }
.h-win .h-box { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: 13.5px; line-height: 20px; }
.h-win .h-box > b { display: block; font: 700 14.5px/20px Manrope; }
.h-win .h-box p { color: var(--mut); margin-top: 4px; }
.h-win .h-mini { display: block; width: 100%; height: 38px; margin-top: 10px; border: 0; border-radius: 10px; background: var(--acc); font: 700 13.5px/20px Manrope; color: var(--ink); cursor: pointer; }
.h-win .h-mini.g { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.h-win .h-mini[disabled] { background: #E3F2EA; box-shadow: none; color: #0E7A49; cursor: default; }
.h-win .h-two { display: flex; gap: 8px; } .h-win .h-two .h-mini { flex: 1; min-width: 0; }
.h-win .h-sketch { height: 110px; margin-top: 8px; border-radius: 10px; background: #fff center/cover; filter: grayscale(.4); }
.h-win .h-chat p { padding: 8px 10px; border-radius: 10px; margin-top: 8px; color: var(--ink); }
.h-win .h-chat p.m { background: #fff; margin-right: 30px; } .h-win .h-chat p.t { background: var(--acc); margin-left: 30px; }
.h-win .h-src { margin-top: 6px; font-size: 13px; line-height: 19px; color: var(--mut); }
.h-win .h-cal div.h-off { color: var(--mut); background: none; box-shadow: inset 0 0 0 1px var(--line); }
.h-win .h-badge { display: inline-flex; height: 28px; padding: 0 10px; border-radius: 9px; background: var(--acc); font: 700 13px/28px Manrope; }
.h-win .h-done h3 { font: 700 20px/26px Manrope; letter-spacing: -0.02em; margin-top: 12px; }
.h-win .h-r { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.h-win .h-r span { color: var(--mut); } .h-win .h-r b { font-weight: 700; text-align: right; }
.h-win .h-done .h-btn { width: 100%; margin-top: 18px; }
.h-win .h-again { display: block; text-align: center; margin-top: 14px; font: 600 14px/20px Manrope; color: var(--mut); text-decoration: underline; cursor: pointer; background: none; border: 0; width: 100%; }
/* Двум колонкам первого экрана нужно 960 точек: 24 + 420 (кнопки в ряд) + 72 + 420 (окно) + 24. Уже 1000 одна колонка,
   окно под текстом по центру; до этого на 768 и 900 окно вылезало за экран (ISSUES.md №110). Правила для телефона ниже */
@media (max-width: 999px) {
  .h-hero .h-in { grid-template-columns: 1fr; gap: 40px; }
  .h-win { max-width: 440px; margin: 0 auto; }
  .h-try::before { content: "↓"; }
}
@media (max-width: 760px) {
  .h-hero { padding-top: 24px; }
  .h-hero .h-in { grid-template-columns: 1fr; gap: 28px; }
  .h-hero h1 { font-size: 36px; line-height: 41px; }
  .h-hero .h-lead { margin-top: 14px; }
  .h-try { margin-top: 26px; }
  .h-try::before { content: "↓"; }
  .h-win { height: 560px; border-radius: 22px; box-shadow: 0 0 0 6px var(--soft); margin: 0 6px; max-width: none; }
}
/* От 761 до 1279 «Войти» и кнопка стоят в самой шапке: в меню их не повторяем */
@media (min-width: 761px) {
  .h-mbar { display: none; }
}
