/* Стили ниже первого экрана. Критический CSS — токены, сброс, типографика,
   кнопки, шапка, hero и все медиазапросы — остался инлайн в index.html:
   первый экран обязан отрисоваться, даже если этот файл не доехал.
   Правишь тут — проверь, что правило не дублирует инлайновое. */

/* ════════ TICKER ════════ */
.ticker { background: var(--pine); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: ticker-scroll 44s linear infinite; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,253,248,.84);
}
.ticker-item::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: var(--brass-soft); flex: 0 0 auto; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════ УЗНАЁТЕ СЕБЯ ════════ */
.loss-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.loss-card { background: var(--sheet); border: 1px solid rgba(20,32,26,.08); border-radius: var(--r-lg); overflow: hidden; }
.loss-body { padding: 24px 28px 28px; }
.loss-card h3 { margin-bottom: 11px; }
.loss-card p { font-size: 15.5px; color: var(--muted); max-width: 40ch; }

/* Секция называется «Узнаёте себя?» — узнают по картинке, а не по абзацу.
   Каждая боль здесь показана состоянием экрана, а не линейной иконкой:
   иконка у всех четырёх выглядела одинаково спокойно, пока текст
   говорил, что человек теряет деньги. Собрано из тех же CSS-примитивов,
   что и мини-иллюстрации сценариев, растровых картинок по-прежнему нет. */
.loss-art {
  height: 118px; padding: 16px 22px; background: var(--paper);
  border-bottom: 1px solid rgba(20,32,26,.08);
  display: flex; flex-direction: column; justify-content: center; gap: 7px;
}
/* Полоса иллюстрации фиксированной высоты, поэтому содержимому запрещено
   сжиматься: без этого flex плющит строки вместе с падингами и текст
   наезжает сам на себя. Если контент не влезает — резать контент. */
.loss-art > * { flex: 0 0 auto; }
.la-row { display: flex; align-items: center; gap: 9px; }
.la-ch {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: var(--sheet); border: 1px solid var(--line-soft); border-radius: 8px;
  padding: 6px 10px; font-size: 12.5px; font-weight: 500; color: var(--body-c);
}
.la-ch i { width: 6px; height: 6px; border-radius: 2px; background: var(--sage-2); flex: 0 0 auto; }
.la-badge {
  flex: 0 0 auto; min-width: 26px; text-align: center;
  background: var(--brass-tint); border: 1px solid var(--brass-bd); border-radius: var(--pill);
  padding: 3px 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--brass);
}

.la-clock { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; }
.la-t { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.la-what { font-size: 12.5px; color: var(--muted); }
.la-gap {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--brass);
}
.la-gap::before, .la-gap::after {
  content: ""; height: 1px; background: repeating-linear-gradient(90deg, var(--brass-bd) 0 3px, rgba(0,0,0,0) 3px 7px);
}
.la-gap::before { width: 34px; flex: 0 0 auto; }
.la-gap::after { flex: 1; }

