/*
 * Страницы продуктов и функций SaleScout (ru) в языке главной.
 * Подключается после style.css (шапка, подвал, шрифт Unbounded).
 * Классы fp-* — общие компоненты: hero с мокапом, живые цифры, шаги,
 * графики, карточки с мини-иллюстрациями, полоса тарифов, FAQ, CTA.
 *
 * Цвета: синий акцент и зелёная кнопка затемнены относительно главной
 * (#007aff → #0a5fd0, #34c759 → #15803d), чтобы белый текст на них
 * держал контраст 4.5:1.
 */

:root{
  --fp-text: #15171f;
  --fp-text-2: #3d4352;
  --fp-muted: #5b6275;
  --fp-accent: #0a5fd0;
  --fp-accent-hover: #08469b;
  --fp-accent-soft: #e3edff;
  --fp-accent-tint: #eef4ff;
  --fp-accent-light: #7aa7e6;
  --fp-green: #15803d;
  --fp-green-hover: #116a32;
  --fp-green-soft: #e7f6ec;
  --fp-red: #f14635;
  --fp-red-soft: #fdeeed;
  --fp-red-text: #b42318;
  --fp-dark: #101321;
  --fp-bg-soft: #f6f7fb;
  --fp-bg-card: #f2f6fd;
  --fp-line: #e3e8f2;
  --fp-line-2: #dfe3ec;
  --fp-radius: 20px;
  --fp-shadow: 0 10px 30px rgba(16, 19, 33, .06);
  --fp-shadow-lg: 0 40px 80px rgba(16, 19, 33, .18);
  --fp-head: "Unbounded", "Noto Sans", "Segoe UI", system-ui, sans-serif;
  --fp-body: "Noto Sans", "Segoe UI", system-ui, Arial, sans-serif;
}

/* --- Основа ---------------------------------------------------------------- */

.fp{
  font-family: var(--fp-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fp-text);
}

.fp a{
  color: var(--fp-accent);
}

.fp a:hover{
  color: var(--fp-accent-hover);
}

