/* ══════════════════════════════════════════════════════════════════════════
   Лендинг «Фармацевтика» — надстройка над site-2026.css. Светлая тема,
   как «Отделам продаж».

   Здесь только то, чего нет на главной: живой врач в сцене с плашками,
   персоны, схема двойника, плитки отчёта, карта возражений, роли,
   красная зона, блок «как делается двойник», кейсы, таблица сравнения,
   вопросы и финальный призыв. Стекло, шапки секций, сетка карточек и
   окно продукта (`.ui`) берутся с главной как есть.

   Все секции несут `.sec--light`, поэтому токены (`--ink-rgb`, `--mute`,
   `--faint`, `--blue`) уже светлые. Оранжевый `--act` — только там, где
   звучит речь или проваливается критерий: волна и точка «визит идёт»,
   провальные цифры отчёта. Синий — только наведение и фокус.
   ══════════════════════════════════════════════════════════════════════════ */

/* Без этого над светлой сценой просвечивает тёмный лист body. */
body:has(.ph) {
  background: #f3f3f5;
}

.ph sup {
  font-size: 0.62em;
  line-height: 0;
  vertical-align: super;
}

.ph .btn--line {
  background: rgba(243, 243, 245, 0.66);
  border-color: rgba(16, 17, 20, 0.2);
  color: var(--ink);
}
.ph .btn--line:hover {
  background: rgba(243, 243, 245, 0.9);
  border-color: var(--blue);
}

/* ── 01 · сцена: стекло слева, живой врач справа ─────────────────────── */

.ph-scene {
  background: var(--bg);
}
/* Расфокус под стеклом — тот же кадр врача, размытый и высветленный.
   Стеклу нужно, что размывать, иначе это мутный прямоугольник. */
.ph-scene .ph-scene__bg {
  object-position: 50% 30%;
  transform: scale(1.3) translateX(18%);
  filter: grayscale(0.4) blur(40px) brightness(1.08);
  opacity: 0.7;
}
.ph-scene::after {
  background:
    linear-gradient(
      100deg,
      rgba(243, 243, 245, 0.94) 0%,
      rgba(243, 243, 245, 0.6) 42%,
      rgba(243, 243, 245, 0.2) 70%
    ),
    radial-gradient(84% 76% at 60% 44%, rgba(243, 243, 245, 0), rgba(243, 243, 245, 0.72) 94%);
}
.ph-scene .lb,
.ph-scene .pill {
  color: rgba(16, 17, 20, 0.7);
}
.ph-scene .pill {
  border-color: rgba(16, 17, 20, 0.16);
}
.ph-scene .live .lb {
  color: var(--ink);
}

