/* =========================================================================
   FinHelp — главная страница
   Реализация макета «FinHelp Главная.dc.html» (Claude Design)
   ========================================================================= */

:root {
  /* Бренд */
  --green:        #0FA968;
  --green-600:    #0C8A55;
  --green-800:    #0A5A38;

  /* Текст */
  --ink:          #131A26;
  --muted:        #55606F;
  --muted-2:      #8A93A0;

  /* Поверхности */
  --surface:      #FFFFFF;
  --surface-2:    #F4F6F5;
  --surface-3:    #F7F9F8;
  --surface-4:    #F1F3F2;
  --mint:         #F1F8F4;

  /* Границы */
  --line:         #E3E7EA;
  --line-2:       #E9EDEB;
  --line-3:       #EDF0EF;
  --line-strong:  #CFD6DA;
  --mint-line:    #DCEDE4;

  /* Тени */
  --shadow-panel: 0 14px 36px rgba(19, 26, 38, .10), 0 2px 6px rgba(19, 26, 38, .05);
  --shadow-cta:   0 2px 10px rgba(15, 169, 104, .28);

  /* Типографика */
  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text:    'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Раскладка */
  --maxw:         1140px;
  --gutter:       24px;
  --header-h:     78px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth; /* отключается в блоке prefers-reduced-motion */
}

body {
  margin: 0;
  background: var(--surface);
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img, svg { max-width: 100%; }

a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--green-800); text-decoration: underline; }

:focus-visible {
  outline: 3px solid rgba(15, 169, 104, .55);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; margin: 0; }

/* Якорные переходы не должны прятать заголовок под липкой шапкой */
section[id], [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 0;
  font-family: var(--font-display);
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ============================== Кнопки ================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 13px 22px;
}
.btn--primary:hover { background: var(--green-600); color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
  padding: 12px 20px;
}
.btn--ghost:hover { border-color: var(--green); color: var(--green-600); }

.btn--lg { height: 56px; padding: 0 34px; font-size: 17px; font-weight: 700; }
.btn--block { width: 100%; }
.btn--cta { box-shadow: var(--shadow-cta); }

/* ============================ Верхняя полоса ============================ */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar__right { display: flex; gap: 20px; }
.topbar__phone { color: #fff; font-weight: 600; }
.topbar__phone:hover { color: #fff; }

/* ================================ Шапка ================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line-2);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}
.header__menu { display: contents; }

.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo:hover { text-decoration: none; }
.logo__mark { display: block; width: 36px; height: 36px; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.logo__text b { color: var(--green); font-weight: 800; }

.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); white-space: nowrap; }   /* казахские подписи длиннее — перенос ломал шапку */
.nav a:hover { color: var(--green-600); text-decoration: none; }

.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 140ms ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { content: ''; position: absolute; top: -6px; }
.nav-toggle span::after  { content: ''; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* =============================== Первый экран =========================== */

.hero {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-2);
}
.hero__inner {
  padding-top: 72px;
  padding-bottom: 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  grid-template-areas:
    'copy calc'
    'media calc';
  gap: 0 56px;
  align-items: start;
}
.hero__copy { grid-area: copy; padding-top: 8px; }
.hero__media { grid-area: media; margin-top: 40px; }
.hero__calc { grid-area: calc; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 800;
}
.hero__lead {
  margin: 22px 0 0;
  max-width: 500px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
}
.chips b {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
}

.hero__img {
  display: block;
  width: 100%;
  height: auto;                 /* пропорция 12:5 — на десктопе это те же 240px */
  border-radius: 16px;
}

/* ============================== Калькулятор ============================= */

.calc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-panel);
  padding: 28px;
}
.calc__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.calc__title { font-size: 22px; font-weight: 700; letter-spacing: 0; }

