/* =========================================================
   press.css — «Тебя не видно»
   Светлая бумага, чёрный карандаш, красный плакат.
   Слой поверх site.css: механики и разметка не меняются,
   меняется только оформление. Порядок слоёв:
   1 токены и база · 2 шапка · 3 герой · 4 квиз и результат
   5 кейсы и программа · 6 тарифы · 7 подвал · 8 адаптив
   ========================================================= */

/* ---------- 1. Токены и база ---------- */
:root {
  --paper: #EEEAE3;
  --paper-deep: #E1DBD1;
  --sheet: #FBFAF7;
  --ink: #141210;
  --ink-2: #36312D;
  --muted: #625A52;            /* ≥ 4.5:1 на бумаге — для мелкого текста */
  --line: rgba(20, 18, 16, .14);
  --line-2: rgba(20, 18, 16, .30);
  --pen: #D7261E;              /* плакатный красный: фон, крупный текст */
  --pen-2: #A3130E;            /* тёмно-красный: мелкий текст на бумаге */
  --pen-light: #F0453A;
  --hl: #F5C6BB;
  --night: #141210;
  --serif: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --print: 4px 4px 0 var(--ink);
  --print-red: 4px 4px 0 var(--pen);
  --tex: url("../assets/tex-paper.jpg");
}

/* у Oswald, Onest и Caveat нет курсива: старые italic остаются прямыми, без «падающих» букв */
html { background: var(--paper); font-synthesis: weight; }
body {
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
/* Бумага: фактура лежит под всем, не скроллится и не мешает касаниям */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--tex) center / cover no-repeat, var(--paper);
  opacity: .9;
}
::selection { background: var(--pen); color: #fff; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; }

.display {
  font-family: var(--display);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .9;
  color: var(--ink);
}
.h2 { font-size: clamp(42px, 12vw, 96px); margin: 0 0 18px; }
.pencil { font-family: var(--hand); font-weight: 600; }
.kicker,
.eyebrow,
.label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.kicker::before,
.eyebrow::before {
  content: "";
  display: inline-block;
  width: .7em;
  height: .7em;
  margin-right: .55em;
  background: var(--pen);
  vertical-align: .02em;
}
.lead { font-size: clamp(17px, 4.6vw, 20px); line-height: 1.45; color: var(--ink-2); }
.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pen);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.link:hover { color: var(--pen-2); }
.decor { position: absolute; pointer-events: none; user-select: none; max-width: none; }

/* Кнопки: чёрный оттиск с красным «смещением печати» */
.btn {
  gap: 12px;
  min-height: 54px;
  padding: 14px 18px 14px 22px;
  border-radius: 2px;
  font: 700 18px/1 var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background-color .2s;
}
.btn:active { transform: translate(3px, 3px); }
.btn__chip { min-height: 0; border-radius: 1px; align-items: center; }
.btn--paper { background: var(--pen); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn--paper .btn__chip { background: var(--ink); color: #fff; }
.btn--paper:active { box-shadow: 1px 1px 0 var(--ink); }
.btn--loop,
.btn--line { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--ink); }
.btn--loop:active,
.btn--line:active { box-shadow: inset 0 0 0 2px var(--ink), 1px 1px 0 var(--ink); }
.btn--line .btn__chip { background: var(--ink); color: #fff; }
.hand { font-family: var(--hand); font-weight: 700; color: var(--pen-2); }
.btn--ink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 18px 14px 22px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: var(--sheet);
  font: 700 18px/1 var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--print-red);
}
.btn--ink:hover { background: #000; }
.btn--ink:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--pen); }
.btn__chip {
  display: inline-block;
  padding: 5px 8px 4px;
  background: var(--pen);
  color: #fff;
  font: 600 13px/1 var(--display);
  letter-spacing: .06em;
  transform: rotate(-3deg);
}

