/* ════════════════════════════════════════════════════════════════════
   PAVLENKO · Landing UI kit
   Лендинг книги-конспектов «Путь предпринимателя: Как я хочу?»
   ════════════════════════════════════════════════════════════════════ */
@import url("colors_and_type.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 760px; }

/* ── display / heading helpers ─────────────────────────────────────── */
.display {
  font-family: var(--f-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; line-height: 0.95;
}
.script { font-family: var(--f-script); line-height: 0.9; }
.serif-i { font-family: var(--f-serif); font-style: italic; font-weight: 500; }
.eyebrow {
  font-family: var(--f-sans); font-weight: 600; font-size: 14px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--c-bordeaux);
}
.eyebrow.muted { color: var(--fg-3); }

/* ── BUTTONS ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--f-sans); font-size: 18px; font-weight: 500;
  padding: 18px 40px; border-radius: 999px; border: none;
  cursor: pointer; text-decoration: none;
  transition: background var(--dur-fast) var(--ease-std),
              transform var(--dur-fast) var(--ease-std),
              opacity var(--dur-fast) var(--ease-std);
}
.btn-primary { background: var(--c-bordeaux); color: #fff; box-shadow: var(--sh-bordeaux); }
.btn-primary:hover  { background: var(--c-bordeaux-soft); }
.btn-primary:active { background: var(--c-bordeaux-dark); transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--c-bordeaux); border: 1.5px solid var(--c-bordeaux); }
.btn-ghost:hover { background: var(--bord-50); }
.btn-arrow { width: 28px; height: 28px; border-radius: 999px; background: rgba(255,255,255,0.22); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }

/* ── HEADER ────────────────────────────────────────────────────────── */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,245,245,0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border-hair);
}
header.nav .row { display: flex; align-items: center; gap: 28px; height: 72px; }
header.nav .logo { display: flex; align-items: center; gap: 12px; }
header.nav .logo img { width: 30px; height: 30px; }
header.nav .logo .wm { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.16em; font-size: 20px; }
header.nav .links { display: flex; gap: 26px; margin-left: auto; }
header.nav .links a { color: var(--fg-2); text-decoration: none; font-size: 15px; transition: color var(--dur-fast); }
header.nav .links a:hover { color: var(--c-bordeaux); }
header.nav .btn { padding: 11px 24px; font-size: 15px; }
@media (max-width: 860px) { header.nav .links { display: none; } }
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 40px; } .hero h1 .script { font-size: 46px; }
  .hero .lede { font-size: 18px; }
  .hero .price-now { font-size: 44px; } .hero .price-old { font-size: 26px; }
  .hero .price-row { gap: 12px; }
  .problem h2 { font-size: 32px; } .problem .lead { font-size: 19px; }
  .sec-title { font-size: 25px; }
  .author h2 { font-size: 32px; } .author .stat .num { font-size: 48px; }
  .offer { padding: 32px 20px; border-radius: 24px; } .offer h2 { font-size: 26px; }
  .offer .price-now { font-size: 48px; } .offer .price-old { font-size: 28px; }
  .symptom { padding: 24px 22px; }
  .narrative p.big, .narrative .big { font-size: 20px; }
  .faq-a .inner { font-size: 16px; }
}