.fp :where(a, button, input, select, textarea, summary):focus-visible{
  outline: 3px solid rgba(10, 95, 208, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.fp b,
.fp strong{
  font-weight: 700;
}

.fp [hidden]{
  display: none !important;
}

.fp-container{
  width: min(1320px, 100% - 32px);
  margin-inline: auto;
}

.fp-container--narrow{
  width: min(900px, 100% - 32px);
}

.fp-section{
  padding: clamp(64px, 7vw, 104px) 0;
}

.fp-section--soft{
  background: var(--fp-bg-soft);
}

.fp-section--blue{
  background: var(--fp-accent-tint);
}

.fp-section--tight{
  padding: 56px 0;
}

.fp-section--flush-top{
  padding-top: 0;
}

.fp-stack{
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* --- Типографика ---------------------------------------------------------- */

.fp-h1{
  font-family: var(--fp-head);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: var(--fp-text);
}

/* Длинный H1 (SEO-заголовок в 5–7 слов) — мельче, чтобы не вылезал из колонки */
.fp-h1--long{
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.15;
}

.fp-h2{
  font-family: var(--fp-head);
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: var(--fp-text);
}

.fp-h3{
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fp-text);
}

.fp-lead{
  max-width: 640px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--fp-text-2);
  text-wrap: pretty;
}

.fp-text{
  font-size: 16px;
  line-height: 1.6;
  color: var(--fp-text-2);
}

.fp-muted{
  color: var(--fp-muted);
}

.fp-kaspi{
  display: inline-block;
  padding: 0 .18em;
  border-radius: .2em;
  background: var(--fp-red);
  color: #ffffff;
}

.fp-head{
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.fp-head--center{
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

.fp-head--row{
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

.fp-head--row > div:not(.fp-terms){
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

/* --- Хлебные крошки и бейджи ---------------------------------------------- */

.fp-crumbs{
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--fp-muted);
}

.fp-crumbs ol{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fp-crumbs li{
  display: flex;
  gap: 8px;
}

.fp-crumbs li + li::before{
  content: "/";
  color: var(--fp-muted);
}

.fp .fp-crumbs a{
  color: var(--fp-muted);
}

.fp-crumbs [aria-current]{
  color: var(--fp-text);
}

.fp-eyebrow{
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid #f7cdc9;
  border-radius: 999px;
  background: var(--fp-red-soft);
  font-size: 14px;
  line-height: 1.3;
  color: var(--fp-text);
}

.fp-eyebrow::before{
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5372a;
}

.fp-eyebrow--blue{
  border-color: #cfe0ff;
  background: #ffffff;
  color: #0a4fb0;
  font-weight: 600;
}

.fp-eyebrow--blue::before{
  background: var(--fp-green);
}

.fp-tag{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.fp-tag--green{ background: var(--fp-green-soft); color: #116a32; }
.fp-tag--blue{ background: var(--fp-accent-soft); color: #0a4fb0; }
.fp-tag--dark{ background: var(--fp-dark); color: #ffffff; }
.fp-tag--red{ background: var(--fp-red-soft); color: var(--fp-red-text); }
.fp-tag--muted{ background: #eceef4; color: var(--fp-text-2); }

.fp-tag--dot::before{
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* --- Кнопки и ссылки ------------------------------------------------------ */

.fp-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.fp .fp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 36px;
  border: 0;
  border-radius: 8px;
  background: var(--fp-green);
  color: #ffffff;
  font-family: var(--fp-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.fp .fp-btn:hover{
  background: var(--fp-green-hover);
  color: #ffffff;
}

.fp .fp-btn:active{
  transform: translateY(1px);
}

.fp .fp-btn:disabled{
  opacity: .5;
  cursor: not-allowed;
}

.fp .fp-btn--blue{
  background: var(--fp-accent);
}

.fp .fp-btn--blue:hover{
  background: var(--fp-accent-hover);
}

.fp .fp-btn--white{
  background: #ffffff;
  color: var(--fp-text);
  font-weight: 700;
}

.fp .fp-btn--white:hover{
  background: #eef2ff;
  color: var(--fp-text);
}

.fp .fp-btn--ghost{
  background: #ffffff;
  border: 1px solid var(--fp-line);
  color: var(--fp-text);
}

.fp .fp-btn--ghost:hover{
  background: var(--fp-bg-soft);
  color: var(--fp-text);
}

.fp .fp-btn--sm{
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.fp .fp-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--fp-accent);
  font-weight: 600;
  text-decoration: none;
}

.fp .fp-link:hover{
  color: var(--fp-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fp-link svg{
  flex: none;
}

.fp-trial{
  font-size: 15px;
  font-weight: 700;
  color: var(--fp-text);
}

.fp-price-line{
  font-size: 22px;
  line-height: 1.3;
  color: var(--fp-text);
}

.fp-price-line b{
  font-size: 26px;
  color: #d92d20;
}

/* --- Чипсы с галочкой ------------------------------------------------------ */

.fp-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fp-chips li{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f2f6ff;
  font-size: 15px;
  line-height: 1.35;
}

.fp-chips li::before,
.fp-checklist li::before{
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: var(--fp-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fp-checklist{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 12px 24px;
}

.fp-checklist li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  color: var(--fp-text-2);
}

.fp-checklist li::before{
  margin-top: 3px;
}

.fp-checklist--plain{
  grid-template-columns: 1fr;
  gap: 14px;
}

.fp-checklist--plain li{
  padding: 0;
  background: none;
}

/* --- Hero ----------------------------------------------------------------- */

.fp-hero{
  padding: 40px 0 clamp(56px, 6vw, 88px);
}

.fp-hero__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.fp-hero__text{
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* Мокап прижат вправо, слева остаётся место для плашек */
.fp-hero__visual{
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  padding: 16px 24px 24px 0;
}

/* Мокап-«кабинет» выше текстового блока по высоте — ставим его верхом к плашке
   заголовка, а не по центру колонки, иначе он «проваливается» ниже H1 */
.fp-hero__visual--top{
  align-self: start;
  padding-top: 4px;
  padding-bottom: 8px;
}

/* Плашки поверх мокапа */
.fp-float{
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 19, 33, .14);
  line-height: 1.3;
}

.fp-float b{
  display: block;
  font-size: 15px;
}

.fp-float small{
  display: block;
  font-size: 13px;
  color: var(--fp-muted);
}

.fp-float--pill{
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--fp-dark);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.fp-float--bl{ left: 0; bottom: 96px; }
.fp-float--tl{ left: 0; top: 72px; }
.fp-float--tr{ right: 0; top: 0; }
.fp-float--br{ right: 0; bottom: 40px; }

.fp-float__icon{
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fp-green-soft);
  color: var(--fp-green);
}

.fp-float__icon--blue{
  background: var(--fp-accent-soft);
  color: var(--fp-accent);
}

/* --- Иконки в кружках ----------------------------------------------------- */

.fp-ico{
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--fp-accent-soft);
  color: var(--fp-accent);
}

.fp-ico svg{
  width: 26px;
  height: 26px;
}

.fp-ico--sm{
  width: 44px;
  height: 44px;
}

.fp-ico--sm svg{
  width: 22px;
  height: 22px;
}

.fp-ico--green{ background: var(--fp-green-soft); color: var(--fp-green); }
.fp-ico--red{ background: var(--fp-red-soft); color: #d92d20; }
.fp-ico--white{ background: #ffffff; }

/* --- Телефон и мокапы ------------------------------------------------------ */

.fp-phone{
  width: 356px;
  max-width: 100%;
  padding: 12px;
  border-radius: 52px;
  background: var(--fp-text);
  box-shadow: var(--fp-shadow-lg);
}

.fp-phone__screen{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 16px 20px;
  border-radius: 40px;
  background: #ffffff;
  overflow: hidden;
}

.fp-app-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fp-app-head__brand{
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.fp-app-head__brand b{
  display: block;
  font-size: 15px;
}

.fp-app-head__brand small{
  display: block;
  font-size: 12px;
  color: var(--fp-muted);
}

.fp-app-logo{
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #5e5ce6;
  color: #ffffff;
  font-family: var(--fp-head);
  font-size: 15px;
  font-weight: 700;
}

.fp-app-logo--kaspi{
  background: var(--fp-red);
  font-size: 13px;
}

.fp-toggle{
  flex: none;
  display: inline-flex;
  justify-content: flex-start;
  width: 48px;
  height: 28px;
  padding: 3px;
  border-radius: 999px;
  background: #cfd6e4;
}

.fp-toggle::after{
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 19, 33, .2);
}

.fp-toggle--on{
  justify-content: flex-end;
  background: var(--fp-green);
}

.fp-meta-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--fp-muted);
}

/* Продавцы в карточке Kaspi */
.fp-sellers{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fp-seller{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--fp-bg-soft);
  line-height: 1.3;
}

.fp-seller__place{
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e3e8f2;
  color: var(--fp-text-2);
  font-size: 14px;
  font-weight: 700;
}

.fp-seller__name{
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
}

.fp-seller__name small{
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--fp-muted);
}

.fp-seller__price{
  font-size: 15px;
  white-space: nowrap;
  color: var(--fp-text-2);
}

.fp-seller--you{
  border-color: var(--fp-accent);
  background: var(--fp-accent-tint);
}

.fp-seller--you .fp-seller__place{
  background: var(--fp-accent);
  color: #ffffff;
}

.fp-seller--you .fp-seller__name small{
  color: var(--fp-text-2);
}

.fp-seller--you .fp-seller__price{
  font-weight: 700;
  color: var(--fp-text);
}

.fp-fields{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.fp-field{
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--fp-line);
  border-radius: 12px;
  line-height: 1.3;
}

.fp-field span{
  font-size: 11px;
  color: var(--fp-muted);
}

.fp-field b{
  font-size: 13px;
}

.fp-mock-note{
  font-size: 12px;
  line-height: 1.4;
  color: var(--fp-muted);
  text-align: center;
}

/* Окно кабинета (десктопная панель) */
.fp-panel{
  width: 100%;
  max-width: 600px;
  padding: 24px;
  border: 1px solid var(--fp-line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--fp-shadow-lg);
}

.fp-panel__head{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--fp-line);
}

.fp-panel__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.fp-panel__cell{
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--fp-bg-soft);
  line-height: 1.35;
}

.fp-panel__cell span{
  font-size: 12px;
  color: var(--fp-muted);
}

.fp-panel__cell b{
  font-size: 15px;
}

.fp-panel__cell dt{
  font-size: 12px;
  color: var(--fp-muted);
}

/* Плашка-примечание с иконкой */
.fp-note{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fp-text-2);
}

.fp-section:not(.fp-section--soft):not(.fp-section--blue) .fp-note{
  background: var(--fp-bg-soft);
}

.fp-panel__label{
  display: block;
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fp-text-2);
}

/* Часы показа рекламы */
.fp-hours{
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 3px;
}

.fp-hours li{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 30px;
  padding-bottom: 3px;
  border-radius: 4px;
  background: #eceef4;
  font-size: 9px;
  color: var(--fp-muted);
}

.fp-hours li.is-on{
  background: var(--fp-accent);
  color: #ffffff;
}

/* Таблица в мокапе и в контенте */
.fp-scroll{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fp-table{
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 13px;
}

.fp-table th{
  padding: 8px 10px;
  border-bottom: 1px solid var(--fp-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--fp-muted);
  text-align: left;
  white-space: nowrap;
}

.fp-table td{
  padding: 10px;
  border-bottom: 1px solid #eef0f5;
  white-space: nowrap;
  vertical-align: middle;
}

.fp-table tr:last-child td{
  border-bottom: 0;
}

/* Полоска-показатель в таблице вместо выдуманных чисел */
.fp-meter-cell{
  display: block;
  width: 64px;
  height: 8px;
  border-radius: 999px;
  background: #eceef4;
  overflow: hidden;
}

.fp-meter-cell span{
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--fp-accent-light);
}

/* Чат заказа Kaspi */
.fp-chat-head{
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fp-line);
  line-height: 1.3;
}

.fp-chat-head b{
  display: block;
  font-size: 15px;
}

.fp-chat-head small{
  display: block;
  font-size: 12px;
  color: var(--fp-muted);
}

.fp-chat{
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.fp-chat__date{
  align-self: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eceef4;
  font-size: 11px;
  color: var(--fp-muted);
}

.fp-bubble{
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 16px;
}

.fp-bubble p + p{
  margin-top: 6px;
}

.fp-bubble--in{
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: var(--fp-bg-soft);
}

.fp-bubble--out{
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--fp-accent);
  color: #ffffff;
}

.fp-bubble__link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--fp-line);
  font-weight: 600;
  color: var(--fp-accent);
}

.fp-bubble__time{
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--fp-muted);
  text-align: right;
}

.fp-bubble--out .fp-bubble__time{
  color: #dce8ff;
}

.fp-stars{
  display: inline-flex;
  gap: 1px;
  color: #f5a524;
}

.fp-stars svg{
  width: 14px;
  height: 14px;
}

.fp-chat-input{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--fp-bg-soft);
  font-size: 13px;
  color: var(--fp-muted);
}

.fp-chat-input span{
  flex: 1;
}

/* --- Живые цифры ---------------------------------------------------------- */

.fp-live{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fp-live__top{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--fp-text-2);
}

.fp-stats{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.fp-stat{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px;
  border-radius: var(--fp-radius);
  background: #ffffff;
  box-shadow: var(--fp-shadow);
}

.fp-stat__value{
  font-family: var(--fp-head);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fp-accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fp-stat__label{
  font-size: 16px;
  line-height: 1.5;
  color: var(--fp-text-2);
}

/* В <dl> подпись (dt) идёт первой по разметке, а показываем число сверху */
dd.fp-stat__value{
  order: -1;
}

/* --- Шаги ----------------------------------------------------------------- */

.fp-steps{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
  counter-reset: fp-step;
}

.fp-step{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--fp-radius);
  background: var(--fp-bg-soft);
}

.fp-section--soft .fp-step,
.fp-section--blue .fp-step{
  background: #ffffff;
}

.fp-step__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fp-step__num{
  font-family: var(--fp-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--fp-muted);
}

.fp-step p{
  font-size: 15px;
  line-height: 1.6;
  color: var(--fp-text-2);
}

/* Шаг с мини-интерфейсом сверху */
.fp-step--art{
  display: grid;
  grid-template-rows: 210px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--fp-line);
}

.fp-step--art .fp-step__body{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px 28px;
}

/* --- Графики -------------------------------------------------------------- */

.fp-charts{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr));
  gap: 24px;
}

