/* ============================================================
   Страницы для инвесторов: /investors/ (продукты, цифры, логика вложений)
   и /investors/manifesto/ (тезис целиком). Только то, чего нет в styles.css.
   Бумага, чернила, акценты Material, без градиентов и свечений
   (docs/restyle-paper.md). Префикс inv-.
   ============================================================ */

.inv-page {
  --inv-dark: #1d1a14;
  --inv-dark-2: #26221a;
  --inv-on-dark: #efeae0;
  --inv-on-dark-soft: #c9c0ae;
  --inv-trust: #3f92dc;
  --inv-cost: #d96b47;
  --inv-bar: #8a8172;
}
.inv-page .section-title {
  text-wrap: balance;
}
.inv-page figure {
  margin: 0;
}
.inv-head {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.inv-head .section-lead {
  margin: 0;
}

/* ---------- Первый экран ---------- */
.inv-hero {
  padding-block: clamp(44px, 7vw, 96px) clamp(48px, 6vw, 84px);
}
.inv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.inv-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 10px 0 24px;
  color: var(--text);
  text-wrap: balance;
}
/* Главная мысль страницы: «плати или умри» зачёркнуто синими чернилами.
   Линия нарисована фоном, поэтому переживает перенос фразы на две строки
   (длинные языки, узкие экраны). Единственное движение на странице:
   линия прочерчивается один раз. */
.inv-strike {
  color: var(--muted);
  background-image: linear-gradient(var(--brand-1), var(--brand-1));
  background-repeat: no-repeat;
  background-position: 0 60%;
  background-size: 100% 0.085em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: inv-strike 0.75s var(--ease) 0.35s both;
}
@keyframes inv-strike {
  from {
    background-size: 0% 0.085em;
  }
  to {
    background-size: 100% 0.085em;
  }
}
.inv-lead {
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-soft);
  margin: 0;
}
.inv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.inv-readlink {
  display: inline-block;
  margin-top: 16px;
  color: var(--brand-2);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.inv-ticks {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.inv-ticks li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.inv-ticks li::before {
  content: "✓";
  color: var(--yes);
  font-weight: 700;
}

/* Стопка продуктов: кто что делает и в каком состоянии */
.inv-stack {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}
.inv-stack-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--text);
}
.inv-st-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.inv-st-conn {
  width: 0;
  height: 14px;
  margin-left: 35px;
  border-left: 2px dashed var(--border-strong);
}
.inv-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}
.inv-tile.s {
  background: #1e88e5;
}
.inv-tile.t {
  background: #2e7d32;
}
.inv-tile.e {
  background: #15120c;
}
.inv-tile.f {
  background: #a69d8c;
}
.inv-st-name {
  display: block;
  font-weight: 700;
  color: var(--text);
}
.inv-st-sub {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.35;
}
.inv-st-row.is-dev .inv-st-name {
  color: var(--text-soft);
}

/* Метки статуса: цвет плюс точка и слово, не только цвет */
.inv-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}
.inv-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.inv-pill.is-live {
  color: var(--yes);
  background: rgba(46, 125, 50, 0.1);
}
.inv-pill.is-beta {
  color: #b85300;
  background: rgba(239, 108, 0, 0.12);
}
.inv-pill.is-dev {
  color: var(--muted);
  background: transparent;
  border-color: var(--border-strong);
}