/* ── HERO ──────────────────────────────────────────────────────────── */
.hero { padding: 80px 0 96px; position: relative; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { margin: 22px 0 0; font-size: 78px; }
.hero h1 .script { display: block; color: var(--c-bordeaux); font-size: 96px; text-transform: none; letter-spacing: 0; margin-top: 6px; }
.hero .lede { margin-top: 30px; font-size: 20px; color: var(--fg-2); max-width: 520px; }
.hero .lede b { color: var(--c-ink); font-weight: 600; }
.hero .price-row { display: flex; align-items: baseline; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.hero .price-main { display: flex; align-items: baseline; gap: 18px; }
.hero .price-old, .hero .price-now, .offer .price-old, .offer .price-now { white-space: nowrap; }
.hero .price-old { font-family: var(--f-sans); font-weight: 700; font-size: 34px; letter-spacing: 0.01em; color: var(--fg-2); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--c-bordeaux); }
.hero .price-now { font-family: var(--f-display); font-weight: 700; font-size: 56px; color: var(--c-bordeaux); letter-spacing: 0.02em; }
.cur { font-family: var(--f-sans); font-weight: 600; font-size: 0.5em; vertical-align: 0.18em; margin-left: 0.12em; letter-spacing: 0; }
.hero .price-tag { font-size: 15px; background: var(--c-bordeaux); color: #fff; padding: 7px 14px; border-radius: 999px; font-weight: 700; letter-spacing: 0.01em; }
.offer .price-tag { font-size: 15px; background: #fff; color: var(--c-bordeaux); padding: 7px 14px; border-radius: 999px; font-weight: 700; }
.hero .cta-row { display: flex; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.hero .reassure { font-size: 14px; color: var(--fg-3); line-height: 1.5; }

/* image-slot is a custom element → make it behave like a block so width /
   aspect-ratio apply (otherwise it collapses to a tiny inline box). */
image-slot { display: block; }

/* book cover slot */
.hero .cover {
  position: relative; display: block; width: 100%; height: auto;
  aspect-ratio: 500/753; object-fit: cover; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(60,0,0,0.28), 0 8px 20px rgba(0,0,0,0.12);
  transform: rotate(2deg);
}
.hero .cover-wrap { position: relative; }
.hero .cover-wrap::before {
  content: ""; position: absolute; inset: -8% -6%;
  background: radial-gradient(circle at 60% 40%, var(--bord-100), transparent 65%);
  z-index: -1;
}
@media (max-width: 860px) {
  .hero .grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 52px; } .hero h1 .script { font-size: 64px; }
  .hero .cover { max-width: 320px; margin: 0 auto; }
}

/* ── SECTION scaffold ──────────────────────────────────────────────── */
section { padding: 88px 0; }
section.tint { background: var(--bord-50); }
section.sand { background: var(--c-sand-paper); }
section.ink  { background: var(--c-ink); color: var(--fg-inv); }
.sec-label { text-align: center; margin-bottom: 14px; }
.sec-title { text-align: center; font-size: 30px; font-weight: 600; max-width: 700px; margin: 0 auto 48px; line-height: 1.2; }
section.ink .sec-title { color: #fff; }

/* ── PROBLEM section ───────────────────────────────────────────────── */
.problem h2 { font-size: 60px; text-align: center; margin: 0 0 40px; }
.problem .lead { font-size: 22px; text-align: center; max-width: 680px; margin: 0 auto 48px; color: var(--fg-2); }
.problem .symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.symptom { background: #fff; border-radius: 18px; padding: 30px 28px; box-shadow: var(--sh-1); }
.symptom .word { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 26px; color: var(--c-bordeaux); letter-spacing: 0.03em; }
.symptom p { font-size: 16px; color: var(--fg-2); margin: 10px 0 0; }
@media (max-width: 860px) { .problem .symptoms { grid-template-columns: 1fr; } .problem h2 { font-size: 40px; } }

/* ── AUTHOR ────────────────────────────────────────────────────────── */
.author .grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.author .portrait { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #efe7e1 0%, #e3d7cf 100%); }
.author .portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.author h2 { font-size: 40px; font-weight: 600; margin: 0 0 6px; }
.author .role { color: var(--c-bordeaux); font-size: 17px; margin-bottom: 24px; }
.author p { color: var(--fg-2); margin: 0 0 16px; }
.author .stat { display: flex; align-items: baseline; gap: 14px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border-hair); }
.author .stat .num { font-family: var(--f-display); font-weight: 700; font-size: 64px; color: var(--c-bordeaux); line-height: 0.9; }
.author .stat .cap { font-size: 16px; color: var(--fg-2); }
@media (max-width: 860px) { .author .grid { grid-template-columns: 1fr; gap: 32px; } .author .portrait { max-width: 320px; } }

/* ── NARRATIVE (why special) ───────────────────────────────────────── */
.narrative p { font-size: 21px; line-height: 1.65; margin: 0 0 24px; }
.narrative p.big { font-size: 27px; font-weight: 500; }
.narrative .accent { color: var(--c-bordeaux); }
.narrative .rule { width: 56px; height: 2px; background: var(--c-bordeaux); margin: 8px 0 36px; }

.path-shots { display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr; gap: 16px; margin: 44px 0; align-items: start; }
.path-shots figure:nth-child(3) img { aspect-ratio: 3 / 2; }
.path-shots figure { margin: 0; }
.path-shots image-slot, .path-shots img { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; box-shadow: var(--sh-2); object-fit: cover; }
.path-shots figure:nth-child(even) image-slot, .path-shots figure:nth-child(even) img { margin-top: 28px; }
.path-shots figcaption { font-size: 14px; color: var(--fg-3); line-height: 1.45; margin-top: 12px; }
.path-shots figure:nth-child(even) figcaption { margin-top: 12px; }
@media (max-width: 900px) { .path-shots { grid-template-columns: repeat(2, 1fr); } .path-shots figure:nth-child(3) { grid-column: span 2; } }
@media (max-width: 560px) { .path-shots { grid-template-columns: 1fr; } .path-shots figure:nth-child(3) { grid-column: auto; } .path-shots figure:nth-child(even) image-slot, .path-shots figure:nth-child(even) img { margin-top: 0; } }

.appear { display: flex; gap: 20px; align-items: center; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border-hair); }
.two-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 40px 0 8px; }
.path-case { border-top: 2px solid var(--c-bordeaux); padding-top: 18px; }
.path-case .pc-label { font-family: var(--f-sans); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--c-bordeaux); margin-bottom: 10px; }
.path-case p { font-size: 17px; color: var(--fg-2); margin: 0; line-height: 1.6; }
@media (max-width: 760px) { .two-paths { grid-template-columns: 1fr; gap: 24px; } }
.appear .thumb { position: relative; display: block; flex-shrink: 0; width: 200px; border-radius: 12px; overflow: hidden; box-shadow: var(--sh-1); transition: box-shadow 0.2s, transform 0.2s; }
.appear .thumb:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.appear .thumb:hover .play { background: var(--c-bordeaux); }
.appear .thumb .play { transition: background 0.2s; }
.appear .thumb img { display: block; width: 100%; height: auto; }
.appear .thumb .play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); }
.appear .thumb .play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.appear-txt p { font-size: 15px; color: var(--fg-2); margin: 8px 0 0; }
@media (max-width: 860px) { .appear { flex-direction: column; align-items: flex-start; } .appear .thumb { width: 100%; max-width: 320px; } }