.la-lead {
  background: var(--sheet); border: 1px solid var(--line-soft); border-radius: 9px;
  padding: 5px 10px; font-size: 12.5px; line-height: 1.35; color: var(--body-c);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.la-lead.off { color: var(--muted); text-decoration: line-through; background: rgba(20,32,26,.035); }

.la-split { flex-direction: row; align-items: stretch; gap: 18px; }
.la-chat { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.la-chat i { display: block; height: 13px; border-radius: 7px; background: var(--sage-2); }
.la-chat i:nth-child(1) { width: 74%; }
.la-chat i:nth-child(2) { width: 52%; align-self: flex-end; background: var(--sheet); border: 1px solid var(--line-soft); }
.la-chat i:nth-child(3) { width: 86%; }
.la-chat i:nth-child(4) { width: 44%; align-self: flex-end; background: var(--sheet); border: 1px solid var(--line-soft); }
.la-crm {
  flex: 0 0 132px; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--sheet);
  padding: 9px; display: flex; flex-direction: column; gap: 6px;
}
.la-crm span { display: block; height: 9px; border-radius: 3px; background: rgba(20,32,26,.06); }
.la-crm span:first-child { background: var(--sage-2); }
.la-crm em {
  margin-top: auto; font-style: normal; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .04em; color: var(--muted);
}
.loss-note {
  margin-top: 22px; display: flex; gap: 20px; align-items: center;
  border-radius: var(--r-lg); background: var(--pine); color: var(--sheet);
  padding: 30px 32px;
}
.loss-note p { font-size: 17.5px; line-height: 1.5; max-width: 62ch; }
.loss-note strong { color: var(--brass-soft); font-weight: 600; }
.loss-note .sub { margin-top: 10px; font-size: 14px; color: rgba(255,253,248,.72); }

/* ════════ ДЕМО ════════ */
.demo-lead { max-width: 62ch; }
.demo-niche-picker { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 20px; }
.demo-niche-btn {
  border: 1px solid var(--line); background: var(--sheet); color: var(--body-c);
  border-radius: var(--pill); min-height: 46px; padding: 12px 20px; font-family: var(--font);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.demo-niche-btn:hover { background: var(--sage); border-color: var(--sage-2); }
.demo-niche-btn.active { background: var(--pine); border-color: var(--pine); color: var(--sheet); font-weight: 600; }

.live-demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.live-chat-panel {
  background: var(--pine); border-radius: var(--r-lg); padding: 22px;
  display: flex; flex-direction: column; gap: 14px; min-height: 530px;
  min-width: 0; box-shadow: var(--shadow);
}
.chat-header { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--line-dark); }
.chat-avatar {
  width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--brass-soft);
  display: grid; place-items: center; color: var(--pine);
  font-weight: 700; font-size: 15.5px; flex: 0 0 auto;
}
.chat-header-name { color: var(--sheet); font-size: 15.5px; font-weight: 600; }
.chat-status { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #93D8B2; margin-top: 4px; }
.chat-messages { flex: 1; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; max-height: 320px; padding-right: 5px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,253,248,.2); border-color: transparent; }
.chat-msg {
  max-width: 84%; padding: 12px 15px; border-radius: var(--r-md);
  background: var(--pine-3); color: rgba(255,253,248,.95); font-size: 14px; line-height: 1.5;
  align-self: flex-start; white-space: pre-wrap; word-break: break-word;
}
.chat-msg.user { align-self: flex-end; background: var(--sage-2); color: var(--pine); font-weight: 500; }
.chat-msg.system { align-self: stretch; max-width: 100%; background: transparent; border: 1px dashed var(--line-dark); color: rgba(255,253,248,.8); font-size: 14px; }
.chat-msg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chat-msg-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px;
  border-radius: var(--pill); border: 1px solid var(--line-dark); background: rgba(255,253,248,.08);
  font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--sheet);
  cursor: pointer; transition: background-color 150ms ease;
}
.chat-msg-link:hover { background: rgba(255,253,248,.16); }
.chat-typing { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,253,248,.6); }
.chat-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-btn {
  border: 1px solid var(--line-dark); background: rgba(255,253,248,.06); color: rgba(255,253,248,.9);
  border-radius: var(--pill); min-height: 44px; padding: 12px 16px; font-family: var(--font);
  font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 150ms ease;
}
.chat-btn:hover { background: rgba(255,253,248,.14); }
.chat-form { display: flex; gap: 9px; }
.chat-input {
  flex: 1; min-width: 0; border: 1px solid var(--line-dark); background: rgba(255,253,248,.06);
  border-radius: var(--r-sm); padding: 14px; color: var(--sheet);
  font-family: var(--font); font-size: 14px; outline: none; caret-color: var(--brass-soft);
}
.chat-input::placeholder { color: rgba(255,253,248,.5); }
.chat-input:focus { border-color: var(--brass-soft); box-shadow: 0 0 0 3px rgba(199,154,78,.24); }
.chat-input:disabled { opacity: .5; }
.chat-send {
  border: 0; background: var(--brass-soft); color: var(--pine); border-radius: var(--r-sm); padding: 14px 22px;
  font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 150ms ease;
}
.chat-send:hover { background: #D6AC63; }
.chat-send:disabled { opacity: .45; cursor: default; }
.chat-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.chat-limit { font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; color: rgba(255,253,248,.7); }
.chat-limit:empty { display: none; }
.chat-channels { font-size: 12.5px; color: rgba(255,253,248,.7); }

.demo-contact-card { border: 1px solid var(--sage-2); border-radius: var(--r-lg); background: var(--sage); padding: 26px; }
.demo-contact-card h3 { margin-bottom: 11px; color: var(--pine); }
.demo-contact-card p { font-size: 15.5px; color: var(--moss); margin-bottom: 20px; }

/* ════════ ШАГИ ════════ */

/* ════════ СЦЕНАРИИ ════════ */
.scen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scen-card { border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--sheet); overflow: hidden; box-shadow: var(--shadow-soft); }
.scen-card h3 { font-size: 21px; margin-bottom: 9px; }
.scen-card p { font-size: 14px; color: var(--muted); }
.scen-body { padding: 22px 24px 26px; }
.scen-body .chip { margin-bottom: 14px; }
.scen-art {
  height: 138px; border-bottom: 1px solid var(--line-soft); background: var(--sheet-2);
  padding: 17px 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.art-row { display: flex; align-items: center; gap: 9px; }
.art-row.right { justify-content: flex-end; }
.art-bubble {
  max-width: 78%; padding: 7px 11px; border-radius: 11px;
  border: 1px solid var(--line-soft); background: var(--sheet);
  font-size: 12.5px; line-height: 1.35; color: var(--muted);
}
.art-bubble.agent { background: var(--sage); border-color: var(--sage-2); color: var(--pine); }
.art-chipline { display: flex; flex-wrap: wrap; gap: 6px; }
.art-chip {
  border: 1px solid var(--line-soft); border-radius: var(--pill); background: var(--sheet);
  padding: 5px 10px; font-size: 11px; font-weight: 500; color: var(--moss); white-space: nowrap;
}
.art-chip.on { background: var(--sage); border-color: var(--sage-2); color: var(--pine); }
.art-chip.off { color: var(--muted); text-decoration: line-through; }
.art-icon { color: var(--moss); display: grid; place-items: center; }
.art-icon .ic { width: 17px; height: 17px; }
.art-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.art-tile { height: 26px; border: 1px solid var(--line-soft); border-radius: 7px; background: var(--sheet); }
.art-tile.on { background: var(--sage); border-color: var(--sage-2); }
.art-table { display: grid; gap: 5px; }
.art-tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.art-td { height: 15px; border-radius: 4px; background: rgba(20,32,26,.07); }
.art-tr.head .art-td { background: var(--pine); }
.art-tr.filled .art-td { background: var(--sage-2); }
.art-time { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--moss); white-space: nowrap; }

