/* ─────────────────────────────────────────────────────────────────────────
   ai-tm.ru — стили сайта на дизайн-системе кабинета.
   Токены — tokens.css. Компоненты названы так же, как в app.css кабинета
   (.btn, .panel, .plan, .step, .proof, .mint, .qa, .why …), чтобы сайт и
   кабинет читались одним продуктом и правились одинаково.

   Правила те же, что в кабинете:
   · у каждого блока заголовок и одна строка «зачем это» (.why);
   · одно главное действие на экране (.btn-primary), остальное — обычные кнопки;
   · карточки 16 px, кнопки и поля 12 px; красный только для просрочки и ошибок.
   ───────────────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent-mark); outline-offset: 2px; }
p { margin: 0 0 .75em; }
code { font: .9em var(--mono); background: var(--surface-sunk); padding: 1px 5px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; margin: 0; color: var(--ink); }
h1 { font-size: var(--t-h1); line-height: 1.15; letter-spacing: -.03em; }
h2 { font-size: 1.6rem; line-height: 1.2; }
h3 { font-size: var(--t-h3); line-height: 1.35; }

.num, .mono { font-variant-numeric: tabular-nums; }
.label, .eyebrow { font: 500 var(--t-label)/1.3 var(--sans); color: var(--ink-muted); margin: 0; }
.lede { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-muted); max-width: 62ch; margin: 0 0 1.25rem; }
.hint { font-size: var(--t-small); color: var(--ink-muted); }
/* «зачем это»: одна строка под заголовком блока */
.why { font-size: var(--t-small); line-height: 1.45; color: var(--ink-muted); margin: 6px 0 0; max-width: 72ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden;
                   clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--paper);
             padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); }
.skip-link:focus { top: 12px; }

/* ─── кнопки ─── */
button, .btn {
  font: 500 .9375rem/1.2 var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); min-height: var(--tap); padding: 8px 18px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
button:hover, .btn:hover { border-color: var(--ink-subtle); background: var(--surface); color: var(--ink); }
button[disabled] { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1rem; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); border-color: transparent; color: var(--accent-hover); }
.btn-light { background: #fff; border-color: #fff; color: var(--night); }
.btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--night); }
.btn-block { width: 100%; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 24px; }

/* ─── поля ─── */
label { font-size: var(--t-small); font-weight: 500; color: var(--ink); }
input[type=text], input[type=email], input[type=number], textarea, select {
  font: var(--t-body) var(--sans); min-height: var(--tap); padding: 9px 12px; width: 100%;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none;
                                            box-shadow: 0 0 0 3px var(--accent-soft); }
::placeholder { color: var(--ink-subtle); opacity: 1; }

/* ─── каркас ─── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
main { display: block; padding-bottom: clamp(3rem, 6vw, 5rem); }
.section { padding: clamp(2.75rem, 6vw, 5rem) 0 0; }
.section-head { margin-bottom: 24px; display: flex; align-items: flex-end;
                justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.section-head > div { min-width: 0; max-width: 760px; }
.section-head .actions { margin-top: 0; }

.hero { padding: clamp(2.25rem, 5vw, 4rem) 0 0; }
.hero h1 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em;
           max-width: 20ch; margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--ink-muted); }
.hero .lede { max-width: 56ch; }
.hero .actions { margin-top: 4px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.hero-proof { border-top: 1px solid var(--line); padding-top: 14px; margin: 26px 0 0;
              font: 500 var(--t-label)/1.7 var(--sans); color: var(--ink-muted); }
.page-head { padding: clamp(2.25rem, 5vw, 3.5rem) 0 0; }
.page-head h1 { margin: 10px 0 12px; max-width: 26ch; }
.page-head .lede { margin-bottom: 0; }
.crumbs { font-size: var(--t-small); color: var(--ink-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ─── шапка ─── */
.site-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent);
            backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
            border-bottom: 1px solid var(--line); }
.site-top__in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { font: 700 1.3rem/1 var(--sans); letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent-mark); }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; gap: 2px; align-items: center; margin-right: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: var(--radius-sm);
              color: #36536a; text-decoration: none; font-weight: 500; font-size: .9375rem; }
.site-nav a:hover { color: var(--ink); background: var(--paper); }
.site-nav a[aria-current] { color: var(--ink); background: var(--accent-soft); font-weight: 600; }
.site-top__end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; gap: 6px; font: 500 var(--t-label)/1 var(--sans); color: var(--ink-subtle); }
.lang a { color: var(--ink-subtle); text-decoration: none; padding: 6px 2px; }
.lang a[aria-current] { color: var(--ink); font-weight: 600; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; min-height: 44px; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease); }
.site-top.is-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.site-top.is-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ─── подвал ─── */
.site-foot { border-top: 1px solid var(--line); background: var(--paper); margin-top: clamp(3rem, 6vw, 5rem);
             padding: 32px 0 28px; font-size: var(--t-small); color: var(--ink-muted); }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.site-foot h2 { font: 600 var(--t-label)/1.3 var(--sans); color: var(--ink); letter-spacing: 0; margin: 0 0 10px; }
.site-foot p { margin: 10px 0 0; max-width: 44ch; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 30px; color: var(--ink-muted); text-decoration: none; }
.site-foot li a:hover { color: var(--accent); }
.site-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
                    border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; font-size: var(--t-label); }
.site-foot__legal nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-foot__legal a { color: var(--ink-muted); }

/* ─── карточки ─── */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 22px; }
.panel h3 { margin-bottom: 6px; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.grid2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.grid3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid4 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.list { margin: 0; padding: 0 0 0 18px; font-size: var(--t-small); color: var(--ink-muted); }
.list li { margin-bottom: 6px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: var(--t-small); }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px;
                     border-left: 2px solid var(--accent-mark); border-bottom: 2px solid var(--accent-mark); transform: rotate(-45deg); }

.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 3px 10px;
        border-radius: 999px; font: 500 .8125rem/1.2 var(--sans); white-space: nowrap;
        background: var(--surface-sunk); color: var(--ink-muted); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill.ok { background: var(--accent-soft); color: var(--accent); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.plain::before { display: none; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip { font: 500 var(--t-label)/1 var(--sans); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-muted); background: var(--paper); }

/* шаги */
.steps-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.step-no { font: 600 var(--t-label)/1 var(--sans); color: var(--accent); }
.step h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.step p { margin: 0; font-size: var(--t-small); color: var(--ink-muted); }

/* цифры-доказательства */
.proof { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.proof > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; }
.proof-v { font: 600 var(--t-metric)/1 var(--sans); letter-spacing: -.03em; }
.proof-v.crit { color: var(--crit); }
.proof-k { margin-top: 8px; font-size: var(--t-small); color: var(--ink-muted); max-width: 28ch; }

/* скриншот в рамке окна */
.shot { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-sunk); overflow: hidden;
        box-shadow: 0 1px 2px rgba(8,43,66,.05), 0 12px 32px rgba(8,43,66,.07); margin: 0; }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.shot-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.shot-url { margin-left: 10px; font: 500 var(--t-label)/1 var(--sans); color: var(--ink-subtle); }
.shot img { display: block; width: 100%; height: auto; }
.figcap { margin-top: 10px; font-size: var(--t-label); color: var(--ink-muted); }

/* мятный блок: данные и безопасность */
.mint { background: var(--surface-mint); border-radius: var(--radius-md); padding: clamp(1.5rem, 4vw, 3rem); }
.mint .lede { color: var(--ink); }
.cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 20px; }
.col h3 { margin: 0 0 6px; font-size: 1rem; }
.col p { margin: 0; font-size: var(--t-small); line-height: 1.6; color: var(--ink-muted); }