/* ── WHAT'S INSIDE — formats ───────────────────────────────────────── */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.format { background: #fff; border-radius: 20px; padding: 36px 30px; box-shadow: var(--sh-2); text-align: left; }
.format .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bord-50); display: flex; align-items: center; justify-content: center; color: var(--c-bordeaux); margin-bottom: 20px; }
.format .ic svg { width: 26px; height: 26px; }
.format h3 { font-size: 21px; font-weight: 600; margin: 0 0 8px; }
.format p { font-size: 15px; color: var(--fg-2); margin: 0; }
@media (max-width: 860px) { .formats { grid-template-columns: 1fr; } }

/* ── TOC ───────────────────────────────────────────────────────────── */
.toc-note { text-align: center; margin: -28px 0 34px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-inv-2); }
.toc-full { max-width: 900px; margin: 28px auto 0; }
.toc-full > summary { list-style: none; cursor: pointer; display: flex; width: fit-content; margin: 0 auto; align-items: center; justify-content: center; gap: 12px; padding: 15px 30px; min-height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-family: var(--f-sans); font-size: 16px; font-weight: 500; color: #fff; transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.toc-full > summary:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.toc-full > summary::-webkit-details-marker { display: none; }
.toc-full > summary .sign { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.toc-full > summary .sign::before, .toc-full > summary .sign::after { content: ""; position: absolute; background: #D98A8A; border-radius: 2px; }
.toc-full > summary .sign::before { left: 0; right: 0; top: 9px; height: 2px; }
.toc-full > summary .sign::after { top: 0; bottom: 0; left: 9px; width: 2px; transition: transform var(--dur-base) var(--ease-out); }
.toc-full[open] > summary .sign::after { transform: scaleY(0); }
.toc-full .toc-list { margin-top: 26px; }
.toc-full .toc-item { padding: 10px 0; }
.toc-full .toc-item .ttl { font-size: 16px; color: var(--fg-inv-2); }
.toc-list { columns: 2; column-gap: 56px; margin-top: 8px; }
.toc-item { break-inside: avoid; display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border-on-dark); align-items: baseline; }
.toc-item .n { font-family: var(--f-display); font-weight: 700; color: var(--c-bordeaux-soft); font-size: 20px; min-width: 42px; }
section.ink .toc-item .n { color: #D98A8A; }
.toc-item .ttl { font-size: 17px; }
.toc-fade { text-align: center; margin-top: 32px; color: var(--fg-inv-2); font-size: 16px; }
#toc .wrap { display: flex; flex-direction: column; }
#toc .toc-fade { order: 1; }
#toc .toc-full { order: 2; }
@media (max-width: 720px) { .toc-list { columns: 1; } }

/* ── TESTIMONIALS ──────────────────────────────────────────────────── */
.tcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.tcard { background: #fff; border-radius: 20px; padding: 32px 30px; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
/* порядок показа: Андреев, Зегнитц, Мальцева, Федосеев, Галицина, Силицкая */
.tcards .tcard:nth-child(1) { order: 3; }
.tcards .tcard:nth-child(2) { order: 4; }
.tcards .tcard:nth-child(3) { order: 5; }
.tcards .tcard:nth-child(4) { order: 6; }
.tcards .tcard:nth-child(5) { order: 2; }
.tcards .tcard:nth-child(6) { order: 1; }
.tcard .quote { font-size: 17px; color: var(--ink-800); line-height: 1.6; font-style: italic; }
.tcard .quote p { margin: 0 0 12px; }
.tcard .quote p:last-child { margin-bottom: 0; }
.tcard .who { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 24px; }
.tcard .ava { display: block; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--c-sand); }
.tcard .ava img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 46%; transform: scale(1.32); display: block; }
.tcard .who .name { font-weight: 600; font-size: 15px; }
.tcard .who .name a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(23,23,23,.22); }
.tcard .who .name a:hover { color: var(--c-bordeaux); border-bottom-color: var(--c-bordeaux); }
.tcard .who .desc { font-size: 13px; color: var(--fg-3); line-height: 1.45; margin-top: 3px; }
@media (max-width: 860px) { .tcards { grid-template-columns: 1fr; } }
.t-more-check { position: absolute; opacity: 0; pointer-events: none; }
.t-more { display: none; }
@media (max-width: 860px) {
  .tcard { padding: 26px 22px; }
  .tcard .quote { font-size: 16px; }
  .tcards .tcard:nth-child(2), .tcards .tcard:nth-child(3), .tcards .tcard:nth-child(4) { display: none; }
  .t-more-check:checked ~ .tcards .tcard { display: flex; }
  .t-more { display: flex; width: fit-content; align-items: center; justify-content: center; gap: 10px; margin: 20px auto 0; cursor: pointer;
    padding: 14px 28px; border-radius: 999px; border: 1px solid var(--c-bordeaux); color: var(--c-bordeaux);
    font-family: var(--f-sans); font-size: 16px; font-weight: 500; min-height: 48px; }
  .t-more .lbl-hide { display: none; }
  .t-more-check:checked ~ .t-more .lbl-show { display: none; }
  .t-more-check:checked ~ .t-more .lbl-hide { display: inline; }
}

/* ── OFFER block (repeatable) ──────────────────────────────────────── */
.offer { background: var(--c-bordeaux); color: #fff; border-radius: 32px; padding: 60px; text-align: center; position: relative; overflow: hidden; }
.offer h2 { font-size: 44px; font-weight: 600; margin: 0 0 14px; color: #fff; }
.offer .price-row { display: flex; align-items: baseline; justify-content: center; gap: 18px; margin: 28px 0; flex-wrap: wrap; }
.offer .price-old { font-family: var(--f-sans); font-weight: 700; font-size: 36px; letter-spacing: 0.01em; color: #fff; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(255,255,255,0.85); }
.offer .price-now { font-family: var(--f-display); font-weight: 700; font-size: 64px; letter-spacing: 0.02em; }
.offer .reassure { font-size: 15px; opacity: 0.82; margin-top: 22px; line-height: 1.6; }
.offer .btn-primary { background: #fff; color: var(--c-bordeaux); box-shadow: none; }
.offer .btn-primary:hover { background: var(--c-sand-paper); }
@media (max-width: 860px) { .offer { padding: 40px 28px; } .offer h2 { font-size: 32px; } }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-line); }
.faq-q { width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--f-sans); font-size: 20px; font-weight: 500; color: var(--c-ink); }
.faq-q .sign { flex-shrink: 0; width: 28px; height: 28px; position: relative; transition: transform var(--dur-base) var(--ease-out); }
.faq-q .sign::before, .faq-q .sign::after { content: ""; position: absolute; background: var(--c-bordeaux); border-radius: 2px; }
.faq-q .sign::before { left: 0; right: 0; top: 13px; height: 2px; }
.faq-q .sign::after  { top: 0; bottom: 0; left: 13px; width: 2px; transition: transform var(--dur-base) var(--ease-out); }
.faq-item.open .faq-q .sign::after, .faq-item[open] .faq-q .sign::after { transform: scaleY(0); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q { list-style: none; }
.faq-a { max-height: none; overflow: visible; }
.faq-a .inner { padding: 0 0 26px; color: var(--fg-2); font-size: 17px; line-height: 1.6; max-width: 640px; }

/* ── CHAPTER ANATOMY (как выглядит глава внутри) ───────────────────── */
.anatomy .grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: 64px; align-items: center; }
.anatomy .lead { font-size: 19px; color: var(--fg-2); margin: 0 0 28px; max-width: 460px; }
.anatomy .struct { list-style: none; padding: 0; margin: 0; }
.anatomy .struct li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border-hair); }
.anatomy .struct li:last-child { border-bottom: none; }
.anatomy .struct .badge { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--bord-50); color: var(--c-bordeaux); display: flex; align-items: center; justify-content: center; }
.anatomy .struct .badge svg { width: 22px; height: 22px; }
.anatomy .struct h4 { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.anatomy .struct p { font-size: 15px; color: var(--fg-2); margin: 0; line-height: 1.5; }

/* designed chapter page mockup */
.chapter-page {
  background: #fff; border-radius: 14px; padding: 48px 44px;
  box-shadow: 0 30px 70px rgba(60,0,0,0.16), 0 4px 14px rgba(0,0,0,0.06);
  position: relative; transform: rotate(-1.4deg);
}
.chapter-page .pg-top { display: flex; justify-content: space-between; align-items: baseline; }
.chapter-page .pg-num { font-family: var(--f-display); font-weight: 700; font-size: 64px; color: var(--c-bordeaux); line-height: 0.9; }
.chapter-page .pg-of { font-size: 13px; color: var(--ink-300); letter-spacing: 0.04em; }
.chapter-page .pg-title { font-family: var(--f-sans); font-weight: 600; font-size: 26px; line-height: 1.2; margin: 14px 0 24px; }
.chapter-page .pg-eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-bordeaux); font-weight: 600; margin-bottom: 6px; }
.chapter-page .pg-body { font-size: 14px; color: var(--fg-2); line-height: 1.65; margin: 0 0 20px; }
.chapter-page .pg-pull {
  border-left: 3px solid var(--c-bordeaux); padding: 4px 0 4px 18px; margin: 0 0 22px;
  font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--c-ink);
}
.chapter-page .pg-task { background: var(--bord-50); border-radius: 12px; padding: 18px 20px; }
.chapter-page .pg-task .pg-eyebrow { margin-bottom: 8px; }
.chapter-page .pg-task ol { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-800); line-height: 1.6; }
@media (max-width: 860px) { .anatomy .grid { grid-template-columns: 1fr; gap: 40px; } .chapter-page { transform: none; } }