/* ════════ КАЛЬКУЛЯТОР ════════ */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 404px; gap: 20px; align-items: start; }
.calc-panel { border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: rgba(255,253,248,.05); padding: 32px; }
.calc-field + .calc-field { margin-top: 26px; }
.calc-label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.calc-label span { font-size: 15.5px; font-weight: 500; color: rgba(255,253,248,.88); }
.calc-label output { font-size: 27px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--sheet); }
.calc-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px;
  background: transparent; outline: none; cursor: pointer; display: block;
}
.calc-range::-webkit-slider-runnable-track { height: 4px; border-radius: var(--pill); background: rgba(255,253,248,.22); }
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  margin-top: -10px; background: var(--brass-soft); border: 4px solid var(--pine);
  box-shadow: 0 0 0 1px var(--brass-soft); cursor: pointer;
}
.calc-range::-moz-range-track { height: 4px; border-radius: var(--pill); background: rgba(255,253,248,.22); }
.calc-range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; box-sizing: border-box;
  background: var(--brass-soft); border: 4px solid var(--pine);
  box-shadow: 0 0 0 1px var(--brass-soft); cursor: pointer;
}
.calc-range:focus-visible { box-shadow: 0 0 0 3px rgba(199,154,78,.34); border-radius: var(--pill); }
.calc-scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: rgba(255,253,248,.7); }

