/* ─────────────────────────────────────────────────────────────
   AI Praktik — лендинг курса.

   Дизайн-язык взят с боевого aqlion.uz, чтобы страница читалась
   как его раздел, а не как чужой сайт:
   · палитра и токены — из site.css сайта (navy + бирюза + зелёный);
   · рубрика секции = градиентная чёрточка + разрядка .2em;
   · кнопка — синяя #103D6B, радиус 10px;
   · подложка светлых секций — гирих-узор тонкими линиями;
   · ключевые блоки — тёмные navy-плитки с wireframe-визуалом.
   ───────────────────────────────────────────────────────────── */

:root {
  --mist: #f7f9fc;
  --white: #fff;
  --midnight: #0b1220;
  --deep: #103d6b;
  --deep-dark: #0a2747;
  --uz-blue: #0099b5;
  --uz-blue-deep: #057b92;
  --uz-green: #1eb53a;
  --uz-green-soft: #3fa85c;
  /* Зелёный для КНОПОК: белый текст на нём даёт 5.07:1 (WCAG AA).
     Брендовый #1EB53A оставляем для акцентов, где он не фон под текстом. */
  --go: #128024;
  --go-hover: #0e7020;
  --sage: #84a98c;
  --ochre: #c99a3c;
  --slate: #475569;
  --slate-light: #64748b;
  --sky: #c8deef;
  --line: #0f172a12;
  --line-strong: #0f172a24;

  --r: 14px;
  --maxw: 1220px;
  --pad: clamp(20px, 5vw, 84px);
  --font: "Inter", system-ui, sans-serif;
  --display: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--midnight);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; letter-spacing: -0.04em; line-height: 1.06; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(60px, 9vw, 120px) 0; position: relative; scroll-margin-top: 80px; }
.section--dark { background: var(--deep-dark); color: #fff; }
.section--white { background: var(--white); }

/* Гирих-узор подложкой — как на светлых секциях aqlion.uz */
.section--pattern { position: relative; }
.section--pattern::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%230F172A' stroke-opacity='.075' stroke-width='1.1' stroke-linejoin='round'%3E%3Crect x='20' y='20' width='32' height='32' rx='9'/%3E%3Crect x='20' y='20' width='32' height='32' rx='9' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
}
.section--pattern > .container { position: relative; z-index: 1; }