/* ---------- Проблема: четыре счёта ---------- */
.inv-problems {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.inv-prob {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.inv-prob-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(198, 40, 40, 0.09);
  color: var(--no);
  margin-bottom: 14px;
}
.inv-prob-ic svg {
  width: 20px;
  height: 20px;
}
.inv-prob-tag {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--muted);
}
.inv-prob h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.2;
  margin: 0 0 10px;
}
.inv-prob p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.inv-prob-stat {
  margin-top: auto;
  padding-top: 18px;
}
.inv-prob .inv-prob-num {
  margin: 16px 0 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--no);
}
.inv-prob .inv-prob-cap {
  font-size: 0.82rem;
  color: var(--muted);
}
/* В один ряд карточки делят строки сетки: заголовки, цифры и подписи
   стоят на одной высоте во всех четырёх. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1101px) {
    .inv-problems {
      row-gap: 0;
    }
    .inv-prob {
      display: grid;
      grid-row: span 6;
      grid-template-rows: subgrid;
    }
    .inv-prob-stat {
      display: contents;
    }
  }
}

/* ---------- Три платформы ---------- */
.inv-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.inv-prod {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.inv-prod-media {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.inv-prod.is-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.inv-prod.is-wide .inv-prod-media {
  aspect-ratio: auto;
  padding: 22px;
  border-bottom: 0;
  border-right: 1px solid var(--border);
}
.inv-prod.is-wide .inv-prod-body {
  justify-content: center;
  padding: clamp(24px, 3.4vw, 44px);
}
.inv-prod.is-wide .inv-prod-body h3 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}
.inv-prod.is-wide .inv-prod-foot {
  margin-top: 4px;
}
.inv-prod-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}
.inv-prod-label {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: var(--muted);
}
.inv-prod-body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.55rem;
  margin: 0 0 10px;
}
.inv-prod-what {
  margin: 0 0 16px;
  color: var(--text-soft);
}
.inv-prod-rows {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.inv-prod-rows dt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.inv-prod-rows dd {
  margin: 2px 0 0;
  font-size: 0.93rem;
  color: var(--text-soft);
}
.inv-prod-foot {
  margin-top: auto;
}

/* Skilcrew: чат с ассистентом, переключатель типа работы без скрипта */
.inv-media-chat {
  padding: 16px;
  background: var(--inv-dark);
}
.inv-wt-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.inv-wt-seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--inv-dark-2);
  border: 1px solid #3a3428;
}
.inv-wt-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 999px;
  color: var(--inv-on-dark-soft);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.inv-wt-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}
#inv-wt-s:checked ~ .inv-wt-seg [for="inv-wt-s"],
#inv-wt-p:checked ~ .inv-wt-seg [for="inv-wt-p"],
#inv-wt-i:checked ~ .inv-wt-seg [for="inv-wt-i"] {
  background: var(--inv-on-dark);
  color: var(--inv-dark);
}
#inv-wt-s:focus-visible ~ .inv-wt-seg [for="inv-wt-s"],
#inv-wt-p:focus-visible ~ .inv-wt-seg [for="inv-wt-p"],
#inv-wt-i:focus-visible ~ .inv-wt-seg [for="inv-wt-i"] {
  outline: 2px solid var(--inv-trust);
  outline-offset: 2px;
}
.inv-wt-panel {
  display: none;
}
#inv-wt-s:checked ~ .inv-wt-panels .inv-wt-s,
#inv-wt-p:checked ~ .inv-wt-panels .inv-wt-p,
#inv-wt-i:checked ~ .inv-wt-panels .inv-wt-i {
  display: block;
}
.inv-cw {
  border: 1px solid #3a3428;
  border-radius: 12px;
  background: var(--inv-dark-2);
  overflow: hidden;
}
.inv-cw-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid #3a3428;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--inv-on-dark-soft);
}
.inv-cw-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4a4335;
}
.inv-cw-bar span {
  margin-left: 6px;
}
.inv-cw-body {
  display: grid;
  gap: 9px;
  padding: 12px;
}
.inv-cw-user {
  justify-self: end;
  max-width: 90%;
  padding: 9px 12px;
  border-radius: 12px 12px 3px 12px;
  background: var(--brand-1);
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.45;
}
.inv-cw-ai {
  justify-self: start;
  max-width: 96%;
  padding: 9px 12px;
  border-radius: 12px 12px 12px 3px;
  background: #312c22;
  color: var(--inv-on-dark);
  font-size: 0.84rem;
  line-height: 1.45;
}
.inv-cw-ai p {
  margin: 0 0 7px;
}
.inv-cw-ai ul {
  display: grid;
  gap: 5px;
}
.inv-cw-ai li {
  padding: 6px 9px;
  border-radius: 7px;
  border: 1px solid #4a4335;
  font-size: 0.78rem;
  color: var(--inv-on-dark-soft);
}

/* TrustMeta: карусель скриншотов */
.inv-carousel {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
}
.inv-car-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s var(--ease);
}
.inv-car-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
}
.inv-car-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.inv-car-nav {
  position: absolute;
  top: calc(50% - 18px);
  box-shadow: 0 4px 14px -6px rgba(21, 18, 12, 0.45);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}
.inv-car-nav svg {
  width: 18px;
  height: 18px;
}
.inv-car-nav.prev {
  left: 10px;
}
.inv-car-nav.next {
  right: 10px;
}
.inv-car-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(247, 243, 234, 0.94);
}
.inv-car-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--border-strong);
  cursor: pointer;
}
.inv-car-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--brand-1);
}
.inv-car-nav:focus-visible,
.inv-car-dot:focus-visible {
  outline: 2px solid var(--brand-1);
  outline-offset: 2px;
}