.calc-salary { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.calc-salary label { font-size: 15.5px; color: rgba(255,253,248,.88); }
.calc-salary input {
  width: 180px; border: 1px solid var(--line-dark); background: rgba(255,253,248,.06);
  border-radius: var(--r-sm); padding: 13px 15px; outline: none;
  font-family: var(--font); font-size: 15.5px; font-weight: 500; color: var(--sheet);
  font-variant-numeric: tabular-nums;
}
.calc-salary input:focus { border-color: var(--brass-soft); box-shadow: 0 0 0 3px rgba(199,154,78,.24); }
.calc-note { margin-top: 22px; font-size: 12.5px; line-height: 1.5; color: rgba(255,253,248,.6); }

.calc-result { border-radius: var(--r-lg); background: var(--sheet); padding: 32px; box-shadow: var(--shadow); }
.calc-block + .calc-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.calc-block h4 { color: var(--moss); margin-bottom: 14px; }
.calc-line { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 15.5px; color: var(--muted); }
.calc-line + .calc-line { margin-top: 10px; }
.calc-line b { font-size: 21px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-big { font-size: clamp(38px, 4vw, 50px); font-weight: 700; letter-spacing: -.038em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--brass); }
.calc-sub { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.calc-hire {
  margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line-soft);
  font-size: 14px; line-height: 1.5; color: var(--moss);
}
.calc-warn {
  margin-top: 14px; display: none; gap: 11px; align-items: flex-start;
  border: 1px solid var(--brass-bd); background: var(--brass-tint); color: #6B4413;
  border-radius: var(--r-sm); padding: 13px 15px; font-size: 14px; line-height: 1.5;
}
.calc-result.over .calc-warn { display: flex; }
.calc-cta { margin-top: 26px; }
.calc-cta .btn { width: 100%; }

/* ════════ ТАЙМЛАЙН ════════ */
.tl { list-style: none; display: grid; }
.tl-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 26px; position: relative; padding-bottom: 36px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-rail { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tl-num {
  width: 54px; height: 54px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--pine); color: var(--brass-soft);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em;
}
.tl-line { width: 2px; flex: 1; background: repeating-linear-gradient(180deg, var(--sage-2) 0 5px, transparent 5px 11px); }
.tl-step:last-child .tl-line { display: none; }
.tl-body { background: var(--sheet); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px 30px; box-shadow: var(--shadow-soft); }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 12px; }
.tl-lead { font-size: 15.5px; color: var(--muted); margin-bottom: 24px; max-width: 66ch; }
.tl-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.tl-cols h4 { color: var(--moss); margin-bottom: 13px; }
.tl-cols ul { list-style: none; display: grid; gap: 9px; }
.tl-cols li { font-size: 14px; line-height: 1.5; color: var(--body-c); display: flex; gap: 10px; }
.tl-cols li::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: var(--sage-2); margin-top: 8px; flex: 0 0 auto; }
.tl-cols .you li::before { background: var(--brass-soft); }
.tl-cols .out li::before { background: var(--pine); }

/* ════════ ЧТО ЕЩЁ МОЖЕТ — компактный список, не сетка карточек ════════ */
.more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 48px; }
.more-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(20,32,26,.09); align-items: flex-start; }
.more-item .ic { color: var(--pine); margin-top: 2px; flex: 0 0 auto; }
.more-item h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 5px; letter-spacing: -.015em; }
.more-item p { font-size: 14px; color: var(--muted); max-width: 44ch; }

/* ════════ FAQ — свёрнуто, раскрывается по клику ════════
   Одна колонка, а не две: при двух раскрытый ответ оставляет рядом
   пустое поле — именно из-за этого аккордеон когда-то и разобрали.
   Свёрнутый список короче раскрытого вчетверо, а это и была задача. */