.h2 { font-size: clamp(28px, 4.6vw, 48px); margin-bottom: 14px; max-width: 18ch; }
.section--dark .h2 { color: #fff; }
.lead { font-size: clamp(15px, 2vw, 18px); color: var(--slate); max-width: 640px; line-height: 1.55; }
.section--dark .lead { color: rgba(255, 255, 255, 0.78); }

/* Рубрика секции: градиентная чёрточка + разрядка — подпись Аклиона */
.eyebrow {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--uz-blue-deep);
  margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--uz-blue), var(--uz-green));
}
.section--dark .eyebrow, .hero .eyebrow { color: #fff; }

/* ── Кнопки (1:1 с site.css сайта) ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; min-height: 52px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, box-shadow 0.25s, border-color 0.2s;
}
.btn:focus-visible { outline: 2px solid var(--uz-blue); outline-offset: 3px; }
.btn--primary { background: var(--deep); color: #fff; }
.btn--primary:hover { background: #0d3258; box-shadow: 0 14px 34px -12px rgba(16, 61, 107, 0.6); }
.btn--sage { background: var(--uz-green); color: #fff; }
.btn--sage:hover { background: var(--uz-green-soft); box-shadow: 0 14px 34px -12px rgba(30, 181, 58, 0.5); }
.btn--ghost { background: transparent; color: var(--deep); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--deep); background: #fff; }
.btn--on-dark { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.2); }
.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 14px; }

/* ── Шапка: светлая, как на сайте ─────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 249, 252, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 22px; height: 72px; }
.hdr__brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.hdr__brand img { width: 32px; height: 32px; }
.hdr__brand b { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.03em; display: block; color: var(--midnight); }
.hdr__brand span { color: var(--slate-light); font-size: 12.5px; font-weight: 500; }
.hdr__nav { display: flex; gap: 28px; }
.hdr__nav a {
  color: var(--slate); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; min-height: 44px; transition: color 0.15s;
}
.hdr__nav a:hover { color: var(--deep); }
.hdr__lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; min-height: 44px; padding: 0 12px; border-radius: 8px;
  color: var(--slate); font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid var(--line-strong);
}
.hdr__lang:hover { border-color: var(--deep); color: var(--deep); }
@media (max-width: 940px) { .hdr__nav, .hdr__cta { display: none; } }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  position: fixed; left: 14px; top: 14px; z-index: 999;
  display: inline-flex; align-items: center; min-height: 44px; padding: 12px 20px;
  background: var(--deep); color: #fff; font-weight: 600; border-radius: 10px;
}

/* ── Герой: navy + wireframe-визуал справа ────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--midnight);
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px);
}
/* Визуал уходит под текст и растворяется — приём главной страницы сайта */
.hero__viz {
  position: absolute; right: 0; top: 0; width: 62%; height: 100%;
  object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%);
  mask-image: linear-gradient(90deg, transparent, #000 42%);
  opacity: 0.92;
}
.hero__in { position: relative; z-index: 1; }
.hero__copy { max-width: 660px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 66px); letter-spacing: -0.045em; line-height: 1.03; }
/* Один смысловой кусок — бирюза→зелёный, как «работают» в героe сайта */
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--uz-blue) 10%, var(--uz-green) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__sub { margin-top: 24px; font-size: clamp(15.5px, 2vw, 19px); color: rgba(255, 255, 255, 0.8); max-width: 600px; line-height: 1.6; }
.hero__note {
  margin-top: 22px; font-size: 14.5px; color: rgba(255, 255, 255, 0.62);
  padding-left: 14px; border-left: 2px solid var(--uz-blue); max-width: 520px;
}
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Цифры под героем — как «6 / UZ·RU / 12» на сайте */
.hero__stats { margin-top: clamp(44px, 6vw, 76px); display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); }
.hero__stat .n {
  font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.04em;
  background: linear-gradient(120deg, #fff, var(--uz-blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__stat .l { margin-top: 4px; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 900px) {
  .hero__viz { width: 100%; opacity: 0.3; -webkit-mask-image: linear-gradient(180deg, #000, transparent 72%); mask-image: linear-gradient(180deg, #000, transparent 72%); }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 26px 34px; }
}

/* ── Боль ─────────────────────────────────────────────────── */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.pain__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; }
.pain__card::before {
  content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; margin-bottom: 18px;
  background: linear-gradient(90deg, var(--uz-blue), var(--uz-green));
}
.pain__card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.03em; }
.pain__card p { color: var(--slate); font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) { .pain { grid-template-columns: 1fr; gap: 14px; } }

/* ── Результаты: тёмные плитки с визуалом — подпись сайта ── */
.out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.out__card {
  position: relative; overflow: hidden; border-radius: var(--r); min-height: 300px;
  background: linear-gradient(140deg, var(--deep-dark), #0d3358);
  padding: 30px 28px; display: flex; flex-direction: column; color: #fff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.out__card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -18px rgba(10, 39, 71, 0.55); }
.out__card img {
  position: absolute; right: 0; bottom: 0; width: 74%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(255deg, #000 18%, transparent 72%);
  mask-image: linear-gradient(255deg, #000 18%, transparent 72%);
  opacity: 0.9;
}
.out__card h3, .out__card p { position: relative; z-index: 1; }
.out__card h3 { font-size: 21px; letter-spacing: -0.03em; margin-bottom: 12px; max-width: 11ch; }
.out__card p { color: rgba(255, 255, 255, 0.76); font-size: 14.5px; line-height: 1.6; max-width: 26ch; }
@media (max-width: 980px) { .out { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .out { grid-template-columns: 1fr; gap: 14px; } .out__card { min-height: 250px; } }

/* ── Программа ────────────────────────────────────────────── */
.chap { margin-top: 46px; }
.chap__head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--deep); }
.chap__n { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 0.1em; color: var(--uz-blue-deep); }
.chap__t { font-size: clamp(19px, 2.4vw, 25px); }
.chap__d { margin-left: auto; color: var(--slate-light); font-size: 14px; text-align: right; }
@media (max-width: 640px) { .chap__d { display: none; } }

.lesson {
  display: grid; grid-template-columns: 40px 88px 1fr auto; gap: 18px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.lesson:hover { background: rgba(0, 153, 181, 0.035); }
.lesson__n { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--slate-light); }
.lesson__cover { width: 88px; height: 58px; object-fit: cover; border-radius: 9px; background: var(--deep-dark); }
.lesson__t { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.025em; }
.lesson__s { color: var(--slate-light); font-size: 14px; margin-top: 3px; line-height: 1.45; }
.lesson__min {
  font-size: 12.5px; font-weight: 600; color: var(--slate); white-space: nowrap;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px;
}
@media (max-width: 680px) {
  .lesson { grid-template-columns: 28px 62px 1fr; gap: 13px; }
  .lesson__cover { width: 62px; height: 44px; }
  .lesson__min { grid-column: 3; justify-self: start; margin-top: 6px; }
}

/* ── Для кого ─────────────────────────────────────────────── */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.who__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; }
.who__card h3 { font-size: 18px; margin-bottom: 9px; color: var(--deep); letter-spacing: -0.025em; }
.who__card p { color: var(--slate); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 980px) { .who { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } }

/* ── Сравнение ────────────────────────────────────────────── */
.cmp { margin-top: 44px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; font-size: 15px; vertical-align: top; }
.cmp thead th {
  font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate-light); background: var(--mist); border-bottom: 1px solid var(--line);
}
.cmp thead th:nth-child(2) { color: var(--uz-green-soft); }
.cmp tbody th { font-weight: 500; color: var(--slate); width: 28%; border-bottom: 1px solid var(--line); }
.cmp tbody td { border-bottom: 1px solid var(--line); }
.cmp tbody td:first-of-type { color: var(--midnight); font-weight: 600; background: rgba(30, 181, 58, 0.045); }
.cmp tbody td:last-child { color: var(--slate-light); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 720px) {
  .cmp { border: 0; background: none; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp tbody tr {
    display: block; margin-bottom: 14px; padding: 22px 20px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  }
  .cmp tbody th, .cmp tbody td { display: block; padding: 0; border: 0; width: auto; }
  .cmp tbody th { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--midnight); margin-bottom: 14px; letter-spacing: -0.025em; }
  .cmp tbody td { padding: 9px 0 9px 13px; border-left: 2px solid var(--line-strong); }
  .cmp tbody td:first-of-type { border-left-color: var(--uz-green); background: none; }
  .cmp tbody td::before {
    content: attr(data-label); display: block; margin-bottom: 3px;
    font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--slate-light);
  }
  .cmp tbody td:first-of-type::before { color: var(--uz-green-soft); }
}

/* ── Как начать ───────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.step { padding: 30px 28px; border-radius: var(--r); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.step__n {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--display); font-weight: 800; font-size: 16px; color: #fff;
  background: linear-gradient(130deg, var(--uz-blue), var(--uz-green));
}
.step h3 { font-size: 19px; color: #fff; margin-bottom: 10px; letter-spacing: -0.025em; }
.step p { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 14px; } }

/* ── Цена ─────────────────────────────────────────────────── */
.price { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 64px); margin-top: 46px; align-items: start; }
.price__box {
  border-radius: 18px; padding: clamp(30px, 4vw, 44px); color: #fff;
  background: linear-gradient(150deg, var(--deep-dark), #0d3358);
  box-shadow: 0 26px 60px -26px rgba(10, 39, 71, 0.6);
}
.price__amount { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6vw, 58px); letter-spacing: -0.045em; line-height: 1; }
.price__cur { font-size: 0.36em; font-weight: 600; color: rgba(255, 255, 255, 0.7); margin-left: 10px; letter-spacing: 0; }
.price__once { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: #8fe3a6; }
.price__box .btn { margin-top: 28px; width: 100%; }
.price__foot { margin-top: 13px; font-size: 13px; color: rgba(255, 255, 255, 0.6); text-align: center; }
.price__inc li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--midnight); }
.price__inc li:last-child { border-bottom: 0; }
.price__inc li::before {
  content: ""; position: absolute; left: 0; top: 19px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(30, 181, 58, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231EB53A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { margin-top: 44px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0;
  font-family: var(--display); font-weight: 700; font-size: 17.5px; letter-spacing: -0.025em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--uz-blue); outline-offset: 2px; border-radius: 4px; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2.4px solid var(--uz-blue); border-bottom: 2.4px solid var(--uz-blue);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.22s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 40px 24px 0; color: var(--slate); font-size: 15.5px; line-height: 1.7; }

/* ── Финал ────────────────────────────────────────────────── */
.final { text-align: center; }
.final .h2 { max-width: none; }
.final .lead { margin: 0 auto; }
.final .eyebrow { justify-content: center; }
.final .btn { margin-top: 30px; }

/* ── Подвал ───────────────────────────────────────────────── */
.ftr { background: var(--midnight); color: #fff; padding: 60px 0 32px; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.ftr__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.ftr__brand img { width: 30px; height: 30px; }
.ftr__brand b { font-family: var(--display); font-size: 17px; }
.ftr p { color: rgba(255, 255, 255, 0.62); font-size: 14px; line-height: 1.65; max-width: 34ch; }
.ftr__links { display: grid; gap: 2px; }
.ftr__links a { color: rgba(255, 255, 255, 0.78); font-size: 14.5px; display: inline-flex; align-items: center; min-height: 44px; }
.ftr__links a:hover { color: #fff; }
.ftr__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  color: rgba(255, 255, 255, 0.62); font-size: 13px;
}
@media (max-width: 800px) { .ftr__grid { grid-template-columns: 1fr; gap: 26px; } }

/* ── Появление при скролле ────────────────────────────────
   Прячем ТОЛЬКО при живом JS (класс .js ставится в <head>):
   если скрипт не загрузился, страница остаётся читаемой. */
.js .reveal { transform: translateY(14px); transition: transform 0.45s ease; }
.js .reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: none; }
  .out__card:hover { transform: none; }
}

