/* SolvAI — главная страница */

/* ---------- Первый экран ---------- */
.hero { position: relative; padding: clamp(28px, 4.5vw, 60px) 0 clamp(40px, 5vw, 72px); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -120px 0 auto; height: 980px; pointer-events: none; background: radial-gradient(46% 52% at 82% 34%, rgba(37, 224, 124, .26), rgba(37, 224, 124, 0) 72%), radial-gradient(36% 40% at 8% 4%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 22px; align-content: center; }
.hero-copy h1 { max-width: 11.5em; }
.hero-copy .lead { max-width: 31em; font-size: clamp(1.0625rem, .95rem + .4vw, 1.1875rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; border-top: 1px solid var(--line); }
.hero-facts li { display: grid; gap: 8px; align-content: start; padding: 20px 18px 0 0; }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts b { font-size: clamp(1.625rem, 1.2rem + 1.3vw, 2.25rem); font-weight: 650; letter-spacing: -.045em; line-height: 1; }
.hero-facts span { font-size: .875rem; line-height: 1.35; color: var(--ink-2); }
.hero-source { margin-top: -8px; }

.hero-stage { container-type: inline-size; min-width: 0; }
.scene { position: relative; height: 604px; }
.scene-site { position: absolute; inset: 0 0 60px 36px; background: var(--surface); border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-m); overflow: hidden; }
.scene-bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.scene-dots { display: flex; gap: 6px; }
.scene-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.scene-url { width: min(220px, 50%); height: 26px; border-radius: 999px; background: var(--paper); font-size: .75rem; color: var(--ink-3); display: grid; place-items: center; }
.scene-page { display: grid; gap: 14px; align-content: start; width: 46%; padding: 96px 0 0 30px; }
.sk { border-radius: 6px; background: var(--paper); }
.sk-nav { position: absolute; left: 30px; top: 70px; display: flex; gap: 12px; background: none; }
.sk-nav i { width: 42px; height: 8px; border-radius: 6px; background: var(--paper); }
.sk-nav i:first-child { width: 60px; background: var(--line); }
.sk-h { height: 22px; background: var(--line); }
.sk-h.short { width: 64%; }
.sk-p { height: 9px; width: 94%; margin-top: 4px; }
.sk-p.mid { width: 72%; margin-top: 0; }
.sk-btn { width: 124px; height: 36px; border-radius: 999px; background: var(--mint); margin-top: 8px; }
.scene-click { position: absolute; z-index: 3; left: 0; top: 150px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-m); }
.scene-click-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--cost-tint); color: var(--cost); display: grid; place-items: center; }
.scene-click small { display: block; font-size: .6875rem; color: var(--ink-3); line-height: 1.25; }
.scene-click b { display: block; font-size: .875rem; line-height: 1.25; }
.scene-chat { position: absolute; z-index: 2; right: 16px; top: 64px; bottom: 76px; width: clamp(288px, 53%, 344px); box-shadow: var(--shadow-l); }
.scene-chat .chat-log { scrollbar-width: none; }
.scene-chat .chat-log::-webkit-scrollbar { display: none; }
.scene-chat .msg { font-size: .875rem; }
.scene-chat .reply { font-size: .8125rem; padding: 7px 12px; }
.scene-crm { position: absolute; z-index: 4; left: 0; bottom: 0; width: clamp(236px, 46%, 296px); box-shadow: var(--shadow-l); }
.scene [data-part] { transition: opacity .6s var(--ease), transform .7s var(--ease); }
.scene.is-live [data-part]:not(.is-on) { opacity: 0; transform: translateY(18px) scale(.97); }
.scene-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-left: 36px; min-height: 36px; }
.scene-controls { display: flex; gap: 6px; }
.scene-controls button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .8125rem; font-weight: 500; color: var(--ink-2); transition: color .2s, border-color .2s; }
.scene-controls button:hover { color: var(--ink); border-color: var(--ink); }
.scene-controls .icon { width: 16px; height: 16px; }
.scene-controls [hidden] { display: none; }