.ph-hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.ph-scene .glass {
  width: 100%;
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(16, 17, 20, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 80px -44px rgba(16, 17, 20, 0.36);
}
.ph-scene .h1 {
  font-size: clamp(32px, 3vw, 44px);
}
.ph-scene .h1 em {
  font-style: normal;
  color: var(--blue);
}
.ph-scene .glass__lead {
  max-width: 52ch;
  color: rgba(16, 17, 20, 0.74);
}

/* Три цифры доверия: крупное тонкое число и микро-лейбл, без плашек. */
.ph-trust {
  margin: 26px 0 0;
  padding: 18px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ph-trust li {
  display: grid;
  gap: 8px;
  align-content: start;
}
.ph-trust .v {
  font-size: clamp(28px, 2.6vw, 38px);
  color: var(--ink);
}
.ph-legal {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(16, 17, 20, 0.62);
}

/* Кадр врача. Фон студийный серый, вырезать его нечем, поэтому кадр
   растворяется в листе двумя линейными масками — по вертикали и по
   горизонтали. Радиальная маска оставляет видимые кромки. */
.ph-fig {
  position: relative;
  max-width: 720px;
  width: 100%;
  justify-self: end;
}
/* Сцена кадра: сам кадр под маской и плашки поверх. Плашки лежат вне
   маски, иначе растворялись бы вместе с кромкой. */
.ph-fig__stage {
  position: relative;
}
.ph-fig__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.ph-fig__still,
.ph-fig__live {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.ph-fig__live {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.ph-fig__live.is-on {
  opacity: 1;
}

/* Плашки поверх кадра стоят по краям: центр лица свободен. */
.ph-ptag {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 40%;
  display: grid;
  gap: 4px;
  padding: 10px 0 10px 14px;
  border-left: 1px solid rgba(16, 17, 20, 0.22);
}
.ph-ptag b {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ph-ptag__trait {
  font-size: 12.5px;
  color: var(--mute);
}
.ph-call {
  position: absolute;
  z-index: 2;
  top: 6%;
  right: 0;
}

/* ── оценка визита в сцене: без окна, на растворяющемся низу кадра ──── */

/* Текст заходит на нижнюю треть кадра, где халат уже растворился в листе,
   поэтому лица не касается, а подложка ему не нужна. */
.ph-hscore {
  position: relative;
  z-index: 2;
  margin-top: -17%;
  padding: 0 4%;
  /* Цвета полос — светлой шкалы окна продукта: на светлом листе тёмные
     значения из :root выглядят кислотно. */
  --ui-good: #2d7e53;
  --ui-warn: #9d6b1f;
  --ui-bad: #cf3d16;
  --ui-line: rgba(16, 17, 20, 0.12);
}
.ph-hscore__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.ph-hscore__total {
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ph-hscore__total small {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--mute);
}
.ph-hscore__rows {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}
.ph-hscore__rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0 10px;
  font-size: 12.5px;
  color: var(--dim);
}
.ph-hscore__rows b {
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ph-hscore__rows .ui__bar {
  grid-column: 1 / -1;
  margin-top: 6px;
  height: 2px;
}
.ph-hscore__rows .ui__bar i {
  transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.ph-hscore__note {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  max-width: 44ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.ph-hscore__note .dot {
  animation: none;
  transform: translateY(-1px);
}

/* ── окно оценки визита (раздел 04) ──────────────────────────────────── */

.ph-score {
  display: block;
  padding: 16px 18px 18px;
}
.ph-score__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ui-line);
}
.ph-score__total {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ph-score__total small {
  font-size: 13px;
  color: var(--ui-mute);
}
.ph-score__rows {
  margin-top: 14px;
}
.ph-score .ui__metric + .ui__metric {
  margin-top: 11px;
}
.ph-score .ui__metric__r {
  font-size: 12.5px;
  font-weight: 500;
}
.ph-score .ui__bar {
  margin-top: 6px;
}
.ph-score .ui__bar i {
  transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.ph-score__note {
  margin-top: 14px;
}

/* ── общие элементы разделов ─────────────────────────────────────────── */

.ph-lead2 {
  margin-top: 12px;
}
.ph-grid {
  grid-template-rows: auto auto 1fr;
}
.ph-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* Мостик в конце раздела: вывод крупной строкой над чертой. */
.ph-bridge {
  margin-top: clamp(34px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--faint);
  max-width: 48ch;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-wrap: balance;
}
.ph-split {
  margin-top: clamp(34px, 4vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}
.ph-split--top {
  align-items: start;
}
.ph-body {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}
.ph-coda {
  margin-top: clamp(26px, 3vw, 40px);
}
.ph-note {
  margin-top: 28px;
  max-width: 72ch;
  font-size: 14px;
  color: var(--mute);
}

/* ── 03 · персоны ─────────────────────────────────────────────────────── */

.ph-personas {
  margin-top: clamp(34px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}
.ph-persona {
  display: grid;
  align-content: start;
  gap: 10px;
}
.ph-persona__ava {
  aspect-ratio: 1;
  margin-bottom: 8px;
  border-radius: var(--r);
  overflow: hidden;
  background: radial-gradient(60% 60% at 50% 45%, #fff, var(--bg-2));
  border: 1px solid var(--faint-2);
}
.ph-persona__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(0.6);
  transition: filter 0.5s ease;
}
.ph-persona:hover .ph-persona__ava img {
  filter: grayscale(0);
}
.ph-persona__ava--empty {
  display: grid;
  place-items: center;
  background: none;
  border: 1px dashed var(--faint);
  color: var(--mute);
}
.ph-persona__ava--empty svg {
  width: 40px;
  height: 40px;
}
.ph-persona h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.ph-persona p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
}

/* ── 03 · фрагмент диалога ────────────────────────────────────────────── */

.ph-chat .ui__msgs {
  padding: 18px;
  gap: 14px;
}
.ph-chat .ui__bub {
  font-size: 13.5px;
}
/* Врач говорит — у него оранжевая кромка аватара, как у всего, что звучит. */
.ph-chat__doc {
  overflow: hidden;
  border-color: var(--ui-bad);
}
.ph-chat__doc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-chat .ui__note {
  margin-top: 4px;
}

/* ── 03 · схема двойника: только линии ───────────────────────────────── */

.ph-flow {
  display: grid;
  gap: 18px;
}
.ph-flow__chain {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.ph-flow__chain li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--faint-2);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.ph-flow__chain li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  border: 1px solid var(--ink);
}
/* Вертикальная линия связывает узлы цепочки. */
.ph-flow__chain li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 9.5px;
  top: calc(50% + 5px);
  height: calc(100% - 10px);
  width: 1px;
  background: var(--faint);
}
.ph-flow__key {
  color: var(--blue);
}
.ph-flow__key::before {
  background: var(--blue);
  border-color: var(--blue) !important;
}
.ph-flow__fan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--faint);
}
.ph-flow__fan > div {
  padding: 16px 16px 4px;
  border-left: 1px solid var(--faint-2);
}
.ph-flow__fan > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.ph-flow__fan p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dim);
}

/* ── 04 · плитки отчёта ───────────────────────────────────────────────── */

.ph-tiles .cell {
  grid-template-rows: auto 1fr;
  grid-row: auto;
  display: grid;
  align-content: start;
  gap: 16px;
}
.ph-tiles {
  grid-template-rows: none;
}
.ph-tiles .v {
  font-size: clamp(44px, 4.6vw, 68px);
  color: var(--ink);
}
/* Провальная цифра — оранжевым, как проваленный критерий в разборе. */
.ph-tiles .v.ph-hot {
  color: var(--act);
}
.ph-tiles p b {
  color: var(--ink);
  font-weight: 500;
}

/* ── 04 · карта возражений ────────────────────────────────────────────── */

.ph-objs {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--faint);
}
.ph-objs li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--faint-2);
}
.ph-objs__q {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.ph-objs .lb {
  padding-top: 5px;
  white-space: nowrap;
}
.ph-objs__err {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
}
.ph-objs__err b {
  color: var(--ink);
  font-weight: 500;
}

/* ── 05 · три роли ────────────────────────────────────────────────────── */

.ph-roles {
  margin-top: clamp(34px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.ph-role {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--faint);
  border-radius: var(--r);
}
/* Маркетинг — главная отстройка: колонка на подложке и с синей кромкой. */
.ph-role--hi {
  background: #fff;
  border-color: rgba(79, 87, 189, 0.4);
  box-shadow: 0 30px 70px -50px rgba(79, 87, 189, 0.5);
}
.ph-role--hi > .lb {
  color: var(--blue);
}
.ph-role h3 {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.ph-role ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.ph-role li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dim);
}
.ph-role li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--ink);
}
.ph-role__metric {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--faint-2);
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--mute);
}