/* тёмный блок */
.box-dark { background: var(--night); color: #fff; border-radius: var(--radius-md); padding: clamp(1.5rem, 4vw, 2.5rem); }
.box-dark h2, .box-dark h3 { color: #fff; }
.box-dark .label, .box-dark .why, .box-dark .lede { color: var(--on-night); }

/* вопросы */
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.qa summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--accent); flex: none; }
.qa details[open] summary::after { content: "–"; }
.qa p, .qa details > div { margin: 10px 0 0; font-size: var(--t-small); color: var(--ink-muted); }
.qa p { max-width: 72ch; }

/* строки с номером сбоку */
.rows { border-top: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.srow-no { font: 500 var(--t-label)/1.6 var(--sans); color: var(--ink-subtle); }
.srow h3 { margin: 0 0 4px; font-size: 1.05rem; }
.srow p { margin: 0; font-size: var(--t-small); color: var(--ink-muted); max-width: 70ch; }
.srow-v { font-weight: 600; white-space: nowrap; text-align: right; }

/* ─── главная: первый экран, демо-сводка ─── */
.hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
             box-shadow: 0 1px 2px rgba(8,43,66,.05), 0 16px 40px rgba(8,43,66,.08); overflow: hidden; }
.hero-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.hero-card__body { padding: 20px; display: grid; gap: 16px; }
.hero-num { font: 600 clamp(2.25rem, 1.6rem + 2.2vw, 3rem)/1 var(--sans); letter-spacing: -.035em; margin: 6px 0 4px; }
.kind-rows { display: grid; gap: 12px; }
.kind-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: var(--t-small); }
.kind-row b { font-weight: 600; white-space: nowrap; }
.kind-row small { grid-column: 1 / -1; color: var(--ink-subtle); font-size: var(--t-label); }
.kind-bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--surface-sunk); overflow: hidden; }
.kind-bar i { display: block; height: 100%; background: var(--accent-mark); border-radius: 999px; }
.kind-bar i.crit { background: var(--crit); }
.hero-card__foot { padding: 12px 20px; border-top: 1px solid var(--line); background: var(--surface); font-size: var(--t-label); color: var(--ink-muted); }