@container (max-width: 540px) {
  .scene { height: auto; display: grid; gap: 12px; }
  .scene-site { display: none; }
  .scene-click { position: relative; top: auto; width: fit-content; }
  .scene-chat { position: relative; inset: auto; width: 100%; height: 470px; }
  .scene-crm { position: relative; width: 100%; }
  .scene.is-live [data-part="crm"]:not(.is-on) { opacity: 1; transform: none; }
  .scene-toolbar { padding-left: 0; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { max-width: 680px; width: 100%; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts li, .hero-facts li + li { grid-template-columns: 96px 1fr; align-items: center; gap: 14px; padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-facts li:last-child { border-bottom: 0; }
  .scene-toolbar { flex-wrap: wrap; }
}

/* ---------- Реальные вопросы ---------- */
.ask { padding: clamp(24px, 3vw, 40px) 0 clamp(32px, 4vw, 56px); overflow: hidden; }
.ask-title { max-width: 27em; margin: 0 auto clamp(24px, 3vw, 40px); text-align: center; font-size: clamp(1.25rem, 1rem + 1.1vw, 1.875rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.22; }
.asks { display: grid; gap: 12px; width: min(1180px, 100%); margin-inline: auto; }
.asks-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0 var(--gutter); }
.asks-row li { padding: 12px 20px; border-radius: 20px 20px 20px 6px; background: var(--surface); border: 1px solid var(--line); font-size: 1rem; line-height: 1.3; }
.asks-row.is-reverse li { border-radius: 20px 20px 6px 20px; }
.js .asks:not(.is-in) li { opacity: 0; }
.asks.is-in li { animation: msg-in .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Калькулятор ---------- */
.calc { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(28px, 4vw, 64px); }
.calc-inputs { display: grid; gap: 28px; align-content: start; }
.range { display: grid; gap: 10px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range label { font-size: .9375rem; color: var(--ink-2); }
.range output { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: none; cursor: pointer; --p: 50%; --fill: var(--ink); }
.range input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--fill) var(--p), var(--line) var(--p)); }
.range input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--fill) var(--p), var(--line) var(--p)); }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--ink); box-shadow: var(--shadow-s); transition: transform .15s var(--ease); }
.range input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--ink); box-shadow: var(--shadow-s); }
.range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.range input[type="range"]:focus-visible { outline: 0; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--ink); outline-offset: 3px; }
.range input[type="range"]:focus-visible::-moz-range-thumb { outline: 3px solid var(--ink); outline-offset: 3px; }
.calc-out { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; align-self: start; position: sticky; top: 112px; }
.calc-group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; margin: 0; padding: 26px 0 0; border: 0; border-top: 1px solid var(--line); }
.calc-group legend { display: flex; align-items: center; gap: 12px; float: left; width: 100%; padding: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; }
.calc-group legend span { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: .875rem; }
.calc-group legend + * { clear: both; }
.calc-now { padding: 12px 16px; border-radius: 16px; background: var(--paper); font-size: .9375rem; line-height: 1.4; color: var(--ink-2); }
.calc-now b { color: var(--ink); white-space: nowrap; }
.range-signal input[type="range"] { --fill: var(--signal-press); }
.calc-group .small b { color: var(--ink); }
.calc-reset { font-size: inherit; cursor: pointer; }
.calc-night { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--mint-2); font-size: .875rem; line-height: 1.45; color: var(--mint-ink); }
.calc-night .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--leaf); }
.calc-result { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; justify-items: start; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-l); background: var(--mint); }
.calc-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.calc-big b { font-size: clamp(3.5rem, 2rem + 6vw, 6rem); font-weight: 650; letter-spacing: -.055em; line-height: .95; }
.calc-big span { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.calc-lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--mint-ink); }
.calc-compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; margin: 20px 0 16px; }
.calc-compare > .icon { width: 24px; height: 24px; color: var(--leaf); }
.calc-side { display: grid; gap: 4px; padding: 16px 18px; border-radius: 20px; background: var(--surface); font-size: .875rem; line-height: 1.35; color: var(--ink-2); }
.calc-side b { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.05; color: var(--ink); white-space: nowrap; }
.calc-label { font-size: .8125rem; font-weight: 500; color: var(--ink-3); }
.calc-side.is-new { background: var(--signal); color: var(--mint-ink); }
.calc-side.is-new .calc-label { color: var(--mint-ink); }
.calc-points { display: grid; gap: 8px; margin-bottom: 20px; font-size: 1.0625rem; line-height: 1.4; }
.calc-points li { position: relative; padding-left: 20px; }
.calc-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.calc-points b { white-space: nowrap; }
.calc-note { padding: 0 4px; }
@media (max-width: 1000px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-out { position: static; } }
@media (max-width: 520px) { .calc-compare { grid-template-columns: minmax(0, 1fr); } .calc-compare > .icon { transform: rotate(90deg); justify-self: center; } }