.seg {
  display: flex;
  background: var(--surface-4);
  border-radius: 999px;
  padding: 3px;
}
.seg__btn {
  border: none;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.seg__btn[aria-pressed="true"] {
  background: #fff;
  color: var(--green-800);
  box-shadow: 0 1px 3px rgba(19, 26, 38, .12);
}

.calc__field { margin-top: 26px; }
.calc__field + .calc__field { margin-top: 24px; }
.calc__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.calc__label { font-size: 14px; color: var(--muted); }
.calc__value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc__scale {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 10px;
}

.calc__result {
  margin-top: 26px;
  background: var(--mint);
  border: 1px solid var(--mint-line);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.calc__result dt { font-size: 13px; color: var(--muted); }
.calc__result dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.calc__result .is-total {
  margin-top: 3px;
  font-size: 24px;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: -.02em;
}
.calc__cell { min-width: 0; }

.calc__submit { margin-top: 22px; }
.calc__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-2);
  text-align: center;
}

/* Ползунки */
.range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  margin: 0;
  border: none;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(90deg,
    var(--green) 0 var(--fill, 50%),
    var(--line) var(--fill, 50%) 100%);
  touch-action: pan-y;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--green);
  border: 6px solid #fff;
  box-shadow: 0 2px 8px rgba(19, 26, 38, .28);
  cursor: grab;
}
.range:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.06); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: transparent; }
.range::-moz-range-thumb {
  width: 30px; height: 30px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--green);
  border: 6px solid #fff;
  box-shadow: 0 2px 8px rgba(19, 26, 38, .28);
  cursor: grab;
}
.range:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(15, 169, 104, .3); }

/* ============================ Общие секции ============================== */

.section { padding-top: 88px; padding-bottom: 88px; }
.section--alt {
  background: var(--surface-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.section--tight { padding-top: 80px; padding-bottom: 80px; }
/* Контакты примыкают к подвалу — нижняя граница не нужна */
.section--flush-bottom { border-bottom: none; }

.section__title {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
}
.section__lead {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 560px;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ========================== Как это работает =========================== */

.steps { margin-top: 44px; }
.step {
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 28px;
}
.step__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}
.step__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0 22px;
}
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.step__text { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ============================ Условия и ставки ========================== */

.terms__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: start;
}
.terms__lead { max-width: 520px; }
.guide__lead { max-width: 600px; }

.spec {
  margin: 36px 0 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.spec__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-3);
}
.spec__row:last-child { border-bottom: none; }
.spec dt { font-size: 15.5px; color: var(--muted); }
.spec dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.spec dd.is-accent { color: var(--green-800); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: 0; }

.ticks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.ticks li::before {
  content: '';
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 8px;
}
.card__note {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-3);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-2);
}

.stat {
  margin-top: 20px;
  background: var(--green-800);
  border-radius: 16px;
  padding: 26px 28px;
  color: #fff;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.stat__text {
  margin: 10px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
}

/* ============================ Погашение ================================ */

.tile {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.tile h3 { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.tile p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ============================== Отзывы ================================= */

.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}
.review p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink); }
.review figcaption { font-size: 14px; color: var(--muted-2); margin-top: auto; }

/* ============================= Справочная =============================== */

.guide__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.guide__more { flex: 0 0 auto; padding: 13px 24px; }

.subhead {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin: 44px 0 0;
}
.subhead + * { margin-top: 20px; }

.banks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bank {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 160ms ease;
}
.bank:hover { border-color: var(--green); text-decoration: none; }
.bank__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.bank__meta { font-size: 14px; color: var(--muted-2); }
.bank--all { border-style: dashed; border-color: var(--line-strong); background: var(--surface-3); }
.bank--all .bank__name { color: var(--green-600); }

.articles { margin-top: 20px; }
.article { display: flex; flex-direction: column; gap: 16px; }
.article:hover { text-decoration: none; }
.article__cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.article__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.article:hover .article__title { color: var(--green-600); }
.article__meta { font-size: 14px; color: var(--muted-2); }

/* ================================ FAQ ================================== */

.faq__inner {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.faq__lead { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.faq__phone {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-600);
}
.faq__list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq__item { border-bottom: 1px solid var(--line-3); }
.faq__item:last-child { border-bottom: none; }
.faq__q {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--green-600); }
.faq__sign {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
  color: var(--green);
  transition: transform 180ms ease;
}
.faq__item[open] .faq__sign { transform: rotate(45deg); }
.faq__a {
  margin: 0;
  padding: 0 26px 24px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}

