/* =============================================================================
   Блог Polza: стаття (/blog/<slug>/) і список (/blog/) - v3, 05.12.2026
   -----------------------------------------------------------------------------
   v3 = фірмовий стиль лендів (/invest-club/, /course/finlevel/, блок менторингу):
   - тло сторінки #f6f6f6, блоки - білі картки за рецептом бренду
     (рамка 1px + --shadow-card, радіуси 16/20/24);
   - панелі інфографіки м'ятні (#f0f7f6), картки в них білі;
   - акцент - бренд-бірюза #00BFA5 і градієнт #0CBD66 -> #049DCB
     (виділені слова в заголовках, номери, кнопка "грати", ключова картка);
   - темне - лише графіт #263238 (кнопки, банер), чистого чорного немає;
   - текст #212121, другорядний #4f5b62; згладжування шрифту;
   - без пілюль з іконками, капсів і бічних смужок.
   Колонка тексту 700px; відео, інфографіка, таблиця, банер виходять до 1080px.
   ============================================================================= */

.blog-page {
  /* Аліаси на токени бренду (tmpl/brand.css): значення ті самі, джерело одне */
  --ink: var(--color-text, #212121);
  --ink-2: #4f5b62;            /* другорядний, але змістовний текст */
  --teal: var(--color-primary, #00bfa5);             /* бренд: позначки, номери, великий текст */
  --teal-ink: #00796b;         /* дрібний текст бірюзою: 4.8:1 на м'ятному, 4.9:1 на тлі; кільце фокусу */
  --teal-big: var(--color-primary-dark, #00a08b);         /* бренд primary-dark: великі цифри бірюзою, 3.3:1 на білому */
  --mint: #e6f7f4;
  --mint-2: #f0f7f6;           /* м'ятна панель (як "Хто автор" на finlevel) */
  --mint-line: #d3ebe5;        /* рамка м'ятних панелей: без неї панель "пливе" на сірому тлі */
  --card: #fff;
  --border: var(--color-border-card, #e8e8e8);
  --line: #edf1f2;
  --night: var(--color-dark, #263238);            /* фірмовий графіт */
  --night-2: var(--color-dark-hover, #32424a);
  --red: #e53935;              /* лише великі цифри */
  --red-ink: #c62828;          /* червоний дрібний текст, 5.6:1 */
  --orange: var(--color-orange, #e7712e);
  --grad: linear-gradient(90deg, #0cbd66, #049dcb);
  /* Заливка карток з білим текстом: ті самі тони бренду, на крок темніші - білий 5.0-5.3:1 (AA) */
  --grad-fill: linear-gradient(160deg, #07804f, #037598);
  /* Кольори фінансових рівнів - токени бренду (brand.css --color-level-*) */
  --lv-n3: var(--color-level-n3, #be1e2d); --lv-n2: var(--color-level-n2, #ef4136); --lv-n1: var(--color-level-n1, #1c75bc);
  --lv-p1: var(--color-level-p1, #27aae1); --lv-p2: var(--color-level-p2, #39b54a); --lv-p3: var(--color-level-p3, #00a061);
  /* Тіні й підйом карток - рецепт бренду (brand.css + resources/css/hover.css) */
  --lift: var(--shadow-card);
  --lift-2: var(--shadow-hover, 0 8px 24px rgba(0, 0, 0, .06));
  --rise: translateY(-3px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --col: 700px;
  --wide: 1080px;
  background: var(--color-bg, #f6f6f6);
}

/* Градієнтне слово в заголовку (як "дія" / "для кожного учасника клубу" на клубі) */
.art-hl {
  font-style: normal;
  padding-right: .04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Аватар Кіра в градієнтному кільці з просвітом (як на клубі) */
.art-ring {
  border: 2px solid transparent;
  padding: 2px;
  background: linear-gradient(var(--ring-bg, #f6f6f6), var(--ring-bg, #f6f6f6)) padding-box, var(--gradient-brand) border-box;
}

.art {
  font-family: var(--font-family);
  color: var(--ink);
  padding-bottom: 96px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
}
.art *, .art *::before, .art *::after { box-sizing: border-box; }
.art :focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.art svg { display: block; flex-shrink: 0; }
/* picture з display:contents: <source> інакше стає порожнім елементом flex/grid і зсуває сусідів */
.blog-page picture > source { display: none; }
/* Лише для скрінрідерів (роздільник у заголовках, пояснення до посилань) */
.art-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Колонка і широкі блоки (виходять за колонку симетрично) */
.art-head, .art-body { max-width: var(--col); margin-inline: auto; }
.art-video, .art-viz, .art-cta, .art-wide, .art-table {
  --w: min(var(--wide), calc(100vw - 64px));
  margin-inline: calc((100% - var(--w)) / 2);
}
/* Відео вужче за інфографіку: лише трохи ширше за текст, щоб не тиснуло */
.art-video { --w: min(860px, calc(100vw - 64px)); }
@media (max-width: 743.98px) {
  .art-video, .art-viz, .art-cta, .art-wide, .art-table { --w: 100%; }
}

/* Прогрес читання */
.art-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 50; pointer-events: none; }
.art-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

/* ── Шапка ─────────────────────────────────────────────────────────────────── */
.art-head { padding-top: 48px; }
.art-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.art-crumbs a { color: var(--ink-2); text-decoration: none; }
.art-crumbs a:hover { color: var(--teal-ink); }
.art-crumbs [aria-current] { color: var(--ink); }
.art-crumbs span[aria-hidden] { color: #b9c2c6; }
.art-title {
  margin: 20px 0 0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: var(--font-weight-semibold, 600);
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
.art-by { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 32px; padding-bottom: 4px; }
.art-by__ava { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.art-by__txt { display: flex; flex-direction: column; margin: 0; line-height: 1.3; }
.art-by__name { font-size: 17px; font-weight: 700; color: var(--ink); text-decoration: none; }
.art-by__name:hover { color: var(--teal-ink); }
.art-by__role { font-size: 15px; color: var(--ink-2); }
.art-by__meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 0 auto; }
.art-by__fact { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.art-by__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); border: 1px solid rgba(0, 121, 107, .24); color: var(--teal-ink); }
.art-by__ico svg { width: 19px; height: 19px; }
.art-by__fact-txt { display: flex; flex-direction: column; line-height: 1.25; font-size: 16px; font-weight: 700; color: var(--ink); }
.art-by__label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }

/* ── Текст ─────────────────────────────────────────────────────────────────── */
.art-body { font-size: var(--text-lg, 18px); line-height: 1.7; font-weight: var(--font-weight-regular, 400); color: var(--ink); }   /* гайд: long-form 400 */
.art-body > p, .art-body > ul, .art-body > ol { margin: 0 0 24px; text-wrap: pretty; }
.art-body strong { font-weight: 700; color: var(--ink); }
.art-body a:not([class]) { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--teal); transition: color .2s ease; }
.art-body a:not([class]):hover { color: var(--teal-ink); }
.art-body > .art-lede { font-size: 22px; line-height: 1.55; font-weight: var(--font-weight-regular, 400); margin-bottom: 32px; }

.art-h2 {
  margin: 104px 0 24px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: var(--font-weight-semibold, 600);
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
  scroll-margin-top: 28px;
}
.art-h2__text { display: block; }
/* Рядок над заголовком: плитка з emoji (зачіпка для ока) і, для кроків, "Крок N з 6" + прогрес */
/* Emoji-плитка в одному рядку з текстом: сітка "плитка | текст", рядок кроку - над ними на всю ширину */
/* Плитка вирівняна по ПЕРШОМУ рядку тексту: на 2-4 рядках по центру вона "гуляла" відносно тексту */
.art-h2--ico { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 18px; }
.art-h2--ico .art-h2__kicker { grid-column: 1 / -1; }
.art-h2--ico .art-h2__ico { grid-column: 1; margin-top: calc((1.1em - 56px) / 2); }   /* центр плитки = центр 1-го рядка */
.art-h2--ico .art-h2__text { grid-column: 2; }
.art-h2__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; letter-spacing: 0; }
.art-h2__ico {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift);
  font-size: 26px; line-height: 1;
}
.art-h2__step { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.012em; color: var(--teal-ink); }
.art-h2__bar { display: flex; gap: 5px; }
.art-h2__bar i { width: 22px; height: 6px; border-radius: 3px; background: #dce4e7; }
.art-h2__bar i.is-on { background: var(--grad); }
.art-h3 { margin: 48px 0 12px; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }

.art-ul, .art-ol, .art-check { list-style: none; padding: 0; }
.art-ul > li, .art-ol > li, .art-check > li { position: relative; padding-left: 30px; }
.art-ul > li + li, .art-ol > li + li, .art-check > li + li { margin-top: 14px; }
.art-ul > li::before { content: ""; position: absolute; left: 6px; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.art-ul--no > li { padding-left: 40px; }
.art-ul--no > li + li { margin-top: 18px; }
.art-ul--no > li::before {
  left: 0; top: .2em; width: 24px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M17 7 7 17M7 7l10 10'/%3E%3C/svg%3E") center / 12px no-repeat, var(--red);
}
.art-ol { counter-reset: art-ol; }
.art-ol > li { counter-increment: art-ol; padding-left: 38px; }
.art-ol > li::before {
  content: counter(art-ol);
  position: absolute; left: 0; top: .18em;
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-fill); color: #fff;
  font-size: 14px; font-weight: 700; line-height: 1;
}

/* ── Відео ─────────────────────────────────────────────────────────────────── */
.art-video { margin-top: 44px; margin-bottom: 56px; }
.art-video__btn {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: var(--night);
  box-shadow: var(--lift-2);
}
.art-video__btn picture { display: contents; }
.art-video__poster { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.art-video__btn:hover .art-video__poster { transform: scale(1.015); }
.art-video__play {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--night);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), background .3s ease;
}
.art-video__play svg { width: 34px; height: 34px; margin-left: 5px; }
.art-video__btn:hover .art-video__play { transform: scale(1.06); background: #fff; }
.art-video__btn:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 4px; }
.art-video__dur { position: absolute; right: 16px; bottom: 16px; padding: 6px 10px; border-radius: 8px; background: rgba(38, 50, 56, .8); color: #fff; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.art-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.art-video__cap { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; font-size: 16px; line-height: 1.4; color: var(--ink); }
.art-video__cap b { color: var(--ink); font-weight: 700; }

/* ── Ігор у цифрах (вставка після ліду) ───────────────────────────────────── */
.art-case { margin-top: 40px; margin-bottom: 48px; padding: 32px 36px 36px; border-radius: 24px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); }
.art-case__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 24px; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.art-case__cap b { font-size: 18px; color: var(--ink); }
.art-case__grid { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 0; margin: 0; }
.art-case__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 0 0 0 28px; border-left: 1px solid var(--line); }
.art-case__item:first-child { padding-left: 0; border-left: 0; }
.art-case__item dt { font-size: 15px; line-height: 1.35; font-weight: 500; color: var(--ink-2); }
.art-case__item dd { margin: 0 0 6px; font-size: 32px; line-height: 1.05; font-weight: 700; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.art-case__item.is-debt dd { color: var(--lv-n3); }
.art-case__emoji { display: block; margin-bottom: 12px; font-size: 24px; line-height: 1; letter-spacing: 0; }

/* ── Коротко / порада / важливо / примітка ────────────────────────────────── */
.art-callout { margin: 40px 0; padding: 28px 32px; border-radius: 20px; background: var(--mint); border: 1px solid var(--mint-line); }
.art-callout__head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--teal-ink); }
.art-callout__emoji { font-size: 21px; line-height: 1; }
.art-callout--summary .art-callout__emoji { font-size: 27px; }
.art-callout__body { font-size: 18px; line-height: 1.6; color: var(--ink); }
.art-callout__body p { margin: 0 0 12px; }
.art-callout__body > :last-child { margin-bottom: 0; }

.art-callout--summary { padding: 40px 44px; border-radius: 24px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); }
.art-callout--summary .art-callout__head { margin-bottom: 24px; font-size: 28px; line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.art-check > li { padding-left: 40px; }
.art-check > li + li { margin-top: 18px; }
.art-check > li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 24px; height: 24px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat, var(--gradient-brand);
}

.art-callout--warning { background: var(--color-warning-bg, #fffbe6); border-color: var(--color-warning-border, #facc15); }
.art-callout--warning .art-callout__head { color: var(--color-warning-text, #6b5c00); }
.art-callout--warning .art-callout__body { color: #2e2600; }

.art-callout--note { padding: 20px 0 0; border-radius: 0; background: none; border: 0; border-top: 1px solid #e3e7e9; }
.art-callout--note .art-callout__head { font-size: 14px; margin-bottom: 6px; color: var(--ink-2); }
.art-callout--note .art-callout__body { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.art-callout a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.art-tel { white-space: nowrap; }

/* ── Цитата Кіра ──────────────────────────────────────────────────────────── */
.art-quote {
  position: relative;
  margin: 56px 0; padding: 36px 40px 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ebf9f3 0%, #e7f4fa 100%);
  border: 1px solid #cde8e2;
  --ring-bg: #e9f6f6;
}
.art-quote__mark {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 20px;
  border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  box-shadow: 0 10px 22px -10px rgba(4, 157, 203, .65);
}
.art-quote__mark svg { width: 20px; height: 15px; }
.art-quote__text { margin: 0; }
.art-quote__text p {
  margin: 0;
  font-size: 23px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -.014em;
  color: var(--ink);
  text-wrap: pretty;
}
.art-quote__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(0, 121, 107, .16); }
.art-quote__cap picture { display: contents; }
.art-quote__ava { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.art-quote__who { display: flex; flex-direction: column; line-height: 1.3; margin-right: 8px; }
.art-quote__name { font-style: normal; font-size: 17px; font-weight: 700; color: var(--ink); }
.art-quote__src { font-style: normal; font-size: 15px; color: var(--ink-2); }
.art-quote__time {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px 0 13px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--lift);
  color: var(--teal-ink);
  font-size: 15px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: background .2s ease, transform .2s var(--ease);
}
.art-quote__time svg { width: 14px; height: 14px; color: var(--teal); transition: color .2s ease; }
.art-quote__time:hover { background: var(--teal); color: #fff; }
.art-quote__time:hover svg { color: #fff; }
.art-quote__time:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }

/* ── Фрагмент ефіру: власний аудіоплеєр ───────────────────────────────────── */
.art-audio {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "play main rate" "wave wave wave" "src src src";
  align-items: center;
  gap: 0 18px;
  margin: 40px 0;
  padding: 22px 26px 18px 22px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--lift);
  color: var(--ink);
}
.art-audio audio { display: none; }
.art-audio__play {
  grid-area: play;
  display: grid; place-items: center;
  width: 60px; height: 60px; border: 0; padding: 0; cursor: pointer;
  border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  box-shadow: 0 10px 22px -10px rgba(4, 157, 203, .65);
  transition: transform .2s var(--ease), box-shadow .2s ease;
}
.art-audio__play svg { width: 26px; height: 26px; }
.art-audio__i-play { margin-left: 3px; }
.art-audio__i-pause { display: none !important; }
.art-audio.is-playing .art-audio__i-play { display: none !important; }
.art-audio.is-playing .art-audio__i-pause { display: block !important; }
.art-audio__play:hover { transform: scale(1.05); }
.art-audio__play:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.art-audio__main { grid-area: main; min-width: 0; }
/* Швидкість: 1x -> 1.5x -> 2x, одна на всі фрагменти, пам'ятається в браузері (blog.js) */
.art-audio__rate {
  grid-area: rate; align-self: start;
  min-width: 56px; height: 38px; padding: 0 12px;
  border: 0; border-radius: 12px; cursor: pointer;
  background: var(--mint); color: var(--teal-ink);
  font: inherit; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1;
  transition: background .2s ease, color .2s ease, transform .2s var(--ease);
}
.art-audio__rate:hover { background: #d2f0ea; }
.art-audio__rate:active { transform: scale(.96); }
.art-audio__rate.is-fast { background: var(--teal-ink); color: #fff; }   /* 5.3:1 */
.art-audio__rate.is-fast:hover { background: #00695c; }
.art-audio__rate:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.art-audio__rate[hidden] { display: none; }
.art-audio__main p { margin: 0; }
.art-audio__title { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.012em; color: var(--ink); text-wrap: pretty; }
.art-audio__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px !important; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.art-audio__time { font-variant-numeric: tabular-nums; }
.art-audio__cur { color: var(--ink); font-weight: 700; }
.art-audio__wave {
  grid-area: wave;
  display: flex; align-items: center; gap: 3px;
  height: 52px; margin-top: 18px;
  cursor: pointer; touch-action: pan-y;
  --pos: 0;
}
.art-audio__wave:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 4px; border-radius: 6px; }
.art-audio__wave i { flex: 1; height: var(--h); min-height: 3px; border-radius: 2px; background: #d7e0e3; transition: background .15s linear; }
.art-audio__wave i.is-done { background: var(--teal); }
.art-audio.is-playing .art-audio__wave i:not(.is-done) { background: #c9d4d8; }
.art-audio__src { grid-area: src; justify-self: start; margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.art-audio__src:hover { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.art-audio.is-target { box-shadow: 0 0 0 4px rgba(0, 191, 165, .55); }

/* Картинка-інфографіка (фолбек, якщо немає живої верстки) і посилання-фолбек фрагмента */
.art-fig { margin: 48px 0; }
.art-fig img { display: block; width: 100%; height: auto; border-radius: 24px; }
.art-body > .art-audio-link { margin: 32px 0; font-weight: 700; }

/* ── Таблиця-шаблон ───────────────────────────────────────────────────────── */
.art-table { margin-top: 40px; margin-bottom: 40px; border-radius: 24px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--lift); overflow: hidden; }
.art-table__cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.art-table__dl {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px;
  min-height: 48px; padding: 8px 20px 8px 16px;
  border-radius: 12px; background: var(--night); color: #fff;
  box-shadow: var(--shadow-button, 0 4px 15px rgba(0, 0, 0, .1));
  font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.15; text-decoration: none;
  transition: background .2s ease;
}
.art-table__dl small { display: block; font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.art-table__dl span, .art-table__dl small { white-space: nowrap; }
.art-table__dl svg { width: 20px; height: 20px; }
.art-table__dl:hover { background: var(--night-2); }
.art-table__dl > span { display: flex; flex-direction: column; }
.art-table__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.art-table__scroll:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: -2px; }
.art-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.art-table th, .art-table td { padding: 16px 20px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.art-table thead th { background: var(--mint-2); font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.art-table tbody th { font-weight: 600; color: var(--ink); }
.art-table td { color: var(--ink-2); }
.art-table tr.is-total > * { background: var(--mint); color: var(--teal-ink); font-weight: 700; }
.art-table__blank { display: block; height: 20px; border-bottom: 1.5px dashed #cfd6d9; }

/* ── Банер CTA ────────────────────────────────────────────────────────────── */
.art-cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  margin-top: 64px; margin-bottom: 64px;
  min-height: 460px;
  border-radius: 24px;
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(12, 189, 102, .34), rgba(12, 189, 102, 0) 60%),
    radial-gradient(60% 80% at 55% 0%, rgba(4, 157, 203, .28), rgba(4, 157, 203, 0) 60%),
    var(--night);
  box-shadow: var(--shadow-banner, 0 12px 40px rgba(33, 33, 33, .15));
  color: #fff;
}
.art-cta__copy { position: relative; z-index: 2; align-self: center; padding: 64px 24px 64px 60px; }
.art-cta__title { margin: 0; font-size: 48px; line-height: 1.08; font-weight: var(--font-weight-semibold, 600); letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.art-cta__text { max-width: 520px; margin-top: 20px; }
.art-cta__text p { margin: 0; font-size: 19px; line-height: 1.5; font-weight: 500; color: rgba(255, 255, 255, .92); text-wrap: pretty; }
.art-cta__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.art-cta__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 15px; font-weight: 700; letter-spacing: .01em; color: var(--color-primary, #00bfa5); }
/* top: -.11em - центр крапки = центр ВЕЛИКИХ літер (по боксу рядка вона сідала на 1.7px нижче, око бачило "провисання") */
.art-cta__dot { position: relative; top: -.11em; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary, #00bfa5); box-shadow: 0 0 0 4px rgba(0, 191, 165, .2); }
/* Міні-шкала рівнів: "?" перестрибує по рівнях - "де ти?" */
.art-cta__scale { position: relative; max-width: 440px; margin-top: 30px; padding-top: 46px; }
.art-cta__track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.art-cta__track i { height: 10px; border-radius: 5px; }
.art-cta__track i:nth-child(1) { background: var(--lv-n3); }
.art-cta__track i:nth-child(2) { background: var(--lv-n2); }
.art-cta__track i:nth-child(3) { background: var(--lv-n1); }
.art-cta__track i:nth-child(4) { background: var(--lv-p1); }
.art-cta__track i:nth-child(5) { background: var(--lv-p2); }
.art-cta__track i:nth-child(6) { background: var(--lv-p3); }
.art-cta__labels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 8px; font-size: 13.5px; font-weight: 700; text-align: center; color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; }
.art-cta__seek {
  /* Шпилька-крапля: одна фігура (коло з гострим кутом, повернуте на -45deg), вістря - над сегментом шкали */
  position: absolute; top: 3px; left: calc(100% / 12 - 16px);
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50% 50% 50% 5px; transform: rotate(-45deg);
  background: #fff; box-shadow: -3px 3px 12px -2px rgba(0, 0, 0, .45), 0 0 0 4px rgba(255, 255, 255, .14);
  animation: cta-seek 7s var(--ease) 2;   /* два проходи шкалою й стоп на "-3" */
}
.art-cta__seek b { display: block; transform: rotate(45deg); color: var(--night); font-size: 16px; font-weight: 700; line-height: 1; }
@keyframes cta-seek {
  0%, 10%   { left: calc(100% * 1 / 12 - 16px); }
  16%, 26%  { left: calc(100% * 3 / 12 - 16px); }
  32%, 42%  { left: calc(100% * 5 / 12 - 16px); }
  48%, 58%  { left: calc(100% * 7 / 12 - 16px); }
  64%, 74%  { left: calc(100% * 9 / 12 - 16px); }
  80%, 92%  { left: calc(100% * 11 / 12 - 16px); }
  100%      { left: calc(100% * 1 / 12 - 16px); }
}
.art-btn {
  /* Розміри як у кнопок бренду (.polza-btn / .btn-buy): 56px, радіус 12, 600 */
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 16px 32px;
  border-radius: var(--radius-md, 12px);
  font-size: 17px; font-weight: var(--font-weight-semibold, 600); line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: background .2s ease, transform .2s var(--ease), color .2s ease;
}
.art-btn svg { width: 19px; height: 19px; transition: transform .2s var(--ease); }
.art-btn:hover svg { transform: translateX(3px); }
/* Головна кнопка банера: градієнт бренду (темніший варіант - білий текст 4:1), світіння і відблиск */
.art-btn--cta {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 60px; padding: 16px 34px; font-size: 18px;
  background: var(--grad-fill); color: #fff;
  box-shadow: 0 16px 36px -12px rgba(12, 189, 102, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.art-btn--cta::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: cta-shine 4.5s ease-in-out 1.5s 3;   /* 3 рази й стоп (WCAG 2.2.2: рух довше 5 с) */
}
@keyframes cta-shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
.art-btn--cta:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -12px rgba(12, 189, 102, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.art-btn--cta svg { color: #fff; }
.art-cta__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.art-cta__facts li { display: flex; align-items: center; gap: 8px; }
.art-cta__facts svg { width: 17px; height: 17px; color: var(--color-primary, #00bfa5); }
.art-cta__media { position: relative; z-index: 1; }
.art-cta__media picture { display: contents; }
.art-cta__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%;
  /* Фото розчиняється само (маска), а не під накладкою кольору тла: тло з відблисками, плоска накладка давала шов */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}

.art-btn--light { background: #fff; color: var(--night); box-shadow: var(--shadow-button); }
.art-btn--light:hover { background: var(--mint); }
.art-btn--light svg { color: var(--teal); }
.art-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.art-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .08); }

/* Фінальний заклик - останній блок статті */
.art-end {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  margin: 48px 0 0; padding: 48px 52px 52px;
  border-radius: var(--radius-2xl, 24px);
  background:
    radial-gradient(60% 90% at 100% 100%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%),
    radial-gradient(50% 70% at 0% 0%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 60%),
    var(--grad-fill);
  box-shadow: 0 28px 56px -24px rgba(3, 117, 152, .55);
  color: #fff;
}
/* Кола-відблиски на тлі */
.art-end::before { content: ""; position: absolute; z-index: -1; right: -90px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .08); }
.art-end__mascot { position: absolute; right: 44px; bottom: -34px; width: 150px; height: auto; filter: brightness(0) invert(1); transform: rotate(-10deg); transition: transform .5s var(--ease); pointer-events: none; user-select: none; }
.art-end:hover .art-end__mascot { transform: rotate(-4deg) translateY(-8px); }
.art-end__copy { min-width: 0; max-width: calc(100% - 190px); }
.art-end__kicker { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: #fff; }
.art-end__title { margin: 0; font-size: 36px; line-height: 1.15; font-weight: var(--font-weight-semibold, 600); letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.art-end__sub { margin: 14px 0 0; font-size: 18px; line-height: 1.5; font-weight: 500; color: #fff; }
.art-end .art-btn { flex-shrink: 0; }
.art-btn:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
/* На кольоровій/темній заливці кільце біле (гайд); стоїть ПІСЛЯ .art-btn:focus-visible, інакше бірюза 1:1 */
.art-end :focus-visible, .art-cta :focus-visible { outline-color: #fff; }

/* ── Зміст ────────────────────────────────────────────────────────────────── */
.art-toc { margin: 48px 0; padding: 0 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); }
.art-toc summary {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 0; cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.art-toc summary::-webkit-details-marker { display: none; }
.art-toc summary:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; }
.art-toc__label { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.art-toc__count { margin-left: auto; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.art-toc__chev { width: 22px; height: 22px; color: var(--teal); transition: transform .25s var(--ease); }
.art-toc details[open] .art-toc__chev { transform: rotate(180deg); }
.art-toc ol { margin: 0; padding: 4px 0 24px; border-top: 1px solid var(--line); padding-top: 16px; list-style: none; counter-reset: toc; columns: 2; column-gap: 40px; }
.art-toc li { counter-increment: toc; position: relative; break-inside: avoid; padding: 7px 0 7px 34px; font-size: 16.5px; line-height: 1.38; font-weight: 600; }
.art-toc li::before { content: counter(toc); position: absolute; left: 0; top: 7px; min-width: 24px; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--teal-ink); }
.art-body .art-toc a:not([class]) { color: var(--ink); text-decoration: none; }
.art-body .art-toc a:not([class]):hover { color: var(--teal-ink); text-decoration: underline; text-decoration-color: currentColor; }

/* ── FAQ: спільний .lv-faq (course.css), підтягнутий під статтю ───────────── */
.art-faq { max-width: none; padding: 0; margin-top: 104px; scroll-margin-top: 28px; }
.art-faq h2 { text-align: left; color: var(--ink); font-size: 36px; line-height: 1.15; font-weight: var(--font-weight-semibold, 600); letter-spacing: -.01em; margin-bottom: 28px; }
.art-faq .lv-faq__item summary { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.art-faq .lv-faq__item p { font-size: 17.5px; line-height: 1.6; font-weight: 500; color: var(--ink); }
.art-faq .lv-faq__list { padding: 8px 28px; }   /* радіус - спільний 20px контейнера (course.css) */
.art-faq .lv-faq__item summary:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
@media (hover: hover) { .art-faq .lv-faq__item summary:hover { color: var(--teal-ink); } }

/* ── Автор і дисклеймер ───────────────────────────────────────────────────── */
.art-author {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  margin-top: 16px; padding: 40px;
  border-radius: 24px;
  background: var(--mint-2);
  border: 1px solid var(--mint-line);
  --ring-bg: var(--mint-2);
}
.art-author picture { display: contents; }
.art-author__ava { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.art-author__title { margin: 0; font-size: 15px; font-weight: 700; color: var(--teal-ink); }
.art-author__bio { margin: 10px 0 0; font-size: 17.5px; line-height: 1.6; font-weight: 500; color: var(--ink); }
.art-author__bio strong { font-weight: 700; }
.art-author__bio a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--teal); text-underline-offset: 4px; }
.art-author__bio a:hover { color: var(--teal-ink); }
.art-body > .art-disclaimer {
  display: flex; gap: 12px; margin: 80px 0 0; padding: 18px 22px;
  border-radius: 16px; background: var(--card); border: 1px solid var(--border);
  font-size: 15px; line-height: 1.55; font-weight: 500; color: var(--ink-2);
}
.art-disclaimer svg { width: 19px; height: 19px; margin-top: 2px; color: var(--teal-ink); }
.art-disclaimer em { font-style: normal; }
.art-totop { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--ink); font-size: 15.5px; font-weight: 700; text-decoration: none; }
.art-totop svg { width: 18px; height: 18px; transform: rotate(180deg); }
.art-totop:hover { color: var(--teal-ink); }

/* ── -$20 000 → +$300 000 ─────────────────────────────────────────────────── */
.art-stat { margin-top: 32px; margin-bottom: 40px; padding: 36px 32px 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); }
.art-stat__row { display: grid; grid-template-columns: auto auto auto; justify-content: center; align-items: center; column-gap: 28px; }
.art-stat__cell { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.art-stat__num { font-size: 50px; line-height: 1; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.art-stat__cell.is-before .art-stat__num { color: var(--lv-n3); }
.art-stat__cell.is-after .art-stat__num { align-self: center; padding-right: .08em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.art-stat__label { font-size: 16px; font-weight: 600; color: var(--ink); }
.art-stat__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-brand); color: #fff; box-shadow: 0 10px 22px -10px rgba(4, 157, 203, .65); }
.art-stat__arrow svg { width: 20px; height: 20px; }
.art-stat__cap { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); text-align: center; }

/* ── Три складові рішення ─────────────────────────────────────────────────── */
.art-parts { margin-top: 32px; margin-bottom: 8px; }
.art-parts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.art-parts__item { display: flex; flex-direction: column; min-height: 220px; padding: 28px; border-radius: var(--radius-lg, 16px); background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); transition: transform .35s var(--ease), box-shadow .35s ease; }
.art-parts__item:hover { transform: var(--rise); box-shadow: var(--lift-2); }
.art-parts__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.art-parts__emoji { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--mint-2); font-size: 26px; line-height: 1; transition: transform .35s var(--ease); }
.art-parts__item:hover .art-parts__emoji { transform: rotate(-8deg) scale(1.08); }
.art-parts__item.is-you .art-parts__emoji { background: rgba(255, 255, 255, .18); }
.art-parts__num { align-self: flex-start; padding-right: .08em; font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.art-parts__title { margin-top: auto; padding-top: 28px; font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.art-parts__note { margin-top: 8px; font-size: 16px; font-weight: 600; color: var(--teal-ink); }
.art-parts__item.is-you { position: relative; overflow: hidden; background: var(--grad-fill); border-color: transparent; box-shadow: 0 18px 36px -16px rgba(3, 117, 152, .5); }
.art-parts__item.is-you::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 15% 0%, rgba(255, 255, 255, .14), transparent 55%); pointer-events: none; }
.art-parts__item.is-you .art-parts__num { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.art-parts__item.is-you .art-parts__title { color: #fff; }
.art-parts__item.is-you .art-parts__note { color: #fff; }

/* ═════════════════════════════════════════════════════════════════════════════
   ІНФОГРАФІКА (viz/*.php)
   ═════════════════════════════════════════════════════════════════════════════ */
.art-viz { margin-top: 56px; margin-bottom: 56px; }
.viz { padding: 48px; border-radius: 24px; background: var(--mint-2); border: 1px solid var(--mint-line); font-size: 16px; line-height: 1.45; color: var(--ink); }
.viz p { margin: 0; }
.viz ol, .viz ul { list-style: none; margin: 0; padding: 0; }
.viz__head { max-width: 880px; margin-bottom: 36px; }
.viz__title { font-size: 40px; line-height: 1.1; font-weight: var(--font-weight-semibold, 600); letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.viz__title .art-hl { background: none; -webkit-text-fill-color: currentColor; color: var(--teal-ink); }
.art-end__title .art-hl { background: none; -webkit-text-fill-color: currentColor; color: #c8fbea; }
.viz__sub { margin-top: 12px !important; font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.viz__foot { margin-top: 24px !important; font-size: 14px; line-height: 1.5; color: var(--ink-2); }


/* 01: шість кроків - білі картки на м'ятній панелі, ключовий крок залитий градієнтом */
.viz-steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.viz-steps__card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 26px 26px 28px;
  border-radius: var(--radius-lg, 16px);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--lift);
  color: var(--ink); text-decoration: none;
  transition: box-shadow .3s ease, transform .3s var(--ease), border-color .3s ease;
}
.viz-steps__card:hover { box-shadow: var(--lift-2); transform: var(--rise); border-color: var(--hover-border, rgba(0, 191, 165, .45)); }
.viz-steps__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.viz-steps__emoji { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--mint-2); font-size: 26px; line-height: 1; transition: transform .35s var(--ease); }
.viz-steps__card:hover .viz-steps__emoji { transform: rotate(-8deg) scale(1.08); }
.viz-steps__item.is-key .viz-steps__emoji { background: rgba(255, 255, 255, .18); }
.viz-steps__card:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.viz-steps__num { font-size: 64px; line-height: .9; font-weight: 700; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; align-self: flex-start; padding-right: 4px; }
.viz-steps__title { margin-top: 28px; font-size: 22px; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.viz-steps__text { margin-top: 10px; font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--ink-2); }
.viz-steps__go { align-self: flex-start; margin-top: auto; padding-top: 18px; color: #b9c4c8; transition: color .25s ease, transform .25s var(--ease); }
.viz-steps__go svg { width: 22px; height: 22px; }
.viz-steps__card:hover .viz-steps__go { color: var(--teal); transform: translateX(3px); }
.viz-steps__item.is-key .viz-steps__card:hover .viz-steps__go { color: #fff; }
.viz-steps__item.is-key .viz-steps__card { overflow: hidden; border-color: transparent; background: var(--grad-fill); box-shadow: 0 18px 36px -16px rgba(3, 117, 152, .5); color: #fff; }
.viz-steps__item.is-key .viz-steps__card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 15% 0%, rgba(255, 255, 255, .14), transparent 55%); pointer-events: none; }
.viz-steps__item.is-key .viz-steps__num { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.viz-steps__item.is-key .viz-steps__title, .viz-steps__item.is-key .viz-steps__text, .viz-steps__item.is-key .viz-steps__go { color: #fff; }
.viz-steps__flag { align-self: flex-start; margin-top: 16px; font-size: 15px; font-weight: 700; color: #fff; }

/* 02: лавина / сніжна куля */
.viz-dual__debts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px !important; }
.viz-dual__debt { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: baseline; padding: 18px 20px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); border-radius: 16px; transition: transform .3s var(--ease), box-shadow .3s ease; }
.viz-dual__debt:hover { transform: var(--rise); }
.viz-dual__debt-emoji { grid-row: 1 / 3; align-self: center; font-size: 30px; line-height: 1; }
.viz-dual__debt-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.viz-dual__debt-sum { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.viz-dual__debt-rate { grid-column: 2 / -1; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.viz-dual__debt--micro { background: #fff5f4; border-color: rgba(190, 30, 45, .45); }
.viz-dual__debt--card { background: #fff8f1; border-color: rgba(231, 113, 46, .35); }
.viz-dual__debt--cons { background: #f1f8fc; border-color: rgba(4, 157, 203, .3); }
.viz-dual__debt--micro .viz-dual__debt-rate { color: var(--red-ink); font-weight: 700; }
.viz-dual__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.viz-dual__col { padding: 28px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); border-radius: var(--radius-lg, 16px); transition: transform .35s var(--ease), box-shadow .35s ease; }
.viz-dual__col:hover { transform: var(--rise); box-shadow: var(--lift-2); }
.viz-dual__name { display: flex; align-items: center; gap: 14px; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -.025em; }
.viz-dual__emoji { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; font-size: 27px; line-height: 1; letter-spacing: 0; }
.viz-dual__col--aval .viz-dual__emoji { background: #e6f7ee; }
.viz-dual__col--snow .viz-dual__emoji { background: #e4f3fb; }
.viz-dual__rule { margin-top: 8px !important; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.viz-dual__bars { margin-top: 22px !important; display: grid; gap: 14px; }
.viz-dual__bar { display: grid; grid-template-columns: 28px 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 7px; }
.viz-dual__pos { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eef2f3; font-size: 14px; font-weight: 700; color: var(--ink); }
.viz-dual__label { grid-column: 2; grid-row: 1; font-size: 16px; font-weight: 600; }
.viz-dual__val { grid-column: 3; grid-row: 1; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.viz-dual__track { grid-column: 2 / 4; grid-row: 2; height: 12px; border-radius: 999px; background: #eef2f3; overflow: hidden; }
.viz-dual__fill { display: block; width: var(--w); height: 100%; border-radius: inherit; transform-origin: left; }
.viz-dual__col--aval .viz-dual__fill { background: var(--grad); }
.viz-dual__col--snow .viz-dual__fill { background: linear-gradient(90deg, #049dcb, #037598); }   /* синій бренду -> кінець --grad-fill */
.viz-dual__bar:first-child .viz-dual__pos { background: var(--gradient-brand); color: #fff; }
.viz-dual__col--snow .viz-dual__bar:first-child .viz-dual__pos { background: linear-gradient(180deg, #049dcb, #037598); }
.viz-dual__pm { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.viz-dual__pm li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.4; font-weight: 500; }
.viz-dual__pm svg { width: 20px; height: 20px; margin-top: 1px; }
.viz-dual__pm .is-plus { color: var(--teal-ink); font-weight: 700; }
.viz-dual__pm .is-plus svg { color: var(--teal); }
.viz-dual__pm .is-minus { color: var(--ink-2); }
.viz-dual__rule-all { display: flex; align-items: center; gap: 14px; margin-top: 14px !important; padding: 20px 24px; border-radius: 16px; background: var(--mint); color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.4; box-shadow: inset 0 0 0 1px rgba(0, 191, 165, .35); }
.viz-dual__rule-all b { color: var(--teal-ink); }
.viz-dual__rule-ico, .viz-levels__task-ico { flex: none; font-size: 26px; line-height: 1; }

/* 03: пільга військовим */
.viz-law__pay { padding: 28px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); border-radius: var(--radius-xl, 20px); }
.viz-law__row + .viz-law__row { margin-top: 22px; }
.viz-law__row-name { margin-bottom: 10px !important; font-size: 16px; font-weight: 700; color: var(--ink); }
.viz-law__row-name > span { font-size: 18px; }
.viz-law__row.is-service .viz-law__row-name { color: var(--teal-ink); }
.viz-law__bar { display: grid; grid-template-columns: 1.5fr 1fr .8fr; gap: 6px; height: 64px; }
.viz-law__seg { display: flex; align-items: center; justify-content: center; padding: 0 8px; border-radius: 14px; font-size: 16px; font-weight: 700; text-align: center; line-height: 1.15; }
.viz-law__seg--body { background: var(--night); color: #fff; }
.viz-law__seg--int  { background: #ffd2b0; color: #6d3207; }
.viz-law__seg--fine { background: #ffb3ad; color: #7a1712; }
.viz-law__seg--zero { background: var(--mint); color: var(--teal-ink); font-size: 22px; letter-spacing: -.02em; box-shadow: inset 0 0 0 1.5px rgba(0, 128, 111, .35); }
.viz-law__legend { margin-top: 24px !important; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.viz-law__legend li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.viz-law__legend svg { width: 22px; height: 22px; margin-top: 1px; }
.viz-law__legend .is-zero svg { color: var(--teal); }
.viz-law__legend .is-body svg { color: var(--orange); }
.viz-law__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.viz-law__card { padding: 26px 28px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); border-radius: var(--radius-lg, 16px); transition: transform .35s var(--ease), box-shadow .35s ease; }
.viz-law__card:hover { transform: var(--rise); box-shadow: var(--lift-2); }
.viz-law__card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px !important; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.viz-law__card-emoji { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--mint-2); font-size: 23px; line-height: 1; letter-spacing: 0; }
.viz-law__card li { position: relative; padding-left: 20px; font-size: 16.5px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.viz-law__card li + li { margin-top: 10px; }
.viz-law__card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.viz-law__card li.is-muted { color: var(--ink-2); }
.viz-law__card li.is-muted::before { background: #b8c2c6; }
.viz-law__note { margin-top: 14px !important; font-size: 15px; font-weight: 500; color: var(--ink-2); }

/* 04: фінансові рівні */
.viz-levels__stairs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; }
.viz-levels__step {
  position: relative; display: flex; flex-direction: column;
  min-height: calc(214px + var(--i) * 40px);
  padding: 18px 16px 16px;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); border-radius: var(--radius-lg, 16px);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.viz-levels__step:hover { transform: var(--rise); box-shadow: var(--lift-2); }
.viz-levels__emoji { margin-top: auto; padding-top: 14px; font-size: 32px; line-height: 1; transition: transform .35s var(--ease); transform-origin: 20% 80%; }
.viz-levels__step:hover .viz-levels__emoji { transform: rotate(-10deg) scale(1.12); }
/* Тло сходинки = колір рівня на 8% */
.viz-levels__step--neg2 { background: #fef0ef; }
.viz-levels__step--neg1 { background: #edf4fa; }
.viz-levels__step--pos1 { background: #eef8fd; }
.viz-levels__step--pos2 { background: #eff9f1; }
.viz-levels__num { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.viz-levels__name { margin-top: 12px; font-size: 17px; font-weight: 700; line-height: 1.2; }
.viz-levels__desc { margin-top: 6px; font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--ink-2); }
.viz-levels__step--neg3 { background: #faedee; border: 2px solid var(--lv-n3); }
.viz-levels__step--neg3 .viz-levels__num { color: var(--lv-n3); }
.viz-levels__step--neg2 .viz-levels__num { color: var(--lv-n2); }
.viz-levels__step--neg1 .viz-levels__num { color: var(--lv-n1); }
/* +1 і +2: бренд на 12% темніший - чистий світло-синій/зелений на світлому тлі 2.5:1, а треба 3:1 */
.viz-levels__step--pos1 .viz-levels__num { color: #2296c6; }
.viz-levels__step--pos2 .viz-levels__num { color: #329f41; }
/* +3: зелений рівня, затемнений до AA для білого тексту (чистий #00a061 - 3.4:1) */
.viz-levels__step--pos3 { overflow: hidden; border-color: transparent; background: linear-gradient(160deg, #008452, #006b42); box-shadow: 0 18px 36px -16px rgba(0, 160, 97, .6); color: #fff; }
.viz-levels__step--pos3::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 15% 0%, rgba(255, 255, 255, .14), transparent 55%); pointer-events: none; }
.viz-levels__step--pos3 .viz-levels__desc { color: #fff; }
.viz-levels__here { order: -1; margin-bottom: 10px; color: var(--lv-n3); font-size: 14px; line-height: 1.25; font-weight: 700; }
.viz-levels__task { display: flex; align-items: center; gap: 14px; margin-top: 14px !important; padding: 20px 24px; border-radius: var(--radius-lg, 16px); background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); font-size: 17px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.viz-levels__task b { color: var(--lv-n3); }

/* ── Поява при скролі (лише з JS і без reduced motion) ────────────────────── */
.is-js .art-reveal { opacity: 0; transform: translateY(24px); }
.is-js .art-reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-js .art-viz .viz-dual__fill { transform: scaleX(0); }
.is-js .art-viz.is-in .viz-dual__fill { transform: none; transition: transform 1.1s var(--ease) .25s; }
.is-js .art-viz.is-in .viz-dual__fill { transition-delay: calc(.25s + var(--i) * .15s); }
/* Каскадна поява карток - анімацією, а не transition: інакше затримка каскаду лишається
   на картці назавжди і hover "відпускає" її з запізненням до .55 с.
   fill-mode backwards: до старту картка прихована, після - звичайні стилі (і hover) */
.is-js .art-viz:not(.is-in) .viz-levels__step,
.is-js .art-viz:not(.is-in) .viz-steps__item,
.is-js .art-parts:not(.is-in) .art-parts__item { opacity: 0; }
.is-js .art-viz.is-in .viz-levels__step { animation: art-rise .6s var(--ease) calc(.15s + var(--i) * .08s) backwards; }
.is-js .art-viz.is-in .viz-steps__item,
.is-js .art-parts.is-in .art-parts__item { animation: art-rise .6s var(--ease) calc(.1s + var(--i) * .07s) backwards; }
@keyframes art-rise { from { opacity: 0; transform: translateY(18px); } }
.is-js .art-viz .viz-law__seg { transform: scaleX(.6); opacity: 0; transform-origin: left; }
.is-js .art-viz.is-in .viz-law__seg { transform: none; opacity: 1; transition: transform .6s var(--ease), opacity .6s ease; }
.is-js .art-viz.is-in .viz-law__seg:nth-child(2) { transition-delay: .12s; }
.is-js .art-viz.is-in .viz-law__seg:nth-child(3) { transition-delay: .24s; }
.is-js .art-viz.is-in .viz-law__seg--zero { animation: zero-pop .6s var(--ease) 1s both; }
@keyframes zero-pop { 50% { transform: scale(1.06); } }
/* Що заходить згори (скрол угору) - без руху: див. show() у blog.js */
.is-js .art-reveal.is-still, .is-js .is-still .viz-dual__fill, .is-js .is-still .viz-law__seg { transition: none !important; }
.is-js .is-calm .viz-levels__step, .is-js .is-calm .viz-steps__item, .is-js .is-calm .art-parts__item, .is-js .is-calm .viz-law__seg--zero { animation: none !important; }
.viz-levels__step--neg3::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(190, 30, 45, .45); animation: here-pulse 2.4s ease-out 4; pointer-events: none; }
@keyframes here-pulse { 0% { box-shadow: 0 0 0 0 rgba(190, 30, 45, .45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(190, 30, 45, 0); } }
@media print {
  .is-js .art-reveal, .is-js .art-viz .viz-levels__step, .is-js .art-viz .viz-steps__item, .is-js .art-parts .art-parts__item, .is-js .art-viz .viz-law__seg { opacity: 1 !important; transform: none !important; }
  .viz-levels__step--neg3::before { animation: none; }
  .is-js .art-viz .viz-dual__fill { transform: none !important; }
  .art-progress, .art-video__play { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .is-js .art-reveal, .is-js .art-viz .viz-levels__step, .is-js .art-viz .viz-steps__item, .is-js .art-parts .art-parts__item, .is-js .art-viz .viz-law__seg { opacity: 1; transform: none; }
  .viz-levels__step--neg3::before, .is-js .art-viz.is-in .viz-law__seg--zero, .art-btn--cta::after { animation: none; }
  .art-cta__seek { animation: none; left: calc(100% / 12 - 16px); }
  .art-end__mascot, .viz-steps__emoji, .art-parts__emoji, .viz-levels__emoji, .art-video__poster, .art-video__play,
  .art-audio__play, .art-audio__rate, .art-btn, .art-btn svg, .viz-steps__card, .viz-dual__col, .viz-dual__debt,
  .viz-law__card, .viz-levels__step, .art-parts__item, .blog-card__inner, .blog-card__media img { transition: none; }
  .art-video__btn:hover .art-video__poster, .art-video__btn:hover .art-video__play, .art-audio__play:hover, .art-audio__rate:active,
  .art-btn:hover svg, .viz-steps__card:hover, .viz-dual__col:hover, .viz-dual__debt:hover, .viz-law__card:hover,
  .viz-levels__step:hover, .art-parts__item:hover, .blog-card__inner:hover,
  .blog-card__inner:hover .blog-card__media img, .viz-steps__card:hover .viz-steps__emoji, .art-parts__item:hover .art-parts__emoji,
  .viz-levels__step:hover .viz-levels__emoji { transform: none; }
  .art-end:hover .art-end__mascot { transform: rotate(-10deg); }
  .is-js .art-viz .viz-dual__fill { transform: none; }
  .art-progress { display: none; }
}

/* ═════════════════════════════════════════════════════════════════════════════
   Планшет і телефон
   ═════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1023.98px) {
  .viz-dual__debts { grid-template-columns: 1fr; gap: 8px; }   /* 3 колонки на планшеті: "26.000 ₴" (nowrap) вилазив за картку */
  .art-title { font-size: 48px; }
  .art-case__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .art-case__item:nth-child(4) { padding-left: 0; border-left: 0; }
  .viz-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viz-levels__stairs { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .viz-levels__step { min-height: 0; }
  .art-cta { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); }
  .art-cta__copy { padding: 48px 32px 48px 44px; }
  .art-cta__title { font-size: 42px; }
}

@media (max-width: 743.98px) {
  .art { padding-bottom: 64px; }
  .art-head { padding-top: 24px; }
  .art-crumbs { font-size: 14px; }
  .art-title { margin-top: 14px; font-size: 35px; line-height: 1.06; letter-spacing: -.03em; }
  .art-by { margin-top: 24px; gap: 10px 12px; }
  .art-by__ava { width: 44px; height: 44px; }
  .art-by__meta { flex-basis: 100%; margin: 4px 0 0; gap: 10px 24px; }
  .art-by__ico { width: 36px; height: 36px; }
  .art-by__ico svg { width: 17px; height: 17px; }
  .art-by__fact-txt { font-size: 15px; }
  .art-by__label { font-size: 13px; }

  .art-body { font-size: 17px; line-height: 1.7; }
  .art-body > p, .art-body > ul, .art-body > ol { margin-bottom: 20px; }
  .art-body > .art-lede { font-size: 19px; line-height: 1.55; margin-bottom: 24px; }
  .art-h2 { margin-top: 72px; font-size: 27px; line-height: 1.12; }
  .art-h2__kicker { gap: 10px 12px; margin-bottom: 16px; }
  .art-h2--ico { column-gap: 10px; }
  .art-h2__ico { width: 36px; height: 36px; border-radius: 12px; font-size: 18px; }
  .art-h2--ico .art-h2__ico { margin-top: calc((1.12em - 36px) / 2); }
  .art-h2__step { font-size: 18px; }
  .art-h2__bar i { width: 16px; height: 5px; }
  .art-ul--no > li { padding-left: 36px; }
  .art-ul--no > li::before { width: 22px; height: 22px; background-size: 11px; }
  .art-h3 { font-size: 21px; }

  .art-video { margin-top: 28px; margin-bottom: 36px; }
  .art-video__btn { border-radius: 16px; }
  .art-video__play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .art-video__play svg { width: 28px; height: 28px; margin-left: 4px; }
  .art-video__dur { right: 10px; bottom: 10px; font-size: 13px; }
  .art-video__cap { flex-direction: column; gap: 2px; font-size: 15px; }

  .art-case { padding: 24px 20px; border-radius: 20px; margin-top: 28px; margin-bottom: 36px; }
  .art-case__cap { flex-direction: column; gap: 2px; margin-bottom: 18px; font-size: 14.5px; }
  .art-case__cap b { font-size: 17px; }
  .art-case__grid { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .art-case__item { padding: 0 0 0 14px; }
  .art-case__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .art-case__item:nth-child(4) { padding-left: 16px; border-left: 1px solid var(--line); }
  .art-case__item:last-child { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .art-case__item dd { font-size: 25px; }
  .art-case__item dt { font-size: 14px; }

  .art-callout { padding: 22px 20px; border-radius: 16px; }
  .art-callout--summary { padding: 28px 22px; border-radius: 20px; }
  .art-callout--summary .art-callout__head { font-size: 24px; margin-bottom: 20px; }
  .art-callout__body { font-size: 17px; }
  .art-check > li { padding-left: 36px; }
  .art-check > li::before { width: 22px; height: 22px; background-size: 12px; }
  .art-callout--note { padding: 16px 0 0; border-radius: 0; }

  .art-quote { margin: 40px 0; padding: 24px 20px 20px; border-radius: 20px; }
  .art-quote__mark { width: 40px; height: 40px; margin-bottom: 16px; }
  .art-quote__mark svg { width: 17px; height: 13px; }
  .art-quote__text p { font-size: 19px; line-height: 1.45; }
  .art-quote__cap { margin-top: 18px; padding-top: 16px; }
  .art-quote__ava { width: 44px; height: 44px; }

  .art-audio { padding: 18px 18px 14px; gap: 0 14px; border-radius: 20px; }
  .art-audio__play { width: 52px; height: 52px; }
  .art-audio__rate { min-width: 50px; height: 34px; padding: 0 10px; font-size: 14px; border-radius: 8px; }
  .art-audio__play svg { width: 22px; height: 22px; }
  .art-audio__title { font-size: 17px; }
  .art-audio__meta { font-size: 13.5px; }
  .art-audio__wave { height: 44px; gap: 2px; margin-top: 14px; }

  .art-table { border-radius: 16px; }
  .art-table__cap { padding: 18px; font-size: 19px; }
  .art-table__dl { width: 100%; justify-content: center; }
  .art-table table { min-width: 680px; font-size: 15px; }
  .art-table th, .art-table td { padding: 14px 16px; }
  .art-table tbody th { min-width: 180px; }
  .art-table__scroll { mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .art-table__scroll.is-end { mask-image: none; -webkit-mask-image: none; }

  .art-cta { grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .art-cta__media { order: -1; height: 300px; }
  .art-cta__media img { object-position: 50% 22%; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 40%, transparent 100%); }
  .art-cta__copy { padding: 0 22px 30px; margin-top: -24px; }
  .art-cta__title { font-size: 33px; }
  .art-cta__text p { font-size: 17px; }
  .art-cta__btns { margin-top: 26px; gap: 16px; }
  .art-btn--light, .art-btn--ghost, .art-btn--cta { width: 100%; }
  .art-cta__kicker { font-size: 14px; margin-bottom: 14px; }
  .art-cta__scale { margin-top: 24px; }
  .art-cta__facts { gap: 8px 16px; font-size: 14px; }
  .art-end { align-items: stretch; gap: 22px; padding: 30px 22px 26px; border-radius: 24px; margin-top: 36px; }
  .art-end::before { right: -120px; top: -140px; }
  .art-end__copy { max-width: none; }
  .art-end__mascot { width: 84px; right: 16px; bottom: -22px; }
  .art-end .art-btn { width: calc(100% - 96px); padding-inline: 18px; white-space: nowrap; }   /* 32px бази ламали "Пройти тест" у 2 рядки на 360 */
  .art-end__kicker { font-size: 14.5px; margin-bottom: 10px; }
  .art-end__title { font-size: 26px; }
  .art-end__sub { font-size: 16.5px; }

  .art-toc { margin: 36px 0; padding: 0 18px; border-radius: 16px; }
  .art-toc__label { font-size: 20px; }
  .art-toc__count { font-size: 14px; }
  .art-toc ol { columns: 1; padding-bottom: 18px; }
  .art-toc li { font-size: 16px; }

  .art-faq { margin-top: 72px; }
  .art-faq h2 { font-size: 27px; }
  .art-faq .lv-faq__item summary { font-size: 17.5px; }
  .art-faq .lv-faq__item p { font-size: 16.5px; }

  .art-author { grid-template-columns: 1fr; gap: 16px; padding: 28px 22px; border-radius: 20px; margin-top: 12px; }
  .art-body > .art-disclaimer { margin-top: 56px; padding: 14px 16px; gap: 10px; font-size: 14px; border-radius: 12px; }
  .art-author__ava { width: 88px; height: 88px; }
  .art-faq .lv-faq__list { padding: 4px 18px; border-radius: 20px; }
  .art-author__bio { font-size: 16.5px; }

  .art-stat { padding: 26px 20px 22px; border-radius: 20px; }
  .art-stat__row { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .art-stat__num { font-size: 40px; }
  .art-stat__arrow { width: 42px; height: 42px; transform: rotate(90deg); }
  .art-stat__arrow svg { width: 20px; height: 20px; }
  .art-stat__label { font-size: 15.5px; }
  .art-stat__cap { margin-top: 20px; font-size: 14px; }

  .art-parts__grid { grid-template-columns: 1fr; gap: 10px; }
  .art-parts__item { min-height: 0; padding: 22px; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 16px; border-radius: 20px; }
  .art-parts__num { min-width: 30px; font-size: 44px; font-variant-numeric: tabular-nums; }   /* заголовки трьох карток з одного x */
  .art-parts__emoji { width: 42px; height: 42px; border-radius: 12px; font-size: 21px; }
  .art-parts__title { margin: 0; padding: 0; font-size: 21px; flex: 1; }
  .art-parts__note { flex-basis: 100%; padding-left: 0; }

  .art-viz { margin-top: 40px; margin-bottom: 40px; }
  .viz { padding: 28px 18px 22px; border-radius: 24px; }
  .viz__head { margin-bottom: 22px; }
  .viz__title { font-size: 29px; }
  .viz__sub { font-size: 16px; }
  .viz__foot { font-size: 13.5px; }

  .viz-steps__grid { grid-template-columns: 1fr; gap: 10px; }
  .viz-steps__card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px 18px 18px 16px; border-radius: 16px; }
  .viz-steps__top { grid-row: 1 / 5; flex-direction: column; align-items: center; gap: 8px; }
  .viz-steps__num { font-size: 40px; }
  .viz-steps__emoji { width: 42px; height: 42px; border-radius: 12px; font-size: 21px; }
  .viz-steps__title { margin: 2px 0 0; font-size: 19px; }
  .viz-steps__text { margin-top: 6px; font-size: 15px; }
  .viz-steps__flag { margin-top: 10px; font-size: 14px; }
  .viz-steps__go { display: none; }

  .viz-dual__debts { grid-template-columns: 1fr; gap: 8px; }
  .viz-dual__debt { padding: 14px 16px; border-radius: 12px; }
  .viz-dual__cols { grid-template-columns: 1fr; gap: 10px; }
  .viz-dual__col { padding: 22px 18px; border-radius: 16px; }
  .viz-dual__name { font-size: 24px; }
  .viz-dual__emoji { width: 44px; height: 44px; border-radius: 12px; font-size: 22px; }
  .viz-dual__debt-emoji { font-size: 26px; }
  .viz-dual__rule-all { font-size: 15.5px; padding: 16px 18px; border-radius: 12px; }

  .viz-law__pay { padding: 20px 16px; border-radius: 16px; }
  .viz-law__bar { height: 54px; grid-template-columns: 1.3fr 1fr 1fr; gap: 4px; }
  .viz-law__seg { font-size: 13.5px; padding: 0 4px; border-radius: 8px; }
  .viz-law__seg--zero { font-size: 18px; }
  .viz-law__cards { grid-template-columns: 1fr; gap: 10px; }
  .viz-law__card { padding: 22px 18px; border-radius: 16px; }
  .viz-law__card-title { font-size: 20px; }
  .viz-law__card-emoji { width: 40px; height: 40px; font-size: 20px; }
  .viz-law__legend li, .viz-law__card li { font-size: 15.5px; }

  .viz-levels__stairs { display: flex; flex-direction: column-reverse; gap: 8px; padding-top: 0 !important; }
  .viz-levels__step { display: grid; grid-template-columns: 58px 1fr auto; column-gap: 12px; align-items: center; min-height: 0; padding: 14px 16px; border-radius: 12px; }
  .viz-levels__emoji { grid-column: 3; grid-row: 1 / span 3; margin: 0; padding: 0; font-size: 28px; }
  .viz-levels__num { grid-row: 1 / span 3; font-size: 32px; text-align: center; }
  .viz-levels__name, .viz-levels__desc { grid-column: 2; }
  .viz-levels__step--pos3 .viz-levels__num { justify-self: center; }
  .viz-levels__name { margin: 0; font-size: 17px; }
  .viz-levels__desc { margin: 2px 0 0; font-size: 14.5px; }
  .viz-levels__here { position: static; grid-column: 2; justify-self: start; margin-top: 6px; font-size: 14.5px; }
  .viz-levels__task { padding: 16px 18px; font-size: 15.5px; }
}

/* ═════════════════════════════════════════════════════════════════════════════
   /blog/ - список статей
   ═════════════════════════════════════════════════════════════════════════════ */
.blog-list { max-width: 1080px; margin-inline: auto; padding-top: 48px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.blog-list__head { max-width: 760px; }
.blog-list__title { margin: 20px 0 0; font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.blog-list__lead { margin: 18px 0 0; font-size: 20px; line-height: 1.55; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.blog-list__grid { display: grid; gap: 24px; margin-top: 48px; }
.blog-card__inner {
  position: relative; display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--lift); border-radius: 24px;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.blog-card__inner:hover { transform: translateY(-3px); box-shadow: var(--lift-2); }
.blog-card__inner:focus-within { outline: 2px solid var(--teal-ink); outline-offset: 4px; }
/* Посилання - лише в заголовку (валідний HTML, коротка назва для скрінрідера),
   а клікабельна вся картка через ::after */
.blog-card__link { color: inherit; text-decoration: none; outline: none; }
.blog-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.blog-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--night); overflow: hidden; }
.blog-card__media picture { display: contents; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.blog-card__inner:hover .blog-card__media img { transform: scale(1.03); }
.blog-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 34px 32px; }
.blog-card__tag { margin: 0; font-size: 15px; font-weight: 700; color: var(--teal-ink); }
.blog-card__title { margin: 10px 0 0; font-size: 32px; line-height: 1.08; font-weight: 700; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.blog-card__excerpt { margin: 12px 0 0; font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--ink); }
.blog-card__meta { margin-bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.blog-card__meta picture { display: contents; }
.blog-card__ava { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.blog-card__meta .art-by__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.blog-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 16px; font-weight: 700; color: var(--ink); }
.blog-card__more svg { width: 18px; height: 18px; color: var(--teal); transition: transform .25s var(--ease); }
.blog-card__inner:hover .blog-card__more svg { transform: translateX(4px); }
@media (min-width: 900px) {
  .blog-card--hero .blog-card__inner { grid-template-columns: 1.15fr 1fr; }
  .blog-card--hero .blog-card__media { aspect-ratio: auto; min-height: 100%; }
  .blog-card--hero .blog-card__body { justify-content: center; padding: 40px 44px; }
}
@media (max-width: 743.98px) {
  .blog-list { padding-top: 24px; }
  .blog-list__title { font-size: 42px; }
  .blog-list__lead { font-size: 17.5px; }
  .blog-list__grid { margin-top: 32px; }
  .blog-card__inner { border-radius: 20px; }
  .blog-card__body { padding: 22px 20px 24px; }
  .blog-card__title { font-size: 25px; }
  .blog-card__excerpt { font-size: 16px; }
}

/* Hover лише для миші (рецепт hover.css): на тачі після тапу картка лишалась піднятою */
@media (hover: none) {
  .viz-steps__card:hover, .viz-dual__col:hover, .viz-dual__debt:hover, .viz-law__card:hover,
  .viz-levels__step:hover, .art-parts__item:hover, .blog-card__inner:hover, .art-btn--cta:hover,
  .viz-steps__card:hover .viz-steps__emoji, .art-parts__item:hover .art-parts__emoji, .viz-levels__step:hover .viz-levels__emoji,
  .art-btn:hover svg, .art-end:hover .art-end__mascot, .viz-steps__card:hover .viz-steps__go,
  .blog-card__inner:hover .blog-card__media img, .blog-card__inner:hover .blog-card__more svg { transform: none; }
  .art-end:hover .art-end__mascot { transform: rotate(-10deg); }
  .viz-steps__item:not(.is-key) .viz-steps__card:hover, .viz-dual__col:hover, .viz-law__card:hover,
  .viz-levels__step:not(.viz-levels__step--pos3):hover, .art-parts__item:not(.is-you):hover, .blog-card__inner:hover { box-shadow: var(--lift); }
  .viz-steps__item:not(.is-key) .viz-steps__card:hover { border-color: var(--border); }
  .viz-steps__item:not(.is-key) .viz-steps__card:hover .viz-steps__go { color: #b9c4c8; }
}

/* Найвужчі телефони (320-374): маскот менший, кнопці більше місця - напис в один рядок */
@media (max-width: 374.98px) {
  .art-end__mascot { width: 64px; right: 10px; bottom: -18px; }
  .art-end .art-btn { width: calc(100% - 70px); padding-inline: 14px; }
}