/* Красная зона — таблица в стиле окна продукта. */
.ph-mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.ph-mini caption {
  display: table-caption;
  caption-side: top;
  padding-bottom: 8px;
  text-align: left;
}
.ph-mini th {
  padding: 6px 6px 6px 0;
  border-bottom: 1px solid var(--faint);
  font-family: var(--fm);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--mute);
}
.ph-mini td {
  padding: 8px 6px 8px 0;
  border-bottom: 1px solid var(--faint-2);
}
.ph-mini__score {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--act);
}
.ph-up {
  color: #2d7e53;
}
.ph-down {
  color: var(--act);
}

/* ── 07 · как делается двойник ────────────────────────────────────────── */

.ph-depth {
  margin-top: clamp(26px, 3vw, 44px);
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--faint);
  border-radius: var(--r-glass);
  background: #fff;
}
.ph-depth .lead {
  margin-top: 18px;
}
.ph-depth__grid {
  margin-top: clamp(28px, 3.4vw, 48px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 64px);
}
.ph-depth__grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px 0;
  border-top: 1px solid var(--faint-2);
}
.ph-depth__grid h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.ph-depth__grid p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--dim);
}
.ph-depth__links {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
}

/* ── 08 · кейсы ───────────────────────────────────────────────────────── */

.ph-cases {
  margin-top: clamp(34px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ph-case {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--faint);
  border-radius: var(--r);
}
.ph-case__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ph-case__logo {
  width: 64px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--faint-2);
}
.ph-case h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.ph-case > p {
  margin-top: 20px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.65;
}
.ph-case .case__nums {
  margin-top: auto;
  padding-top: 22px;
}
.ph-case > p + .case__nums {
  margin-top: 26px;
}
.ph-case__nums3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ph-case .case__nums .v {
  font-size: clamp(28px, 2.6vw, 40px);
  color: var(--ink);
}
.ph-case .ln {
  margin-top: 24px;
  align-self: flex-start;
}