/* ====================== Ответственное кредитование ====================== */

.responsible {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr;
  gap: 48px;
  align-items: start;
}
.responsible h2 { font-size: clamp(24px, 2.4vw, 28px); font-weight: 800; }
.responsible__intro {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.responsible__notes { display: flex; flex-direction: column; gap: 16px; }
.responsible__notes p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ============================== Контакты =============================== */

.contacts { margin-top: 36px; }
.contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.contact__label { font-size: 13.5px; color: var(--muted-2); }
.contact__value {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.contact__value--sm { font-size: 18px; }
.contact__value--addr {
  font-family: var(--font-text);
  font-size: 15.5px;
  line-height: 1.5;
  font-weight: 600;
}
a.contact__value:hover { color: var(--green-600); }
.contact__meta { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* =============================== Подвал ================================ */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .68);
}
.footer__inner { padding-top: 64px; padding-bottom: 40px; }
.footer__top {
  display: grid;
  grid-template-columns: 300px repeat(3, 1fr);
  gap: 40px;
}
.footer__about { margin: 18px 0 0; font-size: 14px; line-height: 1.65; }
.footer .logo__text { color: #fff; font-size: 21px; }
.footer .logo__mark { width: 34px; height: 34px; }

.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer__col-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}
.footer__col a { color: rgba(255, 255, 255, .78); }
.footer__col a:hover { color: #fff; }

.footer__legal {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  font-size: 13.5px;
  line-height: 1.7;
}
.footer__legal dt { color: rgba(255, 255, 255, .4); }
.footer__legal dt + dt { margin-top: 12px; }
.footer__legal dd { margin: 0; color: rgba(255, 255, 255, .82); }
.footer__legal dd + dt { margin-top: 12px; }
.footer__copy { margin-top: 32px; font-size: 13px; color: rgba(255, 255, 255, .42); }

/* ============================= Адаптивность ============================= */

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) 400px; gap: 0 36px; }
  .terms__inner { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
  .faq__inner { grid-template-columns: 280px minmax(0, 1fr); gap: 36px; }
  .banks { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: block; }
  .header__inner { gap: 16px; }
  .header__menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line-2);
    box-shadow: 0 16px 32px rgba(19, 26, 38, .12);
    padding: 18px var(--gutter) 24px;
  }
  .header__menu.is-open { display: block; }
  .nav { flex-direction: column; gap: 2px; font-size: 16px; }
  .nav a { display: block; padding: 12px 0; }
  .header__actions {
    margin: 18px 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .header__actions .btn { padding: 15px 20px; }

  .hero__inner {
    padding-top: 44px;
    padding-bottom: 56px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'copy' 'calc' 'media';
    gap: 0;
  }
  .hero__calc { margin-top: 32px; }
  .hero__media { margin-top: 32px; }
  .hero__lead { max-width: none; }

  .section { padding-top: 56px; padding-bottom: 56px; }
  .section--tight { padding-top: 52px; padding-bottom: 52px; }

  .grid-3, .grid-4, .banks, .articles { grid-template-columns: repeat(2, 1fr); }
  .terms__inner, .faq__inner { grid-template-columns: minmax(0, 1fr); }
  .responsible { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px; }
  .footer__legal { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }

  .topbar { font-size: 12px; }
  .topbar__inner { flex-direction: column; gap: 2px; padding-top: 6px; padding-bottom: 6px; }
  .topbar__hours { display: none; }
  /* номер — основное действие, тапать по 15px нельзя */
  .topbar__phone { display: inline-block; padding: 10px 0; font-size: 14px; }

  .calc { padding: 20px; }
  .calc__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .seg { width: 100%; }
  .seg__btn { flex: 1; padding: 12px 10px; }
  .calc__value { font-size: 24px; }
  .calc__result { grid-template-columns: 1fr; gap: 14px; padding: 18px; }

  .grid-3, .grid-4, .banks, .articles { grid-template-columns: minmax(0, 1fr); }
  .step, .card, .review, .contact { padding: 22px; }
  .spec__row { grid-template-columns: 1fr; gap: 6px; }
  .guide__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .topbar, .header, .nav-toggle, .calc__submit { display: none !important; }
  body { background: #fff; }
  .section { padding: 24px 0; }
}

/* =========================================================================
   Внутренние страницы
   ========================================================================= */

/* ============================ Хлебные крошки ============================ */

.crumbs {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
}
.crumbs .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green-600); }
.crumbs a::after {
  content: '›';
  margin-left: 10px;
  color: var(--muted-2);
}
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ========================== Шапка внутренней ============================ */