/* ---------- Как работает: тур ---------- */
.tour-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.tour-tabs button { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; text-align: left; font-size: 1rem; font-weight: 500; line-height: 1.2; color: var(--ink-2); transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.tour-tabs button:hover { color: var(--ink); border-color: var(--bar); }
.tour-tabs button[aria-selected="true"] { background: var(--surface); border-color: var(--surface); color: var(--ink); box-shadow: var(--shadow-s); }
.tour-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--line); color: var(--ink); font-size: .875rem; font-weight: 600; transition: background-color .25s; }
.tour-tabs [aria-selected="true"] .tour-n { background: var(--signal); }
.tour-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--signal-press); transform: scaleX(0); transform-origin: left; }
.tour.is-auto [aria-selected="true"] .tour-progress { animation: tour-progress var(--tour-ms, 7000ms) linear forwards; }
.tour.is-auto.is-paused [aria-selected="true"] .tour-progress { animation-play-state: paused; }
@keyframes tour-progress { to { transform: scaleX(1); } }
.tour-pane { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.tour-pane[hidden] { display: none; }
.tour-text { display: grid; gap: 18px; align-content: center; }
.tour-text h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -.03em; line-height: 1.12; }
.tour-text > p { color: var(--ink-2); }
.tour-fact { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.tour-fact b { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); max-width: 9em; }
.tour-fact b.num { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); font-weight: 650; letter-spacing: -.045em; line-height: 1; }
.tour-fact span { font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
.tour-visual { display: grid; place-items: center; min-height: 420px; padding: clamp(18px, 3vw, 44px); border-radius: var(--r-l); background: var(--paper); }
.tour-pane.is-enter .tour-visual > * { animation: msg-in .55s var(--ease) both; }
.mini-chat { width: min(390px, 100%); box-shadow: var(--shadow-m); }
.mini-chat .chat-log { overflow: visible; }
.mini-chat .replies { padding-bottom: 18px; }
.mini-chat .reply { cursor: default; position: relative; }
.tour-cursor { position: absolute; right: -8px; bottom: -14px; width: 22px; height: 22px; fill: var(--ink); stroke: var(--surface); stroke-width: 1.5; }
.msg mark { background: rgba(12, 24, 17, .16); color: inherit; border-radius: 4px; padding: 1px 3px; }
.catch { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.catch .tag { font-size: .75rem; }
.catch .icon { width: 14px; height: 14px; }
.kb { display: grid; gap: 10px; width: min(410px, 100%); }
.kb-query { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9375rem; }
.kb-query .icon { color: var(--ink-3); }
.kb-docs { display: grid; gap: 6px; }
.kb-docs li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: .875rem; line-height: 1.35; color: var(--ink-3); border: 1.5px solid transparent; }
.kb-docs .icon { width: 18px; height: 18px; margin-top: 1px; }
.kb-docs li.is-hit { background: var(--surface); border-color: var(--signal-press); color: var(--ink); box-shadow: var(--shadow-s); }
.kb-docs li.is-hit .icon { color: var(--leaf); }
.kb-docs small { display: block; margin-top: 3px; font-size: .8125rem; line-height: 1.4; color: var(--ink-2); }
.kb .msg { max-width: 100%; margin-top: 6px; background: var(--surface); box-shadow: var(--shadow-s); }
.crm-full { width: min(410px, 100%); box-shadow: var(--shadow-m); }
.crm-thread { display: grid; gap: 4px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: .8125rem; line-height: 1.45; }
.crm-thread small { color: var(--ink-3); }
.crm-thread b { font-weight: 500; }
@media (max-width: 1000px) {
  .tour-pane { grid-template-columns: minmax(0, 1fr); }
  .tour-visual { min-height: 0; order: -1; }
}
@media (max-width: 760px) {
  .tour-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-tabs button { padding: 12px 14px; font-size: .9375rem; }
}

/* ---------- Демо ---------- */
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.demo-tabs button { padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line); font-size: .9375rem; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.demo-tabs button:hover { color: var(--ink); border-color: var(--ink); }
.demo-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.demo-stage { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(20px, 3.5vw, 56px); align-items: center; padding: clamp(16px, 3.4vw, 48px); background: linear-gradient(135deg, var(--mint), var(--mint-2) 70%); }
.demo-chat { height: 580px; box-shadow: var(--shadow-m); }
.demo-chat button.chat-badge { cursor: pointer; transition: background-color .2s; }
.demo-chat button.chat-badge:hover { background: var(--line); }
.demo-chat .replies { padding-top: 4px; min-height: 0; }
.demo-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: center; }
.demo-hint { display: flex; align-items: flex-start; gap: 12px; min-height: 92px; padding: 16px 18px; border-radius: 20px; background: var(--surface); font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.demo-hint .icon { color: var(--leaf); margin-top: 2px; }
.demo-hint.is-new span { animation: msg-in .4s var(--ease) both; }
.demo-side .crm { box-shadow: var(--shadow-m); }
.demo-side .arrow-link { justify-self: start; margin-top: 4px; }
@media (max-width: 900px) { .demo-stage { grid-template-columns: minmax(0, 1fr); } .demo-chat { height: 520px; } .demo-hint { min-height: 0; } }

/* ---------- Кейсы ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.proof-main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); grid-template-rows: auto auto 1fr; gap: 24px clamp(24px, 4vw, 64px); align-items: start; }
.proof-head { grid-column: 1 / -1; display: grid; gap: 16px; max-width: 800px; }
.proof-head h3, .proof-card h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -.03em; line-height: 1.12; }
.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 148px minmax(0, 1fr) 92px; gap: 16px; align-items: center; }
.bar-label b { display: block; font-size: 1rem; line-height: 1.25; }
.bar-label span { font-size: .8125rem; color: var(--ink-3); }
.bar-track { height: 48px; border-radius: 12px; background: var(--paper); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); border-radius: 12px; background: var(--bar); transition: width 1.3s var(--ease); }
.bar.is-chat .bar-fill { background: var(--signal); }
.bar-val { font-size: 1.625rem; font-weight: 650; letter-spacing: -.035em; text-align: right; }
.js [data-viz]:not(.is-in) .bar-fill { width: 0; }
.proof-main > .small { grid-column: 1; max-width: 46em; }
.proof-side { grid-column: 2; grid-row: 2 / span 2; display: grid; gap: 22px; align-content: start; padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.proof-stat b { display: block; font-size: clamp(2.5rem, 1.6rem + 2.8vw, 4rem); font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.proof-stat span { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.4; color: var(--ink-2); }
.proof-actions { display: grid; gap: 14px; justify-items: start; margin-top: 4px; }
.proof-card { display: flex; flex-direction: column; gap: 20px; }
.proof-chat { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 20px; background: var(--paper); }
.proof-chat .msg { font-size: .875rem; }
.proof-chat .msg-ai { background: var(--surface); }
.proof-list li { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.proof-list b { font-size: 2.125rem; font-weight: 650; letter-spacing: -.045em; line-height: 1; }
.proof-list span { font-size: .9375rem; line-height: 1.4; color: var(--ink-2); }
.topics { display: grid; gap: 12px; }
.topic { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; font-size: .9375rem; line-height: 1.3; }
.topic .bar-fill { grid-column: 1 / -1; grid-row: 2; height: 10px; width: calc(var(--w) * 2.2); border-radius: 999px; background: var(--signal); }
.topic b { grid-column: 2; grid-row: 1; font-weight: 600; }
.proof-card .arrow-link { margin-top: auto; padding-top: 4px; }
@media (max-width: 960px) {
  .proof-main { grid-template-columns: minmax(0, 1fr); }
  .proof-side { grid-column: 1; grid-row: auto; padding-left: 0; padding-top: 22px; border-left: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .bar { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; height: 36px; }
  .bar-val { font-size: 1.375rem; }
  .proof-side { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Возможности ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: center; align-content: start; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-l); }
.feat-card > p { grid-column: 1 / -1; }
.feat-card p { color: var(--ink-2); font-size: 1rem; }
.feat-ico { display: grid; color: var(--leaf); }
.feat-ico .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.feat-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4.5vw, 64px); border-radius: var(--r-xl); }
.feat-wide > div:first-child { display: grid; gap: 16px; }
.feat-wide h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -.03em; line-height: 1.12; }
.feat-wide p { font-size: 1.0625rem; }
.hours-bars { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: clamp(2px, .4vw, 5px); align-items: end; height: 190px; }
.hours-bars i { display: block; height: calc(var(--h) * 1%); min-height: 4px; border-radius: 4px 4px 4px 4px; background: var(--bar); transition: height .9s var(--ease); transition-delay: calc(var(--i) * 20ms); }
.hours-bars i.is-off { background: var(--signal); }
.js [data-viz]:not(.is-in) .hours-bars i { height: 4px; }
.hours-axis { position: relative; height: 1.4em; margin-top: 10px; font-size: .75rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 6px; }
.hours-axis span { position: absolute; top: 6px; transform: translateX(-50%); white-space: nowrap; }
.hours-axis span:nth-child(1) { left: 0; transform: none; }
.hours-axis span:nth-child(2) { left: 37.5%; }
.hours-axis span:nth-child(3) { left: 75%; }
.hours-axis span:nth-child(4) { left: auto; right: 0; transform: none; }
.hours-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; font-size: .8125rem; color: var(--ink-2); }
.hours-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 4px; background: var(--bar); }
.hours-legend i.lg-off { background: var(--signal); }
.sec-more { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feat-wide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } .hours-bars { height: 150px; } }

/* ---------- Петля интеграций ---------- */
.loop-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.loop-copy { display: grid; gap: 24px; justify-items: start; }
.loop-flow { display: grid; }
.loop-flow li { position: relative; display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; align-items: center; padding: 13px 0; }
.loop-flow li b { grid-column: 2; align-self: end; font-size: 1.125rem; line-height: 1.2; letter-spacing: -.015em; }
.loop-flow li small { grid-column: 2; align-self: start; font-size: .875rem; color: var(--ink-3); line-height: 1.35; }
.loop-ico { grid-row: 1 / span 2; position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 20px; background: var(--paper); display: grid; place-items: center; }
.loop-ico .icon { width: 24px; height: 24px; }
.loop-ico svg:not(.icon) { width: 30px; height: 30px; }
.loop-flow li.is-solvai .loop-ico { background: var(--signal); }
.loop-flow li:not(.loop-back)::after { content: ""; position: absolute; left: 28px; top: 71px; height: 26px; border-left: 2px dashed var(--signal-press); }
.loop-flow li.loop-back { grid-template-columns: 58px 1fr; padding-top: 22px; font-size: .9375rem; font-weight: 500; line-height: 1.35; color: var(--leaf); }
.loop-back .icon { justify-self: center; width: 26px; height: 26px; }
@media (max-width: 900px) { .loop-panel { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Сравнение ---------- */
.cmp-scroll { overflow-x: auto; border-radius: var(--r-l); background: var(--surface); }
.cmp-table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: .9375rem; line-height: 1.35; }
.cmp-table th, .cmp-table td { padding: 20px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.cmp-table tbody th { width: 27%; font-weight: 500; }
.cmp-table td { color: var(--ink-2); }
.cmp-table .is-us { background: var(--mint); color: var(--ink); font-weight: 550; }
.cmp-table thead .is-us { background: var(--signal); }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Запуск ---------- */
.launch-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.launch-grid .sec-head { position: sticky; top: 120px; margin-bottom: 0; justify-items: start; }
.launch-steps { display: grid; gap: 12px; }
.launch-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-l); background: var(--surface); }
.launch-steps li > span { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 1.375rem; font-weight: 650; }
.launch-steps p { margin-top: 6px; color: var(--ink-2); font-size: 1rem; }

/* ---------- FAQ как переписка ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { display: grid; }
.faq-list summary { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 94%; margin-left: auto; padding: 15px 16px 15px 22px; border-radius: 28px 28px 6px 28px; background: var(--surface); border: 1.5px solid var(--line); font-size: 1.0625rem; font-weight: 500; line-height: 1.3; cursor: pointer; list-style: none; transition: background-color .2s, border-color .2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230c1811' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .3s var(--ease), background-color .2s; }
.faq-list summary:hover { border-color: var(--ink); }
.faq-list details[open] summary { background: var(--signal); border-color: var(--signal); }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: rgba(255, 255, 255, .6); }
.faq-a { width: fit-content; max-width: 94%; margin: 10px 0 12px; padding: 16px 22px; border-radius: 28px 28px 28px 6px; background: var(--surface); box-shadow: var(--shadow-s); font-size: 1rem; line-height: 1.5; }
.faq-list details[open] .faq-a { animation: msg-in .45s var(--ease) both; }
@media (max-width: 900px) {
  .launch-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .launch-grid .sec-head, .faq-grid .sec-head { position: static; }
}
@media (max-width: 520px) { .launch-steps li { grid-template-columns: 44px 1fr; gap: 14px; } .launch-steps li > span { width: 44px; height: 44px; font-size: 1.125rem; } }