.ph-bench {
  margin-top: clamp(30px, 3.4vw, 48px);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px 28px;
  padding-top: 20px;
  border-top: 1px solid var(--faint);
}
.ph-bench p {
  max-width: 72ch;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.65;
}

.ph-quote {
  margin: clamp(34px, 4vw, 56px) 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--faint);
  display: grid;
  gap: 16px;
}
.ph-quote blockquote {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ── 09 · промежуточный призыв ────────────────────────────────────────── */

.ph-midcta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: end;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-glass);
  background: #fff;
  border: 1px solid var(--faint);
}
.ph-midcta .h2 {
  margin-top: 16px;
}
.ph-midcta .lead {
  margin-top: 16px;
}

/* ── 11 · безопасность ────────────────────────────────────────────────── */

.ph-secs {
  margin-top: clamp(34px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 64px);
  border-top: 1px solid var(--faint);
}
.ph-secs article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--faint-2);
}
.ph-secs svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ph-secs h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.ph-secs p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
}

/* ── 12 · таблица сравнения ───────────────────────────────────────────── */

.ph-table {
  margin-top: clamp(34px, 4vw, 60px);
  /* Подложка строки Pichi выходит за левую кромку на 14px. Поле под неё
     даёт обёртка, иначе overflow-x срезал бы её, а сдвиг текста внутрь
     ячейки уводил бы строку вправо от остальных. */
  margin-left: -14px;
  padding-left: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ph-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.ph-table th,
.ph-table td {
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--faint-2);
  text-align: left;
  vertical-align: middle;
}
.ph-table thead th {
  border-bottom-color: var(--faint);
  font-family: var(--fm);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.ph-table tbody th {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ph-table__hi th,
.ph-table__hi td {
  background: #fff;
  border-bottom-color: rgba(79, 87, 189, 0.4);
}
.ph-table__hi th {
  position: relative;
  color: var(--blue);
}
.ph-table__hi th::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -14px;
  width: 14px;
  background: #fff;
  border-bottom: 1px solid rgba(79, 87, 189, 0.4);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}
.ph-table__hi td:last-child {
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.ph-m {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}
.ph-m::before {
  content: '';
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
}
.ph-m--yes {
  color: var(--ink);
}
.ph-m--yes::before {
  background: var(--ink);
}
.ph-m--part {
  color: var(--dim);
}
.ph-m--part::before {
  border: 1px solid var(--ink);
  background: linear-gradient(90deg, var(--ink) 50%, transparent 50%);
}
.ph-m--no {
  color: var(--mute);
}
.ph-m--no::before {
  border: 1px solid var(--faint);
}
.ph-table__hi .ph-m--yes {
  color: var(--blue);
}
.ph-table__hi .ph-m--yes::before {
  background: var(--blue);
}

/* ── 13 · вопросы — тот же аккордеон, что на «Отделам продаж» ─────────── */

.ph-faq {
  margin-top: clamp(34px, 4vw, 60px);
  border-top: 1px solid var(--faint);
}
.ph-faq__item {
  border-bottom: 1px solid var(--faint-2);
}
.ph-faq__item summary {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 20px;
  gap: 28px;
  align-items: baseline;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.ph-faq__item summary::-webkit-details-marker {
  display: none;
}
.ph-faq__q {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  transition: color 0.16s ease;
}
.ph-faq__item summary:hover .ph-faq__q,
.ph-faq__item summary:focus-visible .ph-faq__q {
  color: var(--blue);
}
.ph-faq__item summary i {
  position: relative;
  width: 14px;
  height: 14px;
  align-self: center;
}
.ph-faq__item summary i::before,
.ph-faq__item summary i::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6.5px;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.ph-faq__item summary i::after {
  transform: rotate(90deg);
}
.ph-faq__item[open] summary i::after {
  transform: rotate(0deg);
}
.ph-faq__a {
  padding: 0 48px 26px 100px;
  max-width: calc(72ch + 100px);
  color: var(--dim);
  font-size: 15px;
  line-height: 1.65;
}

/* ── 14 · финальный призыв ────────────────────────────────────────────── */

.ph-final {
  margin-top: clamp(26px, 3vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.ph-final .lead {
  margin-top: 20px;
}
.ph-final__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--faint);
}
.ph-final__list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--faint-2);
  font-size: 16px;
}
.ph-final__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 21px;
  width: 10px;
  height: 5px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}