.faq-list { border-top: 1px solid var(--line); }
.faq-row { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; gap: 16px; align-items: baseline; cursor: pointer;
  padding: 21px 0; list-style: none; min-height: 44px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-n { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; color: var(--brass); flex: 0 0 auto; }
.faq-q h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; flex: 1; }
.faq-q:hover h3 { color: var(--moss); }
.faq-q::after {
  content: ""; width: 9px; height: 9px; flex: 0 0 auto; align-self: center;
  border-right: 1.6px solid var(--brass); border-bottom: 1.6px solid var(--brass);
  transform: translateY(-2px) rotate(45deg); transition: transform 200ms cubic-bezier(.16,1,.3,1);
}
.faq-row[open] .faq-q::after { transform: translateY(2px) rotate(-135deg); }
.faq-a {
  font-size: 15.5px; line-height: 1.65; color: var(--muted);
  padding: 0 34px 24px; max-width: 78ch;
}
.faq-a strong { color: var(--ink); }

/* ════════ ФИНАЛЬНЫЙ CTA ════════ */
.cta-card {
  background: var(--night); border-radius: var(--r-lg);
  padding: clamp(46px, 3rem + 2.4vw, 76px) clamp(24px, 2rem + 2vw, 60px);
  text-align: center; box-shadow: var(--shadow);
  background-image: radial-gradient(circle at 80% 10%, rgba(199,154,78,.13), rgba(0,0,0,0) 46%);
}
.cta-card .kicker { justify-content: center; color: rgba(255,253,248,.7); }
.cta-card .kicker::before { background: var(--brass-soft); }
.cta-card h2 { color: var(--sheet); max-width: 17ch; margin: 0 auto; }
.cta-card p { margin: 22px auto 0; max-width: 52ch; color: rgba(255,253,248,.78); font-size: 17.5px; }
.cta-actions { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-trust { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; }
.cta-trust span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,253,248,.68); display: inline-flex; align-items: center; gap: 9px; }
.cta-trust span::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: var(--brass-soft); }

/* ════════ FOOTER ════════ */
footer { background: var(--night); color: var(--sheet); padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 48px; }
.footer-about .brand-mark { background: var(--sage); color: var(--pine); }
.footer-about p { margin-top: 18px; font-size: 15.5px; color: rgba(255,253,248,.68); max-width: 38ch; }
.footer-col h4 { color: rgba(255,253,248,.62); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 15.5px; color: rgba(255,253,248,.84); padding-block: 12px; transition: color 150ms ease; }
.footer-col a:hover { color: var(--brass-soft); }
.footer-bottom { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 12.5px; color: rgba(255,253,248,.62); }


/* ════════ АДАПТИВ ════════ */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .live-demo-grid, .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .scen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .section-head.with-lead { grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
  .faq-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .more-grid { gap: 0 32px; }
}

@media (max-width: 760px) {
  header nav { display: none; }
  .header-inner { gap: 16px; justify-content: space-between; height: 64px; }
  .header-cta .btn span { display: none; }
  .scen-grid, .loss-grid, .more-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1, .hero .lead { max-width: 100%; }
  .hero-trust { gap: 28px; }
  .hero-visual { padding: 16px; gap: 12px; }
  .hv-b { max-width: 94%; }
  .hv-fields > div { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
  h1, h2, h3 { overflow-wrap: anywhere; }
  .loss-note { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .loss-note p { font-size: 15.5px; }
  /* История чата растёт вместе со страницей: отдельный scroll-контейнер
     перехватывал мобильные свайпы и создавал scroll-trap. */
  .chat-messages { flex: none; overflow-y: visible; max-height: none; padding-right: 0; }
  .calc-panel, .calc-result { padding: 24px; }
  .tl-step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .tl-num { width: 42px; height: 42px; font-size: 12.5px; }
  .tl-body { padding: 22px; }
  .calc-salary input { width: 100%; }
  .cta-card { padding: 42px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