.page-hero {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-2);
}
.page-hero__inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 48px;
  align-items: center;
}
.page-hero--slim .page-hero__inner {
  grid-template-columns: minmax(0, 1fr);
  padding-top: 44px;
  padding-bottom: 44px;
}
.page-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 800;
}
.page-hero__lead {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.page-hero__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* ====================== Раскладка «контент + сайдбар» =================== */

.layout-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}
.aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 104px; }
.aside__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.aside .ticks, .aside .spec { margin-top: 18px; }
.card--quiet { background: var(--surface-3); }
.card__text { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.card__text + .btn { margin-top: 16px; }
.card .btn { margin-top: 16px; }

.linklist { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.linklist a { font-size: 15px; line-height: 1.45; }

.spec--plain { margin-top: 16px; border-radius: 12px; }
.spec--plain .spec__row { padding: 14px 16px; font-size: 14.5px; }
.spec--plain dd { font-size: 15px; }

/* ============================== Текст статей ============================ */

.prose { max-width: 720px; font-size: 16.5px; line-height: 1.7; color: var(--ink); }
.prose h1 { margin: 14px 0 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 800; }
.prose h2 {
  margin: 44px 0 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.prose h3 { margin: 28px 0 0; font-size: 18px; font-weight: 700; letter-spacing: 0; }
.prose p { margin: 14px 0 0; color: var(--muted); }
.prose h1 + p, .prose h2 + p, .prose h3 + p { margin-top: 12px; }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }
.prose__lead { margin-top: 20px !important; font-size: 18.5px; line-height: 1.6; color: var(--muted); }
.prose__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 32px 0 0;
}
.prose__ul, .prose__ol {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  counter-reset: prose;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
}
.prose__ul li, .prose__ol li { position: relative; padding-left: 32px; }
.prose__ul li::before {
  content: '';
  position: absolute;
  left: 8px; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.prose__ol li { counter-increment: prose; }
.prose__ol li::before {
  content: counter(prose);
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint);
  border: 1px solid var(--mint-line);
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prose__note {
  margin: 28px 0 0;
  padding: 18px 20px;
  background: var(--surface-3);
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============================== Таблицы ================================ */

.table-wrap { margin: 20px 0 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; }
.table thead th {
  background: var(--surface-3);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.table tbody tr { border-top: 1px solid var(--line-3); }
.table tbody th {
  font-family: var(--font-text);
  font-weight: 400;
  color: var(--muted);
  width: 42%;
}
.table td { color: var(--ink); }

/* =============================== Оглавление ============================ */

.toc {
  margin: 28px 0 0;
  padding: 22px 24px;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  border-radius: 14px;
}
.toc__title {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.toc ol { margin: 14px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.toc li { color: var(--muted-2); font-size: 15px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--green-600); }

/* ============================== Плашки ================================= */

.notice {
  margin: 0 0 28px;
  padding: 18px 22px;
  background: var(--mint);
  border: 1px solid var(--mint-line);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.notice b { color: var(--green-800); }
.notice--demo { background: #FFF8EC; border-color: #F2E2C4; }
.notice--demo b { color: #8A6316; }
.section .notice:last-child { margin: 32px 0 0; }

/* ================================ Формы ================================ */

.form { }
.form--narrow { max-width: 460px; }
.form__step { display: none; border: none; margin: 0; padding: 0; min-width: 0; }
.form__step.is-active { display: block; }
.form__legend {
  padding: 0;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.form__row { margin-bottom: 26px; }
.form__label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.form__actions .btn--block { flex: 1; }
.form__note { margin: 20px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted-2); }

.field { margin: 0; display: flex; flex-direction: column; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.field__opt { color: var(--muted-2); }
.field__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--ink);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field__input::placeholder { color: var(--muted-2); }
.field__input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 169, 104, .18);
}
.field__input--code {
  max-width: 180px;
  letter-spacing: .5em;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}
.field__hint { margin-top: 8px; font-size: 13.5px; color: var(--muted-2); }
.field__error { margin-top: 8px; font-size: 13.5px; color: #C0392B; }
.field.is-invalid .field__input { border-color: #C0392B; }
.field.is-invalid .field__hint { display: none; }

.check { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 0 0 18px; }
.check__input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.check__label { font-size: 15px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.check .field__error { grid-column: 2; margin-top: 0; }
.check.is-invalid .check__label { color: var(--ink); }

/* Индикатор шагов */
.stepbar {
  display: flex;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.stepbar__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--muted-2);
}
.stepbar__num {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}
.stepbar__item.is-current {
  background: var(--mint);
  border-color: var(--mint-line);
  color: var(--green-800);
  font-weight: 500;
}
.stepbar__item.is-current .stepbar__num { background: var(--green); border-color: var(--green); color: #fff; }
.stepbar__item.is-done .stepbar__num { background: var(--mint); border-color: var(--mint-line); color: var(--green-800); }

/* Сводка перед отправкой */
.recap {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.recap__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-3);
}
.recap__row:last-child { border-bottom: none; }
.recap dt { font-size: 14.5px; color: var(--muted); }
.recap dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Экран результата */
.result {
  padding: 40px;
  background: var(--mint);
  border: 1px solid var(--mint-line);
  border-radius: 18px;
  text-align: center;
}
.result:focus-visible { outline: 3px solid rgba(15, 169, 104, .55); }
.result__badge {
  width: 56px; height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 26px;
  line-height: 56px;
}
.result__title { margin: 20px 0 0; font-size: 24px; font-weight: 800; }
.result__text { margin: 14px auto 0; max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.result__actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

.seg--wide { width: 100%; }
.seg--wide .seg__btn { flex: 1; padding: 12px 14px; }

/* ============================ Карточки разделов ======================== */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.hubcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.hubcard:hover { border-color: var(--green); text-decoration: none; box-shadow: var(--shadow-panel); }
.hubcard__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 6px;
}
.hubcard__title { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--ink); }
.hubcard__text { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.hubcard__more {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--green-600);
}
.hubcard__more::after { content: ' →'; }

.doccard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 160ms ease;
}
.doccard:hover { border-color: var(--green); text-decoration: none; }
.doccard__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.doccard__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.doccard__more { margin-top: auto; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--green-600); }
.doccard__more::after { content: ' →'; }

.banks--reference { margin: 24px 0 0; grid-template-columns: repeat(3, 1fr); }
.bank--static { cursor: default; scroll-margin-top: 110px; }
.bank--static:hover { border-color: var(--line); }

/* ================================ 404 ================================== */

.notfound__inner { max-width: 620px; margin: 0 auto; text-align: center; }
.notfound__img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;                 /* иначе применяется атрибут height и картинка растягивается */
  margin: 0 auto 28px;
  border-radius: 16px;
}
.notfound__title { margin: 12px 0 0; font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; }
.notfound__lead { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.notfound__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ====================== Адаптив внутренних страниц ===================== */

@media (max-width: 1100px) {
  .page-hero__inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  .layout-aside { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .banks--reference { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .page-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .layout-aside { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .aside { position: static; }
  .prose { max-width: none; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .stepbar__item { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13px; }
}

@media (max-width: 640px) {
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .recap__row { grid-template-columns: 1fr; gap: 4px; }
  .result { padding: 28px 22px; }
  .banks--reference { grid-template-columns: minmax(0, 1fr); }
  .crumbs { font-size: 13px; }
  .table th, .table td { padding: 12px 14px; }
  .aside { gap: 16px; }
}

/* ======================== Карточки банков в справочной ================== */

.bankcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 0;
}
.bankcard {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  scroll-margin-top: 110px;
}
.bankcard:target { border-color: var(--green); background: var(--mint); }
.bankcard__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}
.bankcard__legal { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted-2); }
.bankcard__phones { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.bankcard__phone {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14.5px;
}
.bankcard__phone a {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--green-800);
}
.bankcard__phone span { color: var(--muted-2); font-size: 13.5px; }
.bankcard__meta {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-3);
  font-size: 13.5px;
  color: var(--muted-2);
}

@media (max-width: 960px) {
  .bankcards { grid-template-columns: minmax(0, 1fr); }
}

/* ============================ Логотипы банков ========================== */

/* Пропорции у логотипов очень разные — от квадрата до 9,6:1, поэтому
   выравниваем их по общей высоте бокса и вписываем без искажений. */
/* Фиксированный бокс + contain: узкие марки упираются в высоту, широкие —
   в ширину, и все логотипы получаются соразмерными. max-width/height не годится:
   мелкие исходники (Nurbank 153×16) так не масштабировались бы вовсе. */
.bankcard__logo { margin-bottom: 14px; }
.bankcard__logo img {
  display: block;
  width: 150px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.bank__logo {
  display: block;
  width: 130px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 4px;
}
.bank--all { justify-content: center; }

@media (max-width: 640px) {
  .bankcard__logo img { width: 140px; height: 30px; }
}

/* Подпись автора и даты — сигнал доверия для YMYL и для AI-цитирования */
.byline {
  margin: 14px 0 0 !important;
  font-size: 14px;
  color: var(--muted-2) !important;
}

/* Вводный текст хабов: ширина как у статьи, но без верхнего отступа */
.prose--intro { max-width: 760px; margin-bottom: 40px; }
.prose--intro p:first-child { margin-top: 0; }

/* Строка-дозагрузка под сеткой карточек: контекстные ссылки в глубину сайта */
.section__after {
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* ========================== Переключатель языка ========================= */

.lang-switch {
  flex: 0 0 auto;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease;
}
.lang-switch:hover { border-color: var(--green); color: var(--green-600); text-decoration: none; }

@media (max-width: 960px) {
  .lang-switch { text-align: center; padding: 14px; }
}

/* ======================= Всплывающее окно акции ======================== */

.promo {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.promo[hidden] { display: none; }
.promo__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 26, 38, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.promo__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 20px;
  padding: 34px 32px 28px;
  box-shadow: 0 24px 60px rgba(19, 26, 38, .28);
  animation: promo-in 220ms ease-out;
}
@keyframes promo-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.promo__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted-2);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.promo__close:hover { background: var(--surface-4); color: var(--ink); }
.promo__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
}
.promo__title {
  margin: 12px 0 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.promo__text { margin: 14px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.promo__cta { margin-top: 24px; }
.promo__later {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  padding: 10px;
  border: none;
  background: transparent;
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--muted-2);
  cursor: pointer;
}
.promo__later:hover { color: var(--ink); }
.promo__note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted-2); text-align: center; }

body.is-locked { overflow: hidden; }

@media (max-width: 640px) {
  .promo { align-items: flex-end; padding: 0; }
  .promo__box { max-width: none; border-radius: 20px 20px 0 0; padding: 30px 22px 22px; }
  @keyframes promo-in {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo__box { animation: none; }
}

/* Казахские страницы: Manrope не содержит ә ғ қ ң ұ ү ө һ і — заголовки
   на нём распадались бы на системный фолбэк. Дисплейный шрифт здесь Golos Text,
   он покрывает казахский полностью. */
html[lang="kk"] {
  --font-display: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Инфографика с подписью */
.prose__fig { margin: 32px 0 0; }
.prose__fig .prose__img { margin: 0; }
.prose__fig figcaption {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted-2);
}

/* Вертикальный вариант инфографики на узких экранах: у широкого подписи
   ужимались до семи пикселей и переставали читаться */
.prose__fig picture { display: block; }
.prose__fig picture img { display: block; width: 100%; height: auto; border-radius: 16px; }