/* ── Липкая кнопка на телефоне ────────────────────────────── */
.stick {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: rgba(11, 18, 32, 0.96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transform: translateY(110%); transition: transform 0.26s ease;
}
.stick.is-on { transform: none; }
.stick .btn { width: 100%; }
.stick__price { display: block; text-align: center; margin-top: 7px; font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }
@media (max-width: 940px) {
  .stick { display: block; }
  /* Резервируем место, иначе полоса накрывает подвал */
  body { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .stick { transition: none; } }

/* ── Полоса с призывом между секциями ─────────────────────
   Тёмная лента разбивает светлый поток и держит кнопку на виду.
   Кнопка здесь зелёная: синяя на navy почти не читается. */
.band { background: var(--deep-dark); color: #fff; padding: clamp(28px, 4vw, 44px) 0; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band__text {
  font-family: var(--display); font-weight: 800; font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: -0.03em; line-height: 1.15; max-width: 22ch;
}
.band__act { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.band .btn--primary { background: var(--uz-green); }
.band .btn--primary:hover { background: var(--uz-green-soft); box-shadow: 0 14px 34px -12px rgba(30, 181, 58, 0.5); }
.band__note { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); text-align: center; }
@media (max-width: 720px) {
  .band__in { flex-direction: column; align-items: flex-start; }
  .band__act { width: 100%; }
  .band__text { max-width: none; }
}

/* Подпись под кнопкой в герое: что произойдёт после клика */
.hero__ctanote { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* Кнопка в конце блока «как начать» */
.steps__cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.steps__cta .btn { background: var(--uz-green); min-width: 260px; }
.steps__cta .btn:hover { background: var(--uz-green-soft); }
@media (max-width: 560px) { .steps__cta .btn { width: 100%; min-width: 0; } }


/* ── Кнопка-действие: контрастный зелёный ─────────────────
   Белый на брендовом #1EB53A давал 2.72:1 — текст плыл.
   #128024 даёт 5.07:1 и остаётся узнаваемо зелёным. */
.btn--go { background: var(--go); color: #fff; }
.btn--go:hover { background: var(--go-hover); box-shadow: 0 14px 34px -12px rgba(18, 128, 36, 0.5); }
.band .btn--go, .steps__cta .btn, .teaser .btn--go { background: var(--go); }
.band .btn--go:hover, .steps__cta .btn:hover { background: var(--go-hover); }

/* ── Скидка в герое ───────────────────────────────────────── */
.hero__deal {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 15px; color: rgba(255, 255, 255, 0.72);
}
.hero__deal s { color: rgba(255, 255, 255, 0.45); }
.hero__deal b { color: #fff; font-size: 17px; }
.hero__deal-off {
  background: var(--go); color: #fff; font-weight: 700; font-size: 13px;
  padding: 5px 10px; border-radius: 6px; letter-spacing: 0.02em;
}

/* ── Блок цены: было/стало ────────────────────────────────── */
.price__was { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.price__off { background: var(--go); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 6px; }
.price__oldlabel { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.price__was s { font-size: 17px; color: rgba(255, 255, 255, 0.55); }
.price__save { margin-top: 10px; font-size: 14.5px; font-weight: 600; color: #8fe3a6; }
.price__timer { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.price__timer-l { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.price__timer-v { display: block; margin-top: 4px; font-size: 21px; font-weight: 800; font-family: var(--display); letter-spacing: -0.02em; }

/* ── Мобильный блок цены под героем ───────────────────────── */
.teaser { display: none; background: var(--white); border-bottom: 1px solid var(--line); }
.teaser__in { padding-top: 24px; padding-bottom: 26px; }
.teaser__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.teaser__off { background: var(--go); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 6px; }
.teaser__old { color: var(--slate-light); font-size: 16px; }
.teaser__now { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; }
.teaser__once { margin-top: 6px; font-size: 13.5px; color: var(--slate); }
.teaser__inc { margin-top: 14px; display: grid; gap: 8px; }
.teaser__inc li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--slate); line-height: 1.45; }
.teaser__inc li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(18, 128, 36, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23128024' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.teaser .btn { width: 100%; margin-top: 18px; }
.teaser__more {
  display: block; text-align: center; margin-top: 12px; min-height: 44px;
  line-height: 44px; font-size: 14px; color: var(--deep); font-weight: 600;
}
@media (max-width: 940px) { .teaser { display: block; } }

/* ── Главы программы: сворачиваемые ───────────────────────
   12 уроков подряд растягивали телефон на тысячи пикселей. */
.chap summary { cursor: pointer; list-style: none; position: relative; padding-right: 34px; }
.chap summary::-webkit-details-marker { display: none; }
.chap summary:focus-visible { outline: 2px solid var(--uz-blue); outline-offset: 3px; border-radius: 4px; }
.chap summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2.4px solid var(--uz-blue-deep); border-bottom: 2.4px solid var(--uz-blue-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.22s ease;
}
.chap[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.chap__count {
  font-size: 12.5px; font-weight: 600; color: var(--slate-light);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
@media (max-width: 640px) { .chap__count { margin-left: auto; } }

/* ── Уплотнение под телефон ───────────────────────────────
   На 390px страница разрасталась до ~12 600px: до цены и до кнопки
   покупки нужно было листать вечность. Ужимаем воздух и высокие
   блоки — на десктопе всё остаётся просторным, как было. */
@media (max-width: 700px) {
  .section { padding: 46px 0; }
  .h2 { font-size: clamp(24px, 6.4vw, 30px); max-width: none; }
  .lead { font-size: 15px; }

  /* «Что сможете»: плитки были по 300px+ каждая */
  .out { gap: 12px; }
  .out__card { min-height: 0; padding: 20px 18px; }
  .out__card img { width: 58%; opacity: 0.7; }
  .out__card h3 { font-size: 17px; margin-bottom: 7px; max-width: 14ch; }
  .out__card p { font-size: 13.5px; max-width: 24ch; }

  /* «Для кого»: шесть карточек с крупными отступами */
  .who { gap: 10px; }
  .who__card { padding: 18px 18px; }
  .who__card h3 { font-size: 16px; margin-bottom: 6px; }
  .who__card p { font-size: 13.5px; }

  /* Сравнение: карточки-строки были самыми высокими на странице */
  .cmp tbody tr { padding: 16px 16px; margin-bottom: 10px; }
  .cmp tbody th { font-size: 15.5px; margin-bottom: 10px; }
  .cmp tbody td { padding: 7px 0 7px 12px; font-size: 14px; }

  /* Боль и шаги */
  .pain__card { padding: 22px 20px; }
  .pain__card h3 { font-size: 18px; }
  .pain__card p { font-size: 14px; }
  .steps { gap: 10px; }
  .step { padding: 22px 20px; }
  .step h3 { font-size: 17px; }
  .step p { font-size: 13.5px; }
  .step__n { width: 38px; height: 38px; font-size: 15px; margin-bottom: 12px; }

  /* Цена и вопросы */
  .price__box { padding: 26px 22px; }
  .price__inc li { padding: 12px 0 12px 30px; font-size: 14.5px; }
  .faq summary { padding: 18px 44px 18px 0; font-size: 16px; }
  .faq p { padding-bottom: 20px; font-size: 14.5px; }

  /* Подвал */
  .ftr { padding: 40px 0 24px; }
  .ftr__grid { gap: 20px; }
  .band { padding: 24px 0; }
}