/* Флагман: место под продукт, которого ещё нет */
.inv-media-ph {
  display: grid;
  place-items: center;
  height: 100%;
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--bg-alt) 14px 28px);
}
.inv-media-ph span {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- EPAV Desk: чат, счёт, сравнение ---------- */
.inv-es-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}
.inv-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 22px;
}
.inv-panel-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 4px;
}
.inv-panel-sub {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--muted);
}
.inv-panel-note {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.inv-panel-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--brand-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Пример диалога саппорта: как на странице товара */
.inv-chat {
  overflow: hidden;
  padding: 0;
}
.inv-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--ink-03);
}
.inv-chat-head svg {
  flex: none;
}
.inv-chat-who {
  display: grid;
  line-height: 1.25;
  min-width: 0;
}
.inv-chat-who strong {
  font-size: 0.98rem;
}
.inv-chat-who small {
  color: var(--muted);
  font-size: 0.8rem;
}
.inv-chat-tag {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--dim);
  font-size: 0.74rem;
}
.inv-chat-body {
  display: grid;
  gap: 12px;
  padding: 20px 18px;
}
.inv-msg {
  max-width: 88%;
  font-size: 0.93rem;
  line-height: 1.5;
}
.inv-msg p {
  margin: 0;
}
.inv-msg-in {
  justify-self: end;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--brand-1);
  color: #fff;
}
.inv-msg-bot {
  justify-self: start;
  padding: 11px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.inv-msg-src {
  display: inline-flex;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.1);
  color: var(--yes);
  font-size: 0.78rem;
  font-weight: 600;
}
.inv-msg-sys {
  justify-self: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px dashed var(--border-strong);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* Счёт за месяц: тонкие полосы, у всех свой ярлык с суммой */
.inv-bars {
  display: grid;
  gap: 10px;
}
.inv-bar-row {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr) 84px;
  gap: 12px;
  align-items: center;
  font-size: 0.92rem;
}
.inv-bar-name {
  color: var(--text);
  font-weight: 600;
}
.inv-bar-track {
  height: 12px;
  border-radius: 999px;
  background: var(--ink-08);
  overflow: hidden;
}
.inv-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--inv-bar);
}
.inv-bar-val {
  font-family: var(--font-mono);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.inv-bar-val small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
}
.inv-bar-row.is-us {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
}
.inv-bar-row.is-us .inv-bar-name,
.inv-bar-row.is-us .inv-bar-val {
  color: var(--brand-2);
}
.inv-bar-row.is-us .inv-bar-fill {
  background: var(--brand-1);
}

/* Своя среда у каждого клиента: четыре довода двумя рядами под графиком счёта */
.inv-iso-panel {
  margin-top: 18px;
}
.inv-iso-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.inv-iso-list li {
  padding-left: 14px;
  border-left: 3px solid var(--brand-1);
}
.inv-iso-list b {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}
.inv-iso-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Картинка сравнения: галочки, тильды и крестики по девяти пунктам */
.inv-matrix-panel {
  margin-top: 18px;
}
/* position: relative держит скрытые подписи .sr-only внутри прокрутки,
   иначе на телефоне вся страница уезжает вбок. */
.inv-matrix-wrap {
  position: relative;
  overflow-x: auto;
}
.inv-matrix {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}
.inv-matrix th,
.inv-matrix td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}
.inv-matrix thead th {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.inv-matrix tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text-soft);
  max-width: 230px;
}
.inv-matrix .us {
  background: rgba(30, 136, 229, 0.08);
}
/* Названия пунктов остаются на месте, когда таблицу листают вбок на телефоне */
.inv-matrix tbody th,
.inv-matrix thead th:first-child,
.inv-matrix tfoot th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
}
.inv-matrix thead .us {
  color: var(--brand-2);
  border-radius: 10px 10px 0 0;
}
.inv-matrix tfoot th,
.inv-matrix tfoot td {
  border-bottom: 0;
  font-family: var(--font-mono);
  font-weight: 600;
}
.inv-matrix tfoot th {
  font-family: var(--font-body);
  text-align: left;
  color: var(--text);
}
.inv-matrix tfoot .us {
  color: var(--brand-2);
  border-radius: 0 0 10px 10px;
}
.inv-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1;
}
.inv-mark.is-yes {
  background: var(--yes);
  color: #fff;
}
.inv-mark.is-ok {
  background: rgba(239, 108, 0, 0.14);
  color: #b85300;
  border: 1px solid #ef6c00;
}
.inv-mark.is-no {
  background: transparent;
  color: var(--no);
  border: 1px solid rgba(198, 40, 40, 0.45);
}
.inv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: var(--text-soft);
}
.inv-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.inv-legend .inv-mark {
  width: 20px;
  height: 20px;
  font-size: 0.74rem;
}
.inv-es-cta {
  margin-top: 24px;
}

