/* ИИ-хакатон для команд. Слой лендинга поверх кита «Филина» (ui-kit, filin-theme, site, brand, premium).
   Кит не переписываем: здесь только раскладка блоков лендинга и сцена первого экрана.
   Контрольные значения: текст 16/1.65 #0A0C0D, фон #F7F9FC, заголовки 700 #152A3C −0.02em,
   кнопка #2A76B2 / #256AA0, r9, 14/500; карточки r20, обводка #DBE5ED; контейнер 1200, секции 72, шаг 4. */
:root{
  --hx-wine:#270C24;
  --hx-night:#101A25;
  --hx-edge:#DBE5ED;
  --hx-radius:20px;
  --hx-section:72px;
  --hx-on-wine:#EAD8E4;
  --hx-on-wine-muted:#D2B9C9;
}
body.hx{color:#0A0C0D}
.hx h1,.hx h2,.hx h3{letter-spacing:-.02em}
.hx .btn{font-size:14px;font-weight:500}
section{padding:var(--hx-section) 0}
.hx .head{margin-bottom:40px}

/* Доступность: элементы только для JS и запасной вариант без него */
.no-js .js-only{display:none!important}
.js .hx-nojs{display:none}
.hx-nojs{background:#fff;color:#0A0C0D;border-radius:var(--hx-radius);padding:28px;border:1px solid var(--hx-edge)}
.hx-nojs a{color:var(--site-text-action);text-decoration:underline}
:where(a,button,input,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--ui-color-p-60);outline-offset:3px}

/* Шапка */
.hx-product{display:flex;flex-direction:column;font-weight:700;font-size:15px;line-height:1.15;color:var(--site-heading);letter-spacing:-.01em}
.hx-product .brand-caption{font-weight:400;margin-top:2px}
.hx-nav .links{flex:1}
.hx-show-btn{padding-inline:16px!important}
.hx-show-btn[aria-pressed=true]{background:var(--ui-primary-container);color:var(--ui-on-primary-container)}

/* Первый экран */
.hx-hero.hero.dark{min-height:auto;padding:calc(var(--site-header-height) + 56px) 0 var(--hx-section);
  background:radial-gradient(900px 560px at 92% 10%,rgb(164 14 76 / .42),transparent 62%),radial-gradient(700px 520px at 0 100%,rgb(52 147 222 / .16),transparent 60%),var(--hx-wine);color:var(--hx-on-wine)}
.hx-hero .c{grid-template-columns:1fr 1.02fr;gap:56px}
.hx-hero h1{color:#fff;font-size:clamp(34px,4.2vw,56px)}
.hx-hero .kicker{color:var(--ui-color-p-80)}
.hx-hero .lead{color:var(--hx-on-wine);max-width:560px;margin:24px 0 24px}
.hx-facts{list-style:none;padding:0;margin:0 0 32px;display:flex;flex-wrap:wrap;gap:8px}
.hx-facts li{padding:6px 12px;border:1px solid rgb(240 216 226 / .28);border-radius:99px;font-size:14px;color:#fff}
.hx-hero-cta{gap:12px}

/* Живая сборка */
.hx-build{margin:0;min-width:0}
.hx-win{background:#fff;color:#0A0C0D;border-radius:16px;overflow:hidden;box-shadow:0 40px 80px -40px rgb(0 0 0 / .6),0 0 0 1px rgb(255 255 255 / .08);font-size:13px;line-height:1.45}
.hx-bar{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#EEF2F6;border-bottom:1px solid var(--hx-edge)}
.hx-dots{display:flex;gap:6px;flex:none}.hx-dots i{width:10px;height:10px;border-radius:50%;background:#CDD9E3}
.hx-addr{flex:1;min-width:0;display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--hx-edge);border-radius:8px;padding:4px 10px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12.5px;white-space:nowrap;overflow:hidden}
.hx-lock{flex:none;color:#2E7D4F;display:none}
.hx-env{flex:none;font-size:11.5px;font-weight:500;padding:3px 8px;border-radius:99px;background:#E7F2FB;color:#1D527C}
[data-addr-live],[data-env-live]{display:none}
.hx-panes{display:grid;grid-template-columns:1fr 1.15fr;min-height:300px}
.hx-chat{padding:16px;border-right:1px solid var(--hx-edge);background:#FBFCFD;display:flex;flex-direction:column;gap:10px}
.hx-label{font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:#536471}
.hx-prompt{margin:0;padding:10px 12px;border-radius:12px 12px 12px 4px;background:#E7F2FB;color:#0A0C0D;min-height:96px}
.hx-caret{display:inline-block;width:2px;height:1.1em;background:#2A76B2;vertical-align:-.15em;margin-left:1px;animation:hxBlink 1s steps(1) infinite}
@keyframes hxBlink{50%{opacity:0}}
.hx-log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:12.5px;color:#536471}
.hx-log li{display:flex;gap:8px;align-items:center;opacity:0;transform:translateY(4px);transition:opacity .35s,transform .35s}
.hx-log li:before{content:"";width:6px;height:6px;border-radius:50%;background:#A3B5C2;flex:none}
.hx-log li.on{opacity:1;transform:none}
.hx-log li.done:before{background:#2E7D4F}
.hx-app{position:relative;padding:16px}
.hx-skel{display:flex;flex-direction:column;gap:10px;transition:opacity .4s}
.hx-skel i{display:block;height:14px;border-radius:6px;background:#EEF2F6}.hx-skel i:nth-child(1){width:55%;height:18px}.hx-skel i:nth-child(2){width:90%}.hx-skel i:nth-child(3){width:75%}
.hx-made{position:absolute;inset:16px;opacity:0;transform:translateY(8px) scale(.98);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.hx-made b{display:block;font-size:15px;color:#152A3C;margin-bottom:10px}
.hx-fields{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}
.hx-fields span{padding:5px 8px;border:1px solid var(--hx-edge);border-radius:6px;color:#536471;font-size:12px}
.hx-fields .hx-go{background:#2A76B2;border-color:#2A76B2;color:#fff}
.hx-made table{width:100%;border-collapse:collapse;font-size:12px}
.hx-made th,.hx-made td{text-align:left;padding:5px 4px;border-bottom:1px solid #EEF2F6}
.hx-made th{color:#536471;font-weight:500}
.hx-build-cap{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:14px;font-size:13px;color:var(--hx-on-wine-muted)}
.hx-replay{flex:none;color:#fff;font-size:13px;font-weight:500;padding:6px 12px;border-radius:9px;border:1px solid rgb(240 216 226 / .35)}
.hx-replay:hover{background:rgb(255 255 255 / .08)}
/* Кадры сцены */
.hx-build[data-stage="1"] .hx-skel,.hx-build[data-stage="2"] .hx-skel,.hx-build[data-stage="3"] .hx-skel{opacity:0}
.hx-build[data-stage="1"] .hx-made,.hx-build[data-stage="2"] .hx-made,.hx-build[data-stage="3"] .hx-made{opacity:1;transform:none}
.hx-build[data-stage="3"] [data-addr-local],.hx-build[data-stage="3"] [data-env-local]{display:none}
.hx-build[data-stage="3"] [data-addr-live],.hx-build[data-stage="3"] [data-env-live]{display:inline}
.hx-build[data-stage="3"] .hx-lock{display:block}
.hx-build[data-stage="3"] .hx-env{background:#E3F4EA;color:#1E5C38}
.hx-build[data-stage="3"] .hx-addr{animation:hxAddr .6s var(--ease)}
.hx-build[data-stage="3"] .hx-caret{display:none}
@keyframes hxAddr{from{box-shadow:0 0 0 3px rgb(46 125 79 / .35)}to{box-shadow:0 0 0 0 transparent}}

/* Разрыв */
.hx-gap{padding:var(--hx-section) 0;background:#fff;border-bottom:1px solid var(--hx-edge)}
.hx-gap-text{max-width:880px;margin:0;font-size:clamp(20px,2vw,26px);line-height:1.5;color:#152A3C;letter-spacing:-.01em}
.hx-gap-text strong{font-weight:700}

/* Появление при прокрутке */
.js [data-reveal]{opacity:0;transform:translateY(16px);transition:opacity .6s var(--ease),transform .6s var(--ease);transition-delay:calc(var(--i,0) * 80ms)}
.js [data-reveal].in{opacity:1;transform:none}

/* Программа: лестница */
.hx-ladder{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;align-items:end}
.hx-rung{background:#fff;border:1px solid var(--hx-edge);border-radius:var(--hx-radius);padding:20px;display:flex;flex-direction:column;box-shadow:var(--premium-soft-shadow)}
.hx-rung:nth-child(1){min-height:340px}.hx-rung:nth-child(2){min-height:380px}.hx-rung:nth-child(3){min-height:420px}.hx-rung:nth-child(4){min-height:460px}.hx-rung:nth-child(5){min-height:500px}
.hx-rung-demo{background:var(--hx-night);border-color:var(--hx-night);color:#E8F0F7}
.hx-rung-demo h3{color:#fff}.hx-rung-demo dt{color:#BFCDDA}
.hx-rung-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:12px}
.hx-step{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--brand-supplier)}
.hx-rung-demo .hx-step{color:var(--ui-color-p-80)}
.hx-time{font-size:13px;color:#536471}.hx-rung-demo .hx-time{color:#BFCDDA}
.hx-rung h3{font-size:19px;margin-bottom:12px}
.hx-rung dl{margin:auto 0 0;font-size:14.5px;line-height:1.55}
.hx-rung dt{font-size:12px;font-weight:500;color:#536471;margin-top:10px}
.hx-rung dd{margin:2px 0 0}
.hx-rung dt:last-of-type{color:var(--brand-supplier)}
.hx-rung-demo dt:last-of-type{color:var(--ui-color-p-80)}
.hx-format{margin:24px 0 0;font-size:15px;color:#536471}

/* Работы */
.hx-work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hx-work{background:#fff;border:1px solid var(--hx-edge);border-radius:var(--hx-radius);overflow:hidden;display:flex;flex-direction:column}
.hx-work img{aspect-ratio:16/10;object-fit:cover;width:100%;border-bottom:1px solid var(--hx-edge)}
.hx-work-body{padding:20px;display:flex;flex-direction:column;gap:6px;flex:1}
.hx-work-body h3{font-size:19px}
.hx-work-origin{font-size:12px;color:var(--brand-supplier);font-weight:500;margin:0}
.hx-work-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:#536471;margin:0 0 8px}
.hx-work .btn{margin-top:auto;align-self:flex-start}
.hx-viewer{width:min(1200px,calc(100vw - 32px));height:min(820px,calc(100vh - 32px));padding:0;border:0;border-radius:var(--hx-radius);overflow:hidden;box-shadow:0 40px 100px -30px rgb(0 0 0 / .6)}
.hx-viewer::backdrop{background:rgb(16 26 37 / .72)}
.hx-viewer[open]{display:flex;flex-direction:column}
.hx-viewer-bar{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--hx-edge)}
.hx-viewer-bar h2{font-size:17px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hx-close{width:40px;height:40px;border-radius:9px;font-size:24px;line-height:1}
.hx-close:hover{background:#EEF2F6}
.hx-viewer-frame{flex:1;min-height:0;background:#F7F9FC;display:flex}
.hx-viewer-frame iframe{border:0;width:100%;height:100%}
.hx-viewer-frame img{margin:auto;max-height:100%;object-fit:contain}

/* Что остаётся */
.hx-keep{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.hx-keep li{border:1px solid rgb(232 240 247 / .14);border-radius:var(--hx-radius);padding:20px;display:flex;flex-direction:column;gap:6px;background:rgb(255 255 255 / .03)}
.hx-keep b{color:#fff;font-size:17px}
.hx-keep span{color:var(--site-muted-on-dark);font-size:14.5px}
.hx-caveat{margin:28px 0 0;padding-left:16px;border-left:3px solid var(--brand-supplier);color:#E8F0F7;font-size:17px;max-width:720px}

/* Как проходит */
.hx-phases{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hx-phase,.hx-venue,.hx-qa-item,.hx-person,.hx-org,.hx-plan{background:#fff;border:1px solid var(--hx-edge);border-radius:var(--hx-radius);padding:24px}
.hx-phase ul,.hx-venue ul,.hx-plan ul{margin:12px 0 0;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.hx-phase a,.hx-org a,.hx-src a,.hx-compare a:not(.btn){color:var(--site-text-action);text-decoration:underline;text-underline-offset:3px}
.hx-venue{margin-top:16px}
.hx-venue h3{font-size:19px}
.hx-venue ul{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 32px}

/* Данные и доступы */
.hx-qa{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.hx-qa-item h3{font-size:19px;margin-bottom:8px}
.hx-qa-item p{margin:0}

/* Кто ведёт */
.hx-lead-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}
.hx-person h3,.hx-org h3{font-size:22px}
.hx-role{color:#536471;margin:4px 0 12px}
.hx-src{font-size:13px;color:#536471;margin:12px 0 0}
.hx-mentors{margin:12px 0 0}
.hx-logos{margin:32px 0 0}
.hx-logos figcaption{font-size:13px;color:#536471;margin-bottom:12px}
.hx-logos ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(8,1fr);gap:8px}
.hx-logos li{background:#fff;border:1px solid var(--hx-edge);border-radius:12px;padding:10px;display:flex;align-items:center;justify-content:center;min-height:84px}
.hx-logos img{max-height:56px;width:auto;object-fit:contain}

/* Стоимость */
.hx-plans{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.hx-plan h3{font-size:22px}
.hx-price{font-size:28px;font-weight:700;color:#152A3C;margin:8px 0 0;letter-spacing:-.02em}
.hx-compare{margin-top:16px;display:flex;gap:24px;align-items:center;justify-content:space-between;padding:20px 24px;border-radius:var(--hx-radius);background:var(--ui-primary-container);color:var(--ui-on-primary-container)}
.hx-compare p{margin:0;max-width:820px}

/* Вопросы */
.hx .faq summary{font-size:18px;display:block;position:relative;padding-right:40px;hyphens:auto;overflow-wrap:break-word}
.hx .faq summary:after{position:absolute;right:0;top:0}

/* Заявка */
#start .cta{background:radial-gradient(800px 400px at 90% 0,rgb(164 14 76 / .45),transparent),var(--hx-night);border-radius:var(--hx-radius)}
.hx-path{margin:20px 0 0;padding-left:22px;display:flex;flex-direction:column;gap:8px;color:var(--site-muted-on-dark)}
.form textarea.inp{resize:vertical;min-height:84px;padding-top:12px;font:inherit}
.hx-hint{display:block;font-size:12.5px;color:#536471;margin-top:4px}
.form .q{border:0;padding:0}
.form .ql{display:block;font-size:14px;font-weight:500;color:#152A3C;margin-bottom:8px}
[data-form-success] h3{font-size:24px;margin-bottom:8px}
[data-form-success] p{margin:0 0 12px}

/* Подвал */
.hx-foot-mail{margin:16px 0 0}
.hx-foot-mail a{color:var(--site-text-action)}

/* Cookies */
.hx-cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:560px;margin-left:auto;display:flex;gap:16px;align-items:center;padding:14px 16px;background:#fff;border:1px solid var(--hx-edge);border-radius:16px;box-shadow:0 20px 48px -24px rgb(15 35 52 / .35);font-size:14px}
.hx-cookie[hidden]{display:none}
.hx-cookie p{margin:0}
.hx-cookie a{color:var(--site-text-action);text-decoration:underline}

/* Допущения ТЗ. Видны только в черновике (?draft или не на боевом домене). Проверка выпуска не пускает их на прод. */
.draft .tbd,.draft .tbd-block{outline:2px dashed #E08A00;outline-offset:2px;background:rgb(255 196 0 / .16);border-radius:4px}
.draft .tbd:after,.draft .tbd-block:after{content:" ⟨вопрос " attr(data-q) "⟩";font-size:11px;font-weight:500;color:#B36B00;white-space:nowrap}
.draft .hx-rung-demo.tbd-block,.draft .dark .tbd-block{background:rgb(255 196 0 / .12)}
.draft .dark .tbd:after,.draft .dark .tbd-block:after,.draft .hx-hero .tbd:after{color:#FFC34D}

/* Режим показа: экран на блок, стрелки, F — весь экран */
.show-mode{scroll-snap-type:y mandatory;overflow-y:auto}
.show-mode body{overflow:visible}
.show-mode [data-slide]{min-height:100vh;scroll-snap-align:start;display:flex;align-items:center;padding-block:calc(var(--site-header-height) + 24px) 48px}
.show-mode [data-slide]>.c{width:min(1200px,calc(100% - 48px))}
.show-mode .hx-cookie{display:none}
.show-mode [data-reveal]{opacity:1;transform:none}
.hx-show-hud{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:60;display:flex;gap:16px;align-items:center;padding:8px 16px;border-radius:99px;background:rgb(16 26 37 / .88);color:#E8F0F7;font-size:13px}
.hx-show-hud[hidden]{display:none}
.hx-show-keys{color:#BFCDDA}

/* Форматы по масштабу */
.hx-formats{background:#fff;border-top:1px solid var(--hx-edge);border-bottom:1px solid var(--hx-edge)}
.hx-format a{color:var(--site-text-action);text-decoration:underline;text-underline-offset:3px}
.hx-scale{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;align-items:stretch}
.hx-scale-card{border:1px solid var(--hx-edge);border-radius:var(--hx-radius);padding:24px;display:flex;flex-direction:column;gap:8px;background:#F7F9FC;position:relative;overflow:hidden}
.hx-scale-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--ui-color-p-80)}
.hx-scale-card:nth-child(2):before{background:var(--ui-color-p-60)}
.hx-scale-card:nth-child(3):before{background:var(--ui-color-p-30)}
.hx-scale-big:before{background:var(--brand-supplier)}
.hx-scale-n{margin:0;color:#536471;font-size:14px}
.hx-scale-n b{display:block;font-size:34px;line-height:1.1;color:#152A3C;letter-spacing:-.02em}
.hx-scale-card h3{font-size:20px}
.hx-scale-card p{margin:0;font-size:15px}
.hx-scale-out{margin-top:auto!important;padding-top:12px;border-top:1px solid var(--hx-edge)}
.hx-scale-out span{display:block;font-size:12px;font-weight:500;color:var(--brand-supplier)}
.hx-durations{margin-top:16px;border:1px solid var(--hx-edge);border-radius:var(--hx-radius);padding:24px;background:#F7F9FC}
.hx-durations h3{font-size:19px;margin-bottom:12px}
.hx-dur-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hx-dur-grid b{display:block;color:#152A3C;margin-bottom:4px}
.hx-dur-grid p{margin:0;font-size:15px;color:#3A4E5D}

/* Площадка и техника */
.hx-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hx-mode{background:#fff;border:1px solid var(--hx-edge);border-radius:var(--hx-radius);padding:24px}
.hx-mode-all{background:var(--hx-wine);border-color:var(--hx-wine);color:var(--hx-on-wine)}
.hx-mode-all h3{color:#fff}
.hx-mode h3{font-size:22px}
.hx-mode-sub{margin:4px 0 16px;color:#536471}
.hx-mode-all .hx-mode-sub{color:var(--hx-on-wine-muted)}
.hx-mode dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:10px 16px;font-size:15px}
.hx-mode dt{color:#536471;font-size:13px;padding-top:2px}
.hx-mode-all dt{color:var(--hx-on-wine-muted)}
.hx-mode dd{margin:0}
.hx-it-note{margin:20px 0 0;max-width:820px;color:#3A4E5D}
.hx-venue-sub{margin:4px 0 0;color:#536471;font-size:15px}

/* Конфигуратор */
.hx-conf{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hx-conf-in{background:#fff;border:1px solid var(--hx-edge);border-radius:var(--hx-radius);padding:24px;display:flex;flex-direction:column;gap:20px}
.hx-conf-l{display:flex;justify-content:space-between;align-items:baseline;font-size:14px;font-weight:500;color:#152A3C;margin-bottom:8px;width:100%}
.hx-conf-l output{font-size:28px;font-weight:700;color:var(--site-text-action);letter-spacing:-.02em}
.hx-conf input[type=range]{width:100%;accent-color:var(--ui-color-p-30);height:28px}
.hx-conf-scale{position:relative;height:18px;font-size:12px;color:#536471;margin:0 8px}
.hx-conf-scale span{position:absolute;left:calc(var(--at) / 16 * 100%);transform:translateX(-50%);white-space:nowrap}
.hx-conf-row.q{display:flex;flex-wrap:wrap;gap:0}
.hx-conf-out{background:var(--hx-night);color:#E8F0F7;border-radius:var(--hx-radius);padding:28px;display:flex;flex-direction:column;gap:12px}
.hx-conf-kicker{margin:0;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--ui-color-p-80)}
.hx-conf-out h3{color:#fff;font-size:28px}
.hx-conf-out p{margin:0}
.hx-conf-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:8px 0 12px;font-size:14.5px}
.hx-conf-cols b{color:#fff;font-size:13px}
.hx-conf-cols ul{margin:6px 0 0;padding-left:18px;color:#BFCDDA;display:flex;flex-direction:column;gap:4px}
.hx-conf-out .btn{margin-top:auto;align-self:flex-start}
#pricing .hx-nojs{margin-bottom:16px}

@media(max-width:1100px){
  .hx-scale{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:1020px){
  .hx-modes,.hx-conf{grid-template-columns:1fr}
  .hx-dur-grid{grid-template-columns:1fr;gap:12px}
}
@media(max-width:600px){
  .hx-scale{grid-template-columns:1fr}
  .hx-conf-cols{grid-template-columns:1fr}
  .hx-conf-out .btn{align-self:stretch}
}

.hx-dur-note{margin:16px 0 0;font-weight:500;color:#152A3C}
.hx-conf-row.hx-off{opacity:.4;pointer-events:none}
.hx-foot-mail a{line-height:1.9}

/* Карточки пакетов «Площадка и техника» */
.hx-packs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;align-items:stretch}
.hx-pack{background:#fff;border:1px solid var(--hx-edge);border-radius:var(--hx-radius);padding:24px;display:flex;flex-direction:column;box-shadow:var(--premium-soft-shadow);transition:transform .25s var(--ease),box-shadow .25s}
.hx-pack:hover{transform:translateY(-3px);box-shadow:0 20px 40px -24px rgb(15 35 52 / .28)}
.hx-pack-main{background:var(--hx-wine);border-color:var(--hx-wine);color:var(--hx-on-wine)}
.hx-pack-tag{align-self:flex-start;margin:0 0 14px;padding:4px 10px;border-radius:99px;font-size:12px;font-weight:500;background:var(--ui-primary-container);color:var(--ui-on-primary-container)}
.hx-pack-main .hx-pack-tag{background:var(--brand-supplier);color:#fff}
.hx-pack h3{font-size:21px;margin-bottom:6px}
.hx-pack-main h3{color:#fff}
.hx-pack-sub{margin:0 0 16px;font-size:14.5px;color:#536471}
.hx-pack-main .hx-pack-sub{color:var(--hx-on-wine-muted)}
.hx-pack-l{margin:0 0 6px;font-size:12px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:#536471}
.hx-pack-main .hx-pack-l{color:var(--hx-on-wine-muted)}
.hx-pack ul{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:6px;font-size:14.5px;line-height:1.45}
.hx-pack li{position:relative;padding-left:24px}
.hx-pack-in li:before{content:"";position:absolute;left:2px;top:4px;width:12px;height:7px;border-left:2px solid #2E7D4F;border-bottom:2px solid #2E7D4F;transform:rotate(-45deg)}
.hx-pack-main .hx-pack-in li:before{border-color:#8FD6A8}
.hx-pack-you li:before{content:"";position:absolute;left:3px;top:7px;width:8px;height:8px;border-radius:50%;border:2px solid #A3B5C2}
.hx-pack-you{color:#3A4E5D}
.hx-pack-main .hx-pack-you{color:var(--hx-on-wine)}
.hx-pack-foot{margin-top:auto;padding-top:16px;border-top:1px solid var(--hx-edge);display:flex;flex-direction:column;gap:12px}
.hx-pack-main .hx-pack-foot{border-top-color:rgb(240 216 226 / .18)}
.hx-pack-price{margin:0;font-weight:500;color:#152A3C}
.hx-pack-main .hx-pack-price{color:#fff}
.hx-pack-foot .btn{width:100%;justify-content:center}
.hx .hx-pack-main .btn{background:#fff!important;background-image:none!important;color:var(--hx-wine)!important;box-shadow:none}
.hx .hx-pack-main .btn:after{display:none}
.hx .hx-pack-main .btn:hover:not(:disabled){background:var(--ui-color-p-90)!important}
@media(max-width:1100px){.hx-packs{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.hx-packs{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hx-pack{transition:none}.hx-pack:hover{transform:none}}

/* Нам доверяют */
.hx-trust{background:#fff;border-top:1px solid var(--hx-edge);border-bottom:1px solid var(--hx-edge)}
.hx-trust-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.hx-trust-item{margin:0;display:flex;flex-direction:column;gap:10px;align-items:stretch}
.hx-trust-logo{height:112px;border:1px solid var(--hx-edge);border-radius:16px;background:#F7F9FC;display:flex;align-items:center;justify-content:center;padding:14px}
.hx-trust-logo img{max-height:76px;max-width:100%;width:auto;height:auto;object-fit:contain}
.hx-trust-item figcaption{font-size:13.5px;line-height:1.35;color:#3A4E5D;text-align:center}
@media(max-width:1020px){.hx-trust-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.hx-trust-grid{grid-template-columns:repeat(2,1fr)}.hx-trust-logo{height:96px}}

/* Выравнивание: ступени программы одной высоты, карточки тянутся по высоте ряда */
.hx-ladder{align-items:stretch}
.hx-rung:nth-child(n){min-height:0}
.hx-rung dl{margin-top:auto}
.hx-lead-grid,.hx-phases,.hx-qa,.hx-scale,.hx-packs,.hx-keep{align-items:stretch}

@media(min-width:1101px){@supports(grid-template-rows:subgrid){
  .hx-ladder{grid-template-rows:auto auto 1fr;row-gap:0}
  .hx-rung{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0}
  .hx-rung dl{margin-top:0}
}}

/* Точки перелома: 1100, 1020, 600, 360 */
@media(max-width:1100px){
  .hx-show-btn{display:none}
  .hx-ladder{grid-template-columns:repeat(3,1fr);align-items:stretch}
  .hx-rung:nth-child(n){min-height:0}
  .hx-logos ul{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:1020px){
  .hx-hero .c{grid-template-columns:1fr;gap:40px}
  .hx-build{max-width:640px}
  .hx-phases{grid-template-columns:1fr}
  .hx-lead-grid{grid-template-columns:1fr}
  .hx-work-grid{grid-template-columns:repeat(2,1fr)}
  .hx-compare{flex-direction:column;align-items:flex-start}
  #start .cta{grid-template-columns:1fr}
}
@media(max-width:600px){
  :root{--hx-section:56px}
  .hx-hero.hero.dark{padding-top:calc(var(--site-header-height) + 32px)}
  .hx-hero h1{font-size:32px}
  .hx-panes{grid-template-columns:1fr;min-height:0}
  .hx-chat{border-right:0;border-bottom:1px solid var(--hx-edge)}
  .hx-prompt{min-height:84px}
  .hx-app{min-height:200px}
  .hx-env{display:none}
  .hx-ladder,.hx-qa,.hx-plans,.hx-work-grid{grid-template-columns:1fr}
  .hx-venue ul{grid-template-columns:1fr}
  .hx-logos ul{grid-template-columns:repeat(2,1fr)}
  .hx-build-cap{flex-direction:column;align-items:flex-start}
  .hx-cookie{flex-direction:column;align-items:flex-start;left:8px;right:8px;bottom:8px}
  .hx-show-hud{display:none}
}
@media(max-width:360px){
  .hx-hero h1{font-size:28px}
  .hx .faq summary{font-size:16px}
  .hx-hero-cta .btn{width:100%}
  .hx-phase,.hx-venue,.hx-qa-item,.hx-person,.hx-org,.hx-plan,.hx-rung{padding:18px}
}

@media(prefers-reduced-motion:reduce){
  .js [data-reveal]{opacity:1;transform:none;transition:none}
  .hx-caret{animation:none}
  .hx-made,.hx-skel,.hx-log li{transition:none}
  .hx-build[data-stage="3"] .hx-addr{animation:none}
  html{scroll-behavior:auto}
}
@media print{
  .nav,.mnav,.hx-cookie,.hx-show-hud,#start form{display:none!important}
  .js [data-reveal]{opacity:1;transform:none}
}

/* Страницы документов */
.hx-doc-main{padding:calc(var(--site-header-height) + 48px) 0 var(--hx-section)}
.hx-doc-main .c{max-width:760px}
.hx-doc-main h1{font-size:clamp(28px,3vw,40px);margin-bottom:24px}
.hx-doc-note{color:#536471}
.hx-doc-org{margin-top:40px;font-size:14px;color:#536471}
.hx-doc-main a{color:var(--site-text-action);text-decoration:underline}