.fp-chart{
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 24px;
  background: #ffffff;
}

.fp-section:not(.fp-section--soft):not(.fp-section--blue) .fp-chart{
  border: 1px solid var(--fp-line);
}

.fp-chart__head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fp-chart__title{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fp-chart__title span{
  font-size: 14px;
  color: var(--fp-muted);
}

.fp-legend{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--fp-text-2);
}

.fp-legend span{
  display: flex;
  align-items: center;
  gap: 8px;
}

.fp-legend i{
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--fp-accent);
}

.fp-legend i.is-before{
  background: var(--fp-accent-light);
}

.fp-legend i.is-box{
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* Область построения: SVG растягивается, подписи — HTML поверх в процентах */
.fp-plot{
  position: relative;
  height: 240px;
  margin: 36px 16px 30px 40px;
}

.fp-plot > svg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fp-plot__y{
  position: absolute;
  left: -40px;
  width: 28px;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--fp-muted);
  text-align: right;
}

.fp-plot__x{
  position: absolute;
  top: 100%;
  margin-top: 10px;
  font-size: 13px;
  color: var(--fp-muted);
  white-space: nowrap;
}

.fp-plot__marker{
  position: absolute;
  top: -10px;
  transform: translate(-50%, -100%);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fp-dark);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.fp-plot__dot{
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--fp-accent);
  transform: translate(-50%, -50%);
}

.fp-plot__dot.is-before{
  background: var(--fp-accent-light);
}

