/* ===== Материалы: статья и визуальные блоки ===== */
.mat { padding: 24px 0 96px; }
.m-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 32px 0 56px; border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.m-hero__text { display: flex; flex-direction: column; gap: 18px; }
.m-title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(32px, 3.8vw, 50px); line-height: 1.12; margin: 0; }
@media (min-width: 861px) {
  .m-title { font-size: clamp(32px, 3.2vw, 42px); }
}
.m-lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text); max-width: 640px; }
.m-meta { font-size: 14px; color: var(--muted); }
.m-cover { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 5 / 4; }
.m-cover__phone { position: absolute; top: 16%; width: 27%; height: auto; border-radius: 18px; border: 4px solid #fff; box-shadow: 0 30px 50px -26px rgba(31,42,68,.55); z-index: 1; }
.m-cover__phone--l { left: 10%; top: 22%; transform: rotate(-6deg); }
.m-cover__phone--r { right: 10%; top: 22%; transform: rotate(6deg); }
.m-cover__phone--c { left: 50%; transform: translateX(-50%); width: 30%; top: 10%; z-index: 2; }

/* текст */
.m-body { max-width: 720px; margin: 0 auto; font-size: 19px; line-height: 1.75; color: var(--text); }
.m-body > p { margin: 0 0 1.05em; }
.m-body > .m-opening { display: flow-root; margin: 0 0 24px; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.45; color: var(--ink); }
.m-opening::first-letter { float: left; margin: .06em .12em 0 0; font-size: 2.8em; line-height: .9; color: var(--gold); }
.m-body h2 { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(27px, 2.8vw, 34px); line-height: 1.2; margin: 2.2em 0 .7em; scroll-margin-top: 90px; }
.m-body h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(21px, 2vw, 24px); line-height: 1.3; margin: 1.8em 0 .5em; }
.m-body strong { color: var(--ink); font-weight: 600; }
.m-body a:not(.btn) { color: var(--gold); }