.ph-contact {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--faint);
  border-radius: var(--r);
}
.ph-contact .lb + .btn {
  margin-top: 2px;
}
.ph-contact p {
  font-size: 13.5px;
  color: var(--mute);
}
/* Почта-кнопка: тот же вид, что `.mail` главной, но это button. */
.ph-copy {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--f);
  line-height: 1;
  cursor: pointer;
}
.ph-copy.is-copied {
  color: #2d7e53;
}

.ph-refs {
  margin: clamp(44px, 5vw, 72px) 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--faint-2);
  display: grid;
  gap: 6px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--mute);
}
.ph-refs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ph-refs a:hover {
  color: var(--blue);
}

/* ── узкие экраны ─────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .ph-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .ph-fig {
    justify-self: center;
    margin-top: 12px;
  }
  .ph-grid--3,
  .ph-personas,
  .ph-roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ph-grid--3 .cell:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .ph-split,
  .ph-final,
  .ph-cases {
    grid-template-columns: minmax(0, 1fr);
  }
  .ph-midcta {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
}
@media (max-width: 680px) {
  .ph-trust {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .ph-trust li {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: baseline;
  }
  /* Кнопка с длинной подписью переносится, а не вылезает из стекла. */
  .ph-scene .btn {
    height: auto;
    min-height: 48px;
    padding-block: 12px;
    white-space: normal;
    text-align: center;
  }
  /* Плашки уходят из кадра в поток под ним: на узком кадре они ложатся
     на лицо. */
  .ph-fig__stage {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
  }
  .ph-fig__frame {
    flex: 0 0 100%;
  }
  .ph-ptag,
  .ph-call {
    position: static;
  }
  .ph-ptag {
    order: 2;
  }
  .ph-call {
    order: 3;
  }
  .ph-hscore {
    margin-top: 22px;
    padding: 0;
  }
  .ph-hscore__rows {
    grid-template-columns: minmax(0, 1fr);
  }
  .ph-grid--3,
  .ph-personas,
  .ph-roles,
  .ph-depth__grid,
  .ph-secs,
  .ph-flow__fan,
  .ph-case__nums3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .ph-flow__fan > div {
    padding-left: 0;
    border-left: 0;
    border-bottom: 1px solid var(--faint-2);
  }
  .ph-bench {
    grid-template-columns: minmax(0, 1fr);
  }
  .ph-faq__item summary {
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 16px;
  }
  .ph-faq__item summary .lb {
    display: none;
  }
  .ph-faq__a {
    padding: 0 0 22px;
  }
  .ph-objs li {
    grid-template-columns: minmax(0, 1fr);
  }
  .ph-persona__ava--empty {
    aspect-ratio: auto;
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-fig__live {
    display: none;
  }
}

/* Микрокопия у кнопки и почта в промежуточном призыве. */
.ph-micro {
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mute);
}
.ph-midcta__acts {
  display: grid;
  justify-items: end;
  gap: 10px;
}
.ph-midcta__acts .mail {
  margin-top: 6px;
}
@media (max-width: 1080px) {
  .ph-midcta__acts {
    justify-items: start;
  }
}