.fp-plot__note{
  position: absolute;
  transform: translate(-100%, 10px);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* Столбики */
.fp-bars{
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 16px;
  height: 220px;
  margin: 36px 0 30px;
  border-bottom: 1px solid #cfd6e4;
  background: linear-gradient(#e6eaf2, #e6eaf2) 0 0 / 100% 1px no-repeat,
              linear-gradient(#e6eaf2, #e6eaf2) 0 33.3% / 100% 1px no-repeat,
              linear-gradient(#e6eaf2, #e6eaf2) 0 66.6% / 100% 1px no-repeat;
}

.fp-bars__group{
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(6px, 1.4vw, 14px);
  height: 100%;
}

.fp-bars__group > i{
  width: clamp(14px, 2.2vw, 24px);
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: var(--fp-accent);
  transform-origin: bottom;
}

.fp-bars__group.is-before > i{
  background: var(--fp-accent-light);
}

.fp-bars__label{
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 10px;
  font-size: 13px;
  color: var(--fp-muted);
  text-align: center;
}

.fp-bars__divider{
  position: relative;
  width: 1px;
  height: 100%;
  background: #b9c3d6;
}

.fp-bars__divider .fp-plot__marker{
  left: 50%;
}

.fp-chart__caption{
  font-size: 13px;
  color: var(--fp-muted);
}

@media (prefers-reduced-motion: no-preference){
  .fp-chart.is-visible .fp-bars__group > i{
    animation: fp-grow .9s cubic-bezier(.2, .7, .2, 1) both;
  }

  .fp-chart.is-visible .fp-bars__group > i:nth-child(2){ animation-delay: .06s; }
  .fp-chart.is-visible .fp-bars__group > i:nth-child(3){ animation-delay: .12s; }
  .fp-chart.is-visible .fp-bars__group > i:nth-child(4){ animation-delay: .18s; }

  /* Линия «прорисовывается» слева направо */
  .fp-chart.is-visible .fp-plot > svg{
    animation: fp-reveal 1.4s ease-out both;
  }
}

@keyframes fp-grow{
  from{ transform: scaleY(0); }
}

@keyframes fp-reveal{
  from{ clip-path: inset(-10% 100% -10% 0); }
  to{ clip-path: inset(-10% -2% -10% 0); }
}

/* --- Карточки с мини-иллюстрацией ----------------------------------------- */

.fp-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 24px;
}

.fp-cards--4{
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.fp-card{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  background: #ffffff;
}

.fp-card__art{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 176px;
  padding: 20px 24px;
  background: var(--fp-bg-card);
  font-size: 13px;
  line-height: 1.35;
}

.fp-card__body{
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.fp-card__body p{
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fp-text-2);
}

.fp-card__body .fp-link{
  align-self: flex-start;
}

/* Детали мини-иллюстраций */
.fp-art-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #ffffff;
}

.fp-art-row--you{
  border-color: var(--fp-accent);
  font-weight: 600;
}

.fp-art-row--muted{
  color: var(--fp-muted);
}

.fp-art-row span{
  display: flex;
  align-items: center;
  gap: 8px;
}

.fp-art-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fp-art-pill{
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--fp-text-2);
  font-size: 13px;
  white-space: nowrap;
}

.fp-art-pill--accent{
  background: var(--fp-accent);
  color: #ffffff;
  font-weight: 600;
}

.fp-art-pill--dark{
  background: var(--fp-dark);
  color: #ffffff;
}

.fp-art-pill--off{
  border: 1px dashed #b9c3d6;
  color: var(--fp-muted);
  text-decoration: line-through;
}

.fp-art-pill--line{
  border: 1px solid #d6dce8;
}

.fp-art-rule{
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 2px solid var(--fp-text);
  font-size: 12px;
  font-weight: 600;
}

.fp-art-rule--bottom{
  padding: 0 0 6px;
  border-top: 0;
  border-bottom: 2px solid var(--fp-text);
}

.fp-art-hatch{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 8px;
  background: repeating-linear-gradient(135deg, #dfe5f0 0 6px, #f2f6fd 6px 12px);
  font-size: 12px;
  color: var(--fp-text-2);
}

.fp-art-bars{
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 10px;
  min-height: 80px;
}

.fp-art-bars i{
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: var(--fp-accent);
}

.fp-art-flow{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fp-art-box{
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ffffff;
  font-size: 14px;
  line-height: 1.3;
}

.fp-art-box span{
  font-size: 11px;
  color: var(--fp-muted);
}

.fp-art-box--accent{
  background: var(--fp-accent);
  color: #ffffff;
}

.fp-art-box--accent span{
  color: #dce8ff;
}

.fp-art-center{
  display: flex;
  justify-content: center;
}

.fp-art-meter{
  height: 10px;
  border-radius: 999px;
  background: #dfe5f0;
  overflow: hidden;
}

.fp-art-meter i{
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 999px;
  background: var(--fp-accent);
}

/* --- Плитки «скорость и лимиты» ------------------------------------------- */

.fp-tiles{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
  gap: 24px;
}

.fp-tile{
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 24px;
  background: #ffffff;
}

.fp-tile--dark{
  background: var(--fp-dark);
  color: #ffffff;
}

.fp-tile__label{
  font-size: 15px;
  font-weight: 600;
  color: var(--fp-text-2);
}

.fp-tile--dark .fp-tile__label{
  color: #b8c4ff;
}

.fp-tile__big{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  font-family: var(--fp-head);
  font-size: clamp(44px, 5.4vw, 80px);
  font-weight: 700;
  line-height: 1;
}

.fp-tile__big small{
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 600;
}

.fp-tile:not(.fp-tile--dark) .fp-tile__big > span{
  color: var(--fp-accent);
}

.fp-tile p{
  font-size: 16px;
  line-height: 1.6;
  color: var(--fp-text-2);
}

.fp-tile--dark p{
  color: #dfe4f2;
}

.fp-tile__note{
  padding: 14px 18px;
  border: 1px solid #3a4166;
  border-radius: 14px;
  font-size: 15px;
}

.fp-tile__note b{
  color: #ffffff;
}

/* Таймлайн проверок на тёмной плитке */
.fp-ticks{
  display: flex;
  align-items: center;
  padding: 8px 0 0;
}

.fp-ticks i{
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9cc2ff;
}

.fp-ticks b{
  flex: 1;
  height: 2px;
  background: #3a4166;
}

.fp-ticks-labels{
  display: flex;
  justify-content: space-between;
  margin-top: -12px;
  font-size: 13px;
  color: #c3cae0;
}

@media (prefers-reduced-motion: no-preference){
  .fp-ticks i{
    animation: fp-pulse 2.4s ease-in-out infinite;
  }

  .fp-ticks i:nth-of-type(2){ animation-delay: .6s; }
  .fp-ticks i:nth-of-type(3){ animation-delay: 1.2s; }
  .fp-ticks i:nth-of-type(4){ animation-delay: 1.8s; }
}

@keyframes fp-pulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(156, 194, 255, 0); }
  30%{ box-shadow: 0 0 0 6px rgba(156, 194, 255, .28); }
}

.fp-meter{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fp-meter__top{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--fp-text-2);
}

.fp-meter__bar{
  display: flex;
  height: 12px;
  border-radius: 999px;
  background: #e6ecf7;
  overflow: hidden;
}

.fp-meter__bar i{
  width: var(--w, 68%);
  border-radius: 999px;
  background: var(--fp-accent);
}

.fp-meter__scale{
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fp-muted);
}

.fp-queue{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fp-queue span{
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--fp-bg-soft);
  font-size: 13px;
  color: var(--fp-text-2);
}

/* --- Ссылки-карточки «что ещё» и список функций --------------------------- */

.fp-links{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}

.fp-links--3{
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
}

.fp .fp-linkcard{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--fp-line);
  border-radius: 18px;
  background: #ffffff;
  color: var(--fp-text);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fp .fp-linkcard:hover{
  border-color: #b9cdf0;
  box-shadow: var(--fp-shadow);
  color: var(--fp-text);
  transform: translateY(-2px);
}

.fp-linkcard__body{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fp-linkcard__title{
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.fp-linkcard__text{
  font-size: 15px;
  line-height: 1.55;
  color: var(--fp-text-2);
}

.fp-linkcard__more{
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fp-accent);
}

/* --- Полоса тарифов -------------------------------------------------------- */

.fp-terms{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #eceef4;
}

.fp-terms button{
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-family: var(--fp-body);
  font-size: 15px;
  color: var(--fp-text-2);
  cursor: pointer;
}

.fp-terms button[aria-pressed="true"]{
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16, 19, 33, .12);
  font-weight: 700;
  color: var(--fp-text);
}

.fp-plans{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.fp-plan{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--fp-line);
  border-radius: 16px;
  background: #ffffff;
}

.fp-plan__name{
  font-family: var(--fp-head);
  font-size: 18px;
  font-weight: 600;
}

.fp-plan__limit{
  font-size: 14px;
  color: var(--fp-muted);
}

.fp-plan__price{
  margin-top: 10px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fp-plan__per{
  font-size: 14px;
  color: var(--fp-text-2);
}

.fp-plan--popular{
  padding: 23px;
  border: 2px solid var(--fp-accent);
  background: #f5f9ff;
}

.fp-plan__badge{
  position: absolute;
  top: -13px;
  right: 16px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--fp-green);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.fp-tariffs__foot{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* --- FAQ ------------------------------------------------------------------ */

.fp-faq{
  border-top: 1px solid var(--fp-line-2);
}

.fp-faq details{
  border-bottom: 1px solid var(--fp-line-2);
}

.fp-faq summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
}

.fp-faq summary::-webkit-details-marker{
  display: none;
}

.fp-faq summary h3{
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.fp-faq summary::after{
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  background: var(--fp-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}

.fp-faq details[open] summary::after{
  transform: rotate(45deg);
}

.fp-faq details > div,
.fp-faq details > p{
  max-width: 780px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fp-text-2);
}

.fp-faq details > div p + p{
  margin-top: 10px;
}

.fp-faq__more{
  margin-top: 24px;
  font-size: 15px;
  color: var(--fp-text-2);
  text-align: center;
}

.fp-faq__more a{
  font-weight: 600;
}

/* --- CTA на градиенте ------------------------------------------------------ */

.fp-cta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 72px);
  border-radius: 32px;
  background: linear-gradient(135deg, #126dfa 0%, #5759df 58%, #7e55e6 100%);
  color: #ffffff;
}

.fp-cta__text{
  display: flex;
  flex: 1 1 520px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.fp-cta .fp-h2{
  color: #ffffff;
}

.fp-cta p{
  max-width: 640px;
  font-size: 18px;
  line-height: 1.55;
  color: #ffffff;
}

.fp-cta__action{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.fp-cta__action span{
  font-size: 15px;
  font-weight: 600;
}

/* --- Выгоды в hero: иконка + заголовок + подпись -------------------------- */

.fp-benefits{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fp-benefits li{
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fp-text-2);
}

.fp-benefits b{
  font-size: 16px;
  color: var(--fp-text);
}

/* --- Двухколоночный блок: текст + визуал ----------------------------------- */

.fp-split{
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.fp-split--even{
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.fp-split--top{
  align-items: start;
}

.fp-split__text{
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.fp-points{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fp-points li{
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fp-points li > span:last-child{
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fp-text-2);
}

.fp-points b{
  font-size: 17px;
  color: var(--fp-text);
}

/* --- Таймлайн ------------------------------------------------------------- */

.fp-timeline{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.fp-timeline li{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fp-timeline__dot{
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

/* Линия от кружка к следующему шагу */
.fp-timeline li:not(:last-child) .fp-timeline__dot::after{
  content: "";
  flex: 1;
  height: 2px;
  margin-left: 12px;
  background: linear-gradient(90deg, #b9cdf0, #dfe8f8);
}

.fp-timeline li:last-child .fp-ico{
  background: var(--fp-green-soft);
  color: var(--fp-green);
}

.fp-timeline p{
  font-size: 15px;
  line-height: 1.6;
  color: var(--fp-text-2);
}

/* --- Мок формы настроек ---------------------------------------------------- */

.fp-form{
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--fp-line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--fp-shadow);
}

.fp-form__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--fp-bg-soft);
}

.fp-form__label{
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.fp-form__label small{
  font-size: 13px;
  font-weight: 400;
  color: var(--fp-muted);
}

.fp-form__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fp-select{
  min-height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid #cfd6e4;
  border-radius: 10px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d4352' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
  font-family: var(--fp-body);
  font-size: 15px;
  color: var(--fp-text);
  -webkit-appearance: none;
  appearance: none;
}

.fp-textarea{
  width: 100%;
  min-height: 210px;
  padding: 14px 16px;
  border: 1px solid #cfd6e4;
  border-radius: 14px;
  background: #ffffff;
  font-family: var(--fp-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--fp-text);
  resize: vertical;
}

.fp-tokens{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fp-muted);
}

.fp-tokens button{
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: var(--fp-accent-tint);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: #0a4fb0;
  cursor: pointer;
}

.fp-tokens button:hover{
  background: var(--fp-accent-soft);
}

.fp-form__actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.fp-form__saved{
  font-size: 14px;
  font-weight: 600;
  color: var(--fp-green);
}

/* Мини-интерфейсы в шагах подключения */
.fp-mini{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 190px;
  padding: 24px;
  background: var(--fp-bg-card);
  font-size: 13px;
  line-height: 1.35;
}

.fp-mini__title{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--fp-muted);
}

.fp-token{
  display: inline;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--fp-accent-soft);
  color: #0a4fb0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  white-space: nowrap;
}

.fp-path{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.fp-path span{
  padding: 6px 10px;
  border-radius: 8px;
  background: #ffffff;
  white-space: nowrap;
}

.fp-path span:last-child{
  background: var(--fp-accent);
  color: #ffffff;
  font-weight: 600;
}

.fp-path i{
  font-style: normal;
  color: var(--fp-muted);
}

.fp-radio{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #ffffff;
  color: var(--fp-muted);
}

.fp-radio::before{
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border: 2px solid #b9c3d6;
  border-radius: 50%;
}

.fp-radio--on{
  border-color: var(--fp-accent);
  color: var(--fp-text);
  font-weight: 600;
}

.fp-radio--on::before{
  border: 4px solid var(--fp-accent);
}

/* --- Ценовая карточка модуля ---------------------------------------------- */

.fp-price{
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

.fp-price__main{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 24px;
  background: var(--fp-dark);
  color: #ffffff;
}

.fp-price__label{
  font-size: 15px;
  font-weight: 600;
  color: #b8c4ff;
}

.fp-price__value{
  white-space: nowrap;
  font-family: var(--fp-head);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1;
}

.fp-price__value small{
  font-size: .4em;
  font-weight: 600;
}

.fp-price__note{
  margin-bottom: 12px;
  font-size: 16px;
  color: #dfe4f2;
}

.fp-price__facts{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fp-price__facts li{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fp-text-2);
}

.fp-section:not(.fp-section--soft):not(.fp-section--blue) .fp-price__facts li{
  background: var(--fp-bg-soft);
}

.fp-price__facts b{
  font-size: 17px;
  color: var(--fp-text);
}

@media screen and (max-width: 1024px){
  .fp-split,
  .fp-split--even,
  .fp-price{
    grid-template-columns: 1fr;
  }

  .fp-timeline{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fp-timeline li:nth-child(2) .fp-timeline__dot::after{
    display: none;
  }
}

@media screen and (max-width: 767px){
  .fp-benefits,
  .fp-form__grid,
  .fp-price__facts{
    grid-template-columns: 1fr;
  }

  .fp-benefits li{
    flex-direction: row;
    align-items: flex-start;
  }

  .fp-timeline{
    grid-template-columns: 1fr;
  }

  .fp-timeline .fp-timeline__dot::after{
    display: none;
  }

  .fp-form__row{
    padding: 12px;
  }
}

/* --- Ролики блогеров (мокап коротких видео) -------------------------------- */

.fp-reels{
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
}

.fp-reel{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 228px;
  aspect-ratio: 9 / 16;
  padding: 14px;
  overflow: hidden;
  border: 8px solid var(--fp-text);
  border-radius: 32px;
  background: linear-gradient(160deg, #dbe7ff 0%, #b8cdf5 46%, #6f8fd6 100%);
  box-shadow: var(--fp-shadow-lg);
  color: #ffffff;
}

.fp-reel--alt{
  margin-top: 56px;
  background: linear-gradient(160deg, #ffe7dc 0%, #f7c3ae 46%, #c9755b 100%);
}

/* Товар в кадре — простая форма коробки */
.fp-reel__product{
  position: absolute;
  top: 22%;
  left: 50%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #eef2fb 60%, #d5deef 100%);
  box-shadow: 0 18px 30px rgba(16, 19, 33, .22);
  transform: translateX(-50%) rotate(-6deg);
}

.fp-reel__product::after{
  content: "";
  position: absolute;
  inset: 24% 20% auto;
  height: 22%;
  border-radius: 8px;
  background: rgba(10, 95, 208, .18);
}

.fp-reel--alt .fp-reel__product{
  border-radius: 50% 50% 22px 22px;
  transform: translateX(-50%) rotate(5deg);
}

.fp-reel__side{
  position: absolute;
  right: 10px;
  bottom: 140px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fp-reel__side span{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 19, 33, .38);
}

.fp-reel__meta{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(16, 19, 33, .55);
  font-size: 12px;
  line-height: 1.35;
}

.fp-reel__meta b{
  font-size: 13px;
}

.fp-reel__buy{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  border-radius: 8px;
  background: var(--fp-red);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.fp-reels > figcaption{
  position: absolute;
  left: 0;
  bottom: -28px;
}

.fp-platforms{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Калькулятор ------------------------------------------------------------ */

.fp-calc{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--fp-line);
  border-radius: 24px;
  background: #ffffff;
}

.fp-calc__controls{
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px);
}

.fp-calc__result{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--fp-dark);
  color: #ffffff;
}

.fp-input{
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid #cfd6e4;
  border-radius: 12px;
  font-family: var(--fp-head);
  font-size: 24px;
  font-weight: 600;
  color: var(--fp-text);
}

.fp-input--text{
  font-family: var(--fp-body);
  font-size: 18px;
  font-weight: 500;
}

.fp-input:focus{
  border-color: var(--fp-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(10, 95, 208, .15);
}

.fp-chipbtns{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fp-chipbtns button{
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: var(--fp-accent-tint);
  font-family: var(--fp-body);
  font-size: 14px;
  font-weight: 600;
  color: #0a4fb0;
  cursor: pointer;
}

.fp-chipbtns button:hover{
  background: var(--fp-accent-soft);
}

.fp-rows div{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #2b3150;
  font-size: 16px;
  color: #dfe4f2;
}

.fp-rows dd{
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.fp-rows .is-total{
  border-bottom: 0;
}

.fp-rows .is-total dd{
  font-family: var(--fp-head);
  font-size: clamp(26px, 2.6vw, 36px);
  color: #9cc2ff;
}

.fp-calc__hint{
  font-size: 14px;
  line-height: 1.5;
  color: #c3cae0;
}

@media screen and (max-width: 1024px){
  .fp-reels{
    justify-content: center;
  }
}

@media screen and (max-width: 767px){
  .fp-calc{
    grid-template-columns: 1fr;
  }

  .fp-reel{
    width: 46%;
    border-width: 6px;
    border-radius: 24px;
  }

  .fp-reel--alt{
    margin-top: 32px;
  }

  .fp-reel__side{
    display: none;
  }

  .fp-reels{
    flex-wrap: wrap;
    justify-content: center;
  }

  .fp-reels > figcaption{
    position: static;
    flex-basis: 100%;
  }

  .fp-reel__meta > span:not(.fp-reel__buy){
    display: none;
  }

  .fp-reel__buy{
    font-size: 11px;
  }
}

/* --- Отзывы клиентов: видео, цитаты, рейтинг --------------------------------- */

.fp-rating{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff8e8;
}

.fp-rating b{
  font-family: var(--fp-head);
  font-size: 28px;
  line-height: 1;
}

.fp-rating small{
  font-size: 15px;
  color: var(--fp-text-2);
}

/* Пять звёзд маской: цвет задаёт background */
.fp-rating-stars{
  display: inline-block;
  flex: none;
  width: 100px;
  height: 20px;
  background: #f5a524;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 17.3l-5.8 3.1 1.1-6.5L2.6 9.3l6.5-.9z'/%3E%3C/svg%3E") left center / 20px 20px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 17.3l-5.8 3.1 1.1-6.5L2.6 9.3l6.5-.9z'/%3E%3C/svg%3E") left center / 20px 20px repeat-x;
}

.fp-rating-stars--sm{
  width: 80px;
  height: 16px;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
}

.fp-collage{
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  width: min(100%, 520px);
  height: 560px;
}

.fp-collage figure{
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--fp-bg-card);
  box-shadow: var(--fp-shadow);
}

.fp-collage figure:first-child{
  grid-row: span 2;
}

.fp-collage img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-play{
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--fp-text);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(16, 19, 33, .25);
}

.fp-videos{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.fp-video{
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  background: #ffffff;
}

/* Высота кадра задаётся пропорцией, а не постером: все карточки ровные */
.fp-video__media{
  position: relative;
  flex: none;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 9 / 14;
  background: var(--fp-dark);
}

.fp-video__media video,
.fp-video__media img{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp .fp-video__link{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(180deg, rgba(16, 19, 33, 0) 50%, rgba(16, 19, 33, .7) 100%);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.fp-video__link::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2315171f'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% center / 24px no-repeat;
  transform: translate(-50%, -50%);
}

.fp-video__body{
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 20px;
}

.fp-quote{
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fp-text-2);
}

.fp-author{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
}

.fp .fp-author a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
}

.fp-reviews{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.fp-review{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--fp-radius);
  background: #ffffff;
}

.fp-review__head{
  display: flex;
  align-items: center;
  gap: 14px;
}

.fp-review__name{
  font-size: 17px;
  font-weight: 700;
}

.fp-review__store{
  font-size: 14px;
  color: var(--fp-muted);
}

@media screen and (max-width: 1180px){
  .fp-videos{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px){
  .fp-videos{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fp-reviews{
    grid-template-columns: 1fr;
  }

  .fp-collage{
    height: 440px;
  }
}

@media screen and (max-width: 480px){
  .fp-videos{
    gap: 12px;
  }

  .fp-video__body{
    padding: 14px;
  }

  .fp-quote{
    font-size: 14px;
  }

  .fp-author{
    flex-direction: column;
    align-items: flex-start;
  }

  .fp-collage{
    height: 360px;
  }
}

/* --- Полоса «тарифы + живые цифры» в гидах ------------------------------------ */

.fp-guide-strip{
  background: var(--fp-accent-tint);
}

.fp-guide-strip__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  align-items: stretch;
  gap: 24px;
}

.fp-guide-strip__plans{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fp-plans--mini{
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.fp-plans--mini .fp-plan{
  gap: 2px;
  padding: 14px 16px;
}

.fp-plans--mini .fp-plan--popular{
  padding: 13px 15px;
}

.fp-plans--mini .fp-plan__name{
  font-size: 15px;
}

.fp-plans--mini .fp-plan__price{
  margin-top: 6px;
  font-size: 19px;
}

.fp-plans--mini .fp-plan__per{
  font-size: 13px;
}

.fp-guide-strip__live{
  justify-content: center;
}

.fp-guide-strip__live .fp-stat__value{
  font-size: clamp(28px, 2.6vw, 38px);
}

@media screen and (max-width: 1180px){
  .fp-guide-strip__grid{
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px){
  .fp-plans--mini{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Шапка: логотип-ссылка поверх белой подложки мобильного меню ------------ */

.fp-logo{
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex: none;
}

/* --- Подвал: карта ссылок поверх подвала главной ---------------------------- */

.fp-footnav{
  background: #181818;
  border-bottom: 1px solid #2c2c2c;
}

/* Поля как у .footer_new__container из style.css: 120 → 60 → 16 px */
.fp-footnav__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 40px 120px 32px;
}

@media screen and (max-width: 1280px){
  .fp-footnav__grid{
    padding-inline: 60px;
  }
}

@media screen and (max-width: 1024px){
  .fp-footnav__grid{
    padding-inline: 16px;
  }
}

.fp-footnav__title{
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #b4b8c2;
}

.fp-footnav li + li{
  margin-top: 4px;
}

.fp-footnav a{
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
}

.fp-footnav a:hover{
  color: #9cc2ff;
}

/* --- Адаптив ---------------------------------------------------------------- */

@media screen and (max-width: 1180px){
  .fp-plans{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1024px){
  .fp-hero__grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fp-hero__visual{
    justify-content: center;
    padding-inline: 40px;
  }

  .fp-footnav__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px){
  .fp-hero{
    padding-top: 24px;
  }

  .fp-crumbs{
    margin-bottom: 20px;
  }

  .fp-hero__text{
    gap: 18px;
  }

  .fp .fp-btn{
    width: 100%;
    padding: 0 24px;
  }

  .fp-actions{
    gap: 12px;
  }

  .fp-hero__visual{
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0;
  }

  /* Плашки уходят из-под пальцев: под мокап, в поток */
  .fp-float{
    position: static;
    width: 100%;
    max-width: 340px;
  }

  .fp-float--pill{
    order: -1;
    width: auto;
  }

  .fp-plot{
    height: 200px;
    margin-left: 32px;
    margin-right: 8px;
  }

  .fp-plot__y{
    left: -32px;
    width: 22px;
  }

  .fp-plans{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .fp-plan{
    padding: 18px;
  }

  .fp-plan--popular{
    padding: 17px;
  }

  .fp-plan__price{
    font-size: 22px;
  }

  .fp-faq summary h3{
    font-size: 17px;
  }

  .fp-cta{
    border-radius: 24px;
  }

  .fp-cta__action{
    width: 100%;
  }

  .fp-stat{
    padding: 22px 24px;
  }
}

@media screen and (max-width: 420px){
  .fp-phone{
    width: 100%;
    border-radius: 44px;
    padding: 10px;
  }

  .fp-phone__screen{
    padding: 22px 12px 16px;
    border-radius: 34px;
  }

  .fp-seller{
    gap: 8px;
    padding: 10px;
  }

  .fp-footnav__grid{
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }

  .fp-card__art{
    padding: 18px;
  }

  /* Подписи часов не помещаются — оставляем только полосу */
  .fp-hours li{
    height: 20px;
    font-size: 0;
  }
}

@media (prefers-reduced-motion: reduce){
  .fp *,
  .fp *::before,
  .fp *::after{
    animation: none !important;
    transition: none !important;
  }
}

/* ─── Блогеры: мокап раздела «Микроблогеры» в кабинете с настоящими фото креаторов ─── */
.fp-ugc-cab{
  position: relative;
  width: min(100%, 620px);
  margin: 0 0 0 auto;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(16, 19, 33, .16);
  overflow: hidden;
}

.fp-ugc-cab__bar{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f3f5f9;
  border-bottom: 1px solid #e6e9f0;
}

.fp-ugc-cab__bar span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5d9e2;
}

.fp-ugc-cab__bar i{
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 8px;
  background: #ffffff;
  font-style: normal;
  font-size: 12px;
  color: #6b7280;
}

.fp-ugc-cab__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 4px;
}

.fp-ugc-cab__head b{
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #101321;
}

.fp-ugc-cab__head div span{
  display: block;
  font-size: 12px;
  color: #6b7280;
}

.fp-ugc-cab__status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #15803d;
  white-space: nowrap;
}

.fp-ugc-cab__status i{
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #15803d;
}

.fp-ugc-cab__status i::after{
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
}

.fp-ugc-cab__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 20px 20px;
}

.fp-ugc-cab__tile{
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #e9edf5;
}

/* Каждой плитке — свой кадр (creators/creator-N.webp, нарезаны из общей картинки
   одинакового размера 340×537), cover + лицо в верхней трети: кадры стоят ровно. */
.fp-ugc-cab__photo{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
}

.fp-ugc-cab__net{
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: #1f2937;
}

.fp-ugc-cab__net--ig{ background: #c2338b; }
.fp-ugc-cab__net--tt{ background: #101321; }
.fp-ugc-cab__net--fb{ background: #1d5fd0; }
.fp-ugc-cab__net--th{ background: #0f766e; }

.fp-ugc-cab__play{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(16, 19, 33, .55);
  backdrop-filter: blur(2px);
}

.fp-ugc-cab__title{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(16, 19, 33, 0) 0%, rgba(16, 19, 33, .78) 100%);
}

.fp-ugc-cab__stats{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 20px 12px;
  padding: 12px 0 0;
  border-top: 1px solid #e6e9f0;
}

.fp-ugc-cab__stats div{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fp-ugc-cab__stats span{
  font-size: 11px;
  color: #6b7280;
  white-space: nowrap;
}

.fp-ugc-cab__stats b{
  font-size: 15px;
  font-weight: 700;
  color: #101321;
  white-space: nowrap;
}

.fp-ugc-cab > figcaption{
  padding: 0 20px 16px;
  margin: 0;
}

@media (max-width: 1023px){
  .fp-ugc-cab{ margin: 0 auto; }
}

@media (max-width: 560px){
  .fp-ugc-cab__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-ugc-cab__head div span{ display: none; }
}

/* Kaspi Reviews: phone ported from the guide page (kaspi-reviews.css) — layout and token fallbacks */
.fp-kphone{
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-basis: auto;
  min-height: 0;
  --g-ink: #181818;
  --g-text: #444444;
  --g-muted: #5e5252;
  --g-blue: #007aff;
  --g-blue-dark: #0060cc;
  --g-green: #34c759;
  --g-green-text: #15803d;
  --g-violet: #5e5ce6;
  --g-bg-soft: #f8f8fc;
  --g-pill: #f1f1f6;
  --g-line: #ececf1;
}
.fp-kphone > .fp-mock-note{
  margin: 0;
}