/* общие элементы блоков */
.m-wide { width: min(1040px, calc(100vw - 2 * var(--gutter))); margin: 40px 0 44px 50%; transform: translateX(-50%); }
.m-tag { font-size: 11px; font-weight: 500; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 999px; padding: 2px 10px; line-height: 1.5; background: #fff; }
.m-label { font-size: 14px; font-weight: 500; color: var(--gold); }
.m-wide figcaption, .m-screens figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.m-anim { opacity: 0; transform: translateY(10px); transition: opacity .6s ease calc(var(--i, 0) * .35s), transform .6s ease calc(var(--i, 0) * .35s); }
.is-in .m-anim { opacity: 1; transform: none; }

/* 1. сравнение */
.m-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cmp-col { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; box-shadow: var(--shadow-soft); }
.cmp-col--ai { background: linear-gradient(170deg, #fff 40%, #EEF3EC); border-color: #CFDDCB; }
.cmp-col__title { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.cmp-start, .cmp-end { text-align: center; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--bg); border-radius: 14px; padding: 12px; }
.cmp-end { background: var(--ink); color: #fff; }
.cmp-steps { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.cmp-steps::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(to bottom, var(--gold-line) 0 4px, transparent 4px 8px); opacity: .6; }
.cmp-step { position: relative; text-align: center; font-size: 15.5px; color: var(--text); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease calc(var(--i) * .55s + .2s), transform .5s ease calc(var(--i) * .55s + .2s); }
.cmp-col--ai .cmp-step { transition-delay: calc(var(--i) * .9s + .2s); }
.is-in .cmp-step { opacity: 1; transform: none; }
.cmp-step--voice { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; font-size: 17px; color: var(--ink); }
.cmp-step--ai { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px; background: var(--sage); border-color: #C6D6C1; color: var(--sage-ink); }
.cmp-step--ai b { display: block; font-size: 17px; color: var(--ink); }
.cmp-step--ai small { display: block; font-size: 14px; color: var(--text); }
.cmp-col--ai .cmp-steps { flex: 1; justify-content: center; gap: 14px; }

/* 2. диалог */
.m-chat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: stretch; }
.chat { position: relative; background: #F4F1EC; border: 1px solid var(--line); border-radius: 28px; padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 16px; }
.chat > .m-tag { position: absolute; top: 18px; left: 24px; }
.chat-msg { max-width: 88%; border-radius: 22px; padding: 16px 18px; font-size: 16px; line-height: 1.55; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.chat-msg p { margin: 0; }
.chat-msg--me { align-self: flex-end; background: #fff; border-bottom-right-radius: 6px; color: var(--ink); margin-top: 22px; box-shadow: 0 14px 30px -24px rgba(31,42,68,.4); }
.chat-msg--ai { align-self: flex-start; background: transparent; padding-left: 0; color: var(--ink); transition-delay: 1.4s; }
.is-in .chat-msg { opacity: 1; transform: none; }
.chat-voice { display: flex; align-items: center; gap: 10px; color: var(--gold); margin-bottom: 10px; }
.chat-wave { display: inline-flex; align-items: center; gap: 3px; height: 24px; }
.chat-wave i { width: 3px; height: calc(var(--h) * 1px); border-radius: 2px; background: var(--gold-line); }
.is-in .chat-wave i { animation: chat-wave 1.2s ease-in-out 2; }
.chat-wave i:nth-child(odd) { animation-delay: .15s; }
.chat-time { font-size: 12px; color: var(--muted); }
.chat-name { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.chat-ava { width: 26px; height: 26px; border-radius: 8px; background: var(--rose); color: var(--rose-ink); display: inline-flex; align-items: center; justify-content: center; }
.chat-ava svg { width: 15px; height: 15px; }
.chat-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chat-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--text); background: #fff; border-radius: 12px; padding: 9px 12px; }
.chat-chip { font-size: 12px; font-weight: 600; border-radius: 8px; padding: 2px 8px; }
.chat-chip--rose { background: var(--rose); color: var(--rose-ink); }
.chat-chip--mist { background: var(--mist); color: var(--mist-ink); }
.chat-chip--lilac { background: var(--lilac); color: var(--lilac-ink); }
.chat-app { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; justify-content: center; box-shadow: var(--shadow-soft); }
.chat-app__title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.app-card { display: flex; flex-direction: column; gap: 2px; border-radius: 16px; padding: 14px 16px; opacity: 0; transform: translateX(14px); transition: opacity .5s ease calc(var(--i) * .35s + 2.4s), transform .5s ease calc(var(--i) * .35s + 2.4s); }
.is-in .app-card { opacity: 1; transform: none; }
.app-card span { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.app-card b { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); line-height: 1.3; }
.app-card small { font-size: 13px; color: var(--text); }
.app-card--rose { background: var(--rose); color: var(--rose-ink); }
.app-card--mist { background: var(--mist); color: var(--mist-ink); }
.app-card--lilac { background: var(--lilac); color: var(--lilac-ink); }
@keyframes chat-wave { 50% { transform: scaleY(.45); } }

/* 3. вопросы к ИИ */
.m-ask { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 28px; }
.ask-chip { display: inline-flex; align-items: center; gap: 10px; font-size: 16.5px; line-height: 1.4; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: 18px 18px 18px 6px; padding: 11px 16px; box-shadow: 0 14px 30px -26px rgba(31,42,68,.45); opacity: 0; transform: translateY(8px); transition: opacity .5s ease calc(var(--i) * .3s), transform .5s ease calc(var(--i) * .3s); }
.ask-chip svg { flex: none; color: var(--gold-line); }
.is-in .ask-chip { opacity: 1; transform: none; }

/* 4. экраны */
.screens-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; background: linear-gradient(160deg, #ECEAF3, #F4EDE3 60%, #F6E3DA); border-radius: 32px; padding: 32px 28px; }
.screen { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.screen img { width: 100%; height: auto; border-radius: 20px; border: 4px solid #fff; box-shadow: 0 24px 40px -26px rgba(31,42,68,.55); }
.screen span { font-size: 14px; font-weight: 500; color: var(--ink); text-align: center; }

/* 5. обзор недели */
.m-weekly { margin: 30px 0 36px; display: flex; justify-content: center; }
.weekly { width: 100%; max-width: 460px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; box-shadow: var(--shadow-frame); }
.weekly__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.weekly__head > div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.weekly__head b { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.weekly__head small { font-size: 13px; color: var(--muted); }
.weekly__icon { width: 40px; height: 40px; border-radius: 12px; background: #F3E6CF; color: var(--gold); display: inline-flex; align-items: center; justify-content: center; }
.weekly__list { list-style: none; margin: 0; padding: 6px 0 0; }
.weekly__list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line-3); font-size: 15px; line-height: 1.4; }
.weekly__list li:last-child { border-bottom: none; }
.weekly__list span { color: var(--muted); }
.weekly__list b { color: var(--ink); font-weight: 600; text-align: right; }

/* 6. цитата */
.m-quote { margin: 36px 0; padding: 30px 0 30px 34px; border-left: 3px solid var(--gold-line); }
.m-quote p { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(23px, 2.4vw, 29px); line-height: 1.4; color: var(--ink); }

/* 7. архитектура */
.m-arch { background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: 40px 36px 28px; box-shadow: var(--shadow-soft); }
.arch-flow { display: flex; align-items: stretch; }
.arch-node { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 10px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.arch-node b { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); line-height: 1.25; }
.arch-node small { font-size: 13px; color: var(--text); line-height: 1.35; }
.arch-node__icon { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; background: #fff; color: var(--ink); }
.arch-node--ai .arch-node__icon { background: var(--rose); color: var(--rose-ink); }
.arch-node--mcp .arch-node__icon { background: var(--lilac); color: var(--lilac-ink); }
.arch-node--db .arch-node__icon { background: var(--sage); color: var(--sage-ink); }
.arch-node--app .arch-node__icon { background: var(--mist); color: var(--mist-ink); }
.arch-node--git .arch-node__icon { background: #EDEAE5; }
.arch-link { flex: 0 0 34px; position: relative; align-self: center; height: 2px; background: repeating-linear-gradient(to right, var(--gold-line) 0 4px, transparent 4px 8px); }
.arch-link i { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold); animation: arch-dot 2.4s linear infinite; animation-delay: var(--d); opacity: 0; }
.arch-side { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 16px; padding-right: 0; }
.arch-side .arch-node { flex: 0 0 auto; width: 230px; flex-direction: row; gap: 12px; text-align: left; padding: 12px 16px; }
.arch-side .arch-node .arch-node__icon { margin: 0; width: 38px; height: 38px; }
.arch-side .arch-node b { font-size: 16px; }
.arch-side .arch-node small { display: block; }
.arch-side__arrow { order: -1; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.arch-side__arrow::after { content: "→"; color: var(--gold); font-size: 16px; }
.arch-side { flex-direction: row-reverse; justify-content: flex-start; }
.arch-side__arrow { order: 0; }
.arch-side__arrow::after { content: none; }
.arch-side__arrow::before { content: "←"; color: var(--gold); font-size: 16px; }
@keyframes arch-dot { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

/* 8. итог */
.m-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.sum-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-soft); }
.sum-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); }
.sum-list { list-style: none; margin: 0; padding: 0; }
.sum-list li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16.5px; line-height: 1.4; color: var(--ink); }
.sum-list li span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #F3E6CF; color: var(--gold); font-family: var(--serif); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.sum-card--sheet { background: #FFFCF6; border-color: var(--gold-line); }
.sheet-list { list-style: none; margin: 0; padding: 0; }
.sheet-list li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line-2); font-size: 16.5px; line-height: 1.45; color: var(--ink); }
.sheet-list li i { flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; border: 1.5px solid var(--gold-line); }
.sum-cta { grid-column: 1 / -1; border-radius: 28px; overflow: hidden; padding: 36px; display: flex; justify-content: center; }
.sum-cta__card { position: relative; z-index: 1; max-width: 620px; text-align: center; background: rgba(255,255,255,.92); border-radius: 22px; padding: 28px 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sum-cta__card b { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.sum-cta__card p { margin: 0 0 6px; font-size: 16.5px; color: var(--text); }

/* список материалов */
.m-list-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.m-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.m-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px; text-decoration: none; color: inherit; box-shadow: var(--shadow-soft); transition: transform .25s ease; }
.m-card:hover { transform: translateY(-3px); }
.m-card b { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--ink); }
.m-card p { margin: 0; font-size: 16px; color: var(--text); }

@media (max-width: 1080px) {
  .m-hero { grid-template-columns: 1fr; gap: 32px; }
  .m-cover { max-width: 560px; }
  .arch-flow { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
}
@media (max-width: 860px) {
  .mat { padding-top: 8px; padding-bottom: 64px; }
  .m-hero { padding: 20px 0 36px; margin-bottom: 36px; }
  .m-lead { font-size: 17px; }
  .m-body { font-size: 17.5px; line-height: 1.7; }
  .m-wide { width: 100%; margin: 28px 0 32px; transform: none; }
  .m-cmp, .m-chat, .m-sum { grid-template-columns: 1fr; }
  .cmp-col, .chat, .chat-app, .sum-card, .m-arch { padding: 22px 18px; border-radius: 22px; }
  .chat-msg { max-width: 100%; }
  .screens-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px 18px; gap: 14px; border-radius: 22px; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; }
  .screen { flex: 0 0 46%; scroll-snap-align: start; }
  .arch-flow { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .arch-node { flex-direction: row; text-align: left; gap: 14px; padding: 12px 14px; }
  .arch-node__icon { margin: 0; flex: none; }
  .arch-node > b + small { margin-left: auto; }
  .arch-link { flex: 0 0 22px; width: 2px; height: 22px; align-self: center; background: repeating-linear-gradient(to bottom, var(--gold-line) 0 4px, transparent 4px 8px); }
  .arch-link i { left: -3px !important; animation-name: arch-dot-v; }
  .arch-side { flex-direction: column; align-items: stretch; }
  .arch-side .arch-node { width: auto; }
  .arch-side__arrow::before { content: "↑"; }
  .m-quote { padding: 18px 0 18px 22px; }
  .sum-cta { padding: 80px 12px 12px; }
  .sum-cta__card { padding: 22px 18px; }
}
@keyframes arch-dot-v { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cmp-step, .chat-msg, .app-card, .ask-chip { opacity: 1 !important; transform: none !important; transition: none !important; }
  .arch-link i, .chat-wave i { animation: none !important; }
}
html:not(.js) .cmp-step, html:not(.js) .chat-msg, html:not(.js) .app-card, html:not(.js) .ask-chip { opacity: 1; transform: none; }
/* реальные логотипы */
.arch-node--ai .arch-node__icon, .arch-node--mcp .arch-node__icon, .arch-node--db .arch-node__icon, .arch-node--app .arch-node__icon, .arch-node--git .arch-node__icon { background: #fff; border: 1px solid var(--line); }
.m-tool { position: relative; padding-left: 44px; }
.m-tool__logo { position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }

/* ===== Шаблон статьи: прогресс, содержание, после статьи ===== */
.m-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.m-progress span { display: block; height: 100%; background: var(--gold-line); transform-origin: 0 50%; transform: scaleX(0); }
.m-layout { position: relative; }
.m-toc { margin: 0 auto 36px; max-width: 720px; }
.m-toc__box { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 16px 22px; }
.m-toc__box summary { cursor: pointer; font-size: 15px; font-weight: 500; color: var(--gold); list-style: none; }
.m-toc__box summary::-webkit-details-marker { display: none; }
.m-toc ol { list-style: none; counter-reset: toc; margin: 12px 0 2px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.m-toc li { counter-increment: toc; }
.m-toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 15.5px; line-height: 1.4; color: var(--text); text-decoration: none; transition: color .2s; }
.m-toc a::before { content: counter(toc); flex: none; width: 18px; color: var(--gold-line); font-weight: 600; font-size: 14px; }
.m-toc a:hover, .m-toc a.is-active { color: var(--ink); }
.m-toc a.is-active::before { color: var(--gold); }
/* Оглавление сбоку: на широких экранах, если в статье нет блоков шире колонки текста (.m-wide).
   Колонка оглавления и колонка текста центрируются вместе, поэтому текст и блок после статьи смещены вправо на половину ширины оглавления с отступом. */
@media (min-width: 1240px) {
  .m-layout--side { display: grid; grid-template-columns: 210px minmax(0, 720px); column-gap: 64px; justify-content: center; }
  .m-layout--side .m-body { margin: 0; }
  .m-layout--side .m-toc { margin: 0; max-width: none; }
  .m-layout--side .m-toc__box { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; scrollbar-width: thin; background: transparent; border: none; padding: 2px 4px 0 2px; }
  .m-layout--side .m-toc__box summary { pointer-events: none; }
  .m-layout--side .m-toc ol { gap: 0; }
  .m-layout--side .m-toc a { font-size: 14px; line-height: 1.38; padding: 6px 0; }
  .m-layout--side + .m-after { position: relative; left: 137px; }
}
.m-after { max-width: 720px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 20px; }
.m-share { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.m-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.m-tag-chip { font-size: 13.5px; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.m-share__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.m-share__btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; cursor: pointer; text-decoration: none; }
.m-share__btn:hover { border-color: var(--gold-line); }
.m-share__btn svg { color: var(--gold); }
.m-author { display: flex; gap: 22px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-soft); }
.m-author__photo { flex: none; width: 104px; height: 128px; object-fit: cover; object-position: 50% 20%; border-radius: 16px; }
.m-author__text { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.m-author__text b { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); }
.m-author__text p { margin: 2px 0 6px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.m-author .link-line { font-size: 14.5px; }
.m-channel { display: flex; align-items: center; gap: 18px; background: linear-gradient(135deg, #EEF3F8, #F7F1E8); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; }
.m-channel__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; background: #2AABEE; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.m-channel__text { flex: 1; min-width: 0; }
.m-channel__text b { display: block; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); line-height: 1.3; }
.m-channel__text p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.m-channel .btn { flex: none; }
.m-next { margin-top: 80px; }
.m-next__title { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.2vw, 28px); color: var(--ink); margin: 0 0 24px; }
/* карточка материала с картинкой */
.m-card { padding: 0; overflow: hidden; }
.m-card__img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-bottom: 1px solid var(--line); }
.m-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; }
.m-card__lead { font-size: 15.5px; line-height: 1.55; color: var(--text); }
@media (max-width: 860px) {
  .m-after { margin-top: 40px; }
  .m-author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 20px; }
  .m-author__photo { grid-column: 1; grid-row: 1 / 3; width: 72px; height: 88px; border-radius: 12px; }
  .m-author__text { display: contents; }
  .m-author__text .m-label { grid-column: 2; align-self: end; }
  .m-author__text b { grid-column: 2; align-self: start; line-height: 1.25; }
  .m-author__text p { grid-column: 1 / -1; margin: 12px 0 6px; }
  .m-author .link-line { grid-column: 1 / -1; justify-self: start; }
  .m-channel { flex-direction: column; align-items: flex-start; padding: 20px; }
  .m-channel .btn { align-self: stretch; justify-content: center; }
  .m-share { flex-direction: column; align-items: flex-start; }
  .m-next { margin-top: 56px; }
}

/* Читать дальше: 1–2 материала — горизонтальные карточки, от 3 — сетка */
.m-next--compact { max-width: 720px; margin: 48px auto 0; }
.m-next--compact .m-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.m-next--compact .m-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; }
.m-next--compact .m-card__img { height: auto; aspect-ratio: 1200 / 630; object-fit: contain; border: 1px solid var(--line); border-radius: 14px; }
.m-next--compact .m-card__body { min-width: 0; padding: 0; gap: 8px; }
.m-next--compact .m-card__body:only-child { grid-column: 1 / -1; }
.m-next--compact .m-card b { font-size: 21px; line-height: 1.25; }
.m-next--compact .kicker { font-size: 12px; }
.m-next--compact .m-card__lead { display: none; }
.m-after--follow { margin-top: 40px; }
@media (max-width: 560px) {
  .m-next--compact .m-card { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 18px; border-radius: 20px; }
  .m-next--compact .m-card__img { display: none; }
  .m-next--compact .m-card b { font-size: 18px; line-height: 1.3; }
  .m-next--compact .kicker { font-size: 11px; }
  .m-next--compact .m-card__lead { display: none; }
  .m-next--compact .m-meta { font-size: 12px; }
}

/* ===== Главная ===== */
.home-hero { align-items: center; }
.home-cover { position: relative; flex: 0 0 44%; border-radius: 32px; overflow: hidden; aspect-ratio: 1 / 1; max-width: 500px; }
.home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.home-head .kicker { display: block; margin-bottom: 8px; }
#materials .m-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.home-consult { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.home-consult__row { display: flex; align-items: baseline; gap: 14px; margin-top: 4px; }
.home-consult__row .price { font-size: 32px; line-height: 1; }
.home-consult .actions { margin-top: 6px; }
.m-channel--wide { max-width: none; padding: 28px 32px; }
#about .teacher { max-width: 1040px; }
@media (max-width: 860px) {
  .home-cover { flex: none; width: 100%; max-width: none; aspect-ratio: 4 / 3; }
  .home-head { flex-direction: column; align-items: flex-start; }
}
.home-consult__row .note { white-space: nowrap; }
@media (max-width: 860px) { .home-consult__row { flex-wrap: wrap; } }

/* Иллюстрации, промпты, карточка идеи */
.m-cover--image { aspect-ratio: 16 / 10; box-shadow: var(--shadow-soft); }
.m-cover--image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-fig { margin: 40px 0; }
.m-fig img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 30px 60px -44px rgba(31,42,68,.45); }
.m-fig figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); text-align: center; }
.m-body blockquote { margin: 32px 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--gold-line); }
.m-body blockquote p { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.45; color: var(--ink); }
.m-body > ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.m-body > ul li { margin: .3em 0; padding-left: .2em; }
.m-body > ul li::marker { color: var(--gold); }
.m-prompt { margin: 26px 0 34px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); overflow: hidden; }
.m-prompt__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 22px; background: #F6EFE4; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--gold); }
.m-prompt__copy { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: border-color .2s ease; }
.m-prompt__copy:hover { border-color: var(--gold-line); }
.m-prompt__copy:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.m-prompt__text { padding: 18px 22px 20px; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.m-prompt__text p { margin: 0 0 .8em; }
.m-prompt__text p:last-child { margin-bottom: 0; }
.m-idea { margin: 26px 0 34px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold-line); border-radius: 22px; padding: 8px 26px; box-shadow: var(--shadow-soft); }
.m-idea__row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 13px 0; border-top: 1px dashed var(--line-2); }
.m-idea__row:first-child { border-top: 0; }
.m-idea__row:first-child dd { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); }
.m-idea dt { font-size: 14.5px; font-weight: 600; color: var(--gold); padding-top: 2px; }
.m-idea dd { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
@media (max-width: 860px) { .m-fig { margin: 32px 0; } .m-fig img { border-radius: 18px; } }
@media (max-width: 560px) {
  .m-idea { padding: 6px 18px; }
  .m-idea__row { grid-template-columns: 1fr; gap: 2px; }
  .m-prompt__text { padding: 16px 18px 18px; font-size: 16px; }
  .m-prompt__head { padding-left: 18px; }
}

/* Анимированные иллюстрации */
.an { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: #F5E9D8; box-shadow: 0 30px 60px -44px rgba(31,42,68,.45); container-type: inline-size; }
.an__bg, .an__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.an .ln { display: flex; flex-direction: column; gap: .9cqw; width: 100%; }
.an .ln i { display: block; height: .75cqw; border-radius: 1cqw; background: rgba(95,85,70,.28); }
.an-tag { position: absolute; font-family: var(--serif); font-size: max(10px, 2.15cqw); color: #4A4234; background: rgba(239,222,196,.9); padding: .5cqw 1.6cqw; border-radius: 1cqw; white-space: nowrap; box-shadow: 0 .6cqw 1.6cqw -1cqw rgba(80,60,30,.4); transform: rotate(-1.5deg); }

/* 1. Путь разговора */
.ap-trail { fill: none; stroke: #8A7456; stroke-width: 5; stroke-dasharray: 14 16; stroke-linecap: round; }
.ap-reveal { fill: none; stroke: #fff; stroke-width: 24; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ap-arrow { fill: none; stroke: #8A7456; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.ap-link { fill: none; stroke: #8A7456; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .7; }
.ap-dot { fill: #7E7A55; opacity: 0; }
.ap-q { position: absolute; left: 7%; top: 39%; width: 9%; aspect-ratio: 1.1; border-radius: 30% 30% 30% 8%; background: #FBF3E6; box-shadow: 0 1cqw 2.4cqw -1.4cqw rgba(80,60,30,.55); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 5cqw; color: #5B513F; }
.ap-tag1 { left: 3.5%; top: 59%; }
.ap-tag2 { right: 4%; top: 58%; opacity: 0; transform: rotate(-1.5deg) translateY(1cqw); }
.ap-c { position: absolute; border-radius: 1.2cqw; padding: 1.3cqw 1.4cqw; box-shadow: 0 1cqw 2.4cqw -1.4cqw rgba(80,60,30,.5); opacity: 0; transform: translateY(1.2cqw) scale(.92); }
.ap-c--green { background: #B6BE96; border-radius: 1.4cqw 1.4cqw 1.4cqw .3cqw; }
.ap-c--green .ln i { background: rgba(255,255,255,.75); }
.ap-c--cream { background: #FBF4E8; border-radius: 1.4cqw 1.4cqw .3cqw 1.4cqw; }
.ap-c--note { background: #F7EBD5; transform: translateY(1.2cqw) rotate(-3deg) scale(.92); display: flex; flex-direction: column; gap: .7cqw; }
.ap-c--peach { background: #F1D5C1; display: flex; flex-direction: column; gap: .8cqw; }
.ap-c .chk, .ap-c .lst { display: flex; align-items: center; gap: .8cqw; }
.ap-c .chk b { width: 1.5cqw; height: 1.5cqw; border: .2cqw solid #7C6C52; border-radius: .3cqw; font-size: 1.3cqw; line-height: 1.1; color: #4F6B3A; text-align: center; flex: none; }
.ap-c .chk i, .ap-c .lst i { flex: 1; height: .7cqw; border-radius: 1cqw; background: rgba(95,85,70,.3); }
.ap-c .lst b { width: 1cqw; height: 1cqw; border-radius: 50%; background: #B77B5A; flex: none; }
.ap-c .pic svg { width: 100%; display: block; margin-bottom: .8cqw; }
.ap-c .venn { width: 100%; display: block; }
.ap-bulb { position: absolute; left: 80.5%; top: 20%; width: 9%; }
.ap-bulb svg { position: relative; width: 100%; display: block; }
.ap-glass { fill: #EFE3C9; stroke: #C9A46E; stroke-width: 2; transition: fill .8s ease; }
.ap-glow { position: absolute; left: 50%; top: 35%; width: 260%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.4); border-radius: 50%; background: radial-gradient(circle, rgba(255,214,120,.85) 0%, rgba(255,214,120,.35) 35%, rgba(255,214,120,0) 68%); opacity: 0; }
.ap-rays2 { position: absolute; left: 50%; top: 34%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.8); border-radius: 50%; background: repeating-conic-gradient(from -60deg, #C9923A 0 2deg, transparent 2deg 24deg); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%, #000 66%, transparent 67%); mask: radial-gradient(circle, transparent 54%, #000 55%, #000 66%, transparent 67%); clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%); opacity: 0; }

.an--path.is-in .ap-reveal { stroke-dashoffset: 0; transition: stroke-dashoffset 3.2s cubic-bezier(.45,.1,.4,1) .3s; }
.an--path.is-in .ap-dot, .an--path.is-in .ap-c { opacity: 1; transform: none; transition: opacity .5s ease calc(.3s + var(--t) * 3.2s), transform .6s cubic-bezier(.2,.8,.3,1.2) calc(.3s + var(--t) * 3.2s); }
.an--path.is-in .ap-c--note { transform: rotate(-3deg); }
.an--path.is-in .ap-link { stroke-dashoffset: 0; transition: stroke-dashoffset .7s ease calc(.3s + var(--t) * 3.2s); }
.an--path.is-in .ap-arrow { opacity: 1; transition: opacity .4s ease 3.4s; }
.an--path.is-in .ap-glass { fill: #FBE29A; transition-delay: 3.5s; }
.an--path.is-in .ap-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity 1s ease 3.5s, transform 1.4s ease 3.5s; }
.an--path.is-in .ap-rays2 { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .6s ease 3.8s, transform .8s ease 3.8s; }
.an--path.is-in .ap-tag2 { opacity: 1; transform: rotate(-1.5deg); transition: opacity .6s ease 3.9s, transform .6s ease 3.9s; }

/* 3. Заметки → система */
.nt { position: absolute; left: var(--x0); top: var(--y0); width: 13%; height: 12%; padding: 1.2cqw 1.3cqw; border-radius: .8cqw; display: flex; gap: 1cqw; align-items: center; transform: rotate(var(--r0)); box-shadow: 0 1cqw 2.2cqw -1.2cqw rgba(80,60,30,.55); z-index: 2; }
.nt--cream { background: #FBF2E2; } .nt--paper { background: #F3E3C6; } .nt--green { background: #D5D9BC; } .nt--peach { background: #F2D7C6; }
.nt__ic { flex: none; width: 3.2cqw; height: 3.2cqw; display: flex; align-items: center; justify-content: center; }
.nt__ic svg { width: 100%; height: 100%; }
.nt__ic .q { font-family: var(--serif); font-size: 4.4cqw; line-height: 1; color: #B77B5A; margin-top: 1.4cqw; }
.nt__ic .q--s { font-size: 3.4cqw; margin-top: 0; color: #6F7F52; }
.nt-orbit { fill: none; stroke: #C9A46E; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .6; }
.nt-ln { stroke: #C9A46E; stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; }
.nt-ln--ring { stroke-width: 1.8; opacity: .6; }
.nt-node { fill: #D6A85A; opacity: 0; }
.nt-star { position: absolute; left: 50%; top: 46%; width: 11%; transform: translate(-50%, -50%) scale(.3); opacity: 0; z-index: 1; }
.nt-star svg { position: relative; width: 100%; display: block; }
.nt-glow { position: absolute; left: 50%; top: 50%; width: 320%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,215,120,.8) 0%, rgba(255,215,120,.3) 35%, rgba(255,215,120,0) 68%); }
.nt-tag { left: 50%; bottom: 4.5%; transform: translateX(-50%) rotate(-1deg); }
.nt-tag--b { opacity: 0; }

.an--notes.is-in .nt { left: var(--x1); top: var(--y1); transform: rotate(0deg); transition: left 1.3s cubic-bezier(.6,.05,.25,1) calc(.5s + var(--i) * .07s), top 1.3s cubic-bezier(.6,.05,.25,1) calc(.5s + var(--i) * .07s), transform 1.3s ease calc(.5s + var(--i) * .07s); }
.an--notes.is-in .nt-ln { stroke-dashoffset: 0; transition: stroke-dashoffset .8s ease calc(2.1s + var(--i) * .1s); }
.an--notes.is-in .nt-orbit { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease 2s; }
.an--notes.is-in .nt-node { opacity: 1; transition: opacity .4s ease calc(2.1s + var(--i) * .1s); }
.an--notes.is-in .nt-star { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .8s ease 2.9s, transform 1.2s cubic-bezier(.2,.8,.3,1.3) 2.9s; }
.an--notes.is-in .nt-tag--a { opacity: 0; transition: opacity .5s ease .4s; }
.an--notes.is-in .nt-tag--b { opacity: 1; transition: opacity .7s ease 3.2s; }

@media (prefers-reduced-motion: reduce) { .an *, .an *::before { transition: none !important; } }

/* Таблицы в статье */
.m-body table { width: 100%; margin: 28px 0 34px; border-collapse: separate; border-spacing: 0; font-size: 16.5px; line-height: 1.55; background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); }
.m-body th { text-align: left; font-weight: 600; font-size: 14.5px; color: var(--gold); background: #F6EFE4; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.m-body td { padding: 13px 18px; vertical-align: top; color: var(--text); border-top: 1px dashed var(--line-2); }
.m-body tr:nth-child(1) td { border-top: 0; }
.m-body td:first-child { font-family: var(--serif); font-weight: 600; color: var(--ink); width: 34%; }
@media (max-width: 560px) {
  .m-body table, .m-body tbody, .m-body tr, .m-body td { display: block; width: auto; }
  .m-body thead { display: none; }
  .m-body tr { padding: 12px 16px; border-top: 1px dashed var(--line-2); }
  .m-body tr:first-child { border-top: 0; }
  .m-body td { padding: 0; border: 0; font-size: 16px; }
  .m-body td:first-child { width: auto; margin-bottom: 3px; }
}

/* Схемы статьи «Как развивать собственные идеи вместе с ИИ» */
.ix { position: relative; border-radius: 24px; padding: 36px 36px 32px; overflow: hidden; container-type: inline-size; box-shadow: 0 30px 60px -44px rgba(31,42,68,.45); }
.ix svg.ic { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ix-h { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--ink); }

/* 1. Делегирование и совместное творчество */
.ix--deleg { background: radial-gradient(ellipse 60% 50% at 100% 100%, rgba(191,204,170,.45), transparent 70%), radial-gradient(ellipse 50% 45% at 100% 0%, rgba(240,214,160,.4), transparent 70%), #F4EEE5; }
.dg { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 28px; }
.dg-divider { background: linear-gradient(transparent, #D8CDBB 15%, #D8CDBB 85%, transparent); }
.dg-col { display: flex; flex-direction: column; }
.dg-col .ix-h { text-align: center; margin-bottom: 20px; }
.dg-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: stretch; }
.dg-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 16px; border-radius: 16px; text-align: center; font-weight: 600; font-size: 16.5px; line-height: 1.35; color: #4A4538; }
.dg-col--a .dg-step { background: #ECE7DE; color: #5A5446; }
.dg-col--a .dg-step--1 { background: #E4DED3; }
.dg-col--a .ic { color: #8E806B; }
.dg-col--b .dg-step--0 { background: #F2E4C6; } .dg-col--b .dg-step--0 .ic { color: #A87F3C; }
.dg-col--b .dg-step--1 { background: #E7E8D6; } .dg-col--b .dg-step--1 .ic { color: #6F7D5E; }
.dg-col--b .dg-step--2 { background: #DCE6D3; box-shadow: inset 0 0 0 1.5px #B9C9A9; } .dg-col--b .dg-step--2 .ic { color: #5E7A4E; width: 30px; height: 30px; }
.dg-link { height: 34px; display: flex; justify-content: center; }
.dg-link svg { width: 16px; height: 34px; fill: none; stroke: #B6AB94; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dg-col--b .dg-link path:first-child { stroke-dasharray: .06 .07; }
.dg-note { margin: 18px 0 0; text-align: center; font-size: 15px; line-height: 1.5; color: #6E685C; }
.dg-talk { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 4px; }
.dg-talk i { display: block; height: 7px; border-radius: 4px; background: #B5BF9C; }
.dg-talk i:nth-child(1) { width: 22px; } .dg-talk i:nth-child(2) { width: 16px; margin-left: 8px; background: #E0C58E; } .dg-talk i:nth-child(3) { width: 20px; }

/* стартовое состояние до появления */
.js .ix--deleg .dg-step, .js .ix--deleg .dg-note { opacity: 0; transform: translateY(10px); }
.js .ix--deleg .dg-link path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .ix--deleg .dg-col--b .dg-link path:first-child { stroke-dasharray: .06 .07; stroke-dashoffset: 0; clip-path: inset(0 0 100% 0); }
.js .ix--deleg .dg-head { opacity: 0; }
.js .ix--deleg .dg-talk i { opacity: 0; transform: scale(.4); }
.js .ix--deleg .dg-col--b .dg-step--2 .ic path { stroke-dasharray: 1; stroke-dashoffset: 1; }
/* левая колонка: быстро и ровно */
html.js .ix--deleg.is-in .dg-col--a .dg-step { opacity: 1; transform: none; transition: opacity .3s ease calc(.2s + var(--k) * .32s), transform .3s ease calc(.2s + var(--k) * .32s); }
html.js .ix--deleg.is-in .dg-col--a .dg-link path { stroke-dashoffset: 0; transition: stroke-dashoffset .15s linear calc(.42s + var(--k) * .32s); }
html.js .ix--deleg.is-in .dg-col--a .dg-head { opacity: 1; transition: opacity .1s linear calc(.5s + var(--k) * .32s); }
html.js .ix--deleg.is-in .dg-col--a .dg-note { opacity: 1; transform: none; transition: opacity .5s ease 1.2s, transform .5s ease 1.2s; }
/* правая колонка: медленнее, через разговор */
html.js .ix--deleg.is-in .dg-col--b .dg-step { opacity: 1; transform: none; transition: opacity .6s ease calc(.6s + var(--k) * 1.25s), transform .7s cubic-bezier(.2,.8,.3,1.15) calc(.6s + var(--k) * 1.25s); }
html.js .ix--deleg.is-in .dg-col--b .dg-link path:first-child { clip-path: inset(0 0 0 0); transition: clip-path .7s ease calc(1.15s + var(--k) * 1.25s); }
html.js .ix--deleg.is-in .dg-col--b .dg-head { opacity: 1; transition: opacity .2s ease calc(1.8s + var(--k) * 1.25s); }
html.js .ix--deleg.is-in .dg-talk i { opacity: 1; transform: none; transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.3,1.4); }
html.js .ix--deleg.is-in .dg-talk i:nth-child(1) { transition-delay: 2.15s; } html.js .ix--deleg.is-in .dg-talk i:nth-child(2) { transition-delay: 2.5s; } html.js .ix--deleg.is-in .dg-talk i:nth-child(3) { transition-delay: 2.85s; }
.dg-talk i { transform-origin: left center; } .dg-talk i:nth-child(2) { transform-origin: right center; }
html.js .ix--deleg.is-in .dg-col--b .dg-step--2 .ic path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s ease 3.3s; }
html.js .ix--deleg.is-in .dg-col--b .dg-note { opacity: 1; transform: none; transition: opacity .6s ease 4s, transform .6s ease 4s; }

/* 2. Семь этапов */
.ix--stages { background: radial-gradient(ellipse 55% 35% at 0% 0%, rgba(240,214,160,.42), transparent 70%), radial-gradient(ellipse 60% 40% at 100% 100%, rgba(198,210,180,.42), transparent 70%), #F5EFE6; padding-left: 28px; }
.st-title { text-align: center; margin-bottom: 26px; font-size: 23px; }
.st-list { list-style: none; margin: 0; padding: 0; }
.st-row { position: relative; display: grid; grid-template-columns: 30px 58px minmax(0, 1fr); column-gap: 18px; padding-bottom: 22px; }
.st-row:last-child { padding-bottom: 0; }
.st-tile { grid-column: 2; width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; background: var(--tile); color: var(--icon); transition: background .5s ease, color .5s ease; }
.st-row:not(:last-child)::after { content: ""; position: absolute; left: calc(30px + 18px + 29px - 1px); top: 62px; bottom: 4px; width: 2px; border-radius: 2px; background: #CFC3AE; transform-origin: top; }
.st-txt { grid-column: 3; display: flex; flex-direction: column; gap: 3px; padding-top: 5px; }
.st-txt b { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--ink); }
.st-n { font-family: var(--sans, inherit); font-weight: 600; font-size: 14px; color: var(--icon); margin-right: 10px; letter-spacing: .02em; }
.st-txt > span { font-size: 16px; line-height: 1.45; color: #6E685C; }
.st--honey { --tile: #F2E4C6; --icon: #A87F3C; } .st--sand { --tile: #E9E3D7; --icon: #85775F; } .st--sage { --tile: #E0E8D7; --icon: #6A7D58; }
.st--blue { --tile: #E0E7EA; --icon: #61767E; } .st--rose { --tile: #F0DDD3; --icon: #A5674F; }
/* возвратная дуга слева */
.st-back { position: absolute; left: 10px; top: 0; bottom: 0; width: 20px; border-left: 2px dashed #C9A46E; }
.st-row:first-child .st-back { top: 29px; border-top: 2px dashed #C9A46E; border-top-left-radius: 14px; width: 48px; }
.st-row:first-child .st-back::after { content: ""; position: absolute; right: -2px; top: -7px; border: 6px solid transparent; border-left: 8px solid #C9A46E; border-right: 0; }
.st-row:last-child .st-back { bottom: auto; height: 29px; border-bottom: 2px dashed #C9A46E; border-bottom-left-radius: 14px; width: 48px; }
.st-foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid #E3D9C9; font-size: 15.5px; color: #6E685C; text-align: center; }
.st-foot svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #A0662A; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.js .ix--stages .st-row .st-tile { background: #EDE6DA; color: #BCB09C; }
.js .ix--stages .st-txt { opacity: .28; transform: translateX(-6px); }
.js .ix--stages .st-row::after { transform: scaleY(0); }
.js .ix--stages .st-back { clip-path: inset(0 0 100% 0); }
.js .ix--stages .st-row:last-child .st-back { clip-path: inset(0 100% 0 0); }
.js .ix--stages .st-foot { opacity: 0; }
html.js .ix--stages.is-in .st-row .st-tile { background: var(--tile); color: var(--icon); transition: background .5s ease calc(.3s + var(--k) * .55s), color .5s ease calc(.3s + var(--k) * .55s); }
html.js .ix--stages.is-in .st-txt { opacity: 1; transform: none; transition: opacity .5s ease calc(.3s + var(--k) * .55s), transform .5s ease calc(.3s + var(--k) * .55s); }
html.js .ix--stages.is-in .st-row::after { transform: none; transition: transform .45s ease calc(.6s + var(--k) * .55s); }
html.js .ix--stages.is-in .st-back { clip-path: inset(0 0 0 0); transition: clip-path .35s linear calc(4.5s + var(--r) * .18s); }
html.js .ix--stages.is-in .st-row:last-child .st-back { clip-path: inset(0 0 0 0); transition: clip-path .3s linear 4.2s; }
html.js .ix--stages.is-in .st-row:first-child .st-back { clip-path: inset(0 0 0 0); }
html.js .ix--stages.is-in .st-foot { opacity: 1; transition: opacity .7s ease 5.7s; }
.js .ix--stages .st-row:first-child .st-back { clip-path: inset(100% 0 0 0); }
html.js .ix--stages.is-in .st-row:first-child .st-back { transition: clip-path .4s ease 5.6s; }

/* 3. Смысловое ядро */
.ix--core { padding: 0; background: radial-gradient(circle at 50% 50%, rgba(240,205,140,.35), transparent 42%), radial-gradient(ellipse 50% 40% at 0% 100%, rgba(198,210,180,.4), transparent 70%), #F5EFE6; }
.cr { position: relative; aspect-ratio: 1000 / 640; container-type: inline-size; }
.cr-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cr-orbit { fill: none; stroke: #CDBFA6; stroke-width: 1.5; stroke-dasharray: .006 .012; }
.cr-ln { fill: none; stroke: #B9AA90; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cr-core { position: absolute; left: 36.6%; top: 29.1%; width: 26.8%; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6cqw; text-align: center; z-index: 2;
  background: radial-gradient(circle at 40% 35%, #F3DDB0, #E5C68E 70%); box-shadow: 0 0 0 1.2cqw rgba(229,198,142,.25), 0 2cqw 4cqw -2cqw rgba(140,100,40,.5); }
.cr-core::before { content: ""; position: absolute; inset: 3.5%; border-radius: 50%; border: 1px solid rgba(160,110,50,.35); }
.cr-core b { font-family: var(--serif); font-weight: 600; font-size: 3.3cqw; line-height: 1.15; color: #6B4A1E; max-width: 80%; }
.cr-core > span:not(.cr-glow) { font-size: 1.9cqw; color: #8A6A3A; }
.cr-star { width: 3.2cqw; height: 3.2cqw; fill: #FFF3D6; stroke: #B07F3A; stroke-width: 1.4; stroke-linejoin: round; }
.cr-glow { position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,130,.55), transparent 62%); z-index: -1; }
.cr-cards { list-style: none; margin: 0; padding: 0; }
.cr-card { position: absolute; width: 26.4%; height: 13.1%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3cqw; border-radius: 1.4cqw; background: #E7EBDD; box-shadow: inset 0 0 0 1px #C9D0B8, 0 1.4cqw 2.6cqw -1.8cqw rgba(60,70,40,.45); text-align: center; z-index: 1; }
.cr-card b { font-family: var(--serif); font-weight: 600; font-size: 2.4cqw; line-height: 1.2; color: #4E5F43; }
.cr-card span { font-size: max(11px, 1.65cqw); color: #6C7563; }

.js .ix--core .cr-core { opacity: 0; transform: scale(.7); }
.js .ix--core .cr-glow { opacity: 0; }
.js .ix--core .cr-card { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.9); }
.js .ix--core .cr-ln { stroke-dashoffset: 1; }
.js .ix--core .cr-orbit { opacity: 0; }
.js .ix--core .cr-star { transform: rotate(-90deg) scale(.5); }
html.js .ix--core.is-in .cr-core { opacity: 1; transform: none; transition: opacity .7s ease .2s, transform .9s cubic-bezier(.2,.8,.3,1.2) .2s; }
html.js .ix--core.is-in .cr-star { transform: none; transition: transform 1s cubic-bezier(.2,.8,.3,1.3) .5s; }
html.js .ix--core.is-in .cr-card { opacity: 1; transform: none; transition: opacity .6s ease calc(1s + var(--k) * .28s), transform 1s cubic-bezier(.2,.8,.25,1) calc(1s + var(--k) * .28s); }
html.js .ix--core.is-in .cr-ln { stroke-dashoffset: 0; transition: stroke-dashoffset .6s ease calc(1.6s + var(--k) * .28s); }
html.js .ix--core.is-in .cr-orbit { opacity: 1; transition: opacity 1.2s ease 3.4s; }
html.js .ix--core.is-in .cr-glow { opacity: 1; transition: opacity 1.4s ease 3.6s; }

/* узкие экраны */
@media (max-width: 640px) {
  .ix { padding: 26px 18px 22px; border-radius: 20px; }
  .dg { grid-template-columns: 1fr; gap: 26px; }
  .dg-divider { height: 1px; background: linear-gradient(90deg, transparent, #D8CDBB 15%, #D8CDBB 85%, transparent); }
  .ix--stages { padding-left: 12px; }
  .st-row { grid-template-columns: 24px 48px minmax(0, 1fr); column-gap: 12px; padding-bottom: 18px; }
  .st-tile { width: 48px; height: 48px; border-radius: 14px; }
  .st-tile .ic { width: 22px; height: 22px; }
  .st-row:not(:last-child)::after { left: calc(24px + 12px + 24px - 1px); top: 52px; }
  .st-back { left: 6px; width: 18px; }
  .st-row:first-child .st-back, .st-row:last-child .st-back { width: 30px; }
  .st-row:first-child .st-back { top: 24px; } .st-row:last-child .st-back { height: 24px; }
  .st-txt { padding-top: 2px; }
  .st-txt b { font-size: 17px; } .st-n { font-size: 13px; margin-right: 7px; }
  .st-txt > span { font-size: 15px; }
  .st-title { font-size: 20px; margin-bottom: 20px; }
  .st-foot { font-size: 14.5px; text-align: left; justify-content: flex-start; }
}
@container (max-width: 560px) {
  .cr { aspect-ratio: auto; padding: 26px 16px 20px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
  .cr-svg { display: none; }
  .cr-core { position: relative; left: auto; top: auto; width: 190px; gap: 4px; box-shadow: 0 0 0 9px rgba(229,198,142,.25), 0 14px 28px -16px rgba(140,100,40,.5); }
  .cr-core b { font-size: 22px; } .cr-core > span:not(.cr-glow) { font-size: 14px; }
  .cr-star { width: 22px; height: 22px; }
  .cr-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .cr-card { position: static; width: auto; height: auto; padding: 13px 8px; border-radius: 14px; gap: 2px; box-shadow: inset 0 0 0 1px #C9D0B8; }
  .cr-card b { font-size: 16px; } .cr-card span { font-size: 13px; }
  .js .ix--core .cr-card { transform: translateY(12px); }
}
@media (prefers-reduced-motion: reduce) { .ix *, .ix *::before, .ix *::after { transition: none !important; } }


/* ===== Статья «Когда ИИ слишком убедителен»: схемы ck- ===== */
.ix--ck { background: radial-gradient(ellipse 55% 40% at 0% 0%, rgba(240,214,160,.34), transparent 70%), radial-gradient(ellipse 55% 40% at 100% 100%, rgba(198,210,180,.36), transparent 70%), #F5EFE6; }
.ck-head { margin-bottom: 24px; }
.ck-sub { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.ck-note { margin: 26px 0 0; padding-top: 16px; border-top: 1px solid #E2D7C6; font-size: 15px; line-height: 1.5; color: #6E685C; }
.ck-card { margin: 0; background: #FFFCF7; border: 1px solid #E8DFD1; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.ck-card b { font-weight: 600; font-size: 16.5px; line-height: 1.35; color: var(--ink); }
.ck-card span { font-size: 15.5px; line-height: 1.5; color: var(--text); }
.ck-card--rose { background: var(--rose); border-color: #EBCFC2; } .ck-card--rose b, .ck-rose { color: var(--rose-ink); }
.ck-card--sage { background: var(--sage); border-color: #C9D8C4; } .ck-card--sage b, .ck-sage { color: var(--sage-ink); }
.ck-down { position: relative; display: block; width: 2px; height: 22px; margin: 7px auto; background: #C2B49E; border-radius: 2px; }
.ck-down::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 8px; height: 8px; border-right: 2px solid #C2B49E; border-bottom: 2px solid #C2B49E; transform: translate(-50%, -1px) rotate(45deg); }

/* 01. Как вопрос определяет направление ответа */
.fr-qs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fr-q { border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; border: 1px solid transparent; }
.fr-q b { font-weight: 600; font-size: 15px; }
.fr-q span { font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--ink); }
.fr-q--a { background: var(--rose); border-color: #EBCFC2; } .fr-q--a b { color: var(--rose-ink); }
.fr-q--b { background: var(--sage); border-color: #C9D8C4; } .fr-q--b b { color: var(--sage-ink); }
.fr-beam { position: relative; height: 44px; }
.fr-beam i { position: absolute; inset: 0; opacity: 0; }
.fr-beam__a { background: linear-gradient(rgba(214,160,135,.55), rgba(214,160,135,.12)); clip-path: polygon(17% 0, 33% 0, 55% 100%, 0 100%); }
.fr-beam__b { background: linear-gradient(rgba(140,172,135,.5), rgba(140,172,135,.12)); clip-path: polygon(67% 0, 83% 0, 100% 100%, 0 100%); }
.fr-field { background: #FFFCF7; border: 1px solid #E8DFD1; border-radius: 18px; padding: 16px 16px 16px; }
.fr-label { margin: 0 0 10px 4px; font-weight: 600; font-size: 15px; color: var(--ink); }
.fr-groups { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.fr-g { list-style: none; margin: 0; padding: 10px; border-radius: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.fr-g li { margin: 0; padding: 7px 12px; border-radius: 999px; background: #F1EBE1; color: #4A4538; border: 1px solid #E5DACA; font-size: 14.5px; line-height: 1.3; }
html.js .ck-framing.is-in .fr-beam__a { animation: fr-win-a 10s ease-in-out infinite; }
html.js .ck-framing.is-in .fr-beam__b { animation: fr-win-b 10s ease-in-out infinite; }
html.js .ck-framing.is-in .fr-q--a { animation: fr-qa 10s ease-in-out infinite; }
html.js .ck-framing.is-in .fr-q--b { animation: fr-qb 10s ease-in-out infinite; }
html.js .ck-framing.is-in .fr-g--a { animation: fr-boxa 10s ease-in-out infinite; }
html.js .ck-framing.is-in .fr-g--b { animation: fr-boxb 10s ease-in-out infinite; }
html.js .ck-framing.is-in .fr-g--a li { animation: fr-chipa 10s ease-in-out infinite; }
html.js .ck-framing.is-in .fr-g--b li { animation: fr-chipb 10s ease-in-out infinite; }
@keyframes fr-win-a { 0%, 6% { opacity: 0; } 13%, 44% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes fr-win-b { 0%, 52% { opacity: 0; } 59%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes fr-qa { 0%, 6% { opacity: .6; box-shadow: none; } 13%, 44% { opacity: 1; box-shadow: 0 0 0 2px #DDB09C, 0 16px 28px -20px rgba(140,86,64,.7); } 50%, 100% { opacity: .6; box-shadow: none; } }
@keyframes fr-qb { 0%, 52% { opacity: .6; box-shadow: none; } 59%, 90% { opacity: 1; box-shadow: 0 0 0 2px #AFC5A9, 0 16px 28px -20px rgba(78,107,76,.7); } 96%, 100% { opacity: .6; box-shadow: none; } }
@keyframes fr-boxa { 0%, 6% { background: transparent; } 13%, 44% { background: rgba(246,227,218,.6); } 50%, 52% { background: transparent; } 59%, 90% { background: rgba(221,230,218,.55); } 96%, 100% { background: transparent; } }
@keyframes fr-boxb { 0%, 52% { background: transparent; } 59%, 90% { background: rgba(221,230,218,.55); } 96%, 100% { background: transparent; } }
@keyframes fr-chipa { 0%, 6% { background: #F1EBE1; color: #4A4538; border-color: #E5DACA; } 13%, 44% { background: #FFF6F1; color: var(--rose-ink); border-color: #E2BFAE; } 50%, 52% { background: #F1EBE1; color: #4A4538; border-color: #E5DACA; } 59%, 90% { background: #F7FAF5; color: var(--sage-ink); border-color: #BFD0BA; } 96%, 100% { background: #F1EBE1; color: #4A4538; border-color: #E5DACA; } }
@keyframes fr-chipb { 0%, 6% { opacity: 1; background: #F1EBE1; color: #4A4538; border-color: #E5DACA; } 13%, 44% { opacity: .25; background: #F1EBE1; color: #4A4538; border-color: #E5DACA; } 50%, 52% { opacity: 1; background: #F1EBE1; color: #4A4538; border-color: #E5DACA; } 59%, 90% { opacity: 1; background: #F7FAF5; color: var(--sage-ink); border-color: #BFD0BA; } 96%, 100% { opacity: 1; background: #F1EBE1; color: #4A4538; border-color: #E5DACA; } }

/* 02. Красивое объяснение или исследование */
.il-root { max-width: 340px; margin: 0 auto; text-align: center; background: #FFFCF7; border: 1px solid #E8DFD1; border-radius: 16px; padding: 14px 18px; font-weight: 600; font-size: 16.5px; color: var(--ink); }
.il-fork { display: block; width: 100%; height: 26px; fill: none; stroke: #C2B49E; stroke-width: 2; }
.il-fork path { vector-effect: non-scaling-stroke; }
.il-cols { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; grid-auto-flow: column; column-gap: 16px; }
.il-col { display: contents; }
.il-cols .ck-card { text-align: center; align-items: center; justify-content: center; }

/* 03. Почему курс плохо продаётся */
.sl-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column; gap: 16px; }
.sl-quote span { font-family: var(--serif); font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.sl-unknown ul { list-style: none; margin: 6px 0 0; padding: 0; }
.sl-unknown li { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--text); }
.sl-unknown li + li { margin-top: 6px; }
.sl-verdict { margin: auto 0 0; padding-top: 12px; border-top: 1px solid #EADFCF; font-weight: 600; font-size: 15.5px; color: var(--rose-ink); }
.sl-unknown ul { margin-bottom: 14px; }
.sl-funnel { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sl-funnel li { width: var(--w); margin: 0; padding: 7px 8px; border-radius: 10px; text-align: center; font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--sage-ink); background: #E6EDE1; }
.sl-funnel li:nth-child(2) { background: #DCE6D5; } .sl-funnel li:nth-child(3) { background: #D2DFCA; } .sl-funnel li:nth-child(4) { background: #C7D7BE; }

/* 04. Как гипотеза становится фактом */
.dr-chat { display: flex; flex-direction: column; gap: 12px; }
.dr-msg { max-width: 82%; border-radius: 18px; padding: 12px 16px 14px; }
.dr-msg p { margin: 6px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.dr-msg--me { align-self: flex-end; background: #EAE1D2; border-bottom-right-radius: 6px; }
.dr-msg--ai { align-self: flex-start; background: #FFFCF7; border: 1px solid #E8DFD1; border-bottom-left-radius: 6px; }
.dr-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
.dr-tag i { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; color: #fff; }
.dr-tag--fact { color: var(--sage-ink); } .dr-tag--fact i { background: #6F8D6A; }
.dr-tag--hyp { color: var(--gold); } .dr-tag--hyp i { background: #B98A45; }
.dr-tag--sub { color: var(--rose-ink); } .dr-tag--sub i { background: #B77A60; }
.dr-w { padding: 0 3px; margin: 0 -1px; border-radius: 5px; color: inherit; }
.dr-w--hyp { background: rgba(232,200,140,.55); }
.dr-w--was { background: rgba(232,200,140,.55); opacity: 0; }
.dr-w--sub { background: rgba(226,170,145,.5); color: var(--rose-ink); }
.dr-flip { display: inline-grid; } .dr-flip > * { grid-area: 1 / 1; }
.dr-skel { display: flex; flex-direction: column; gap: 8px; padding: 2px 0; }
.dr-s { display: block; width: var(--w); height: 14px; border-radius: 8px; background: #E4DBCC; }
.dr-s--me { align-self: flex-end; background: #DCD1BF; }
.dr-gap { margin-top: 4px; border: 1.5px dashed #D3A28C; border-radius: 14px; padding: 10px 14px; text-align: center; font-weight: 600; font-size: 15.5px; line-height: 1.4; color: var(--rose-ink); background: rgba(246,227,218,.45); }
.js .ck-drift .dr-msg, .js .ck-drift .dr-s, .js .ck-drift .dr-gap { opacity: 0; transform: translateY(8px); }
.js .ck-drift .dr-w--hyp { background: transparent; }
.js .ck-drift .dr-w--was { opacity: 1; }
.js .ck-drift .dr-w--sub { opacity: 0; transform: translateY(6px); }
.js .ck-drift .ck-note { opacity: 0; }
html.js .ck-drift.is-in .dr-msg, html.js .ck-drift.is-in .dr-s, html.js .ck-drift.is-in .dr-gap { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
html.js .ck-drift.is-in .dr-1 { transition-delay: .3s; }
html.js .ck-drift.is-in .dr-2 { transition-delay: 1.1s; }
html.js .ck-drift.is-in .dr-w--hyp { background: rgba(232,200,140,.55); transition: background .6s ease 1.8s; }
html.js .ck-drift.is-in .dr-s { transition-delay: calc(2.4s + var(--k) * .35s); }
html.js .ck-drift.is-in .dr-3 { transition-delay: 4.1s; }
html.js .ck-drift.is-in .dr-w--was { opacity: 0; transform: translateY(-6px); transition: opacity .35s ease 5.2s, transform .35s ease 5.2s; }
html.js .ck-drift.is-in .dr-w--sub { opacity: 1; transform: none; transition: opacity .4s ease 5.4s, transform .4s ease 5.4s; }
html.js .ck-drift.is-in .dr-gap { transition-delay: 6.2s; }
html.js .ck-drift.is-in .ck-note { opacity: 1; transition: opacity .6s ease 6.9s; }

/* 05–06. Шесть вопросов, четыре режима */
.ck-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ck-grid .ck-card b { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ck-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #ECE4D6; color: #7A6A50; font-size: 13px; font-weight: 600; }
.md-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px var(--bg); margin: 0 4px 0 5px; }
.ck-modes .ck-card b { color: var(--ci); }
.md--sage { --c: #6F8D6A; --bg: var(--sage); --ci: var(--sage-ink); }
.md--blue { --c: #6B8590; --bg: #E0E7EA; --ci: #4E6670; }
.md--honey { --c: #B98A45; --bg: #F2E4C6; --ci: var(--gold); }
.md--rose { --c: #B77A60; --bg: var(--rose); --ci: var(--rose-ink); }

/* 07. Ответ ИИ: конец или начало размышления */
.pt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pt-col { position: relative; }
.pt-col--b::before { content: ''; position: absolute; left: -15px; top: 0; bottom: 0; border-left: 1px dashed #D6C9B4; }
.pt-h { margin: 0 0 14px; text-align: center; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.3; }
.pt-steps { list-style: none; margin: 0; padding: 0; }
.pt-col--b .pt-steps { margin-right: 24px; }
.pt-step { position: relative; min-height: 52px; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px 14px; background: #FFFCF7; border: 1px solid #E8DFD1; border-radius: 14px; font-weight: 600; font-size: 15.5px; line-height: 1.35; color: var(--ink); }
.pt-step + .pt-step { margin-top: 30px; }
.pt-step > .ck-down { position: absolute; left: 50%; top: -27px; height: 22px; margin: 0; transform: translateX(-50%); }
.pt-col--a .pt-end { background: var(--rose); border-color: #EBCFC2; color: var(--rose-ink); }
.pt-col--b .pt-end { color: var(--sage-ink); border-color: #C9D8C4; }
.pt-fill { position: absolute; inset: 0; border-radius: 13px; background: var(--sage); transform-origin: left center; }
.pt-t { position: relative; }
.pt-loop { position: absolute; right: -24px; width: 18px; top: -56px; bottom: 50%; color: #7E9A78; }
.pt-loop svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.pt-loop path { vector-effect: non-scaling-stroke; }
.pt-loop i { position: absolute; left: 1px; top: -4px; width: 8px; height: 8px; border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); }
.pt-cap { margin: 16px 0 0; text-align: center; font-size: 15px; line-height: 1.4; color: var(--muted); }
.js .ck-partner .pt-step, .js .ck-partner .pt-cap { opacity: 0; transform: translateY(8px); }
.js .ck-partner .pt-fill { transform: scaleX(0); }
.js .ck-partner .pt-loop path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .ck-partner .pt-loop i, .js .ck-partner .ck-note { opacity: 0; }
html.js .ck-partner.is-in .pt-step, html.js .ck-partner.is-in .pt-cap { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
html.js .ck-partner.is-in .pt-col--a .pt-step { transition-delay: calc(.2s + var(--k) * .4s); }
html.js .ck-partner.is-in .pt-col--a .pt-cap { transition-delay: 1.5s; }
html.js .ck-partner.is-in .pt-col--b .pt-step { transition-delay: calc(.6s + var(--k) * .35s); }
html.js .ck-partner.is-in .pt-loop path { stroke-dashoffset: 0; animation: pt-run 1.1s ease-in-out 2.2s 3 both; }
html.js .ck-partner.is-in .pt-loop i { opacity: 1; transition: opacity .3s ease 2.9s; }
html.js .ck-partner.is-in .pt-chk { animation: pt-pulse 1.1s ease-in-out 2.2s 3; }
html.js .ck-partner.is-in .pt-ans { animation: pt-pulse 1.1s ease-in-out 2.75s 3; }
html.js .ck-partner.is-in .pt-fill { transform: none; animation: pt-grow 3.3s linear 2.4s both; }
html.js .ck-partner.is-in .pt-col--b .pt-cap { transition-delay: 5.8s; }
html.js .ck-partner.is-in .ck-note { opacity: 1; transition: opacity .6s ease 6.2s; }
@keyframes pt-run { 0% { stroke-dashoffset: 1; } 70%, 100% { stroke-dashoffset: 0; } }
@keyframes pt-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(126,154,120,0); } 45% { box-shadow: 0 0 0 3px rgba(126,154,120,.45); } }
@keyframes pt-grow { 0% { transform: scaleX(0); } 25%, 33% { transform: scaleX(.34); } 58%, 66% { transform: scaleX(.67); } 92%, 100% { transform: scaleX(1); } }

@media (max-width: 640px) {
  .ck-head { margin-bottom: 18px; }
  .ck-card { padding: 13px 14px; border-radius: 14px; }
  .ck-card b { font-size: 16px; } .ck-card span { font-size: 15px; }
  .ck-note { font-size: 14.5px; margin-top: 20px; }
  .fr-qs { grid-template-columns: 1fr; gap: 10px; }
  .fr-q span { font-size: 16px; }
  .fr-beam { height: 16px; } .fr-beam i { display: none; }
  .fr-groups { grid-template-columns: 1fr; gap: 6px; }
  .fr-field { padding: 14px 10px 10px; }
  .fr-g { padding: 8px; }
  .fr-g li { font-size: 14px; padding: 6px 11px; }
  .il-cols { column-gap: 10px; }
  .il-cols .ck-card { padding: 12px 10px; }
  .il-cols .ck-card b { font-size: 15px; } .il-cols .ck-card span { font-size: 13.5px; line-height: 1.4; }
  .sl-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 12px; }
  .ck-grid { grid-template-columns: 1fr; gap: 10px; }
  .dr-msg { max-width: 92%; padding: 11px 14px 12px; }
  .dr-msg p { font-size: 16px; }
  .dr-gap { font-size: 15px; }
  .pt-cols { grid-template-columns: 1fr; gap: 36px; }
  .pt-col--b::before { left: 0; right: 0; top: -18px; bottom: auto; border-left: 0; border-top: 1px dashed #D6C9B4; }
}
@media (prefers-reduced-motion: reduce) { .ix--ck *, .ix--ck *::before { animation: none !important; } }

/* длинный промпт свёрнут (только при работающем JS) */
.m-prompt__more { display: none; }
html.js .m-prompt--fold .m-prompt__text { position: relative; max-height: 250px; overflow: hidden; }
html.js .m-prompt--fold .m-prompt__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(rgba(255,255,255,0), #fff 85%); pointer-events: none; }
html.js .m-prompt--fold.is-open .m-prompt__text { max-height: none; }
html.js .m-prompt--fold.is-open .m-prompt__text::after { display: none; }
html.js .m-prompt--fold .m-prompt__more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: #FBF8F3; border: 0; border-top: 1px solid var(--line); padding: 13px 16px; cursor: pointer; transition: color .2s ease; }
html.js .m-prompt--fold .m-prompt__more:hover { color: var(--gold); }
html.js .m-prompt--fold .m-prompt__more:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.m-prompt--fold .m-prompt__more svg { transition: transform .25s ease; }
.m-prompt--fold.is-open .m-prompt__more svg { transform: rotate(180deg); }

/* ===== Статья-тренд: обложка на весь первый экран ===== */
.is-immersive .header { position: absolute; left: 0; right: 0; top: 0; }
.is-immersive .mat { padding-top: 0; }
.m-full { position: relative; display: flex; align-items: flex-end; min-height: min(100svh, 880px); margin-bottom: 64px; background: #151B2B; overflow: hidden; }
.m-full__bg { position: absolute; inset: 0; }
.m-full__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 40%); display: block; }
.m-full__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,22,36,.55) 0%, rgba(18,22,36,0) 22%),
              linear-gradient(90deg, rgba(18,22,36,.88) 0%, rgba(18,22,36,.55) 38%, rgba(18,22,36,0) 66%),
              linear-gradient(0deg, rgba(18,22,36,.55) 0%, rgba(18,22,36,0) 40%); }
.m-full .container { position: relative; z-index: 1; width: 100%; padding-top: 150px; padding-bottom: 88px; }
.m-full__text { display: flex; flex-direction: column; gap: 18px; max-width: 540px; }
.m-full .kicker { color: #F2D6A8; }
.m-full .m-title { color: #fff; font-size: clamp(40px, 4.2vw, 60px); }
.m-full .m-lead { color: rgba(255,255,255,.88); }
.m-full .m-meta { color: rgba(255,255,255,.7); }
@media (min-width: 861px) {
  .is-immersive .header .logo { color: #fff; }
  .is-immersive .header .nav a:not(.btn) { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
  .is-immersive .header .nav a:not(.btn):hover { border-bottom-color: #F2D6A8; }
  .is-immersive .header .btn { background: #fff; color: var(--ink); }
  .is-immersive .header .logo__mark { box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
}
@media (max-width: 860px) {
  .is-immersive .header .logo { color: #fff; }
  .m-full { min-height: 88svh; margin-bottom: 40px; }
  .m-full__bg::after { background:
    linear-gradient(180deg, rgba(18,22,36,.6) 0%, rgba(18,22,36,0) 20%),
    linear-gradient(0deg, rgba(18,22,36,.95) 0%, rgba(18,22,36,.75) 38%, rgba(18,22,36,0) 70%); }
  .m-full .container { padding-top: 120px; padding-bottom: 40px; }
  .m-full__text { gap: 14px; }
  .m-full .m-title { font-size: 36px; }
  .m-full .m-lead { font-size: 17px; }
}

/* Ключевая мысль (```thought): цитата другим цветом, с воздухом до следующего заголовка */
.m-thought { position: relative; margin: 36px 0 64px; padding: 32px 36px 32px 40px; background: var(--rose); border-left: 4px solid #D9A48C; border-radius: 6px 24px 24px 6px; }
.m-thought blockquote { margin: 0; padding: 0; border: 0; }
.m-body .m-thought p, .m-thought p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.3vw, 27px); line-height: 1.4; color: var(--rose-ink); }
@media (max-width: 560px) {
  .m-thought { padding: 24px 22px 24px 24px; margin: 28px 0 48px; }
}

/* «Читать дальше»: компактные карточки — чистая обложка без текста, ниже название */
.m-next .m-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.m-next .m-card { padding: 0; gap: 0; border-radius: 20px; }
.m-card__pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #EFE7DA; }
.m-card__pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.m-card:hover .m-card__pic img { transform: scale(1.03); }
.m-next .m-card__body { gap: 8px; padding: 16px 20px 20px; }
.m-next .kicker { font-size: 13px; }
.m-next .m-card b { font-size: 19px; line-height: 1.28; }
.m-next .m-card__lead { font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-next .m-meta { font-size: 13px; }
.m-next--compact .m-card { grid-template-columns: 220px minmax(0, 1fr); padding: 14px; gap: 22px; }
.m-next--compact .m-card__pic { border-radius: 12px; }
.m-next--compact .m-card__body { padding: 0; }
@media (max-width: 1000px) { .m-next .m-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .m-next .m-list { grid-template-columns: 1fr; gap: 14px; }
  .m-next .m-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px; border-radius: 18px; }
  .m-next .m-card__pic { aspect-ratio: 1 / 1; border-radius: 12px; }
  .m-next .m-card__body { padding: 0; gap: 6px; }
  .m-next .m-card b { font-size: 16.5px; }
  .m-next .m-card__lead { display: none; }
  .m-next .kicker { font-size: 12px; }
  .m-next--compact .m-card__pic { display: block; }
}

/* Конец статьи: автор и канал одним блоком */
.m-after--follow { display: block; }
.m-follow { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 32px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 32px 36px; box-shadow: var(--shadow-soft); }
.m-follow__photo { width: 132px; height: 160px; object-fit: cover; object-position: 50% 20%; border-radius: 20px; }
.m-follow__text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.m-follow__text b { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--ink); }
.m-follow__text p { margin: 2px 0 14px; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.m-follow__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.m-follow .btn { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
@media (max-width: 640px) {
  .m-follow { grid-template-columns: 72px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 20px; border-radius: 22px; }
  .m-follow__photo { grid-column: 1; grid-row: 1 / 3; width: 72px; height: 88px; border-radius: 12px; }
  .m-follow__text { display: contents; }
  .m-follow__text .m-label { grid-column: 2; align-self: end; }
  .m-follow__text b { grid-column: 2; align-self: start; font-size: 21px; }
  .m-follow__text p { grid-column: 1 / -1; margin: 14px 0 14px; font-size: 15.5px; }
  .m-follow__acts { grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 14px; }
  .m-follow .btn { justify-content: center; font-size: 15.5px; padding-left: 16px; padding-right: 16px; }
  .m-follow .link-line { align-self: center; }
}

/* Исходное изображение для тренда со скачиванием */
.m-download { margin: 36px 0 44px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-soft); }
.m-download img { display: block; width: 100%; height: auto; }
.m-download figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 18px 22px; border-top: 1px solid var(--line); }
.m-download figcaption > span { display: flex; flex-direction: column; gap: 3px; font-size: 15px; line-height: 1.5; color: var(--text); }
.m-download figcaption b { font-size: 16px; font-weight: 600; color: var(--ink); }
.m-download .btn { flex: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 560px) {
  .m-download { border-radius: 18px; }
  .m-download figcaption { flex-direction: column; align-items: stretch; padding: 16px 18px 18px; }
  .m-download .btn { justify-content: center; }
}
