/* UX/UI English — главная страница. Подключается после css/site-chrome.css (переменные, шапка, подвал, кнопки).
   Правило цвета: синий = бесплатно и доступно сейчас, тёмный = платная полная версия. */

/* Стрелка у пункта «English basics» (на остальных страницах её задаёт Raxon) */
:root { --rx-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5' fill='none' stroke='%23141A2E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html[data-theme="dark"] { --rx-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5 6 6l4.5-4.5' fill='none' stroke='%23EEF0F7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.55 var(--font); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(31px, 4.1vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.h1__pre { display: block; font-size: clamp(19px, 2.3vw, 30px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: .3em; }
.h1__main { display: block; line-height: 1.22; }
.h1__mark { background: var(--marker); padding: 0 .14em; margin-left: -.14em; border-radius: .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h2 { font-size: clamp(27px, 3.2vw, 40px); }
h3 { font-size: clamp(21px, 2.2vw, 26px); }
p { text-wrap: pretty; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 40px); }

/* ---------- Метки доступа ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; line-height: 1; padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.tag svg { width: 14px; height: 14px; }
.tag--free { background: #3355FF; color: #fff; }
.tag--paid { background: var(--ink); color: #fff; }
.tag--onDark { background: rgba(255,255,255,.12); color: #fff; }
.tag--l { font-size: 15px; padding: 9px 14px; }
html[data-theme="dark"] .tag--paid { background: #2A3052; }

/* ---------- Первый экран ---------- */
.hero { padding: clamp(28px, 4vw, 52px) 0 clamp(36px, 5vw, 64px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero__text { padding-top: 0; }
.hero__lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); margin-top: 18px; max-width: 32em; }
.hero__q { display: block; margin-bottom: 10px; }
.hero__a { display: block; margin-top: 10px; }
.hero__lead b, .hero__q b, .hero__a b { color: var(--text); font-weight: 600; }
.access { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; max-width: 560px; }
.access__row { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 14px 16px; font-size: 16px; line-height: 1.4; }
.access__row .tag { justify-self: start; }
.access__row--free { background: var(--blue-tint); font-weight: 600; }
.access__row + .access__row { border-top: 1px solid var(--line); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: 0 30px 60px -30px rgba(31, 54, 184, .35), 0 2px 6px rgba(13, 18, 51, .05); overflow: hidden; }
.review__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.review__file { font-weight: 600; }
.review__hint { color: var(--muted); }
.review__canvas { background: var(--mist); padding: 26px 20px; display: grid; place-items: center; background-image: radial-gradient(color-mix(in srgb, var(--muted) 28%, transparent) 1px, transparent 1px); background-size: 16px 16px; }
.wf { width: min(250px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 9px; }
.wf__title { height: 10px; width: 46%; border-radius: 5px; background: #DCE0EA; }
html[data-theme="dark"] .wf__title { background: #2E3456; }
.wf__field { height: 26px; border-radius: 7px; border: 1.5px solid var(--line); }
.wf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.wf__btn { position: relative; margin-top: 4px; height: 34px; border-radius: 8px; background: #3355FF; color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; outline: 2px solid var(--blue); outline-offset: 3px; }
.pin { position: absolute; right: -16px; top: -18px; width: 30px; height: 30px; border-radius: 50% 50% 50% 4px; background: #0D1233; color: #fff; font-size: 13px; display: grid; place-items: center; border: 2.5px solid #fff; box-shadow: 0 4px 10px rgba(13, 18, 51, .3); }
html[data-theme="dark"] .pin { background: #fff; color: #0D1233; border-color: var(--mist); }
.review__thread { position: relative; padding: 18px 20px 20px; display: grid; gap: 14px; }
.review__who { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.ava { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
html[data-theme="dark"] .ava { background: #2A3052; }
.seg__r { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.says { display: grid; }
.say { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .22s ease-out, transform .22s ease-out; }
#lv0:checked ~ .says .say--0, #lv1:checked ~ .says .say--1, #lv2:checked ~ .says .say--2 { visibility: visible; opacity: 1; transform: none; }
.review__say { font-size: clamp(20px, 2vw, 24px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.review__say mark { background: var(--marker); color: inherit; padding: 0 .12em; border-radius: 4px; }
.review__note { font-size: 15px; color: var(--muted); }
.review__note b { color: var(--text); font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--mist); border-radius: 12px; }
.seg__b { font: 600 15px/1 var(--font); padding: 12px 8px; border-radius: 9px; color: var(--muted); cursor: pointer; text-align: center; user-select: none; transition: background-color .15s, color .15s; }
.seg__b:hover { color: var(--text); }
#lv0:checked ~ .seg [for="lv0"], #lv1:checked ~ .seg [for="lv1"], #lv2:checked ~ .seg [for="lv2"] { background: #3355FF; color: #fff; }
#lv0:focus-visible ~ .seg [for="lv0"], #lv1:focus-visible ~ .seg [for="lv1"], #lv2:focus-visible ~ .seg [for="lv2"] { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 920px) {
  .hero__in { grid-template-columns: 1fr; }
  .review { max-width: 560px; }
}
/* на телефоне пример с ревью не показываем: первый экран и так длинный */
@media (max-width: 760px) { .review { display: none; } }
@media (max-width: 480px) {
  .access__row { grid-template-columns: 1fr; gap: 8px; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- Цифры ---------- */
.nums { padding: 8px 0 clamp(40px, 6vw, 72px); }
.nums__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: clamp(32px, 4vw, 48px); }
.nums b { display: block; font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.nums span { display: block; margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 14em; }
.nums__in > div:first-child b { color: var(--blue); }
@media (max-width: 760px) { .nums__in { grid-template-columns: 1fr 1fr; row-gap: 28px; } }

/* ---------- Секции ---------- */
.sec { padding: clamp(44px, 6.5vw, 88px) 0; }
.hero + .nums + .sec { padding-top: 0; padding-bottom: 0; }
.sec--mist { background: var(--mist); }
.head { max-width: 720px; margin-bottom: clamp(26px, 3.4vw, 40px); }
.head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.head p.head__accent { display: inline-block; margin-top: 16px; padding: 10px 16px; border-radius: 12px; background: var(--marker); color: var(--text); font-size: 17px; line-height: 1.4; }
.head__accent b { font-weight: 700; }
.head--center { text-align: center; margin-inline: auto; }

/* ---------- Панель «что это» ---------- */
.panel { border-radius: var(--r-l); padding: clamp(24px, 4.4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.panel--blue { background: var(--blue-tint); }
.panel__text p { margin-top: 16px; font-size: 18px; max-width: 32em; }
.panel__text .panel__small { font-size: 16px; color: var(--muted); }
.terms { background: var(--paper); border-radius: var(--r-m); border: 1px solid var(--blue-line); padding: 6px 20px; }
.terms li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; row-gap: 2px; padding: 13px 0; }
.terms li + li { border-top: 1px solid var(--line); }
.terms b { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.terms i { font: 400 14px/1.5 var(--ipa); color: var(--muted); grid-column: 1; }
.terms span { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--muted); font-size: 15px; }
@media (max-width: 920px) { .panel { grid-template-columns: 1fr; } }

/* ---------- Содержание ---------- */
.part--free { border: 2px solid var(--blue); border-radius: var(--r-l); overflow: hidden; background: var(--paper); }
.part__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 24px; flex-wrap: wrap; padding: clamp(20px, 3vw, 32px); background: var(--blue-tint); }
.part__n { font-size: 15px; font-weight: 700; color: var(--blue-deep); margin-bottom: 6px; }
.part__d { color: var(--muted); margin-top: 8px; font-size: 16px; }
.chapters a, .chapters--paid li { display: grid; align-items: center; gap: 6px 20px; padding: 16px clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); }
.chapters a { grid-template-columns: 84px minmax(0, 1fr) auto auto; color: var(--text); text-decoration: none; min-height: 76px; }
.chapters a:hover { background: var(--blue-tint); }
.ch__n { font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ch__t b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.ch__t span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
/* «Вы открывали»: справа от названия главы, через точку по центру строки */
.ch__seen { font-size: 15px; font-weight: 500; letter-spacing: 0; color: #1F8A55; white-space: nowrap; }
.ch__seen::before { content: "·"; color: var(--muted); margin: 0 .4em; }
html[data-theme="dark"] .ch__seen { color: #6FD9A0; }
@media (max-width: 640px) { .ch__seen { display: block; margin-top: 2px; } .ch__seen::before { content: none; } }
.ch__go { font-weight: 600; font-size: 15px; color: var(--blue-deep); border: 1.5px solid var(--blue-line); border-radius: 10px; padding: 9px 16px; white-space: nowrap; }
.chapters a:hover .ch__go { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 640px) {
  .chapters a { grid-template-columns: minmax(0, 1fr) auto; }
  .ch__n { grid-column: 1 / -1; }
  .ch__go { grid-row: 2; grid-column: 2; }
}

.final { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 22px; align-items: center; margin: 0 clamp(10px, 1.6vw, 16px) clamp(10px, 1.6vw, 16px); padding: clamp(18px, 2.6vw, 26px); border-radius: 20px; background: var(--blue); color: #fff; text-decoration: none; }
.final:hover { background: #2443E0; }
.final__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.final__icon svg { width: 26px; height: 26px; }
.final__text b { display: block; font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.01em; }
.final__text span { display: block; margin-top: 5px; font-size: 15px; color: #DDE3FF; max-width: 46em; }
@media (max-width: 760px) { .final { grid-template-columns: auto minmax(0, 1fr); } .final .btn { grid-column: 1 / -1; } }
@media (max-width: 420px) { .final { grid-template-columns: 1fr; } }

.paidlist { margin-top: 22px; border-radius: var(--r-l); background: var(--mist); padding: clamp(10px, 1.6vw, 16px); }
.paidlist__head { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: clamp(12px, 1.8vw, 18px) clamp(10px, 1.6vw, 16px) clamp(18px, 2.4vw, 24px); }
.paidlist__head p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.part--paid { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); }
.part--paid + .part--paid { margin-top: 8px; }
.part--paid summary { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto 20px; gap: 6px 18px; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; border-radius: var(--r-m); }
.part--paid summary::-webkit-details-marker { display: none; }
.part--paid summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); justify-self: center; transition: transform .2s; }
.part--paid[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.part--paid summary:hover { background: color-mix(in srgb, var(--mist) 60%, var(--paper)); }
.part--paid .part__n { margin: 0; color: var(--muted); }
.part__t { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.part__r { font-size: 15px; color: var(--muted); white-space: nowrap; }
.part--paid .part__d { margin: 0; padding: 0 20px 14px; }
.chapters--paid li { grid-template-columns: 84px minmax(0, 1fr); padding: 12px 20px; color: var(--muted); }
.chapters--paid b { font-weight: 600; }
.chapters--paid .ch-test { background: var(--mist); border-radius: 0 0 var(--r-m) var(--r-m); }
@media (max-width: 760px) {
  .part--paid summary { grid-template-columns: minmax(0, 1fr) 20px; }
  .part--paid summary > * { grid-column: 1; }
  .part--paid summary .tag { justify-self: start; }
  .part--paid summary::after { grid-column: 2; grid-row: 1 / span 4; }
  .chapters--paid li { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Шаги главы ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { counter-increment: step; background: var(--paper); border-radius: var(--r-m); padding: 20px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); font-weight: 700; font-size: 15px; display: grid; place-items: center; margin-bottom: 6px; }
.steps li.is-opt { counter-increment: none; background: var(--marker); }
.steps li.is-opt::before { content: "★"; background: var(--paper); color: var(--text); }
.steps li.is-opt span { color: var(--text); }
.steps i { font-style: normal; color: var(--text); }
.steps b { font-size: 18px; letter-spacing: -0.01em; }
.steps span { color: var(--muted); font-size: 15px; line-height: 1.45; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li { grid-template-columns: 30px 1fr; column-gap: 14px; } .steps li::before { grid-row: 1 / span 2; margin: 0; } .steps span { grid-column: 2; } }

/* ---------- Уровни ---------- */
.levels { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 12px; align-items: stretch; }
.level { border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; display: grid; gap: 10px; align-content: start; }
.level > b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.level p { color: var(--muted); font-size: 16px; }
.level--main { background: var(--blue-tint); border-color: var(--blue); border-width: 2px; }
.level--main > b { color: var(--blue-deep); }
.level--main p { color: var(--text); }
.level .tag { justify-self: start; margin-top: 4px; }
@media (max-width: 760px) { .levels { grid-template-columns: 1fr; } }

/* ---------- Полная версия ---------- */
.full { background: var(--ink); color: var(--on-ink); padding: clamp(48px, 7vw, 96px) 0; }
.full__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.full h2 { margin-top: 18px; }
.full__text > p { color: var(--on-ink-muted); margin-top: 16px; font-size: 18px; max-width: 30em; }
.status { margin: 24px 0; padding: 16px 18px; border-radius: var(--r-m); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); max-width: 520px; }
.status b { display: block; font-size: 17px; }
.status span { display: block; color: var(--on-ink-muted); font-size: 15px; margin-top: 4px; }
.full__list { border-radius: var(--r-l); background: var(--ink-2); padding: 8px clamp(18px, 2.6vw, 28px); }
.full__list li { padding: 18px 0; }
.full__list li + li { border-top: 1px solid rgba(255,255,255,.1); }
.full__list b { display: block; font-size: 18px; }
.full__list span { display: block; color: var(--on-ink-muted); font-size: 15px; margin-top: 4px; }
@media (max-width: 880px) { .full__in { grid-template-columns: 1fr; } }

/* ---------- Вопрос / ошибка ---------- */
.ask { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.ask__text > p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.ask__text > .ask__tip { font-size: 15px; padding-left: 14px; border-left: 3px solid var(--blue); color: var(--text); }
.tgcard { margin-top: 28px; padding: 18px; border-radius: var(--r-m); border: 1px solid var(--line); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tgcard > div { flex: 1 1 220px; }
.tgcard b { display: block; }
.tgcard span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.ask__form { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: var(--paper); display: flex; flex-direction: column-reverse; }
.ask__ph { padding: 28px; }
.ask__ph p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.ask__form.is-live .ask__ph { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--mist); }
.ask__form.is-live .ask__ph b { display: none; }
.ask__form.is-live .ask__ph p { margin: 0; }
@media (max-width: 880px) { .ask { grid-template-columns: 1fr; } }

/* ---------- Вопросы и ответы ---------- */
/* Вопросы и ответы: без обёрток-div, ширина задаётся полями секции */
.sec.faq { display: grid; gap: 8px; align-content: start; padding-inline: max(20px, calc((100% - 860px) / 2)); }
.faq > h2 { text-align: center; margin-bottom: clamp(18px, 2.6vw, 32px); }
.faq__item { background: var(--paper); border-radius: var(--r-m); scroll-margin-top: 90px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none; border-radius: var(--r-m); }
.faq summary h3 { font-weight: 600; font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__item p { padding: 0 22px 22px; color: var(--muted); max-width: 44em; }

/* ---------- Финал ---------- */
.last { background: var(--blue); color: #fff; border-radius: var(--r-l); padding: clamp(28px, 5vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.last p { margin-top: 12px; color: #DDE3FF; font-size: 18px; max-width: 30em; }
html[data-theme="dark"] .last, html[data-theme="dark"] .final { background: #3355FF; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Первый экран в стиле прежнего сайта (Unbounded, синяя строка, пример главы справа) ---------- */
:root { --font-display: "Unbounded", "Onest", system-ui, sans-serif; --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace; }
/* ---------- первый экран ---------- */
.hc-hero { background: var(--mist); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hc-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hc-hero__text { container-type: inline-size; min-width: 0; }
.hc-h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.015em; word-spacing: 0.06em; font-size: clamp(24px, 6.4cqi, 54px); line-height: 1.1; }
.hc-h1__pre { display: block; font-size: .62em; color: var(--text); white-space: nowrap; }
.hc-h1 em { display: block; margin-top: 14px; font-style: normal; color: var(--blue); font-size: 1.3em; }
.hc-h1 .nw { white-space: nowrap; }
@container (max-width: 300px) { .hc-h1 .nw, .hc-h1__pre { white-space: normal; } }
.hc-lead { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.hc-lead b { color: var(--text); font-weight: 600; }
.hc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hc-cta .btn--ghost { background: var(--paper); }
.hc-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 15px; color: var(--muted); }
.hc-facts b { color: var(--text); }
.hc-paid { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 15px; color: var(--muted); }
.hc-paid svg { flex: none; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 2; }
.hc-paid b { color: var(--text); }
.hc-paid a { color: var(--blue-deep); }
.hc-free { margin-top: 26px; }
.hc-free svg { color: #1F8A4C; }

/* пример страницы главы */
.hc-mock { position: relative; min-width: 0; margin-bottom: 72px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(20, 26, 46, .25); }
.hc-mock__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.hc-mock__bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.hc-mock__badge { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--blue-deep); background: var(--blue-tint); padding: 4px 10px; border-radius: 999px; }
.hc-mock__h { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.03em; font-size: 19px; margin-bottom: 4px; }
.hc-mock__sub { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.hc-vt { width: 100%; border-collapse: collapse; font-size: 14px; }
.hc-vt th { text-align: left; font-weight: 600; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.hc-vt td { padding: 9px 8px; border-bottom: 1px solid var(--line); }
.hc-vt td:nth-child(2) { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.hc-vt tr:last-child td { border-bottom: 0; }
.hc-mock__progress { height: 6px; border-radius: 3px; background: var(--mist); margin-top: 8px; overflow: hidden; }
.hc-mock__progress span { display: block; width: 38%; height: 100%; background: var(--blue); border-radius: 3px; }
.hc-comment { position: absolute; right: -14px; bottom: -72px; max-width: 280px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 14px; box-shadow: 0 18px 36px -20px rgba(20, 26, 46, .35); }
.hc-comment__who { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.hc-comment .av { width: 22px; height: 22px; border-radius: 50%; background: #E0457B; color: #fff; display: grid; place-items: center; font-size: 11px; }

@media (max-width: 900px) { .hc-hero__in { grid-template-columns: minmax(0, 1fr); } .hc-mock { max-width: 560px; } }
@media (max-width: 600px) {
  .hc-cta .btn { flex: 1 1 100%; }
  .hc-comment { position: static; margin-top: 14px; max-width: none; }
  .hc-mock { margin-bottom: 0; }
  .hc-vt td:nth-child(2), .hc-vt th:nth-child(2) { display: none; }
}


/* ---------- «Общий английский и рабочий» в стиле прежнего сайта + пример ревью ---------- */
.hc-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 12px; }
.panel h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.03em; word-spacing: 0.08em; font-size: clamp(24px, 3vw, 36px); line-height: 1.18; }
@media (max-width: 760px) { .panel .review { display: block; } }
/* третий экран: пример с ревью без синих кнопок, чтобы не спорил с кнопками сайта */
.panel .wf__btn { background: #C9CEDD; color: #fff; outline: 2px dashed #9AA2BC; }
html[data-theme="dark"] .panel .wf__btn { background: #3A4166; outline-color: #6B7499; }
.panel .seg { background: transparent; padding: 10px 0 0; gap: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 22px; }
.panel .seg__b { padding: 6px 0; border-radius: 0; background: none !important; color: var(--muted) !important; border-bottom: 2px solid transparent; }
.panel #lv0:checked ~ .seg [for="lv0"], .panel #lv1:checked ~ .seg [for="lv1"], .panel #lv2:checked ~ .seg [for="lv2"] { color: var(--text) !important; border-bottom-color: var(--text); }
.panel__words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.panel__words span { font-size: 15px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--blue-line); }
.panel__words .panel__more { font-weight: 500; color: var(--muted); border-color: transparent; background: transparent; padding-inline: 4px; }

.full__tg { margin-top: 12px; font-size: 15px; color: var(--on-ink-muted); max-width: 30em; }
/* hero lead: an extra-long dash, «больше не стоп-фактор» on its own line on a green background */
.hc-lead b { line-height: 1.5; }
.hc-dash { display: inline-block; width: clamp(2.2em, 5.5vw, 5em); height: 2px; margin-left: .35em; background: currentColor; vertical-align: .32em; border-radius: 2px; }
.hc-ok { display: inline-block; margin-top: 6px; padding: 1px 10px 3px; border-radius: 8px; background: var(--color-bg-success-soft, #DDF3E6); color: var(--color-text-success, #1A7A45); }
html[data-theme="dark"] .hc-ok { background: rgba(52, 199, 120, .16); color: #7FE0A8; }
.hc-lead__sub { display: block; margin-top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* desktop: the whole first phrase on one line */
@media (min-width: 900px) { .hc-lead b { white-space: nowrap; } .hc-lead b .hc-ok { margin-top: 0; margin-left: 2px; } }
/* hero lead: the whole first phrase on a green background */
.hc-lead b.hc-hl { padding: 2px 0 3px; border-radius: 0; background: var(--color-bg-success-soft, #DDF3E6); color: var(--color-text-success, #1A7A45); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html[data-theme="dark"] .hc-lead b.hc-hl { background: rgba(52, 199, 120, .16); color: #7FE0A8; }
.hc-lead b.hc-hl + .hc-lead__sub { margin-top: 12px; }