/* ---------- Как это связано ---------- */
.inv-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: stretch;
}
.inv-flow-node {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.inv-flow-node h3 {
  margin: 0 0 4px;
  font-size: 1.22rem;
}
.inv-flow-node p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.inv-flow-node.is-soon {
  border-style: dashed;
  border-color: var(--border-strong);
}
.inv-flow-arrow {
  display: grid;
  place-items: center;
  color: var(--brand-1);
}
.inv-flow-arrow svg {
  width: 34px;
  height: 14px;
}
.inv-flow-base {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--inv-dark);
  color: var(--inv-on-dark);
}
.inv-flow-base p {
  margin: 0;
}
.inv-flow-base svg {
  flex: none;
}

/* ---------- Для инвесторов: тёмная полоса ---------- */
.inv-dark {
  background: var(--inv-dark);
  color: var(--inv-on-dark);
}
.inv-dark .kicker {
  color: #8fbff0;
}
.inv-dark .section-title {
  color: var(--inv-on-dark);
}
.inv-dark .section-lead {
  color: var(--inv-on-dark-soft);
}
.inv-dark-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.inv-dark .btn-ghost {
  color: var(--inv-on-dark);
  border-color: #4a4335;
  background: transparent;
}
.inv-curve {
  padding: 20px;
  border: 1px solid #3a3428;
  border-radius: var(--radius-lg);
  background: var(--inv-dark-2);
}
.inv-curve svg {
  display: block;
  width: 100%;
  height: auto;
}
.inv-curve-axis {
  stroke: #4a4335;
  stroke-width: 1;
}
.inv-curve-trust {
  fill: none;
  stroke: var(--inv-trust);
  stroke-width: 3;
  stroke-linecap: round;
}
.inv-curve-cost {
  fill: none;
  stroke: var(--inv-cost);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 7 6;
}
.inv-curve-now {
  stroke: var(--inv-on-dark-soft);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.inv-curve-dot {
  stroke: var(--inv-dark-2);
  stroke-width: 2;
}
.inv-curve-legend {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--inv-on-dark);
}
.inv-curve-legend span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.inv-curve-legend i {
  display: inline-block;
  width: 26px;
  height: 0;
  border-top: 3px solid var(--inv-trust);
}
.inv-curve-legend .cost i {
  border-top: 3px dashed var(--inv-cost);
}
.inv-curve-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--inv-on-dark-soft);
}
.inv-dark-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(32px, 4vw, 48px);
}
.inv-dark-reasons > div {
  padding-top: 16px;
  border-top: 2px solid #3a3428;
}
.inv-dark-reasons h3 {
  margin: 0 0 6px;
  font-size: 1.28rem;
  color: var(--inv-on-dark);
}
.inv-dark-reasons p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--inv-on-dark-soft);
}

/* ---------- Финальный призыв ---------- */
.inv-final {
  padding: clamp(32px, 5vw, 56px);
  border-radius: 22px;
  background: var(--brand-1);
  color: #fff;
  text-align: center;
}
.inv-final .section-title {
  color: #fff;
  max-width: 22ch;
  margin-inline: auto;
}
.inv-final p {
  max-width: 60ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}