/* что находит */
.finds { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.find.cta { background: var(--surface-mint); border-color: var(--surface-mint); justify-content: space-between; }
.find.cta .btn { align-self: flex-start; }
.find { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.find h3 { font-size: 1.05rem; }
.find p { margin: 0; font-size: var(--t-small); color: var(--ink-muted); }
.find .src { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: var(--t-label); color: var(--ink-subtle); }

/* продукты */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.tile { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius-md);
        background: var(--paper); padding: 20px 22px; text-decoration: none; color: inherit; transition: border-color .2s var(--ease); }
a.tile:hover { border-color: var(--accent); color: inherit; }
.tile.muted { background: none; }
.tile-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile-ico { width: 40px; height: 40px; border-radius: var(--radius-xs); background: var(--accent-soft); color: var(--accent);
            display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.tile-ico svg { width: 22px; height: 22px; }
.tile-ico img { width: 100%; height: 100%; object-fit: cover; }
.tile h3 { font-size: 1.125rem; margin-top: 6px; }
.tile p { margin: 0; font-size: var(--t-small); color: var(--ink-muted); }
.tile-go { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--accent); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ─── тарифы ─── */
.price-line + .price-line { margin-top: clamp(2.5rem, 5vw, 4rem); }
.deals { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.deal { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.deal.start { border: 2px solid var(--accent); padding: 21px; }
.deal-name { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; font-size: 1.0625rem; }
.deal-price { font: 600 1.75rem/1.2 var(--sans); letter-spacing: -.02em; margin: 12px 0 2px; }
.deal-price small { font: 400 .9375rem var(--sans); color: var(--ink-muted); letter-spacing: 0; }
.deal-sub { font-size: var(--t-small); color: var(--ink-muted); margin: 0 0 14px; }
.deal .checks { margin-bottom: 16px; }
.deal-facts { margin: 0 0 18px; border-top: 1px solid var(--line); }
.deal-facts div { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.deal-facts dt { font: 500 var(--t-label)/1.3 var(--sans); color: var(--ink-muted); margin-bottom: 2px; }
.deal-facts dd { margin: 0; }
.deal-foot { margin-top: auto; }
.deal-foot .btn { width: 100%; }

.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.plan { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.plan.free { background: var(--surface-mint); border-color: var(--surface-mint); }
.plan-name { font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.plan-price { font: 600 1.6rem/1.2 var(--sans); letter-spacing: -.02em; margin: 10px 0 2px; }
.plan-price small { font: 400 .9375rem var(--sans); color: var(--ink-muted); letter-spacing: 0; }
.plan-lim { font-size: var(--t-small); color: var(--ink-muted); margin: 0 0 12px; }
.plan .checks { margin-bottom: 18px; }
.plan-foot { margin-top: auto; }
.plan-foot .btn { width: 100%; }
.note { padding: 14px 18px; background: var(--accent-soft); border-radius: var(--radius-sm); font-size: var(--t-small); margin: 16px 0 0; }
.note b { font-weight: 600; }

/* ─── форма заявки ─── */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(18px, 3vw, 28px); }
.form-card h3 { margin-bottom: 14px; }
.form { display: grid; gap: 12px; }
.form .two { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { display: grid; gap: 6px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--crit); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; font-weight: 400; line-height: 1.45; color: var(--ink-muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.consent.is-invalid { color: var(--crit); }
.form-error { margin: 0; font-size: .875rem; color: var(--crit); }
.form-status { margin: 0; font-size: var(--t-small); }
.form-status[data-state="success"], .form-status.ok { color: var(--accent); font-weight: 600; }
.form-status[data-state="error"], .form-status.err { color: var(--crit); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-ways { display: grid; gap: 8px; margin-top: 24px; max-width: 440px; }
.after { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: a; }
.after li { counter-increment: a; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--t-small); color: var(--ink-muted); }
.after li::before { content: counter(a); width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: #fff;
                    display: inline-flex; align-items: center; justify-content: center; font: 600 .875rem/1 var(--sans); }
.after b { display: block; color: var(--ink); font-weight: 600; }
.contact-ways a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line);
                  border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); text-decoration: none; }
.contact-ways a:hover { border-color: var(--accent); }
.contact-ways b { font-weight: 600; }
.contact-ways small { color: var(--ink-muted); margin-left: auto; }

/* ─── /1c ─── */
.asks { display: grid; gap: 0 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border-top: 1px solid var(--line); }
.ask { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ask b { font-weight: 600; }
.ask .pill { margin-left: 8px; vertical-align: 1px; }
.ask p { margin: 4px 0 0; font-size: var(--t-small); color: var(--ink-muted); }
.chat-shots { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.chat-shots figure { margin: 0; }
.chat-shots img { width: 100%; height: auto; display: block; border-radius: var(--radius-md); border: 1px solid var(--line); }

/* ─── /stroyka: калькулятор ─── */
.c-grid { display: grid; gap: 20px; align-items: start; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.c-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 22px; }
.c-card h3 { margin-bottom: 10px; }
.c-field { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 4px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.c-field:first-of-type { border-top: 0; padding-top: 0; }
.c-field label { margin: 0; font-weight: 500; line-height: 1.3; }
.c-hint { grid-column: 1 / -1; font-size: var(--t-label); color: var(--ink-muted); line-height: 1.4; }
.c-num { font: 500 1rem var(--sans); text-align: right; background: var(--surface); }
.c-tg { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.c-tg-k { font-size: var(--t-small); color: var(--ink-muted); margin-bottom: 6px; }
.c-seg { display: flex; padding: 4px; gap: 4px; background: var(--surface-sunk); border-radius: 13px; }
.c-seg button { flex: 1; border: 0; background: transparent; border-radius: 10px; color: #36536a; min-height: calc(var(--tap) - 8px); }
.c-seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(8,43,66,.08); }
.c-reset { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--accent); min-height: 36px; }
.c-reset:hover { background: none; color: var(--accent-hover); }
.c-result { background: var(--night); color: #fff; border-radius: var(--radius-md); padding: 22px 24px; }
.c-lead { font-size: 1.125rem; line-height: 1.5; margin: 0 0 16px; }
.c-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-kpi { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); min-width: 0; }
.c-kpi:nth-child(odd) { padding-right: 16px; }
.c-kpi:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.16); }
.c-kpi .k { font-size: var(--t-small); color: var(--on-night); }
.c-kpi .v { font: 600 clamp(1.4rem, 1rem + 1.2vw, 1.9rem)/1.15 var(--sans); letter-spacing: -.02em; margin-top: 4px; white-space: nowrap; }
.c-kpi .v small { font-size: .55em; font-weight: 500; color: var(--on-night); letter-spacing: 0; }
.c-kpi .d { font-size: var(--t-label); color: var(--on-night); margin-top: 4px; line-height: 1.35; }
.c-pay { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); font-size: var(--t-small); color: var(--on-night); }
.c-result .btn { margin-top: 16px; }
.c-chart { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 18px 10px; margin-top: 20px; }
.c-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: var(--t-small); color: var(--ink-muted); margin: 6px 0 8px; }
.c-legend i { display: inline-block; width: 12px; height: 3px; vertical-align: middle; margin-right: 6px; border-radius: 2px; }
.c-chart svg text { fill: var(--ink-muted); font: 12px var(--sans); }
.c-more { margin-top: 20px; }
.c-tbl { overflow-x: auto; }
.c-tbl table { width: 100%; border-collapse: collapse; min-width: 600px; margin-top: 12px; }
.c-tbl th { font: 500 var(--t-label) var(--sans); color: var(--ink-muted); text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.c-tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.c-tbl .n { text-align: right; font-weight: 600; white-space: nowrap; }
.c-tbl .how { color: var(--ink-muted); }
.c-tbl tfoot td { border-top: 1px solid var(--ink); border-bottom: 0; font-weight: 600; }
.c-adv { display: grid; gap: 0 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 8px; }
.c-adv h4 { grid-column: 1 / -1; margin: 16px 0 0; font: 600 var(--t-label)/1.3 var(--sans); color: var(--ink-muted); letter-spacing: 0; }
.c-adv .c-field { grid-template-columns: minmax(0, 1fr) 110px; }
.c-adv .c-field:first-of-type { border-top: 1px solid var(--line); padding-top: 12px; }
.c-adv .c-field label { font-weight: 400; }
.c-later { color: var(--accent); font-size: var(--t-label); }
.c-defs { display: grid; gap: 18px 32px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.c-defs h4 { margin: 0 0 6px; font-size: 1rem; }
.c-defs p { margin: 0; }
.lead-sum { font-size: var(--t-small); color: var(--ink-muted); background: var(--surface); border: 1px solid var(--line);
            border-radius: var(--radius-sm); padding: 12px 14px; line-height: 1.55; }
.src-note { font-size: var(--t-label); color: var(--ink-muted); line-height: 1.6; margin-top: 16px; }

/* ─── страница модуля ─── */
.mod-io { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.facts-card { display: grid; gap: 10px; }
.facts-card .tile-top { margin-bottom: 4px; }
.person { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.ava { width: 56px; height: 56px; border-radius: 999px; background: var(--night); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }

/* ─── телефон и планшет ─── */
@media (max-width: 1100px) {
  .site-nav a { padding: 0 9px; }
  .site-top__in { gap: 18px; }
}
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .c-grid { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .site-nav, .site-top__end .lang, .site-top__end .btn { display: none; }
  .site-top__end { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .site-top__in { min-height: 58px; }
  /* absolute, а не fixed: у шапки backdrop-filter, и fixed-потомок считался бы от неё */
  .mobile-menu { display: block; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 58px); height: calc(100dvh - 58px);
                 z-index: 19; background: var(--surface); border-top: 1px solid var(--line);
                 padding: 12px 16px 32px; overflow-y: auto; visibility: hidden; opacity: 0;
                 transition: opacity 180ms ease, visibility 0s linear 180ms; }
  .site-top.is-open .mobile-menu { visibility: visible; opacity: 1; transition: opacity 180ms ease; }
  .mobile-menu nav:not(.lang) { display: grid; gap: 2px; }
  .mobile-menu nav:not(.lang) a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: var(--radius-sm);
                       color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
  .mobile-menu nav:not(.lang) a[aria-current] { background: var(--accent-soft); font-weight: 600; }
  .mobile-menu .actions { margin-top: 16px; }
  .mobile-menu .actions .btn { flex: 1 1 100%; }
  .mobile-menu .lang { display: flex; gap: 18px; margin-top: 18px; padding-left: 12px; font-size: var(--t-small); }
  .mobile-menu .lang a { padding: 10px 0; }
  body.menu-open { overflow: hidden; }

  h2 { font-size: 1.35rem; }
  .section-head { margin-bottom: 18px; }
  .hero .actions > .btn { flex: 1 1 auto; }
  .srow { grid-template-columns: 28px minmax(0, 1fr); }
  .srow-v { grid-column: 2; text-align: left; }
  .deal, .plan, .panel, .step, .find, .tile { padding: 18px; }
  .deal.start { padding: 17px; }
}
@media (max-width: 560px) {
  .site-foot__grid { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .proof > div { padding: 14px 16px; }
  .c-field { grid-template-columns: minmax(0, 1fr) 104px; }
  .c-kpis { grid-template-columns: 1fr; }
  .c-kpi:nth-child(even) { padding-left: 0; border-left: 0; }
  .c-kpi:nth-child(odd) { padding-right: 0; }
  .contact-ways small { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lead-form { max-width: 640px; margin-top: 22px; }
/* /1c: экран кабинета, собранный вёрсткой */
.onec-mock { background: var(--surface); padding: clamp(16px, 3vw, 28px); }
.onec-mock__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.onec-mock__head h3 { font-size: 1.35rem; }
.onec-mock__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.onec-mock__total { font: 600 1.25rem/1.3 var(--sans); margin: 6px 0 10px; }
.onec-mock__total small { font-size: .8125rem; font-weight: 400; color: var(--ink-muted); }
.onec-mock__rows { font-size: var(--t-small); border-top: 1px solid var(--line); }
.onec-mock__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.onec-mock__rows span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onec-mock__rows b { font-weight: 600; white-space: nowrap; }
.onec-mock__crit { margin: 10px 0 0; font-size: .8125rem; color: var(--crit); }
.chat-shots { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 380px)); }

/* ═══════════ главная: тёмный первый экран, лента находок (вариант А, 27.10) ═══════════ */
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .site-top { background: var(--night); border-bottom-color: rgba(255,255,255,.08); backdrop-filter: none; -webkit-backdrop-filter: none; }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .site-top .brand { color: #fff; }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .site-top .brand span { color: var(--on-night-mark); }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .site-nav a { color: var(--on-night); }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .site-top__end .lang a { color: var(--on-night-faint); }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .site-top__end .lang a[aria-current] { color: #fff; }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .site-top__end .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .site-top__end .btn:hover { border-color: #fff; }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .menu-toggle { background: transparent; border-color: rgba(255,255,255,.3); }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .menu-toggle span { background: #fff; }
.home { padding-bottom: 0; }

.btn-mark { background: var(--on-night-mark); border-color: var(--on-night-mark); color: var(--night); font-weight: 600; }
.btn-mark:hover { background: var(--on-night-mark-hover); border-color: var(--on-night-mark-hover); color: var(--night); }
.btn-onnight { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.btn-onnight:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }

.home-hero { background: var(--night); color: #fff; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px 64px; align-items: center;
                   padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.home-hero__eyebrow { margin: 0 0 16px; font-weight: 500; color: var(--on-night-mark); }
.home-hero h1 { color: #fff; font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.03; letter-spacing: -.04em; font-weight: 700; max-width: 13ch; }
.home-hero__lede { margin: 20px 0 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.5; color: var(--on-night); max-width: 30em; }
.home-hero .actions { margin-top: 30px; }
.home-hero__proof { margin: 26px 0 0; font-size: var(--t-label); color: var(--on-night-faint); }

.feed { display: grid; gap: 10px; }
.feed__head { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-label); color: var(--on-night-faint); padding: 0 4px; }
.feed__badge { display: inline-flex; align-items: center; gap: 6px; }
.feed__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-night-mark); }
.feed-item { background: #fff; color: var(--ink); border-radius: var(--radius-md); padding: 15px 18px; display: flex; gap: 14px; align-items: flex-start; }
.feed-item:first-of-type { box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.feed-item__ico { width: 38px; height: 38px; border-radius: var(--radius-xs); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.feed-item__ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feed-item__ico--crit { background: var(--crit-bg); color: var(--crit); }
.feed-item__ico--money { background: var(--accent-soft); color: var(--accent); }
.feed-item__ico--warn { background: var(--warn-bg); color: var(--warn); }
.feed-item__body { flex: 1; min-width: 0; }
.feed-item__top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.feed-item__top b { font-weight: 600; }
.feed-item__value { font-size: 1.15rem; white-space: nowrap; }
.feed-item__value.is-crit { color: var(--crit); }
.feed-item__tag { font-size: var(--t-label); font-weight: 600; color: var(--warn); background: var(--warn-bg); padding: 2px 10px; border-radius: 999px; }
.feed-item p { margin: 3px 0 0; font-size: var(--t-label); color: var(--ink-muted); line-height: 1.45; }
.feed__total { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
               background: rgba(255,255,255,.08); border-radius: var(--radius-md); padding: 14px 18px; }
.feed__total span { color: var(--on-night); font-size: var(--t-small); }
.feed__total b { font-size: 1.75rem; letter-spacing: -.02em; }

.facts-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts-strip__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 40px; padding-top: 26px; padding-bottom: 26px; }
.facts-strip b { display: block; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); letter-spacing: -.03em; font-weight: 700; }
.facts-strip span { font-size: var(--t-small); color: var(--ink-muted); }

.home-section { padding-top: clamp(4rem, 9vw, 7rem); }
.home-h2 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem); letter-spacing: -.035em; line-height: 1.08; max-width: 18em; }
.home-why { margin: 14px 0 0; font-size: 1.15rem; color: var(--ink-muted); max-width: 40em; }
.home-note { margin: 16px 0 0; font-size: var(--t-label); color: var(--ink-subtle); }
.home-section .section-head { align-items: flex-end; margin-bottom: 0; }

.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; margin-top: 36px; }
.place { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.place h3 { margin: 18px 0 6px; font-size: 1.3rem; }
.place p { margin: 0; color: var(--ink-muted); line-height: 1.5; }
.place .place__cap { margin-top: 12px; font-size: var(--t-label); font-weight: 600; color: var(--ink); }
.place__art { height: 64px; }
.place__art--bars { display: flex; align-items: flex-end; gap: 6px; }
.place__art--bars span { flex: 1; background: var(--accent-soft); border-radius: 4px 4px 0 0; }
.place__art--bars span.is-mark { background: var(--accent-mid); }
.place__art--bars span.is-crit { background: var(--crit); }
.place__legend { display: flex; justify-content: space-between; gap: 6px; margin-top: 6px; font-size: .75rem; color: var(--ink-subtle); }
.place__legend span { flex: 1; text-align: center; }
.place__art--meter { display: flex; align-items: center; }
.meter { display: block; width: 100%; height: 12px; border-radius: 999px; background: var(--surface-sunk); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--accent-mark); }
.meter i.is-crit { background: var(--crit); }
.meter i.is-warm { background: var(--accent-warm); }
.place__art--doc { border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--surface); padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.place__art--doc span { display: block; height: 6px; border-radius: 3px; background: var(--line-strong); }
.place__art--doc span.is-crit { background: var(--crit-soft); }

.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; margin-top: 36px; }
.compare__col { background: var(--surface-sunk); border-radius: var(--radius-md); padding: 28px; }
.compare__col--after { background: var(--night); color: #fff; }
.compare__label { margin: 0 0 16px; font-weight: 600; color: var(--ink-muted); }
.compare__col--after .compare__label { color: var(--on-night-mark); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 1.1rem; line-height: 1.45; }
.compare li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.compare li::before { content: "—"; color: var(--ink-subtle); font-weight: 600; }
.compare__col--after li::before { content: "✓"; color: var(--on-night-mark); font-weight: 700; }

.timeline { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--accent); }
.timeline li { padding: 0 24px 0 0; }
.timeline__dot { display: flex; width: 36px; height: 36px; margin-top: -19px; border-radius: 50%; background: var(--accent); color: #fff;
                 align-items: center; justify-content: center; font-weight: 600; }
.timeline li:last-child .timeline__dot { background: var(--on-night-mark); color: var(--night); }
.timeline__when { margin: 14px 0 4px; font-size: var(--t-label); color: var(--ink-subtle); }
.timeline h3 { margin: 0 0 6px; font-size: 1.3rem; }
.timeline p { margin: 0; color: var(--ink-muted); line-height: 1.5; }

.ways { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 32px; }
.way { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.way--main { border: 2px solid var(--accent); padding: 27px; }
.way__eyebrow { margin: 0; font-weight: 600; color: var(--ink-muted); }
.way--main .way__eyebrow { color: var(--accent); }
.way h3 { font-size: 1.75rem; letter-spacing: -.025em; }
.way p { margin: 0; line-height: 1.5; color: var(--ink-muted); font-size: 1.05rem; }
.way .way__price { margin-top: 6px; color: var(--ink-muted); }
.way__price b { font-size: 1.9rem; letter-spacing: -.02em; color: var(--ink); margin-right: 6px; }
.way--main .actions, .way--main > div { margin-top: 10px; }
.way__foot { margin-top: auto; padding-top: 10px; font-weight: 600; }
.way__foot a { text-decoration: none; }

.home-cta { background: var(--night); color: #fff; border-radius: 24px; padding: clamp(1.5rem, 4vw, 3.5rem); display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.home-cta h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); letter-spacing: -.035em; line-height: 1.1; }
.home-cta > div > p { margin: 16px 0 0; color: var(--on-night); font-size: 1.1rem; line-height: 1.5; }

@media (max-width: 960px) {
  .home-hero__grid, .home-cta, .ways { grid-template-columns: 1fr; }
  .facts-strip__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--accent); margin-left: 18px; gap: 24px; }
  .timeline li { padding: 0 0 0 26px; position: relative; }
  .timeline__dot { position: absolute; left: -19px; top: 0; margin: 0; }
  .timeline__when { margin-top: 6px; }
  .home-hero .actions > .btn { flex: 1 1 100%; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Главная v4 (27.10): все сервисы, видео кабинета, направления, цифры.
   Полосы фона чередуются, чтобы блоки не сливались: тёмная → светлая →
   белая → мятная → белая → светлая → тёмная. Кнопки — одна система:
   на карточках «Подробнее», в блоке «бесплатно» — «Начать бесплатно».
   ───────────────────────────────────────────────────────────────────────── */
.hm { padding-bottom: 0; }
body[data-page-kind="home"] .site-foot { margin-top: 0; }
.hm-band { padding: clamp(4rem, 8vw, 6.75rem) 0; }
.hm-band--short { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.hm-band--light { background: var(--surface); }
.hm-band--white { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-band--flush { border-top: 0; }
.hm-band--mint { background: var(--surface-mint); }
.hm-band--night { background: var(--night); color: #fff; }
.hm-eyebrow { margin: 0 0 10px; font-size: var(--t-label); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-mark); }

.hm-mark { width: 3.1rem; height: 3.1rem; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent);
           display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hm-mark svg { width: 1.55rem; height: 1.55rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-mark--night { background: rgba(143, 208, 213, .14); color: var(--on-night-mark); width: 2.3rem; height: 2.3rem; border-radius: 9px; }
.hm-mark--night svg { width: 1.2rem; height: 1.2rem; }

/* первый экран */
.hm-hero { background: var(--night); color: #fff; }
.hm-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px 56px; align-items: center;
                 padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hm-hero h1 { color: #fff; font-size: clamp(2.6rem, 1.4rem + 3.4vw, 4.6rem); line-height: 1.03; letter-spacing: -.045em; font-weight: 700; }
.hm-hero__lede { margin: 22px 0 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.5; color: var(--on-night); max-width: 30em; }
.hm-hero .actions { margin-top: 32px; }
.hm-hero__cap { margin: 12px 4px 0; font-size: var(--t-label); color: var(--on-night-faint); display: flex; align-items: center; gap: 8px; }
.hm-live { width: 8px; height: 8px; border-radius: 50%; background: var(--on-night-mark); flex: none; animation: hm-pulse 2s ease-in-out infinite; }
@keyframes hm-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(143, 208, 213, .6); } 50% { box-shadow: 0 0 0 6px rgba(143, 208, 213, 0); } }

.hm-frame { margin: 0; border-radius: 18px; overflow: hidden; background: var(--paper); border: 1px solid rgba(255, 255, 255, .14);
            box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.hm-frame--light { border-color: var(--line); box-shadow: 0 1px 2px rgba(8, 43, 66, .05), 0 24px 48px rgba(8, 43, 66, .12); }
.hm-frame__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--surface-sunk); border-bottom: 1px solid var(--line); }
.hm-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.hm-frame__bar span { margin-left: 10px; font-size: .85rem; color: var(--ink-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: var(--surface); }

.hm-ticker { overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0;
             -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
             mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.hm-ticker__track { display: flex; gap: 12px; width: max-content; animation: hm-marquee 46s linear infinite; }
.hm-ticker:hover .hm-ticker__track { animation-play-state: paused; }
.hm-tick { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .06);
           border: 1px solid rgba(255, 255, 255, .08); font-size: var(--t-small); white-space: nowrap; }
.hm-tick small { color: var(--on-night-faint); font-size: var(--t-label); }
@keyframes hm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* направления и карточки */
.hm-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.hm-chip { font: 500 1.05rem/1 var(--sans); min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong);
           background: var(--paper); color: var(--ink); gap: 8px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; cursor: pointer; }
a.hm-chip:hover { border-color: var(--accent); color: var(--accent); }
.hm-chip small { font-size: .85rem; color: var(--ink-subtle); }
.hm-chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.hm-chip[aria-pressed="true"] small { color: var(--on-night-mark); }
.hm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 28px; }
.hm-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.hm-card[hidden] { display: none; }
.hm-card__top { display: flex; align-items: center; gap: 12px; }
.hm-card__dir { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-mark); }
.hm-card__name { display: block; font-size: 1.07rem; font-weight: 600; }
.hm-card h3 { font-size: clamp(1.35rem, 1.2rem + .4vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; }
.hm-screen { background: var(--surface); border-radius: 14px; padding: 12px; display: grid; gap: 6px; min-height: 9rem; align-content: center; }
.hm-line { background: var(--paper); border-radius: 10px; padding: 9px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .93rem; }
.hm-line b { white-space: nowrap; }
.hm-line b.is-crit { color: var(--crit); }
.hm-line b.is-ok { color: var(--accent); }
.hm-line--stack { display: grid; justify-content: stretch; gap: 4px; }
.hm-line--stack small { color: var(--ink-subtle); font-size: .85rem; }
.hm-line__row { display: flex; justify-content: space-between; }
.hm-tag { justify-self: start; display: inline-flex; align-items: center; font-size: .8rem; line-height: 1.2; font-weight: 600; color: var(--crit); background: var(--crit-bg); padding: 4px 10px; border-radius: 999px; }
.hm-bubble { justify-self: start; background: var(--paper); padding: 8px 12px; border-radius: 14px 14px 14px 4px; font-size: .93rem; }
.hm-bubble--me { justify-self: end; background: var(--accent); color: #fff; border-radius: 14px 14px 4px 14px; }
.hm-voice__btn { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hm-voice__btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.hm-voice__wave { flex: 1; height: 16px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--accent-mid) 0 3px, transparent 3px 6px); }
.hm-pills { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.hm-pills span { font-size: .8rem; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.hm-progress { height: 6px; border-radius: 999px; background: var(--surface-sunk); overflow: hidden; margin-top: 4px; }
.hm-progress i { display: block; height: 100%; background: var(--accent-warm); }
.hm-stages { display: flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; }
.hm-stages span { flex: 1 1 auto; background: var(--paper); border-radius: 10px; padding: 12px 6px; text-align: center; }
.hm-stages span.is-now { background: var(--accent-soft); outline: 1px solid var(--accent-mark); }
.hm-stages i { width: 6px; height: 2px; background: var(--accent-mark); flex: none; }
.hm-metric { margin: 0; font-size: var(--t-small); color: var(--ink-muted); }
.hm-metric b { color: var(--ink); }
.hm-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hm-price { font-size: var(--t-small); }
.hm-price span { color: var(--ink-subtle); }

/* зачем бизнесу: графики */
.hm-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 32px; }
.hm-why__card { background: var(--surface); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.hm-why__title { font-size: 1.2rem; }
.hm-why__sub { margin: 4px 0 0; font-size: var(--t-small); color: var(--ink-muted); }
.hm-why__text { margin: 0; font-size: 1.05rem; color: var(--ink-muted); line-height: 1.5; }
.hm-big { font-size: clamp(2.4rem, 1.8rem + 1.6vw, 3.15rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.hm-stack { display: flex; height: 18px; border-radius: 999px; overflow: hidden; gap: 3px; }
.tone-accent { background: var(--accent); }
.tone-mid { background: var(--accent-mid); }
.tone-warm { background: var(--accent-warm); }
.hm-legend { display: grid; gap: 8px; font-size: var(--t-small); }
.hm-legend div { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.hm-legend i { width: 12px; height: 12px; border-radius: 4px; }
.hm-legend b { white-space: nowrap; }
.hm-note { margin: auto 0 0; font-size: .85rem; color: var(--ink-subtle); line-height: 1.45; }
.hm-vs { display: grid; gap: 14px; }
.hm-vs__row { display: grid; gap: 6px; font-size: var(--t-small); }
.hm-vs__bar { display: grid; grid-template-columns: minmax(0, 1fr) 7rem; gap: 10px; align-items: center; font-size: .93rem; color: var(--ink-muted); }
.hm-vs__bar span { height: 10px; border-radius: 999px; }
.hm-vs__bar .is-before { background: var(--line-strong); }
.hm-vs__bar .is-after { background: var(--accent); min-width: 10px; }
.hm-vs__bar b { color: var(--accent); }
.hm-funnel { display: grid; gap: 8px; }
.hm-funnel div { border-radius: 12px; padding: 11px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: var(--t-small); min-width: 9.5rem; }
.hm-funnel b { font-size: 1.6rem; letter-spacing: -.03em; }
.hm-funnel .step-1 { background: var(--accent-soft); }
.hm-funnel .step-2 { background: var(--accent-mid); }
.hm-funnel .step-3 { background: var(--accent); color: #fff; }
.hm-grow { transform-origin: left center; transition: transform 1.1s var(--ease); }
.hm-grow.is-waiting { transform: scaleX(0); }
.hm-stack .hm-grow:nth-child(2), .hm-funnel .hm-grow:nth-child(2) { transition-delay: .15s; }
.hm-stack .hm-grow:nth-child(3), .hm-funnel .hm-grow:nth-child(3) { transition-delay: .3s; }

/* бесплатно */
.hm-free { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 32px; }
.hm-free__tile { background: var(--paper); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(7, 89, 104, .12); }
.hm-free__big { font-size: 1.85rem; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.hm-free__note { font-size: var(--t-small); color: var(--ink-muted); }
.hm-free__tile .btn { margin-top: auto; width: 100%; }

/* кейс */
.hm-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.hm-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 24px; }
.hm-stats b { display: block; font-size: 2.2rem; letter-spacing: -.03em; }
.hm-stats span { font-size: var(--t-small); color: var(--ink-muted); }

/* доверие */
.hm-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.hm-trust > div { display: flex; gap: 14px; }
.hm-trust b { font-size: 1.2rem; }
.hm-trust p { margin: 6px 0 0; color: var(--ink-muted); line-height: 1.5; }

/* финальный призыв */
.hm-final { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.hm-final__who { display: flex; gap: 24px; align-items: center; flex: 1 1 520px; min-width: 0; }
.hm-final__who img { width: 96px; height: 96px; object-fit: cover; border-radius: 18px; flex: none; }
.hm-final h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.7rem); letter-spacing: -.035em; line-height: 1.12; }
.hm-final p { margin: 10px 0 0; font-size: 1.2rem; color: var(--on-night); line-height: 1.5; }

@media (max-width: 960px) {
  .hm-hero__grid, .hm-case { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hm-hero .actions > .btn { flex: 1 1 100%; }
  .hm-final__who { flex-direction: column; align-items: flex-start; }
  .hm-final .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-ticker__track, .hm-live { animation: none; }
  .hm-grow { transition: none; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Внутренние страницы (27.10, вечер): те же полосы, значки и карточки, что
   на главной. Светлая шапка страницы → полосы фона → тёмный призыв.
   ───────────────────────────────────────────────────────────────────────── */
.hm-band--top0 { padding-top: clamp(2.5rem, 5vw, 4rem); }
.hm-mark--muted { background: var(--surface-sunk); color: var(--ink-subtle); }
.pg-hero { background: var(--surface); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.pg-hero h1 { font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 700; max-width: 18ch; }
.pg-lead { margin: 20px 0 0; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--ink-muted); max-width: 40em; }
.pg-hero .actions { margin-top: 28px; }
.pg-hero .hm-card__top { margin-bottom: 18px; }
.pg-crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: var(--t-small); color: var(--ink-subtle); margin-bottom: 22px; }
.pg-crumbs a { color: var(--ink-muted); text-decoration: none; }
.pg-crumbs a:hover { color: var(--accent); }
.pg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 8px; }
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px 56px; align-items: center; }
.pg-split--hero { align-items: center; }
.pg-split--price { align-items: start; }
.pg-screen-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 1px 2px rgba(8, 43, 66, .05), 0 24px 48px rgba(8, 43, 66, .10); }
.pg-screen-card .hm-screen { min-height: 15rem; padding: 18px; gap: 10px; }
.pg-screen-card .hm-line { font-size: 1rem; padding: 12px 14px; }

.pg-facts { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pg-facts__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 20px 40px; padding-top: 28px; padding-bottom: 28px; }
.pg-facts b { display: block; font-size: clamp(1.5rem, 1.2rem + .9vw, 2.1rem); letter-spacing: -.03em; font-weight: 700; }
.pg-facts span { font-size: var(--t-small); color: var(--ink-muted); }

.pg-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; counter-reset: none; }
.pg-steps li { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.pg-steps__no { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--night); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 6px; }
.pg-steps b { font-size: 1.15rem; }
.pg-steps p { margin: 0; color: var(--ink-muted); line-height: 1.5; }

.pg-points { display: grid; gap: 20px; margin-top: 28px; }
.pg-points--grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px 32px; }
.pg-points > div { display: flex; gap: 14px; }
.pg-points b { font-size: 1.15rem; }
.pg-points p { margin: 6px 0 0; color: var(--ink-muted); line-height: 1.5; }

.pg-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; margin-top: 28px; }
.pg-metrics > div { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.pg-metrics b { display: block; font-size: clamp(1.8rem, 1.3rem + 1.3vw, 2.6rem); letter-spacing: -.035em; font-weight: 700; line-height: 1; white-space: nowrap; }
.pg-metrics .is-crit b { color: var(--crit); }
.pg-metrics span { display: block; margin-top: 8px; font-size: var(--t-small); color: var(--ink-muted); }
.pg-findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-top: 12px; }
.pg-findings > div { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; justify-items: start; }
.pg-findings b { font-size: 1.05rem; line-height: 1.35; }
.pg-findings small { color: var(--ink-subtle); font-size: .85rem; }

.pg-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 12px; }
.pg-plan { background: var(--paper); border-radius: 18px; padding: 20px; border: 1px solid rgba(7, 89, 104, .12); display: flex; flex-direction: column; gap: 6px; }
.pg-plan > span { font-weight: 600; color: var(--ink-muted); }
.pg-plan b { font-size: 1.85rem; letter-spacing: -.035em; line-height: 1.05; white-space: nowrap; }
.pg-plan b small { font-size: .95rem; font-weight: 500; color: var(--ink-subtle); letter-spacing: 0; }
.pg-plan p { margin: 0; font-size: var(--t-small); color: var(--ink-muted); line-height: 1.45; }
.pg-plan--accent { border: 2px solid var(--accent); }
.pg-plan ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--t-small); color: var(--ink-muted); }
.pg-plan ul li { padding-left: 20px; position: relative; line-height: 1.4; }
.pg-plan ul li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pg-plan .btn { margin-top: auto; }
.pg-plan .pg-plan__foot { margin-top: auto; padding-top: 12px; }

.pg-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.pg-checks li { background: var(--surface); border-radius: 14px; padding: 16px 18px 16px 46px; position: relative; font-size: 1.05rem; line-height: 1.4; }
.pg-checks li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.pg-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; margin-top: 28px; }
.pg-mod { background: var(--paper); border-radius: 18px; padding: 20px; display: flex; gap: 14px; border: 1px solid var(--line); }
.pg-mod b { display: block; font-size: 1.1rem; margin-top: 2px; }
.pg-mod p { margin: 6px 0 0; color: var(--ink-muted); line-height: 1.45; font-size: var(--t-small); }
.pg-mods--soon .pg-mod { background: var(--surface); border-color: transparent; }

/* тарифы */
.pg-anchors { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.pg-anchors a { text-decoration: none; }
.pg-price-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 28px; }
.pg-price-head .home-why { margin-top: 10px; }

/* кейсы */
.pg-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 56px; align-items: start; }
.pg-case--rev > :first-child { order: 2; }
.pg-case h2 { font-size: clamp(1.8rem, 1.3rem + 1.3vw, 2.6rem); letter-spacing: -.035em; line-height: 1.1; }
.pg-case__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pg-tag { font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.pg-tag--plain { background: var(--surface-sunk); color: var(--ink-muted); }
.pg-case__text { margin: 14px 0 0; color: var(--ink-muted); font-size: 1.1rem; line-height: 1.55; }
.pg-specs { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.pg-specs > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.pg-specs > div:last-child { border-bottom: 0; }
.pg-specs dt { color: var(--ink-muted); font-size: var(--t-small); }
.pg-specs dd { margin: 0; font-weight: 600; }
.pg-done { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.pg-done li { padding-left: 26px; position: relative; line-height: 1.45; }
.pg-done li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pg-case .actions { margin-top: 22px; }
.pg-exp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; margin-top: 28px; }
.pg-exp > div { background: var(--paper); border-radius: 18px; padding: 22px; border: 1px solid var(--line); }
.pg-exp b { font-size: 1.1rem; }
.pg-exp p { margin: 8px 0 0; color: var(--ink-muted); line-height: 1.5; font-size: var(--t-small); }

/* о нас и контакты */
.pg-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: 28px; }
.pg-person { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: start; }
.pg-person img { width: 104px; height: 104px; object-fit: cover; border-radius: 18px; }
.pg-person b { font-size: 1.3rem; letter-spacing: -.02em; }
.pg-person .hm-card__dir { margin-top: 4px; }
.pg-person p { margin: 10px 0 0; color: var(--ink-muted); line-height: 1.5; }
.pg-person ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.pg-person li { font-size: .85rem; padding: 4px 10px; border-radius: 999px; background: var(--surface); }
.pg-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px 56px; align-items: start; }
.pg-ways { display: grid; gap: 10px; margin-top: 28px; }
.pg-ways a, .pg-ways div { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); }
.pg-ways a:hover { border-color: var(--accent); }
.pg-ways b { display: block; }
.pg-ways small { color: var(--ink-muted); font-size: var(--t-small); }
.pg-form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 1px 2px rgba(8, 43, 66, .05), 0 24px 48px rgba(8, 43, 66, .08); }
.pg-after { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.pg-after li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 12px; align-items: start; }
.pg-after li > span:first-child { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--night); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.pg-after b { display: block; }
.pg-after p { margin: 4px 0 0; color: var(--ink-muted); line-height: 1.45; }

@media (max-width: 960px) {
  .pg-split, .pg-case, .pg-contact { grid-template-columns: 1fr; }
  .pg-case--rev > :first-child { order: 0; }
}
@media (max-width: 560px) {
  .pg-person { grid-template-columns: 1fr; }
  .pg-specs > div { grid-template-columns: 1fr; gap: 2px; }
}
.pg-plans--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); margin-top: 28px; }
.pg-plan__dl { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pg-plan__dl dt { font-size: .85rem; font-weight: 600; color: var(--ink); }
.pg-plan__dl dd { margin: 2px 0 0; font-size: var(--t-small); color: var(--ink-muted); line-height: 1.45; }
.hm-band--white + .hm-band--white { border-top: 0; }
.pg-form .form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 1px 2px rgba(8, 43, 66, .05), 0 24px 48px rgba(8, 43, 66, .08); }
.pg-contact h1 { max-width: 14ch; }
.hm + .site-foot { margin-top: 0; }
.hm-onec { padding-bottom: 0; }
.hm-onec .section-head { margin-bottom: 20px; }
.hm-onec > .hm-band:last-child { margin-top: clamp(3rem, 6vw, 5rem); }
.hm-onec + .site-foot { margin-top: 0; }

/* ровные сетки: 3 или 4 в ряд без «сирот» */
.pg-points--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1100px) {
  .pg-points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-points--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hm-cards--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-cards--catalog .hm-card--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px 28px;
    grid-template-areas: "top screen" "title screen" "metric screen" "foot foot"; grid-template-rows: auto auto 1fr auto; align-content: stretch; }
  .hm-card--wide .hm-card__top { grid-area: top; }
  .hm-card--wide h3 { grid-area: title; }
  .hm-card--wide .hm-screen { grid-area: screen; align-self: stretch; }
  .hm-card--wide .hm-metric { grid-area: metric; align-self: end; }
  .hm-card--wide .hm-card__foot { grid-area: foot; }
  .pg-mods--grid9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.pg-mod__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pg-mod > div { flex: 1; }