/* real screenshots row → designed format showcase */
.screens { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; margin-top: 56px; align-items: center; }
.screens .cap { text-align: center; font-size: 13px; color: var(--fg-3); margin-top: 14px; letter-spacing: 0.04em; }
@media (max-width: 860px) { .screens { grid-template-columns: 1fr; gap: 48px; } }

/* Telegram dark phone mockup */
.tg-phone {
  width: 100%; max-width: 340px; margin: 0 auto;
  background: #0e1621; border-radius: 36px; padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.30); border: 1px solid #243140;
}
.tg-screen { background: #17212b; border-radius: 26px; overflow: hidden; }
.tg-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #17212b; border-bottom: 1px solid #0e1621; }
.tg-ava { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; }
.tg-ava svg { width: 26px; height: 26px; }
.tg-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tg-ava svg path { fill: #fff; }
.tg-htext .t { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.1; }
.tg-htext .s { color: #6d7f8f; font-size: 11.5px; margin-top: 2px; }
.tg-body { padding: 16px 14px 20px; min-height: 360px; }
.tg-bubble { background: #232e3c; border-radius: 14px 14px 14px 4px; padding: 14px 16px; max-width: 92%; }
.tg-bubble .ch-title { color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: 0.01em; margin-bottom: 10px; }
.tg-bubble p { color: #c9d2db; font-size: 12.5px; line-height: 1.55; margin: 0 0 10px; }
.tg-bubble .sub { color: #6cb1e8; font-weight: 600; font-size: 12.5px; margin: 0 0 4px; }
.tg-bubble .meta { display: flex; justify-content: flex-end; gap: 4px; align-items: center; color: #6d7f8f; font-size: 11px; margin-top: 6px; }

/* A4 PDF page mockup */
.a4 {
  background: #fff; border-radius: 8px; padding: 44px 46px;
  box-shadow: 0 30px 70px rgba(60,0,0,0.14), 0 3px 10px rgba(0,0,0,0.06);
  position: relative;
}
.a4 .a4-run { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--border-hair); padding-bottom: 12px; margin-bottom: 22px; }
.a4 .a4-run .ch { font-family: var(--f-display); font-weight: 700; font-size: 20px; color: var(--c-bordeaux); letter-spacing: 0.02em; }
.a4 .a4-run .pg { font-size: 12px; color: var(--ink-300); }
.a4 .a4-h { font-family: var(--f-sans); font-weight: 600; font-size: 22px; line-height: 1.25; margin: 0 0 18px; }
.a4 .a4-sub { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-bordeaux); font-weight: 600; margin: 0 0 8px; }
.a4 .a4-body { font-size: 13.5px; color: var(--fg-2); line-height: 1.7; margin: 0 0 16px; }
.a4 .a4-ol { counter-reset: ex; list-style: none; padding: 0; margin: 0; }
.a4 .a4-ol li { position: relative; padding: 0 0 14px 40px; font-size: 13.5px; color: var(--ink-800); line-height: 1.55; }
.a4 .a4-ol li::before { counter-increment: ex; content: counter(ex); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--c-bordeaux); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }

/* ── FOOTER ────────────────────────────────────────────────────────── */
footer.ft { background: var(--c-ink); color: var(--fg-inv); padding: 64px 0 48px; }
footer.ft .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
footer.ft .logo { display: flex; align-items: center; gap: 12px; }
footer.ft .logo img { width: 34px; }
footer.ft .logo .wm { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.16em; font-size: 22px; }
footer.ft .contacts { font-size: 15px; line-height: 1.9; }
footer.ft .contacts a { color: var(--fg-inv-2); text-decoration: none; }
footer.ft .contacts a:hover { color: #fff; }
footer.ft .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-on-dark); font-size: 13px; color: var(--fg-inv-2); line-height: 1.7; }
footer.ft .legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
footer.ft .legal-links a { color: var(--fg-inv-2); text-decoration: none; border-bottom: 1px solid var(--border-on-dark); padding-bottom: 1px; }
footer.ft .legal-links a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.6); }

.hero-sub { font-family: var(--f-serif, Georgia, serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.32; color: var(--c-bordeaux); margin: 4px 0 18px; max-width: 18em; text-wrap: pretty }
.offer-list { list-style: none; padding: 0; margin: 22px auto 26px; max-width: 480px; display: grid; gap: 9px; text-align: left; font-size: 17px; line-height: 1.4 }
.offer-list li { position: relative; padding-left: 20px; opacity: 0.94 }
.offer-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.55 }
@media (max-width: 480px) { .hero-sub { font-size: 18px } .offer-list { font-size: 15.5px } }