.inv-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.inv-final .btn {
  background: #fff;
  color: var(--brand-2);
  border-color: #fff;
}
.inv-final .btn.is-dark {
  background: var(--inv-dark);
  color: #fff;
  border-color: var(--inv-dark);
}
.inv-final .inv-sign {
  margin-top: 22px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Манифест ---------- */
.inv-mf-hero {
  padding-bottom: 0;
}
.inv-mf-body {
  padding-top: clamp(32px, 4vw, 48px);
}
.inv-mf-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.inv-toc {
  position: sticky;
  top: 96px;
  font-size: 0.9rem;
}
.inv-toc p {
  margin: 0 0 10px;
  font-weight: 600;
}
.inv-toc ol {
  display: grid;
  gap: 8px;
  padding-left: 1.2em;
  list-style: decimal;
  color: var(--muted);
}
.inv-toc a {
  color: var(--text-soft);
}
.inv-toc a:hover {
  color: var(--brand-2);
}
.inv-back {
  display: block;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--brand-2);
  font-weight: 600;
}
.inv-points {
  margin: 20px 0 0;
  padding-left: 1.5em;
  display: grid;
  gap: 14px;
  list-style: decimal;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.6;
}
.inv-points li::marker {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brand-2);
}
.inv-summary {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: 8px;
}
.inv-summary h2 {
  font-size: 1.3rem;
  margin: 0;
}
.inv-block {
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--border);
}
.inv-block p {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.72;
  margin: 0 0 14px;
}
.inv-block .inv-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--brand-2);
}
.inv-h {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text);
}
.inv-h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.25;
  margin: 24px 0 8px;
  color: var(--text);
}
.inv-block .inv-strong {
  font-weight: 600;
  color: var(--text);
}
.inv-stat {
  margin: 18px 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.inv-block .inv-stat-num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 6px;
}
.inv-block .inv-stat-cap {
  font-size: 0.98rem;
  margin: 0;
}
.inv-quote {
  margin: 24px 0;
  padding: 2px 0 2px 20px;
  border-left: 3px solid var(--brand-1);
}
.inv-block .inv-quote p {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.45;
  color: var(--text);
  margin: 0;
}
.inv-platform {
  margin-top: 18px;
  padding: 24px 24px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.inv-platform:first-child {
  margin-top: 0;
}
.inv-platform .inv-h {
  font-size: clamp(1.35rem, 2.8vw, 1.8rem);
  margin-bottom: 12px;
}
.inv-platform .btn {
  margin: 2px 0 16px;
}
.inv-platform-own {
  background: var(--surface-2);
  border-color: var(--border-strong);
}
.inv-list {
  margin: 4px 0 16px;
  padding-left: 1.3em;
  display: grid;
  gap: 8px;
  list-style: disc;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}
.inv-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}
.inv-reason {
  padding: 18px 18px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.inv-reason .inv-h4 {
  margin-top: 0;
}
.inv-block .inv-reason p {
  font-size: 0.98rem;
  line-height: 1.6;
}
.inv-key {
  margin: 20px 0 6px;
  padding: 18px 20px 6px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
}
.inv-key .inv-h4 {
  margin-top: 0;
}
.inv-mf-cta {
  text-align: center;
}
.inv-mf-cta .section-lead {
  margin: 0 auto 26px;
  max-width: 60ch;
}
.inv-sign {
  margin: 26px auto 0;
  max-width: 62ch;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Ширины ---------- */
@media (max-width: 1100px) {
  .inv-problems {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inv-es-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 860px) {
  .inv-iso-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .inv-products {
    grid-template-columns: minmax(0, 1fr);
  }
  .inv-prod.is-wide {
    display: flex;
  }
  .inv-prod.is-wide .inv-prod-media {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 960px) {
  .inv-hero-grid,
  .inv-dark-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .inv-flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .inv-flow-arrow {
    height: 34px;
  }
  .inv-flow-arrow svg {
    transform: rotate(90deg);
  }
  .inv-mf-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .inv-toc {
    position: static;
  }
}
@media (max-width: 640px) {
  .inv-problems,
  .inv-dark-reasons {
    grid-template-columns: minmax(0, 1fr);
  }
  .inv-st-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .inv-st-row .inv-pill {
    grid-column: 2;
    justify-self: start;
  }
  .inv-tile {
    width: 40px;
    height: 40px;
  }
  .inv-st-conn {
    margin-left: 33px;
  }
  /* На телефоне название и сумма в строку, полоса под ними во всю ширину */
  .inv-bar-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name val" "bar bar";
    gap: 6px 12px;
  }
  .inv-bar-name {
    grid-area: name;
  }
  .inv-bar-track {
    grid-area: bar;
  }
  .inv-bar-val {
    grid-area: val;
  }
  .inv-bar-val small {
    display: inline;
    margin-left: 6px;
  }
  .inv-matrix {
    min-width: 700px;
  }
  .inv-matrix tbody th {
    min-width: 124px;
    max-width: 136px;
    font-size: 0.84rem;
  }
  .inv-wt-btn svg {
    display: none;
  }
  .inv-prod.is-wide .inv-prod-media {
    padding: 14px;
  }
  .inv-car-nav {
    display: none;
  }
  .inv-panel {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inv-strike {
    animation: none;
  }
  .inv-car-track {
    transition: none;
  }
}