/* ---------- 2. Шапка ---------- */
.topbar {
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: background-color .25s, border-color .25s;
}
.topbar.is-scrolled,
.is-scrolled .topbar {
  background: rgba(238, 234, 227, .94);
  border-bottom-color: var(--ink);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
}
.brand { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.brand__i {
  display: inline-block;
  padding: 5px 7px 4px;
  background: var(--ink);
  color: var(--sheet);
  font: 700 19px/1 var(--display);
  letter-spacing: .03em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.brand__p { font: 700 24px/1 var(--hand); color: var(--pen-2); letter-spacing: 0; }
.topbar__link {
  font: 500 14px/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(var(--pen), var(--pen)) 0 100% / 0 2px no-repeat;
  transition: background-size .2s var(--ease);
}
.topbar__link:hover { background-size: 100% 2px; color: var(--ink); }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px 8px;
  border: 0;
  border-radius: 2px;
  background: var(--pen);
  color: #fff;
  font: 600 14px/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.pill:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.pill--line { background: var(--sheet); color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }

/* ---------- 3. Герой: «Тебя не видно.» ---------- */
.hero { position: relative; overflow: hidden; padding: 18px 0 44px; background: none; }
.hero__hatch {
  top: 40px;
  right: -28%;
  width: 115%;
  height: auto;
  opacity: .34;
  mix-blend-mode: multiply;
  transform: rotate(-8deg);
}
.hero__grid { position: relative; display: grid; gap: 30px; }
.hero__head { position: relative; min-width: 0; }
.hero .kicker { margin: 0 0 18px; max-width: 30ch; }
.hero__tb { position: relative; }
.hero__title { margin: 0; font-size: 1em; line-height: .84; }
.hero__l1 {
  display: block;
  font-size: clamp(108px, 40vw, 270px);
  letter-spacing: -.02em;
  color: var(--ink);
}
.hero__l2 {
  display: inline-block;
  margin: .1em 0 0 -.12em;
  padding: .17em .3em .11em;
  font-size: clamp(50px, 16.4vw, 112px);
  letter-spacing: .005em;
  color: var(--sheet);
  background: var(--pen) url("../assets/torn-red.png") center / cover;
  transform: rotate(-2.4deg);
  transform-origin: 0 50%;
  clip-path: polygon(0 6%, 7% 0, 15% 5%, 24% 1%, 33% 6%, 45% 0, 56% 4%, 66% 0, 78% 5%, 89% 1%, 100% 7%, 99% 50%, 100% 93%, 90% 99%, 80% 95%, 68% 100%, 57% 95%, 45% 100%, 34% 96%, 22% 100%, 11% 95%, 2% 100%, 1% 52%);
}
.hero__aside {
  margin: 12px 4px 0 auto;
  width: max-content;
  max-width: 100%;
  font-size: 23px;
  line-height: 1.05;
  color: var(--ink);
  text-align: right;
  transform: rotate(-4deg);
}
.hero__aside [data-aside-n] { color: var(--pen-2); font-weight: 700; }
.hero__sub {
  margin: 20px 0 0;
  max-width: 17ch;
  font-size: clamp(30px, 8.6vw, 46px);
  line-height: 1;
  color: var(--ink);
}
.brushed {
  position: relative;
  white-space: nowrap;
  color: var(--pen-2);
  text-decoration-line: underline;
  text-decoration-color: var(--pen-2);
  text-decoration-thickness: .08em;
  text-underline-offset: .14em;
  text-decoration-skip-ink: none;
}

/* Анкета: лист бумаги, приколотый к плакату */
.hero__pick {
  position: relative;
  padding: 22px 18px 22px;
  background: var(--sheet);
  border: 2px solid var(--ink);
  border-radius: 2px;
  box-shadow: var(--print);
  transform: rotate(.6deg);
}
.hero__scratch {
  top: -46px;
  right: -40px;
  width: 190px;
  height: auto;
  opacity: .85;
  transform: rotate(14deg);
  mix-blend-mode: multiply;
}
.hero__q {
  position: relative;
  margin: 0 0 8px;
  font: 700 clamp(24px, 7vw, 32px)/1 var(--display);
  text-transform: uppercase;
  color: var(--ink);
}
.sits { display: grid; gap: 0; }
.sit {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 6px 14px 2px;
  border-bottom: 1.5px dashed var(--line-2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s var(--ease), color .2s;
}
.sit:last-child { border-bottom: 0; }
.sit input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sit__box {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border: 2px solid var(--ink);
  border-radius: 3px 6px 2px 5px;
  background: #fff;
}
.sit__box svg { position: absolute; left: -2px; top: -8px; width: 34px; height: 34px; overflow: visible; }
.sit__box svg path { fill: none; stroke: var(--pen); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.sit__t { font: 500 17px/1.32 var(--sans); color: var(--ink); }
.sit:active { transform: scale(.985); }
.sit.has-focus { outline: 3px solid var(--pen); outline-offset: 2px; }
.sits.has-pick .sit:not(.is-on) .sit__t { color: var(--muted); }
.sit.is-on .sit__t { font-weight: 600; }
.hero__note {
  min-height: 2.1em;
  margin: 12px 0 16px;
  font: 600 23px/1.05 var(--hand);
  color: var(--pen-2);
}
.hero__note.is-writing { animation: pen-write .9s steps(18, end) both; }
@keyframes pen-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero__pick .btn { width: 100%; justify-content: space-between; }
.hero__under {
  position: relative;
  max-width: none;
  margin-top: 26px;
  margin-inline: auto;
  padding: 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ---------- 4. Рваный край, квиз и разбор ---------- */
:root {
  --tear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 18' preserveAspectRatio='none'%3E%3Cpath d='M0 18V9l14-3 8 4 15-6 12 4 9-5 13 6 15-4 11 6 15-5 9 3 17-7 12 5 13-2 8 5 18-6 14 4 11-5 15 6 11-3 16 5 12-6 13 3 16-6 12 5 13-3 14 6 13-4 12 3 16-6 13 5 12-3 15 6 14-5 13 3 15-6 12 4 15-2 12 5 13-4 9 3v9Z'/%3E%3C/svg%3E");
}
.torn-top { position: relative; background: var(--bg, transparent); overflow-x: clip; overflow-y: visible; }
.torn-top::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: 18px;
  z-index: 2;
  pointer-events: none;
  background: var(--edge, var(--bg, var(--paper)));
  -webkit-mask: var(--tear) 0 100% / 520px 18px repeat-x;
  mask: var(--tear) 0 100% / 520px 18px repeat-x;
}

/* Квиз — чёрный плакат, на нём белый лист */
.quiz { --bg: var(--ink); color: var(--sheet); padding: 58px 0 64px; }
.quiz .eyebrow { color: #D3CCC2; }
.quiz .h2 { color: var(--sheet); margin-bottom: 10px; }
.quiz .lead {
  margin: 0;
  max-width: 22ch;
  font: 600 clamp(25px, 7vw, 32px)/1.02 var(--hand);
  color: #EDE7DE;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.quiz__card {
  background: var(--sheet);
  color: var(--ink);
  border-radius: 2px;
  padding: 20px 18px 22px;
  box-shadow: 6px 6px 0 var(--pen);
}
.thread__knots li { font: 500 12px/1 var(--display); letter-spacing: .12em; color: var(--muted); }
.thread__knots li::before { border-radius: 2px; transform: rotate(45deg); box-shadow: inset 0 0 0 2px var(--line-2); }
.thread__knots li.is-current { color: var(--ink); }
.thread__knots li.is-current::before { box-shadow: inset 0 0 0 2.5px var(--pen); }
.thread__knots li.is-done::before { background: var(--pen); box-shadow: inset 0 0 0 2px var(--pen); transform: rotate(45deg) scale(1.1); }
.scene__n {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 7px 4px;
  background: var(--ink);
  color: var(--sheet);
  font: 600 12px/1 var(--display);
  letter-spacing: .14em;
}
.scene__q {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(25px, 7.2vw, 42px);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}
.scene__q .scene__n { display: table; }
.opts { border-top: 2px solid var(--ink); }
.opt {
  grid-template-columns: 28px 1fr;
  column-gap: 12px;
  padding: 15px 8px 15px 2px;
  border-bottom: 1.5px dashed var(--line-2);
  border-radius: 0;
  transition: background-color .2s, transform .14s var(--ease);
}
.opt:active { transform: scale(.985); }
@media (hover: hover) { .opt:hover { background: rgba(215, 38, 30, .05); } }
.opt__l {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 3px 6px 2px 5px;
  font: 600 15px/1 var(--display);
  font-style: normal;
  text-transform: uppercase;
  color: var(--ink);
  transition: background-color .18s, border-color .18s, color .18s;
}
.opt__t { font: 500 17px/1.38 var(--sans); color: var(--ink); }
.opt__note > span { font: 700 23px/1.1 var(--hand); color: var(--pen-2); }
.opt.is-checked .opt__l { background: var(--pen); border-color: var(--pen); color: #fff; animation: stamp .34s var(--ease-back) both; }
.opt.is-checked .opt__t { font-weight: 600; }
.opt.has-focus { box-shadow: 0 0 0 3px var(--pen); }
@keyframes stamp { 0% { transform: scale(.6) rotate(-12deg); } 70% { transform: scale(1.12) rotate(3deg); } 100% { transform: none; } }

.vig { border-radius: 16px; box-shadow: 4px 4px 0 var(--ink), inset 0 0 0 2px var(--ink); }
.vig--profile::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ink); pointer-events: none; }
.vig__bar { font-weight: 600; color: var(--ink-2); }

.quiz__nav {
  margin: 8px -18px -22px;
  padding: 18px 18px calc(16px + env(safe-area-inset-bottom));
  border-radius: 0;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0) 0%, var(--sheet) 36%);
}
.quiz__nav .link { font: 500 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; background: none; border: 0; padding: 10px 4px; cursor: pointer; }
.btn--ink:disabled,
.btn--ink[disabled] { background: #857C73; color: #fff; box-shadow: none; cursor: not-allowed; }
.btn--ink:disabled .btn__chip { background: #5E5650; }
.quiz__done p { color: var(--ink-2); }
.quiz__done .hand { color: var(--pen-2); }
.quiz__done .link { background: none; border: 0; padding: 8px 0; font-size: 16px; cursor: pointer; }

/* Разбор — снова бумага, красные пометки на полях */
.result { --bg: transparent; --edge: var(--paper); padding: 54px 0 72px; }
.result__hand { font: 700 30px/1 var(--hand); color: var(--pen-2); transform: rotate(-2deg); transform-origin: left; }
.result__title { font-size: clamp(40px, 11vw, 84px); line-height: .92; }
.result .lead { color: var(--ink-2); }
.result__case {
  border-radius: 2px;
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink), inset 0 0 0 2px var(--ink);
  text-decoration: none;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.result__case:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink), inset 0 0 0 2px var(--ink); }
.result__case .ava { font: 600 13px/1 var(--display); }
.knot::before { border-radius: 2px; background: var(--pen); }
.knot__tag { font: 600 13px/1.2 var(--display); letter-spacing: .12em; color: var(--ink-2); }
.knot__quote { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 6.2vw, 28px); line-height: 1.12; }
.knot__read { font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.knot__notes li { font: 700 24px/1.1 var(--hand); color: var(--pen-2); }

/* Предложение — чёрный лист с красным оттиском */
.offer {
  background: var(--ink);
  color: var(--sheet);
  border-radius: 2px;
  padding: 24px 20px 22px;
  box-shadow: 6px 6px 0 var(--pen);
}
.offer__hand { font: 700 27px/1 var(--hand); color: var(--pen-light); }
.offer__prod { font: 600 13px/1.2 var(--display); letter-spacing: .14em; color: #D3CCC2; }
.offer__name { font: 700 clamp(34px, 9.6vw, 44px)/.98 var(--display); text-transform: uppercase; color: var(--sheet); }
.offer__meta { font-size: 15px; line-height: 1.45; color: #DDD7CE; }
.why li { font-size: 16px; color: #F3EFE8; }
.why li svg path { stroke: var(--pen-light); }
.offer__price { border-top: 1.5px dashed rgba(251, 250, 247, .35); }
.offer__price b { font: 700 36px/1 var(--display); color: #fff; letter-spacing: .01em; }
.offer__price span { font-size: 15px; line-height: 1.4; color: #E6E0D7; }
.offer .btn--ink { background: var(--pen); color: #fff; box-shadow: 4px 4px 0 var(--sheet); }
.offer .btn--ink:active { box-shadow: 1px 1px 0 var(--sheet); }
.offer .btn--ink .btn__chip { background: var(--ink); }
.offer .link { color: var(--sheet); text-decoration-color: var(--pen-light); }
.offer__doubt { font-size: 15px; line-height: 1.45; color: #DDD7CE; }
.offer__doubt a { color: #fff; text-decoration-color: var(--pen-light); text-underline-offset: 3px; }
.result__foot p { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.result__foot .link { background: none; border: 0; padding: 8px 0; font-size: 16px; cursor: pointer; }

/* ---------- 5. Кейсы и программа ---------- */
:root { --ig: linear-gradient(45deg, var(--ink) 0 34%, var(--pen) 34% 100%); }
.btn--ink:disabled .btn__chip,
.btn--ink[disabled] .btn__chip { background: #5E5650; color: #fff; }

/* Подчёркнутое слово в заголовке — рукой, красным */
.h2 em,
.display em {
  display: inline-block;
  font-family: var(--hand);
  font-style: normal;
  font-weight: 700;
  font-size: 1.14em;
  line-height: .8;
  letter-spacing: 0;
  text-transform: none;
  color: var(--pen);
  transform: rotate(-3deg);
}
.sec-head { margin-bottom: 22px; }
.sec-head .lead { color: var(--ink-2); }

/* Кейсы — газетная бумага, посты как вырезки */
.cases { --bg: rgba(196, 186, 170, .3); --edge: var(--paper-deep); border-top: 0; padding: 62px 0 64px; }
.tray__ring { background: var(--ig); }
.tray__i.is-seen .tray__ring { background: #B3AA9E; }
.tray__ava { font: 600 15px/1 var(--display); letter-spacing: .02em; font-style: normal; color: var(--ink); background: var(--sheet); }
.tray__n { font: 600 12.5px/1.15 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.tray__k { font-size: 12px; color: var(--ink-2); }
.tray__i { -webkit-tap-highlight-color: transparent; }
.tray__i:active .tray__ring { transform: scale(.92); }
.post {
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--sheet);
  box-shadow: 6px 6px 0 var(--ink);
}
.post__ava { font: 600 14px/1 var(--display); font-style: normal; background: var(--ink); color: #fff; }
.post__who b { font-weight: 700; }
.post__who small { color: var(--ink-2); }
.slide__chip {
  border-radius: 1px;
  background: var(--ink);
  color: #fff;
  font: 600 12px/1 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: none;
}
.slide[data-saw] .slide__chip { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.slide[data-now] .slide__chip { background: var(--pen); }
.slide__cap { font-size: 16.5px; line-height: 1.42; color: var(--ink); }
.slide__cap--s { font-size: 15px; color: var(--ink-2); }
.ill { font-size: 12.5px; color: var(--ink-2); }
.dots i.is-on { background: var(--pen); }
.post__src { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.post__src a { color: var(--ink); text-decoration-color: var(--pen); text-underline-offset: 2px; }
.cases__more { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

/* Программа — плакат: красный лист, отпечатанный на нём мегафон */
.program { --bg: transparent; --edge: var(--paper); border-top: 0; padding: 62px 0 64px; }
.program__title {
  margin: 6px 0 20px;
  font-size: clamp(46px, 15.2vw, 128px);
  line-height: .86;
  letter-spacing: -.02em;
  color: var(--ink);
  text-shadow: .05em .05em 0 var(--pen);
}
.program__row {
  display: grid;
  grid-template-columns: minmax(118px, 42%) 1fr;
  align-items: center;
  gap: 20px;
  margin: 0 0 22px;
}
.mega { position: relative; margin: 0; aspect-ratio: 1086 / 1448; isolation: isolate; filter: drop-shadow(3px 4px 0 rgba(20, 18, 16, .28)); }
.mega__paper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-4deg);
}
/* ч/б фото мегафона — рваная вклейка поверх красного листа */
.mega__img {
  position: absolute;
  left: -7%;
  top: 30%;
  width: 116%;
  max-width: none;
  height: auto;
  transform: rotate(-9deg);
  clip-path: polygon(2% 9%, 12% 3%, 23% 8%, 35% 1%, 47% 6%, 60% 2%, 73% 7%, 86% 2%, 98% 7%, 95% 30%, 100% 52%, 96% 75%, 99% 95%, 86% 99%, 72% 94%, 58% 99%, 44% 94%, 30% 100%, 17% 95%, 4% 99%, 1% 76%, 4% 52%, 0 30%);
}
.program__sub {
  margin: 0;
  font: 700 clamp(22px, 6.6vw, 40px)/1.02 var(--display);
  font-style: normal;
  text-transform: uppercase;
  color: var(--ink);
}
.program__lead { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 32em; }
.prof {
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 6px 6px 0 var(--ink);
}
/* после прозрачной «Пропаганды» рваный край не нужен — секцию отбивает штриховка */
.irina.torn-top::before { content: none; }
.prof__cat { color: var(--ink-2); }
.prof__bio { font-size: 14.5px; line-height: 1.45; }
.igbtn--pri { background: var(--ink); color: #fff; }
.igbtn { -webkit-tap-highlight-color: transparent; transition: transform .12s var(--ease); }
.igbtn:active { transform: scale(.96); }
.hl__b { -webkit-tap-highlight-color: transparent; }
.hl__b:active .hl__ring { transform: scale(.92); }
.tile--not s { font: 600 17px/1.15 var(--display); font-style: normal; text-transform: uppercase; letter-spacing: .02em; }
.tile--price { background: var(--pen); color: #fff; }
.tile--price b { font: 700 19px/1.1 var(--display); letter-spacing: .01em; }
.tile__k { font-size: 12px; opacity: 1; }
.prof__tap { color: var(--pen-2); }
.program__cta { margin-top: 36px; }

/* ---------- 6. Тарифы ---------- */
.pay-head { position: relative; padding: 22px 0 6px; }
.pay-head .eyebrow { color: var(--ink-2); }
.pay-head__title { margin: 8px 0 24px; font-size: clamp(42px, 12vw, 92px); line-height: .9; }
.pay-head__strip {
  display: inline-block;
  margin: .1em 0 0 -.08em;
  padding: .15em .26em .1em;
  color: var(--sheet);
  background: var(--pen) url("../assets/torn-red.png") center / cover;
  transform: rotate(-1.8deg);
  transform-origin: 0 50%;
  clip-path: polygon(0 6%, 7% 0, 15% 5%, 24% 1%, 33% 6%, 45% 0, 56% 4%, 66% 0, 78% 5%, 89% 1%, 100% 7%, 99% 50%, 100% 93%, 90% 99%, 80% 95%, 68% 100%, 57% 95%, 45% 100%, 34% 96%, 22% 100%, 11% 95%, 2% 100%, 1% 52%);
}
.inote { gap: 12px; }
.inote__ava { filter: grayscale(1) contrast(1.08); box-shadow: 0 0 0 2px var(--sheet), 0 0 0 4px var(--pen); }
.inote__bubble { border-radius: 2px 14px 14px 2px; background: var(--sheet); box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--ink); }
.inote__name { font: 600 12.5px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--pen-2); }
.inote__text { font-size: 16px; line-height: 1.45; color: var(--ink); }
.inote__text a { color: var(--pen-2); }
.inote__typing i { background: var(--ink); }

/* Тарифы — купоны: пунктир «вырежи», выбранный — отпечатан */
.plans > .label { margin-bottom: 6px; padding: 0; }
.plan {
  border-radius: 2px;
  background: rgba(251, 250, 247, .62);
  box-shadow: none;
  outline: 2px dashed rgba(20, 18, 16, .38);
  outline-offset: -2px;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s var(--ease), box-shadow .2s, background-color .2s;
}
.plan:active { transform: scale(.985); }
.plan.is-checked { background: var(--sheet); outline: 2.5px solid var(--ink); box-shadow: 6px 6px 0 var(--pen); }
.plan.has-focus { outline: 3px solid var(--pen); outline-offset: 3px; }
.plan__k { font: 600 12.5px/1.2 var(--display); letter-spacing: .12em; color: var(--ink-2); }
.plan__box { border-radius: 3px 6px 2px 5px; box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.plan.is-checked .plan__box { box-shadow: inset 0 0 0 2px var(--ink); }
.plan__name { font: 700 clamp(28px, 8.2vw, 38px)/1 var(--display); text-transform: uppercase; letter-spacing: 0; }
.plan--soft { background: transparent; }
.plan--soft .plan__name { font-size: clamp(24px, 7vw, 30px); }
.plan--soft.is-checked { background: var(--sheet); box-shadow: 6px 6px 0 var(--ink); }
.plan__line { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.plan__plus { font: 700 23px/1.1 var(--hand); color: var(--pen-2); }
.plan__inc span { font-size: 15px; line-height: 1.35; color: var(--ink); }
.plan__inc span::before { width: 7px; height: 7px; border-radius: 0; background: var(--pen); transform: translateY(-2px) rotate(45deg); }
.plan__bottom { margin-top: 8px; }
.plan__price { font: 700 32px/1 var(--display); letter-spacing: .01em; color: var(--ink); }
.plan__price--s { font-size: 21px; }
.plan__sub { font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }
.plan__rec { padding: 3px 8px 2px; background: var(--pen); color: #fff; font: 700 21px/1 var(--hand); box-shadow: 2px 2px 0 var(--ink); }
.leo {
  height: auto;
  padding: 5px 8px 4px;
  border-radius: 1px;
  background: var(--pen);
  color: #fff;
  font: 700 15px/1 var(--display);
  letter-spacing: .08em;
  text-shadow: none;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-4deg);
}

/* Оплата: целиком / частями */
.paymode .label { display: block; margin: 0 0 10px; }
.seg { padding: 4px; border-radius: 2px; background: var(--sheet); box-shadow: inset 0 0 0 2px var(--ink); }
.seg__opt {
  height: 50px;
  border-radius: 0;
  font: 600 15px/1 var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.seg__opt.is-checked { color: #fff; }
.seg__thumb { top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 1px; background: var(--ink); box-shadow: 3px 3px 0 var(--pen); }
.paymode__text { font-size: 15.5px; line-height: 1.5; color: var(--ink); }

/* Чек: белая лента с чёрным оттиском */
.receipt { filter: drop-shadow(5px 5px 0 var(--ink)); }
.receipt__paper { border-radius: 0; background: var(--sheet); padding: 24px 20px 36px; }
.receipt__title { font: 700 30px/1 var(--display); text-transform: uppercase; }
.receipt__stamp {
  display: inline-block;
  margin: 8px 0 16px;
  padding: 5px 8px 4px;
  border: 2px solid currentColor;
  border-radius: 2px;
  color: var(--pen-2);
  font: 600 13px/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}
.rrows { border-top: 1.5px dashed var(--line-2); }
.rrow { font-size: 15px; }
.rrow dt { color: var(--ink-2); }
.rrow dd { color: var(--ink); }
.rtotal { border-top: 2px solid var(--ink); }
.rtotal span { font: 600 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.rtotal b { font: 700 36px/1 var(--display); letter-spacing: .01em; }
.rtotal b small { font: 500 14px/1.35 var(--sans); letter-spacing: 0; color: var(--ink-2); }
.receipt__hand { font: 700 23px/1 var(--hand); color: var(--pen-2); }
.receipt__fine { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.btn--block { width: 100%; justify-content: space-between; }
.paybar { border-radius: 2px; padding: 7px 7px 7px 16px; background: var(--ink); box-shadow: 4px 4px 0 var(--pen); }
.paybar__name { font: 600 12.5px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; opacity: 1; color: #D3CCC2; }
.paybar__price { font: 700 19px/1.15 var(--display); color: #fff; }
.paybar .btn { min-height: 46px; padding: 0 18px; font-size: 16px; background: var(--pen); color: #fff; box-shadow: none; }

/* Гарантия — чёрная плашка */
.guarantee__card { border-radius: 2px; padding: 22px 20px 10px; background: var(--ink); color: #EDE7DE; box-shadow: 6px 6px 0 var(--pen); }
.guarantee__big { font: 700 64px/.9 var(--display); letter-spacing: -.01em; color: var(--pen-light); }
.guarantee__card .label { color: #fff; font-size: 14px; }
.guarantee__card p { font-size: 16px; line-height: 1.5; color: #E6E0D7; }
.guarantee__card p b { color: #fff; }
.guarantee__card .qa { border-top: 1.5px dashed rgba(251, 250, 247, .32); border-bottom: 0; }
.guarantee__card .qa summary { color: #fff; font-size: 17px; }
.guarantee__card .qa summary::after {
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--sheet);
}
.guarantee__card .qa__a { font-size: 15px; line-height: 1.5; color: #E6E0D7; }

/* Вопросы — общие для обеих страниц */
.qa { border-bottom: 1.5px solid var(--ink); }
.qa summary { font: 600 19px/1.25 var(--display); letter-spacing: .01em; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.qa summary:active { color: var(--pen-2); }
.qa summary::after {
  border-radius: 2px;
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
    var(--ink);
}
.qa[open] summary::after { background-color: var(--pen); }
.qa__a { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------- 7. Ирина, вопросы, финал, подвал ---------- */
/* Ирина — досье без фото: лист, скотч, штамп */
.irina { --bg: transparent; --edge: var(--paper); border-top: 0; padding: 62px 0 68px; }
.irina__hatch { top: 0; left: -34%; width: 125%; height: auto; opacity: .26; mix-blend-mode: multiply; transform: rotate(7deg); }
.irina__grid { position: relative; display: grid; gap: 28px; }
.irina__aka { margin: 6px 0 2px; font-size: 29px; line-height: 1; color: var(--pen-2); transform: rotate(-2deg); transform-origin: left; }
.irina .h2 { margin: 0; font-size: clamp(48px, 14.5vw, 112px); line-height: .88; }
.dossier {
  position: relative;
  padding: 26px 18px 14px;
  background: var(--sheet);
  outline: 2px solid var(--ink);
  outline-offset: -2px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-.7deg);
}
.dossier__clip {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 96px;
  height: 26px;
  margin-left: -48px;
  background: rgba(236, 229, 216, .9);
  box-shadow: 0 1px 2px rgba(20, 18, 16, .18);
  transform: rotate(-4deg);
  clip-path: polygon(0 10%, 4% 0, 9% 12%, 14% 0, 86% 0, 91% 14%, 96% 0, 100% 12%, 100% 88%, 95% 100%, 90% 86%, 85% 100%, 15% 100%, 10% 88%, 5% 100%, 0 90%);
}
.dossier__h {
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font: 700 34px/1 var(--display);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.stamp {
  display: inline-block;
  padding: 6px 10px 5px;
  border: 3px solid currentColor;
  border-radius: 3px;
  color: var(--pen);
  font: 700 15px/1 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
  mix-blend-mode: multiply;
}
.dossier__stamp { position: absolute; top: 22px; right: 14px; transform: rotate(-11deg); }
.dossier__rows { display: grid; margin: 0; }
.dossier__rows > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1.5px dashed var(--line-2); }
.dossier__rows > div:last-child { border-bottom: 0; }
.dossier__rows dt { padding-top: 3px; font: 600 13px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.dossier__rows dd { margin: 0; font-size: 16.5px; line-height: 1.4; color: var(--ink); }
.irina__quote { margin: 0 0 22px; padding: 20px 18px 18px; border-radius: 2px; background: var(--ink); color: #F3EFE8; box-shadow: 5px 5px 0 var(--pen); }
.irina__quote p { font-size: 18px; line-height: 1.5; color: #F3EFE8; }
.irina__quote cite { font: 600 13px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #D3CCC2; }
.irina__hand { font-size: 34px; color: var(--pen-2); }
.irina__links { gap: 6px 24px; }
.irina__links .link { font-size: 16px; }

/* Вопросы на главной */
.faq { --bg: rgba(196, 186, 170, .3); --edge: var(--paper-deep); border-top: 0; padding: 62px 0 66px; }
.faq__side { min-width: 0; container-type: inline-size; }
.faq__side .h2 { font-size: clamp(34px, 4.4vw, 44px); max-inline-size: 100%; text-wrap: wrap; }
@supports (font-size: 1cqi) {
  .faq__side .h2 { font-size: clamp(34px, 13cqi, 84px); }
}
.faq__word { white-space: nowrap; }
.faq__doubt { font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }

/* Финал — конец ленты, как в инстаграме: «Ты всё посмотрела».
   Заголовок первого экрана возвращается без «не»: «Тебя видно. И не только маме».
   Ниже — лента сторис, где первая «твоя история» (её обводит красная ручка),
   и два пути: выбрать услугу или написать в личку. Фон — та же бумага, что на первом экране */
.final {
  --bg: transparent;
  --edge: var(--paper);
  border-top: 0;
  padding: 46px 0 76px;
}
.final__hatch {
  top: 150px;
  left: -36%;
  width: 130%;
  height: auto;
  opacity: .24;
  mix-blend-mode: multiply;
  transform: rotate(7deg);
}
.final__grid { position: relative; display: grid; }

/* «Ты всё посмотрела» — отметка конца ленты */
.final__end {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 30px;
  text-align: center;
}
.final__end::before,
.final__end::after { content: ""; grid-row: 1; border-top: 1.5px dashed var(--line-2); }
.final__end::before { grid-column: 1; }
.final__end::after { grid-column: 3; }
.final__check { grid-column: 2; grid-row: 1; position: relative; width: 50px; height: 50px; }
.final__check::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ig);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
}
.final__check svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.final__check path {
  fill: none;
  stroke: var(--pen);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 32;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .7s cubic-bezier(.5, .06, .3, 1) .2s;
}
.js .final__end:not(.is-in) .final__check path { stroke-dashoffset: 32; }
.final__end p { grid-column: 1 / -1; display: grid; gap: 2px; margin: 0; }
.final__end b { font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.final__end p span { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }

/* Заголовок: те же «Тебя» и рваная красная полоса, что на первом экране.
   Отступы посчитаны под метрики Oswald: хвост «Д» остаётся внутри полосы,
   а наклонённая полоса не задевает «Тебя» и ничего под собой */
.final__head { position: relative; min-width: 0; }
.final__title { margin: 0; font-size: 1em; line-height: .84; }
.final__l1 {
  display: block;
  font-size: clamp(108px, 40vw, 270px);
  letter-spacing: -.02em;
  color: var(--ink);
}
.final__l2 {
  display: inline-block;
  margin: .34em 0 0 -.08em;
  padding: .06em .3em .24em;
  font-size: clamp(48px, 16vw, 112px);
  line-height: 1;
  letter-spacing: .005em;
  color: var(--sheet);
  background: var(--pen) url("../assets/torn-red.png") center / cover;
  transform: rotate(-1.6deg);
  transform-origin: 0 50%;
  clip-path: polygon(0 6%, 7% 0, 15% 5%, 24% 1%, 33% 6%, 45% 0, 56% 4%, 66% 0, 78% 5%, 89% 1%, 100% 7%, 99% 50%, 100% 93%, 90% 99%, 80% 95%, 68% 100%, 57% 95%, 45% 100%, 34% 96%, 22% 100%, 11% 95%, 2% 100%, 1% 52%);
}
/* «не» с первого экрана один раз отрывается от полосы, когда финал появляется на экране.
   Без скрипта, при reduced motion и в #still его нет сразу: «Тебя видно.» */
.final__title .pen-svg path { stroke: var(--ink); stroke-width: 6; }
.final__title { position: relative; }
.final__ne { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.still) .final__ne:not(.is-gone) { display: inline; }
}
/* оторванный клочок: копия полосы, обрезанная по линии отрыва */
.final__tear { position: absolute; z-index: 1; margin: 0; pointer-events: none; }
.final__aside {
  margin: 14px 4px 0 auto;
  width: max-content;
  max-width: 100%;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  text-align: right;
  transform: rotate(-4deg);
}
.final__aside span { color: var(--pen-2); }

/* Карточка: лента сторис, первая в ней — твоя; дальше два пути */
.final__card {
  position: relative;
  min-width: 0;
  margin-top: 34px;
  padding: 6px 18px 20px;
  background: var(--sheet);
  border: 2px solid var(--ink);
  border-radius: 2px;
  box-shadow: 6px 6px 0 var(--pen);
  transform: rotate(-.5deg);
}
.fst {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 0 -18px;
  padding: 14px 18px 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 96px), transparent calc(100% - 8px));
  mask-image: linear-gradient(90deg, #000 calc(100% - 96px), transparent calc(100% - 8px));
}
.fst__i { flex: none; display: grid; justify-items: center; gap: 7px; width: 62px; }
.fst__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 2.5px;
  border-radius: 50%;
  background: #B3AA9E;
}
.fst__ava {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 3px solid var(--sheet);
  border-radius: 50%;
  background: var(--paper-deep);
  font: 600 14px/1 var(--display);
  letter-spacing: .02em;
  color: var(--ink-2);
}
.fst__n {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 11.5px/1.15 var(--display);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.fst__i--me { width: 88px; gap: 14px; }
.fst__i--me .fst__ring { width: 72px; height: 72px; padding: 0; background: none; }
.fst__i--me .fst__ava {
  padding-bottom: 5px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font: 700 32px/1 var(--hand);
  letter-spacing: 0;
  color: var(--ink);
}
.fst__i--me .fst__n { font-weight: 700; color: var(--ink); }
.fst__plus {
  position: absolute;
  right: -3px;
  bottom: -3px;
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pen);
  box-shadow: 0 0 0 3px var(--sheet);
  transition: transform .45s var(--ease-back);
}
.fst__plus::before,
.fst__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2.6px;
  margin: -1.3px 0 0 -6px;
  border-radius: 2px;
  background: #fff;
}
.fst__plus::after { transform: rotate(90deg); }
/* плюс появляется, когда ручка закончила обводить кружок */
.js .final__card:not(.is-drawn) .fst__plus { transform: scale(0); }
.fst .pen-svg path { stroke-width: 3.2; }
html:not(.js) .fst__i--me .fst__ring { box-shadow: 0 0 0 5px var(--sheet), 0 0 0 8px var(--pen); }

.final__q {
  margin: 0 0 10px;
  padding-top: 18px;
  border-top: 1.5px dashed var(--line-2);
  font: 700 clamp(27px, 7.6vw, 36px)/1 var(--display);
  text-transform: uppercase;
  color: var(--ink);
}
.final__lead { margin: 0 0 16px; max-width: 36ch; font-size: 16.5px; line-height: 1.45; color: var(--ink-2); }
/* старт программы — как стикер обратного отсчёта */
.final__start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 22px;
  padding: 11px 14px 12px;
  border-radius: 12px;
  background: var(--paper);
}
.final__start-k { flex-basis: 100%; font: 600 12.5px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.final__start b { font: 700 25px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.final__start-c {
  display: inline-block;
  padding: 5px 8px 4px;
  background: var(--pen);
  color: #fff;
  font: 600 13px/1 var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.final__start-c:empty { display: none; }
.final__actions { display: grid; gap: 14px; }
.final__actions .btn { width: 100%; justify-content: space-between; }
.final__actions .btn .i { width: 22px; height: 22px; stroke-width: 2; }
.final__note { margin: 18px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

@media (max-width: 380px) {
  .final__card { padding: 4px 14px 18px; }
  .fst { margin-inline: -14px; padding-inline: 14px; }
  .final__aside { font-size: 25px; }
  .final__title .pen-svg path { stroke-width: 5; }
}
@media (min-width: 720px) {
  .final__card { max-width: 560px; padding: 8px 26px 26px; }
  .fst { margin-inline: -26px; padding-inline: 26px; }
  .final__aside { font-size: 32px; }
  .final__title .pen-svg path { stroke-width: 8; }
}
@media (min-width: 1000px) {
  .final { padding: 70px 0 110px; }
  .final__hatch { top: 120px; left: -12%; width: 74%; }
  .final__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); column-gap: 56px; align-items: center; }
  .final__end { grid-column: 1 / -1; margin-bottom: 44px; }
  .final__l1 { font-size: clamp(150px, 19vw, 270px); }
  .final__l2 { font-size: clamp(72px, 8.6vw, 116px); }
  .final__title .pen-svg path { stroke-width: 9; }
  .final__aside { margin-top: 18px; font-size: 36px; }
  .final__card { max-width: none; margin-top: 0; padding: 8px 30px 28px; }
  .fst { margin-inline: -30px; padding-inline: 30px; }
}

/* Подвал — чёрный, рваный край сверху; мелкий текст светлый и крупнее */
.footer { --bg: var(--ink); border-top: 0; padding: 44px 0 calc(48px + env(safe-area-inset-bottom)); font-size: 15px; color: #D3CCC2; }
.footer .brand__i { background: var(--sheet); color: var(--ink); }
.footer .brand__p { color: var(--pen-light); }
.footer__nav { gap: 10px 22px; }
.footer__nav a {
  color: #fff;
  font: 500 15px/1.3 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--pen);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.footer__nav a:hover { color: var(--pen-light); }
.footer__legal { font-size: 13.5px; line-height: 1.6; color: #CFC8BE; }
.footer__legal a { color: #fff; text-decoration-color: var(--pen-light); }

/* ---------- 8. Адаптив и мелочи ---------- */
.btn { max-width: 100%; text-align: left; }
.btn__chip { flex: none; white-space: nowrap; }
.btn--ink .btn__chip { background: var(--pen); color: #fff; }
@media (hover: hover) {
  .btn--ink:hover,
  .btn--paper:hover { transform: translate(-1px, -1px); }
  .plan:hover { box-shadow: 4px 4px 0 var(--line-2); }
  .plan.is-checked:hover { box-shadow: 6px 6px 0 var(--pen); }
}

/* Узкие телефоны 320–380 */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .btn { gap: 8px; min-height: 52px; padding: 12px 12px 12px 16px; font-size: 16px; }
  .btn__chip { font-size: 12px; padding: 5px 6px 4px; }
  .hero .kicker { font-size: 12px; letter-spacing: .1em; }
  .hero__pick { padding: 20px 14px; }
  .sit { gap: 12px; }
  .sit__t, .opt__t { font-size: 16px; }
  .quiz__card { padding: 18px 14px 20px; }
  .quiz__nav { margin: 8px -14px -20px; padding: 16px 14px calc(14px + env(safe-area-inset-bottom)); }
  .offer { padding: 22px 16px 20px; }
  .offer__price b { font-size: 32px; }
  .program__row { gap: 14px; }
  .plan__inc { grid-template-columns: 1fr; }
  .plan__price { font-size: 29px; }
  .rtotal b { font-size: 31px; }
  .receipt__paper { padding: 22px 16px 34px; }
  .dossier__rows > div { grid-template-columns: 1fr; gap: 2px; }
  .guarantee__big { font-size: 54px; }
}

@media (min-width: 720px) {
  .hero__pick { max-width: 560px; padding: 26px 26px 24px; }
  .hero__aside { font-size: 27px; }
  .quiz__card { padding: 28px 32px 28px; }
  .quiz__nav { margin: 8px -32px -28px; padding: 18px 32px 24px; }
  .opt__t { font-size: 18px; }
  .guarantee__card { padding: 28px 32px 14px; }
  .dossier { padding: 30px 26px 18px; }
}

@media (min-width: 1000px) {
  /* старая сетка обложки отключена: новая — две колонки внутри .wrap */
  .hero { display: block; padding: 34px 0 64px; }
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
  .hero__l1 { font-size: clamp(150px, 19vw, 270px); }
  .hero__l2 { font-size: clamp(72px, 8.6vw, 116px); }
  .hero__hatch { top: -20px; right: -12%; width: 74%; }
  .hero__pick { max-width: none; padding: 30px 30px 28px; }
  .hero__under { margin-top: 40px; }
  .hero__sub { font-size: 48px; }

  .quiz { padding: 76px 0 84px; }
  .quiz__card { padding: 36px 44px 34px; }
  .quiz__nav { position: static; margin: 22px 0 0; padding: 0 4px; background: none; }
  .offer { padding: 32px 30px 28px; }

  .program__title { font-size: min(112px, (min(100vw - 64px, 1180px) - 534px) / 5.4); }
  .program__row { grid-template-columns: minmax(150px, 38%) 1fr; gap: 28px; }

  .irina__grid { gap: 28px 64px; }
  .irina__head,
  .irina__more { grid-column: 1; }
  .dossier { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

  .pay-head { padding-top: 48px; }
}

/* ---------- 9. Правки после проверки на телефоне ---------- */
/* Шапка: кнопка не ломается в две строки и не распирает 320 px */
.pill { flex: none; white-space: nowrap; }
main { overflow-x: clip; }
.plans { gap: 18px; }
.dossier { outline: 0; border: 2px solid var(--ink); }
.tile { padding: 8px 6px; }
.tile--price b { font-size: clamp(14px, 4.2vw, 19px); }
.footer__nav a { font-size: 16px; letter-spacing: .02em; text-transform: none; }

/* Остатки старой пастели — в бумагу, чёрный и красный */
.post[data-post] { --sbg: #EFEAE2; }
.tile--bible { background: var(--paper-deep); }
.hl__cov--ink { background: var(--ink); color: #fff; font: 600 16px/1 var(--display); }
.hl__cov--butter { background: var(--sheet); color: var(--pen-2); font: 700 16px/1 var(--display); box-shadow: inset 0 0 0 2px var(--ink); }
.hl__cov--book { background: var(--paper-deep); }
.hl__cov--book i { background: var(--pen); box-shadow: 3px 2px 0 -1px #fff, 5px 4px 0 -2px var(--ink); }
.sto__s.is-live[data-bg="blush"],
.sto__s.is-live[data-bg="ink"] { background: var(--grain), #E1DBD1; }
.sto__s.is-live[data-bg="butter"] { background: var(--grain), var(--sheet); }
.sto__s.is-live[data-bg="pen"] { color: #fff; background: var(--grain), var(--pen); }

@media (max-width: 380px) {
  .topbar { gap: 10px; }
  .brand__i { font-size: 17px; padding: 4px 6px 3px; }
  .brand__p { font-size: 20px; }
  .pill { min-height: 36px; padding: 8px 10px 7px; font-size: 13px; letter-spacing: .05em; }
  .plan__price--s { font-size: 21px; }
}
/* @end */

/* ---------- 10. Стабильность прокрутки, жестов и переносов ---------- */
html {
  scroll-padding-top: calc(var(--top) + 16px);
}

.topbar {
  height: auto;
  min-height: 60px;
  padding-top: env(safe-area-inset-top);
}

@media (min-width: 720px) {
  .topbar { min-height: 68px; }
}
img,
.decor,
[data-tray],
.hl,
.posts,
[data-sv] a {
  -webkit-user-drag: none;
  user-drag: none;
}

.pen-underline {
  --pen-underline-w: 3px;
  text-decoration-line: underline;
  text-decoration-color: var(--pen);
  text-decoration-thickness: var(--pen-underline-w);
  text-underline-offset: .16em;
  text-decoration-skip-ink: none;
}

.tray,
.hl,
.slides {
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.tray {
  overflow-y: clip;
}

.tray > *,
.hl > *,
.slides > * {
  -webkit-user-select: none;
  user-select: none;
}

.slides {
  scroll-padding-inline: 0;
}

html:has(body.page-tarify) { background: var(--ink); }

@media (max-width: 999px) {
  body.page-tarify .footer {
    padding-bottom: calc(48px + 86px + env(safe-area-inset-bottom));
  }

  .paybar:not(.is-shown) {
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- 11. Витрина услуг: пять равных окон инстаграма ----------
   Каждое окно — мини-экран приложения (актуальное, директ, профиль, лента, сторис),
   под ним название, цена и переход на tarify.html?plan=…
   Мини-экраны размечены в cqi: на любой ширине это уменьшенная копия, а не перекомпоновка */
.svc { --bg: transparent; --edge: var(--paper); border-top: 0; padding: 62px 0 70px; }
.svc__head { margin: 0 0 26px; }
.svc__title { margin: 0 0 14px; }
.svc__lead { margin: 0; max-width: 30em; }

.svc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; align-items: stretch; }

.win {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--sheet);
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.win:has(.win__link:active) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.win:has(.win__link:focus-visible) { outline: 3px solid var(--pen); outline-offset: 3px; }
.win__link:focus-visible { outline: 0; }
.win__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 8px 10px 7px;
  border-bottom: 2px solid var(--ink);
  font: 600 12px/1.2 var(--ui-font);
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win__scr { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--paper); container-type: inline-size; }
.win__cap { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 12px 12px 12px; }
.win__name { margin: 0; font: 700 clamp(17px, 5vw, 22px)/1 var(--display); letter-spacing: .005em; text-transform: uppercase; overflow-wrap: break-word; }
.win__link { color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.win__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.win__line { margin: 0; font-size: 14px; line-height: 1.38; color: var(--ink-2); text-wrap: pretty; }
.win__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: auto 0 0; padding-top: 10px; border-top: 1.5px dashed var(--line-2); }
.win__price { font: 700 clamp(19px, 6vw, 26px)/1 var(--display); letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.win__go { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 2px; background: var(--ink); color: #fff; box-shadow: 2px 2px 0 var(--pen); transition: background-color .2s; }
.win__go .i { width: 18px; height: 18px; stroke-width: 2.4; }
.win__more {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  margin: 2px 0 0;
  padding: 6px 6px 6px 10px;
  border: 0;
  border-radius: 2px;
  background: var(--paper-deep);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  font: 600 13px/1.1 var(--display);
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.win__more .i { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .25s var(--ease); }
.win__more[aria-expanded="true"] { background: var(--ink); color: #fff; }
.win__more[aria-expanded="true"] .i { transform: rotate(90deg); }
html:not(.js) .win__more { display: none; }
@media (hover: hover) {
  .win:has(.win__link:hover) { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
  .win:has(.win__link:hover) .win__go { background: var(--pen); box-shadow: 2px 2px 0 var(--ink); }
  .win__more:hover { background: var(--ink); color: #fff; }
}

/* мини-экраны */
.scr { position: absolute; inset: 0; }
.scr__note {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: .4cqi 2.6cqi .9cqi;
  background: var(--sheet);
  color: var(--pen-2);
  font: 700 16px/1 var(--hand);
  font-size: 11cqi;
  white-space: nowrap;
  transform: rotate(-5deg);
  box-shadow: 1.2cqi 1.2cqi 0 rgba(20, 18, 16, .2);
}

/* Архетипы: кружки «Актуального», один — обведён ручкой */
.scr__rings {
  position: absolute;
  inset: 7cqi 9cqi 27cqi;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9cqi 8cqi;
  align-content: center;
  justify-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scr__rings li { position: relative; display: grid; justify-items: center; gap: 4cqi; --sil: #A79D90; }
.scr__rings li::after { content: ""; width: 24cqi; height: 3.2cqi; border-radius: 2cqi; background: rgba(20, 18, 16, .14); }
.scr__rings i {
  display: block;
  width: 33cqi;
  height: 33cqi;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, var(--sil) 0 16%, transparent 16.5%),
    radial-gradient(62% 40% at 50% 100%, var(--sil) 0 98%, transparent 100%),
    var(--paper-deep);
  box-shadow: 0 0 0 1.4cqi var(--paper), 0 0 0 2.6cqi #BDB4A8;
}
.scr__rings .is-me { --sil: var(--ink); }
.scr__rings .is-me i { background-color: var(--sheet); box-shadow: 0 0 0 1.4cqi var(--paper), 0 0 0 3.2cqi var(--ink); }
.scr__rings .is-me::after { background: var(--ink); }
.scr__rings .is-me::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -7cqi;
  top: -7cqi;
  width: 47cqi;
  height: 47cqi;
  border: 1cqi solid var(--pen);
  border-radius: 46% 54% 42% 58% / 56% 44% 56% 44%;
  transform: rotate(-12deg);
}
.scr--roles .scr__note { left: 9cqi; bottom: 6cqi; }

/* Консультация: директ */
.scr--dm { display: flex; flex-direction: column; gap: 4cqi; padding: 7cqi; background: #fff; }
.scr__who { display: flex; align-items: center; gap: 3.5cqi; margin: 0 0 2cqi; padding-bottom: 5cqi; border-bottom: 1px solid var(--line); font-size: 6.6cqi; line-height: 1.2; }
.scr__who i { display: grid; place-items: center; flex: none; width: 13cqi; height: 13cqi; border-radius: 50%; background: var(--pen); color: #fff; font: 700 6.6cqi/1 var(--display); font-style: normal; }
.scr__who b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr__msg { max-width: 84%; margin: 0; padding: 4cqi 5.4cqi; border-radius: 8cqi; font-size: 7cqi; line-height: 1.3; }
.scr__msg--out { align-self: flex-end; background: var(--ink); color: var(--sheet); border-bottom-right-radius: 2.4cqi; }
.scr__msg--in { align-self: flex-start; background: #ECE7DF; color: var(--ink); border-bottom-left-radius: 2.4cqi; }
.scr__typing { align-self: flex-start; display: inline-flex; gap: 2cqi; margin: 0; padding: 4.6cqi 5.4cqi; border-radius: 8cqi; background: #ECE7DF; }
.scr__typing i { width: 2.8cqi; height: 2.8cqi; border-radius: 50%; background: var(--muted); animation: blink 1.1s infinite ease-in-out; }
.scr__typing i:nth-child(2) { animation-delay: .15s; }
.scr__typing i:nth-child(3) { animation-delay: .3s; }

/* Аудит: профиль под лупой */
.scr--grid { display: flex; flex-direction: column; background: #fff; }
.scr__ph { display: flex; align-items: center; gap: 4.5cqi; margin: 0; padding: 7cqi 7cqi 0; }
.scr__ph i { flex: none; width: 17cqi; height: 17cqi; border-radius: 50%; background: var(--paper-deep); box-shadow: 0 0 0 1.2cqi #fff, 0 0 0 2.4cqi var(--ink); }
.scr__ph span { flex: 1; display: grid; gap: 2.6cqi; }
.scr__ph b { display: block; height: 3.4cqi; border-radius: 2cqi; background: rgba(20, 18, 16, .16); }
.scr__ph b + b { width: 62%; }
.scr__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: auto 0 0; padding: 0; list-style: none; }
.scr__tiles li { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-deep); }
.scr__tiles img, .scr__posts img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.scr__loupe {
  position: absolute;
  z-index: 2;
  left: 29cqi;
  top: 43cqi;
  width: 42cqi;
  height: 42cqi;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 2.4cqi var(--ink), 0 0 0 1.2cqi #fff, 1.6cqi 1.6cqi 0 1.2cqi rgba(20, 18, 16, .25);
}
.scr__loupe::after { content: ""; position: absolute; left: 82%; top: 82%; width: 20cqi; height: 5cqi; border-radius: 2cqi; background: var(--ink); transform: rotate(45deg); transform-origin: 0 50%; }
.scr--grid .scr__note { left: 5cqi; bottom: 6cqi; }

/* Драматургия: три поста на одной красной нитке */
.scr--thread { background: var(--paper); }
.scr__posts { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.scr__posts li { position: absolute; width: 38cqi; height: 38cqi; overflow: hidden; background: var(--paper-deep); box-shadow: 0 0 0 1.4cqi #fff, 1.8cqi 1.8cqi 0 1.4cqi rgba(20, 18, 16, .2); }
.scr__posts li:nth-child(1) { left: 7cqi; top: 5cqi; transform: rotate(-3deg); }
.scr__posts li:nth-child(2) { left: 55cqi; top: 41cqi; transform: rotate(2.5deg); }
.scr__posts li:nth-child(3) { left: 7cqi; top: 80cqi; transform: rotate(-2deg); }
.scr__line { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }
.scr__line path { fill: none; stroke: var(--pen); stroke-width: 2.6px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.scr--thread .scr__note { right: 4cqi; bottom: 11cqi; }

/* Пропаганда: сторис — красный лист и вклейка мегафона */
.scr--story { background: var(--ink); color: #fff; }
.scr__paper { position: absolute; left: 6cqi; top: 15cqi; width: 88cqi; max-width: none; height: auto; transform: rotate(-4deg); }
.scr__mega {
  position: absolute;
  left: -3cqi;
  top: 50cqi;
  width: 106cqi;
  max-width: none;
  height: auto;
  transform: rotate(-9deg);
  clip-path: polygon(2% 9%, 12% 3%, 23% 8%, 35% 1%, 47% 6%, 60% 2%, 73% 7%, 86% 2%, 98% 7%, 95% 30%, 100% 52%, 96% 75%, 99% 95%, 86% 99%, 72% 94%, 58% 99%, 44% 94%, 30% 100%, 17% 95%, 4% 99%, 1% 76%, 4% 52%, 0 30%);
}
.scr__bars { position: absolute; z-index: 2; left: 4cqi; right: 4cqi; top: 4cqi; display: flex; gap: 1.2cqi; }
.scr__bars i { flex: 1; height: 1.3cqi; min-height: 2px; border-radius: 1cqi; background: rgba(255, 255, 255, .35); }
.scr__bars i.is-done { background: #fff; }
.scr__bars i.is-run { background: linear-gradient(90deg, #fff 0 46%, rgba(255, 255, 255, .35) 46%); }
.scr__sh { position: absolute; z-index: 2; left: 4cqi; top: 8.5cqi; display: flex; align-items: center; gap: 2.6cqi; margin: 0; font-size: 6.6cqi; line-height: 1; }
.scr__sh i { display: grid; place-items: center; width: 11cqi; height: 11cqi; border-radius: 50%; background: var(--pen); box-shadow: 0 0 0 .8cqi #fff; font: 700 6cqi/1 var(--display); font-style: normal; }
.scr__sh b { font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }

/* подсказка: шестая клетка сетки на телефоне, строка под окнами на ноутбуке */
.svc__help {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 14px;
  border: 2px dashed var(--line-2);
  border-radius: 14px;
}
.svc__help-h { margin: 0; font-size: 27px; line-height: .95; transform: rotate(-2deg); transform-origin: left; }
.svc__help-links { display: grid; justify-items: start; gap: 10px; margin: 0; font-size: 15.5px; line-height: 1.3; }

/* Подробности курса: дата, сторис, «Библия бренда» */
.cmore { margin-top: 30px; border: 2px solid var(--ink); border-radius: 14px; background: var(--sheet); box-shadow: 6px 6px 0 var(--ink); overflow: hidden; scroll-margin-top: calc(var(--top) + 16px); }
.cmore__bar { display: flex; align-items: center; gap: 8px; margin: 0; padding: 3px 3px 3px 14px; border-bottom: 2px solid var(--ink); font: 600 13px/1.2 var(--ui-font); color: var(--ink-2); }
.cmore__bar > span:nth-child(2) { flex: 1; min-width: 0; padding: 11px 0; }
.cmore__x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--ink); }
.cmore__x .i { width: 22px; height: 22px; }
html:not(.js) .cmore__x { display: none; }
.cmore__grid { display: grid; gap: 24px; padding: 20px 18px 8px; }
.cmore__k { margin: 0 0 6px; font: 600 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.cmore__date { margin: 0 0 10px; font: 700 clamp(54px, 15vw, 84px)/.9 var(--display); letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); text-shadow: .045em .045em 0 var(--pen); }
.cmore__meta { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.cmore__meta + .cmore__meta { margin-top: 2px; }
.cmore__title { margin: 0 0 8px; font: 700 clamp(26px, 7vw, 34px)/1 var(--display); text-transform: uppercase; }
.cmore__lead { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.cmore .hl { margin: 14px -18px 0; padding: 4px 18px 6px; }
.cmore__tap { margin: 6px 0 0; font-size: 22px; transform: rotate(-2deg); transform-origin: left; }
.cmore__bible {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px 16px 16px 20px;
  border: 0;
  border-radius: 4px;
  background: var(--paper-deep);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.cmore__bible:active { transform: translate(2px, 2px); }
.cmore__book {
  display: grid;
  place-items: center;
  width: 70px;
  aspect-ratio: 3 / 4;
  border-radius: 3px 9px 9px 3px;
  background: var(--pen);
  box-shadow: inset 5px 0 6px -4px rgba(80, 10, 0, .55), 4px 4px 0 -2px #fff, 7px 8px 0 -4px var(--ink);
  color: #FFF1E4;
  font: 700 13px/1.05 var(--display);
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-5deg);
}
.cmore__bt { display: grid; gap: 5px; font-size: 14.5px; line-height: 1.42; color: var(--ink-2); }
.cmore__bt b { font: 700 21px/1 var(--display); text-transform: uppercase; color: var(--ink); }
.cmore__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding: 16px 18px 24px; }
@media (hover: hover) {
  .cmore__bible:hover { box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 var(--pen); }
  .cmore__x:hover { background: var(--paper-deep); }
}

@media (max-width: 380px) {
  .svc__grid { column-gap: 10px; }
  .win__cap { padding: 10px 10px 10px; }
  .win__name { font-size: 16.5px; }
  .win__price { font-size: 19px; }
  .win__go { width: 28px; height: 28px; }
  .win__more { font-size: 12px; letter-spacing: .05em; }
}

@media (min-width: 720px) {
  .svc__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
  .cmore__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 30px; padding: 26px 26px 8px; }
  .cmore__bible { grid-column: 1 / -1; }
  .cmore .hl { margin-inline: -26px; padding-inline: 26px; }
  .cmore__cta { padding: 18px 26px 26px; }
}

/* Ноутбук: витрина — одна строка из пяти окон «волной», без колонки текста сбоку */
@media (min-width: 1000px) {
  .svc { padding: 80px 0 92px; }
  .svc__head { display: grid; justify-items: center; margin: 0 auto 44px; text-align: center; }
  .svc__title { font-size: clamp(64px, 7.4vw, 104px); margin-bottom: 30px; }
  .svc__lead { max-width: 34em; }
  .svc__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; }
  .win:nth-child(even) { translate: 0 28px; }
  .win__name { font-size: clamp(19px, 1.75vw, 23px); }
  .win__price { font-size: clamp(21px, 1.9vw, 26px); }
  .svc__help { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 26px; margin-top: 62px; padding: 0; border: 0; border-radius: 0; }
  .svc__help-links { display: flex; gap: 8px 26px; font-size: 16px; }
  .cmore { margin-top: 34px; }
  .cmore__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr) minmax(0, .8fr); column-gap: 40px; align-items: start; padding: 30px 32px 10px; }
  .cmore__bible { grid-column: auto; grid-template-columns: 1fr; justify-items: start; gap: 18px; padding: 22px 20px; }
  .cmore__book { width: 92px; font-size: 15px; }
  .cmore .hl { margin-inline: 0; padding-inline: 0; overflow: visible; flex-wrap: wrap; }
  .cmore__cta { padding: 20px 32px 30px; }
}

/* ---------- 12. Услуги в одном окне инстаграма ----------
   Композиция старой «Пропаганды»: слева плакат, справа один профиль с общей шапкой.
   В сетке профиля — пять квадратных публикаций-услуг: название, цена, переход на tarify.html?plan=…
   Подробности курса (дата, сторис, «Библия бренда») раскрываются кружком на его плитке — в том же окне */
.prof__ava--plain { background: none; padding: 0; }
.prof__ava--plain:active { transform: none; }

.prof__grid .tile { aspect-ratio: 1; gap: 6px; }
.tile__n {
  max-width: 100%;
  font: 600 clamp(12px, 3.5vw, 16px)/1.06 var(--display);
  letter-spacing: .01em;
  text-transform: uppercase;
  hyphens: auto;
  overflow-wrap: break-word;
}
.tile__p { font: 700 clamp(15px, 4.4vw, 21px)/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.tile--deep { background: var(--paper-deep); color: var(--ink); }
.tile--paper { background: var(--paper); color: var(--ink); }
.tile--deep .tile__p,
.tile--paper .tile__p { color: var(--pen-2); }
.tile--ink { background: var(--ink); color: #fff; }
.tile--pen { background: var(--pen); color: #fff; }
.prof__grid .tile:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
.prof__grid .tile--ink:focus-visible,
.prof__grid .tile--pen:focus-visible { outline-color: #fff; }

/* кружок курса: как сторис-кольцо, открывает подробности под сеткой */
.prof__course { position: relative; }
.tile__ring {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 0 0 2px var(--pen), 0 0 0 4px #fff;
  font: 700 14px/1 var(--display);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease-back), background-color .2s, color .2s;
}
.tile__ring::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.tile__ring:active { transform: scale(.9); }
.tile__ring.is-seen { box-shadow: 0 0 0 2px var(--pen), 0 0 0 4px rgba(255, 255, 255, .5); }
.tile__ring[aria-expanded="true"] { background: #fff; color: var(--ink); }
.tile__ring:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }

.prof__more { position: relative; margin: 0 -16px; padding: 12px 16px 14px; border-top: 2px solid var(--ink); background: var(--paper); }
/* хвостик к средней колонке — к плитке курса */
.prof__more::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  background: var(--paper);
  transform: rotate(45deg);
}
.prof__more-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-right: -10px; }
.prof__more-h { margin: 0; font: 700 21px/1.05 var(--display); letter-spacing: .005em; text-transform: uppercase; color: var(--ink); }
.prof__more-x { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.prof__more-x .i { width: 22px; height: 22px; }
.prof__more-date { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.prof__more-date b { font-weight: 700; color: var(--pen-2); }
.prof__more .hl { margin-top: 12px; }
.prof__more .hl__t { white-space: normal; text-align: center; }
.prof__tap { margin: 10px 0 14px; line-height: 1.05; }
.prof:has(.prof__more:not([hidden])) .prof__tap { display: none; }
html:not(.js) .tile__ring,
html:not(.js) .prof__more-x,
html:not(.js) .prof__tap { display: none; }
@media (hover: hover) {
  .prof__grid .tile:hover { filter: brightness(.93); }
  .tile__ring:hover { transform: scale(1.08); }
  .prof__more-x:hover { background: var(--paper-deep); }
}

/* ---------- 12. Кейсы: итоговые экраны и мягкое появление ----------
   Последний слайд каждой истории — экран результата по образцу «Статистики» Кристины.
   [data-soft] проявляется, когда слайд открылся (home.js → .slide.is-run); очередь — --d */
.js .slide [data-soft] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .7s var(--ease-out);
  transition-delay: calc(.18s + var(--d, 0) * .14s);
}
.js .slide.is-run [data-soft] { opacity: 1; transform: none; }
/* столбики ждут первого показа слайда, чтобы вырасти, а не мигнуть */
.js .ins.is-pre .ins__bars span { transform: scaleY(0); }
/* без скрипта шаги видны сразу */
html:not(.js) .chain li { opacity: 1; transform: none; }

/* Строковое значение («готовится») — мельче числа, высота строки та же */
.ins__big.is-text { font-size: 21px; line-height: 1.4; letter-spacing: -.01em; }
/* «≈» перед примерным числом — только в состоянии «после» */
.ins__pre { font-weight: 600; color: var(--ink-2); }
.ins.is-from .ins__pre { display: none; }

/* Мини-экран «Обычный ролик» (Вероника, было) */
.ins--mini { width: min(100%, 260px); padding: 10px 14px 4px; }
.ins--mini .ins__top { margin-bottom: 14px; }
.ins--mini .ins__big { display: flex; align-items: center; gap: 6px; margin: 2px 0 8px; font-size: 32px; }
.ins__play { width: 20px; height: 20px; }

/* Статистика одного ролика (Литар): обложка вместо столбиков */
.ins--solo .ins__top { margin-bottom: 12px; }
.ins--solo .ins__main { grid-template-columns: minmax(0, 1fr) 46px; align-items: center; }
.ins--solo .ins__l { line-height: 1.3; }
.ins--solo .ins__big { white-space: normal; }
.ins__big small { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.ins__thumb { display: grid; place-items: center; width: 46px; height: 62px; border-radius: 8px; background: linear-gradient(160deg, #C9B6A3, #8F7B69); color: #fff; }
.ins__thumb .i { width: 20px; height: 20px; }

/* Два запуска (Романова): до работы столбики лежат, к 6 июня оба встают красными */
.ins__bars--n span { transition: transform .55s var(--ease-out), background-color .3s; }
.ins__bars--n span + span { transition-delay: .16s; }
.ins.is-from .ins__bars--n span { transform: scaleY(.04); }
.ins.is-from .ins__bars--n span:first-child { background: #D9D3CA; }
.ins:not(.is-from) .ins__bars--n span { background: var(--pen); }

/* Пометка «пример / реконструкция»: пунктир — не данные клиентки */
.flag {
  display: inline-block;
  padding: 4px 8px;
  border: 1.5px dashed var(--pen);
  border-radius: 6px;
  color: var(--pen-2);
  font: 600 11.5px/1 var(--ui-font);
  letter-spacing: .02em;
  white-space: nowrap;
}

/* Валерия: заметка «Сценарий» — читаемые поля вместо прочерков */
.note__kv { margin: 0; }
.note__kv div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed #E3DCCF; font-size: 15px; }
.note__kv dt { color: var(--ink-2); }
.note__kv dd { margin: 0; font-weight: 700; }
.note__open { display: inline-flex; align-items: center; gap: 3px; color: var(--pen-2); font-size: 20px; line-height: 1; }
.note__caret { display: inline-block; width: 2px; height: 20px; border-radius: 1px; background: #E2A93B; animation: caret 1s steps(1) infinite; }
.note--res { width: min(100%, 300px); padding: 12px 14px 12px; }
.note--res .note__h { margin-bottom: 8px; }
.note__main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-bottom: 8px; }
.note__main .ins__big { margin-bottom: 0; }
.note--res .note__tags { flex-direction: column; align-items: flex-end; gap: 5px; margin: 0; }
.chain--note { width: 100%; gap: 0; }
.chain--note li { padding: 5px 0; border-top: 1px dashed #E3DCCF; border-radius: 0; background: none; box-shadow: none; font-size: 14px; font-weight: 600; }
.chain--note li:last-child { font-weight: 600; }
.chain--note li::before { width: 22px; height: 22px; font-size: 12px; }
.chain--note li + li::after { display: none; }

/* Романова, было: задача и кто видит характер */
.rsit { width: min(100%, 290px); padding: 14px 14px 6px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.rsit__task { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; }
.rsit__task .i { width: 18px; height: 18px; color: var(--pen); stroke-width: 2.4; }
.rsit__task em { margin-left: auto; padding: 4px 9px; border-radius: 999px; background: #FBE6E1; color: var(--pen-2); font-size: 12.5px; font-style: normal; font-weight: 600; }
.rsit__q { margin: 14px 0 2px; font-size: 18px; font-weight: 700; line-height: 1.2; }
.rsit__rows { margin: 0; padding: 0; list-style: none; }
.rsit__rows li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #EFEAE2; font-size: 15px; }
.rsit__rows li:first-child { border-top: 0; }
.rsit__ic { display: grid; place-items: center; width: 40px; height: 40px; border: 2px dashed #CFC7BC; border-radius: 50%; color: var(--muted); }
.rsit__ic--cf { border: 0; background: var(--ig-green); color: #fff; }
.rsit__ic .i { width: 18px; height: 18px; }
.rsit__rows li > span:last-child { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.rsit__rows .is-yes > span:last-child { background: #E4F6E8; color: #18853A; }
.rsit__rows .is-no > span:last-child { color: var(--muted); box-shadow: inset 0 0 0 1.5px #D9D3CA; }

/* Узкие телефоны: экран результата плотнее, чтобы влезал в слайд вместе с подписью */
@media (max-width: 380px) {
  .slide__vis { gap: 10px; padding: 6px 0; }
  .ins { padding: 8px 10px 4px; }
  .ins__seg { margin: 8px 0; }
  .ins__seg button { min-height: 28px; font-size: 12px; }
  .ins__big { font-size: 25px; }
  .ins__big.is-text { font-size: 19px; line-height: 1.38; }
  .ins__bars { height: 76px; }
  .ins__rows div { padding: 6px 0; }
  .note--res, .rsit { padding-inline: 12px; }
  .rsit__q { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .slide [data-soft] { opacity: 1; transform: none; transition: none; }
  .js .ins.is-pre .ins__bars span { transform: none; }
}

/* ---------- 13. Сторис услуг: ряд кружков в том же профиле ----------
   Как «Актуальное» под кнопками профиля: пять кружков — пять коротких сторис об услугах.
   Открываются общим просмотрщиком сторис; непросмотренные — с красным кольцом */
.prof__hl { gap: 6px; margin-top: 14px; }
.prof__hl .hl__b { width: 80px; }
.prof__hl .hl__ring { width: 66px; height: 66px; box-shadow: inset 0 0 0 2px var(--pen); }
.prof__hl .hl__b.is-seen .hl__ring { box-shadow: inset 0 0 0 1px var(--line-2); }
.prof__hl .hl__t { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.prof__hl .hl__b:focus-visible { outline: 0; }
.prof__hl .hl__b:focus-visible .hl__ring { outline: 3px solid var(--pen); outline-offset: 2px; }
.prof__hl .hl__cov--pen { font: 700 24px/1 var(--display); }
.hl__cov .i { width: 26px; height: 26px; stroke-width: 2; }
.hl__cov--deep { background: var(--paper-deep); color: var(--ink); }
.hl__cov--paper { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.hl__cov--night { background: var(--ink); color: #fff; }
.hl__i--pen { color: var(--pen-2); }

/* слайд услуги: тот же значок, что на кружке, крупно */
.sto__emb {
  display: grid;
  place-items: center;
  flex: none;
  width: 84px;
  height: 84px;
  margin: 0 0 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--sheet), 0 0 0 6.5px var(--pen);
  font: 700 40px/1 var(--display);
}
.sto__emb .i { width: 40px; height: 40px; stroke-width: 1.8; }
.sto__emb--deep { background: var(--paper-deep); color: var(--ink); }
.sto__emb--paper { background: var(--paper); color: var(--ink); }
.sto__emb--night { background: var(--ink); color: #fff; }
.sto__emb--pen { background: #fff; color: var(--pen); box-shadow: 0 0 0 4px var(--pen), 0 0 0 6.5px #fff; }
.sto__k--acts { margin: 4px 0 10px; }
.sto__acts { position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 12px; }
.sto__s.is-live .sto__acts .sticker--sv { margin-top: 0; }
button.sticker { border: 0; cursor: pointer; }
.sto__s.is-live[data-bg="blush"] .sticker--sv { box-shadow: 0 0 0 1px var(--line), 0 12px 24px -12px rgba(0, 0, 0, .35); }

/* шапка просмотра: длинное название услуги видно целиком, подпись при нехватке места — строкой ниже */
.sv__who { flex-wrap: wrap; column-gap: 8px; row-gap: 1px; line-height: 1.2; }
.sv__who b { max-width: 100%; }
.sv__who span { min-width: 0; max-width: 100%; }

html:not(.js) .prof__hl,
html:not(.js) [data-sv-go] { display: none; }