.pg-mod__state { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-sunk); color: var(--ink-muted); white-space: nowrap; }
.pg-mod__state.is-request { background: var(--accent-soft); color: var(--accent); }
.pg-mod > div { min-width: 0; }
.pg-price-plans { margin-top: 28px; }
.pg-metrics--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-metrics--3 b { font-size: clamp(1.15rem, .9rem + .7vw, 1.5rem); }
@media (max-width: 560px) { .pg-metrics--3 { grid-template-columns: 1fr; } .pg-metrics--3 b { font-size: 1.6rem; } }
.hm-band--mint .hm-mark { background: var(--paper); }
.pg-case .pg-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-case .pg-metrics--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .pg-case .pg-metrics--3 { grid-template-columns: 1fr; } }

/* ЦОД (/dc) — часть сайта, те же компоненты */
.dc-kicker { margin: 0 0 16px; font-weight: 500; color: var(--on-night-mark); }
@media (min-width: 961px) { .dc-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.dc-panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 20px; }
.dc-panel__title { margin: 0 0 12px; font-size: var(--t-label); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--on-night-faint); }
.dc-panel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dc-panel__item { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.dc-panel__item b { display: block; color: #fff; font-size: var(--t-small); }
.dc-panel__item span { display: block; color: var(--on-night); font-size: .85rem; line-height: 1.4; margin-top: 2px; }
.dc-panel__core { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: var(--on-night-mark); color: var(--night); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dc-panel__core b { font-size: 1.3rem; letter-spacing: -.02em; }
.dc-panel__core span { font-size: var(--t-small); font-weight: 500; }
.dc-facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.dc-cycle { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
@media (min-width: 1100px) { .dc-cycle { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.dc-cycle li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.dc-cycle li b { font-size: 1.05rem; }
.dc-cycle li p { margin: 0; color: var(--ink-muted); font-size: var(--t-small); line-height: 1.45; }
.dc-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.dc-works { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.dc-works__head, .dc-work { display: grid; grid-template-columns: 3rem minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 24px; padding: 18px 24px; }
.dc-works__head { padding-top: 14px; padding-bottom: 14px; background: var(--surface-sunk); font-size: var(--t-label); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.dc-works__head span:first-child { grid-column: 2; }
.dc-work { border-top: 1px solid var(--line); align-items: start; }
.dc-work__no { font-weight: 700; color: var(--accent-mark); padding-top: 2px; }
.dc-work b { font-size: 1.1rem; }
.dc-work p { margin: 6px 0 0; color: var(--ink-muted); line-height: 1.5; }
.dc-work .dc-work__res { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-weight: 500; line-height: 1.45; }
@media (max-width: 760px) {
  .dc-works__head { display: none; }
  .dc-work { grid-template-columns: 2.2rem minmax(0, 1fr); }
  .dc-work .dc-work__res { grid-column: 2; }
}
.dc-routes { grid-template-columns: 1fr; }
.dc-table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.dc-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--t-small); }
.dc-table th, .dc-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.dc-table thead th { background: var(--surface-sunk); font-size: var(--t-label); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); }
.dc-table tbody th { font-weight: 600; }
.dc-table tbody tr:last-child th, .dc-table tbody tr:last-child td { border-bottom: 0; }
.dc-verdict { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; white-space: nowrap; }
.dc-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.dc-chain span { padding: 8px 14px; border-radius: 999px; background: var(--night); color: #fff; font-weight: 600; font-size: var(--t-small); }
.dc-chain i { width: 16px; height: 2px; background: var(--accent-mark); }
.dc-project { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.dc-project:first-of-type { border-top: 0; padding-top: 0; }
.dc-project__title { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); letter-spacing: -.03em; line-height: 1.12; }
.dc-edu { font-size: .85rem; color: var(--ink-subtle); }
.dc-faq { margin-top: 24px; }
.dc-panel__item > div { min-width: 0; overflow-wrap: anywhere; }
.dc-panel__grid > * { min-width: 0; }
@media (max-width: 560px) { .dc-panel__grid { grid-template-columns: 1fr; } }

/* схема контура ЦОД */
.dcs { width: 100%; height: auto; display: block; font-family: var(--sans);
  --b-bg: rgba(255, 255, 255, .05); --b-line: rgba(255, 255, 255, .16); --b-act: rgba(143, 208, 213, .12);
  --t: #fff; --s: var(--on-night); --flow: var(--on-night-mark); --off: rgba(255, 255, 255, .22);
  --rack: rgba(255, 255, 255, .07); --slot: rgba(255, 255, 255, .16); --led: var(--on-night-mark); --cool: var(--accent-mid); --x: var(--crit-soft); }
.dcs--light { --b-bg: var(--paper); --b-line: var(--line-strong); --b-act: var(--accent-soft);
  --t: var(--ink); --s: var(--ink-muted); --flow: var(--accent-mark); --off: var(--line-strong);
  --rack: var(--surface); --slot: var(--line-strong); --led: var(--accent-mark); --cool: var(--accent-mid); --x: var(--crit); }
.dcs-box { fill: var(--b-bg); stroke: var(--b-line); stroke-width: 1.2; }
.dcs-box--act { fill: var(--b-act); stroke: var(--flow); }
.dcs-t { fill: var(--t); font-size: 15px; font-weight: 600; }
.dcs-s { fill: var(--s); font-size: 12px; }
.dcs-ico { fill: none; stroke: var(--flow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dcs-line { fill: none; stroke: var(--flow); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dcs-line.is-flow, .dcs-cool.is-flow { stroke-dasharray: 7 7; animation: dcs-flow 1.1s linear infinite; }
.dcs-line.is-standby { stroke: var(--off); stroke-dasharray: 2 6; }
.dcs-line.is-off { stroke: var(--off); stroke-dasharray: 3 7; }
.dcs-x path { stroke: var(--x); stroke-width: 3; stroke-linecap: round; }
.dcs-cool { fill: none; stroke: var(--cool); stroke-width: 3; stroke-linecap: round; }
.dcs-cool.is-back { animation-direction: reverse; }
.dcs-mon { fill: none; stroke: var(--s); stroke-width: 1.4; stroke-dasharray: 2 5; opacity: .7; }
.dcs-rack { fill: var(--rack); stroke: var(--b-line); stroke-width: 1; }
.dcs-slot { fill: var(--slot); }
.dcs-led { fill: var(--led); animation: dcs-led 2.2s ease-in-out infinite; }
.dcs-fan { fill: none; stroke: var(--cool); stroke-width: 2; }
.dcs-blades path { fill: none; stroke: var(--cool); stroke-width: 1.8; }
.dcs-blades { transform-origin: 534px 356px; transform-box: view-box; animation: dcs-spin 3.5s linear infinite; }
@keyframes dcs-flow { to { stroke-dashoffset: -14; } }
@keyframes dcs-led { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes dcs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dcs * { animation: none !important; } }

.dc-visual { margin: 0; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 18px 18px 14px; }
.dc-visual__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dc-visual__chips span { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(143, 208, 213, .12); color: var(--on-night-mark); }
.dc-scheme-light { margin: 28px 0 0; background: var(--surface); border-radius: 20px; padding: 20px; max-width: 760px; }
.dc-scheme-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; align-items: center; margin-top: 28px; }
.dc-scheme-wrap .dc-scheme-light { margin: 0; max-width: none; }
@media (max-width: 960px) { .dc-scheme-wrap { grid-template-columns: 1fr; } }

/* графики проектов */
.dc-chart { margin: 12px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.dc-chart figcaption { font-size: var(--t-label); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-mark); margin-bottom: 12px; }
.dc-ramp { height: 44px; border-radius: 12px; background: var(--surface-sunk); overflow: hidden; }
.dc-ramp__fill { height: 100%; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--accent); color: #fff; font-size: var(--t-small); white-space: nowrap; border-radius: 12px; }
.dc-ramp__fill b { font-size: 1.05rem; }
.dc-ramp__scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: .85rem; color: var(--ink-muted); }
.dc-bar { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; }
.dc-bar + .dc-bar { border-top: 1px solid var(--line); }
.dc-bar__k { font-weight: 600; font-size: var(--t-small); }
.dc-bar__pair { display: grid; gap: 6px; }
.dc-bar__row { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 10px; align-items: center; font-size: var(--t-small); }
.dc-bar__row b { font-weight: 600; color: var(--ink-muted); white-space: nowrap; }
.dc-bar__row b.is-after { color: var(--accent); }
.dc-bar__track { height: 12px; border-radius: 999px; background: var(--surface-sunk); overflow: hidden; display: block; }
.dc-bar__track i { display: block; height: 100%; border-radius: 999px; }
i.is-before { background: var(--line-strong); }
i.is-after { background: var(--accent); }
.dc-bar__legend { margin: 10px 0 0; font-size: .85rem; color: var(--ink-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dc-bar__legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; margin-left: 8px; }
.dc-bar__legend i:first-child { margin-left: 0; }
@media (max-width: 560px) { .dc-bar { grid-template-columns: 1fr; gap: 6px; } }
body:is([data-page-kind="home"],[data-page-kind="stroyka"],[data-page-kind="dc"]) .site-nav a[aria-current] { background: rgba(255, 255, 255, .12); color: #fff; }
@media (min-width: 961px) { .dc-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.dc-ramp__scale b { color: var(--ink); }
.dc-ramp__scale span:first-child b { color: var(--accent); }
@media (max-width: 560px) { .dc-facts > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
