/* polish-a: система заголовков, карточка шага, конец пути, цифры офферов, график, диагноз.
   Подключён после site.css. Большой кегль: диагноз, путь, команда, инструменты, цена. Малый: офферы, вопросы, «с нуля». Выключка слева по --pad, по центру только финал. */
:root { --h-sm: clamp(30px, 2.75vw, 70px); }

/* 1. заголовки секций */
.chapter { text-align: left; }
.chapter__title { margin: 0; }
.chapter__lead { margin-left: 0; margin-right: 0; }
.price { text-align: left; }
.price__title { margin: 0; text-align: left; font-size: round(down, clamp(44px, 5.6vw, 143px), 11px); line-height: 1.02; }
.price .tariffs { margin-left: 0; margin-right: 0; max-width: none; }
.price .calc { justify-items: start; margin-left: 0; margin-right: 0; max-width: none; }
.price__cta { justify-content: flex-start; }
.zero .chapter__title, .h2--sm, .faq > .h2 { font-size: var(--h-sm); line-height: 1.08; }
.zero .chapter__title .line { white-space: normal; }

/* 2. карточка шага пути: без строки «шаг N из 6» и внутренних линий */
.path__text .step:not(.step--intro)::before { content: none; display: none; }
.path__text .step:not(.step--intro) .step__title { border-right: 0; border-bottom: 0; }
.ticks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .path__text .step:not(.step--intro) .step__title { border-bottom: 0; padding-bottom: 4px; }
  .path__text .step:not(.step--intro) .step__text { padding-top: 0; }
}

/* 3. конец пути: левая выключка по линии карточек, панель ниже */
.path__text .path__outro { left: calc((100% - var(--panel-w)) / 2); width: min(760px, var(--panel-w)); transform: none; text-align: left; padding: 22px 20px 24px; bottom: -56px; }
.path__text .path__where, .path__where { margin-inline: 0; }

/* 4. цифры в офферах */
.offers__head { display: block; }
.offers__head .keys { margin-top: clamp(28px, 3.2vw, 56px); }
.keys { grid-column: auto; align-items: start; }
.keys__item { border-top: 0; padding-top: 0; display: grid; grid-template-rows: auto auto auto; row-gap: 0; }
.offers .keys dt, .offers .keys .is-gold dt { font: 400 round(down, clamp(33px, 4.4vw, 110px), 11px)/1 var(--f-disp); color: var(--ink); }
.offers .keys .is-gold dt { color: var(--gold); }
.keys dd { margin-top: 12px; max-width: 18em; min-height: 2.8em; }
.viz { position: relative; height: 12px; margin-top: 14px; }
.viz i { position: absolute; display: block; background: rgba(243, 241, 236, .5); }
.viz--dots { display: flex; justify-content: space-between; align-items: flex-end; }
.viz--dots i { position: static; width: 1px; height: 10px; }
.viz--range::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(243, 241, 236, .5); }
.viz--range i { top: 0; width: 1px; height: 12px; background: var(--gold); }
.viz--seg i { left: 0; height: 1px; }
.viz--seg i:first-child { top: 3px; background: var(--gold); }
.viz--seg i:last-child { top: 8px; }

/* 5. график: фильтр залитый у выбранного, контурные у остальных */
.stats__filter button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.stats__filter button[aria-pressed="true"]:hover { background: var(--ink); color: var(--bg); }
.stats .chart { margin-top: 10px; }

/* 6. диагноз: название беды крупнее, ряд ниже */
.chain__txt h3 { font-size: clamp(26px, 2vw, 52px); line-height: 1.08; }
.chain__row { padding-block: clamp(14px, 1.4vw, 26px); }
.chain__then { margin-top: clamp(8px, .8vw, 14px); }
@media (max-width: 760px) { .chain__txt h3 { font-size: 28px; } }
@media (min-width: 761px) {
  .chain__art { font-size: clamp(9px, 1.04vw, 23px); }
  .stats .chart canvas { height: clamp(300px, 20vw, 440px); }
}
.chart__tip { font-size: 14px; line-height: 1.45; } .chart__tip span { font-size: 14px; }
