/* =============================================================================
   BanketPro · Public / Marketing styles
   Landing, auth, onboarding — separate aesthetic from the CRM shell.
   Port into static/css/public.css.
   ============================================================================= */

.bp-public { background: var(--bg); color: var(--fg); min-height: 100vh; }

/* ─── Public header ────────────────────────────────────────────────────── */
.bp-pub-header { position: sticky; top: 0; z-index: var(--z-sticky); backdrop-filter: saturate(1.4) blur(8px); background: rgba(251,251,250,0.85); border-bottom: 1px solid var(--border); }
.bp-pub-header__inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bp-pub-nav { display: flex; gap: 6px; }
.bp-pub-nav a { padding: 6px 10px; border-radius: var(--radius); color: var(--fg-muted); font-size: var(--fs-base); font-weight: var(--fw-medium); }
.bp-pub-nav a:hover { color: var(--fg); background: var(--bg-hover); }

/* Mobile burger + off-canvas drawer (AUDIT B-1): на mobile .bp-pub-nav
   была display:none, бургер-кнопки не было — ссылки разделов лендинга
   («Возможности», «Тарифы», «Вопросы») недостижимы для мобильных юзеров,
   что блокировало конверсию. */
.bp-pub-burger { display: none; background: transparent; border: 1px solid var(--border); border-radius: var(--radius); width: 38px; height: 38px; align-items: center; justify-content: center; cursor: pointer; color: var(--fg); padding: 0; }
.bp-pub-burger:hover { background: var(--bg-hover); }
.bp-pub-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.bp-pub-drawer { position: fixed; inset: 0; z-index: 1100; display: flex; }
.bp-pub-drawer__scrim { position: absolute; inset: 0; background: rgba(15, 15, 15, .45); animation: bpPubScrim .15s ease-out; }
.bp-pub-drawer__panel { position: relative; margin-left: auto; width: min(360px, 92vw); height: 100%; background: var(--bg-elev); display: flex; flex-direction: column; box-shadow: -8px 0 32px rgba(0,0,0,.18); animation: bpPubPanelIn .22s cubic-bezier(.2,.8,.2,1); }
.bp-pub-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.bp-pub-drawer__nav { display: flex; flex-direction: column; padding: 12px 8px; gap: 2px; }
.bp-pub-drawer__nav a { display: block; padding: 12px 14px; border-radius: var(--radius); color: var(--fg); font-size: 15px; font-weight: 550; text-decoration: none; }
.bp-pub-drawer__nav a:hover, .bp-pub-drawer__nav a:focus-visible { background: var(--bg-hover); }
.bp-pub-drawer__foot { margin-top: auto; padding: 16px 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.bp-pub-drawer__foot .bp-btn { width: 100%; justify-content: center; }
@keyframes bpPubScrim { from { opacity: 0; } to { opacity: 1; } }
@keyframes bpPubPanelIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

@media (max-width: 780px) {
  .bp-pub-nav { display: none; }
  .bp-pub-burger { display: inline-flex; }
  .bp-pub-cta-login { display: none; }  /* на mobile «Войти» уезжает в drawer */
}
@media (min-width: 781px) { .bp-pub-drawer { display: none !important; } }

/* Тач-планшеты >768 (аудит): гарды тач-целей заперты в width-медиа (≤540 ниже,
   ≤768 в production-fixes) — на iPad «Войти»/«Попробовать» в шапке и кнопки
   cookie-баннера оставались 26px. Гейт по УСТРОЙСТВУ (pointer: coarse), а не по
   ширине — мышиный десктоп не трогаем; min-width:769, чтобы эти более специфичные
   селекторы не перебивали телефонные width-гарды (36/44px). */
@media (pointer: coarse) and (min-width: 769px) {
  .bp-pub-header .bp-btn { min-height: 42px; }
  .bp-cookie__actions .bp-btn { min-height: 40px; }
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.bp-hero { max-width: 1200px; margin: 0 auto; padding: 72px 24px 56px; text-align: center; }
.bp-hero__pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: var(--fs-sm); font-weight: var(--fw-medium); background: var(--accent-soft); color: var(--accent-press); border-radius: 999px; margin-bottom: 20px; }
.bp-hero__title { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; max-width: 800px; margin: 0 auto; color: var(--fg); }
.bp-hero__title em { font-style: normal; background: linear-gradient(100deg, var(--accent), #b91c7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bp-hero__sub { max-width: 620px; margin: 20px auto 0; font-size: var(--fs-lg); color: var(--fg-muted); line-height: 1.55; }
.bp-hero__cta { margin: 28px auto 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 540px) {
  .bp-hero__cta { flex-direction: column; align-items: stretch; }
  .bp-hero__cta .bp-btn { width: 100%; justify-content: center; }
  .bp-pub-header__inner { padding: 12px 16px; gap: 8px; }
  .bp-pub-header .bp-btn { min-height: 36px; }
}
.bp-hero__meta { margin-top: 16px; font-size: var(--fs-sm); color: var(--fg-subtle); }

.bp-hero__preview { margin: 48px auto 0; max-width: 1100px; padding: 8px; background: linear-gradient(135deg, var(--accent-soft), #fdf2f8); border-radius: var(--radius-2xl); box-shadow: 0 32px 80px -20px rgba(79, 70, 229, 0.25); border: 1px solid var(--border); }
.bp-hero__preview-inner { background: var(--bg-elev); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); }

/* ─── Section ──────────────────────────────────────────────────────────── */
.bp-section { max-width: 1200px; margin: 0 auto; padding: 72px 24px; }
.bp-section__eyebrow { font-size: var(--fs-sm); font-weight: var(--fw-semi); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.bp-section__title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; max-width: 760px; }
.bp-section__sub { font-size: var(--fs-lg); color: var(--fg-muted); margin-top: 12px; max-width: 620px; }

.bp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
/* Планшет 721–900 (аудит): скачок 3→1 колонка давал карточки-«кишки» на 786px —
   держим 2 колонки; minmax(0,1fr) — чтобы nowrap-контент не распирал трек. */
@media (min-width: 721px) and (max-width: 900px) { .bp-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .bp-feature-grid { grid-template-columns: 1fr; } }
.bp-feature { padding: 24px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 10px; }
.bp-feature__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.bp-feature__title { font-size: var(--fs-lg); font-weight: var(--fw-semi); }
.bp-feature__text { color: var(--fg-muted); font-size: var(--fs-md); line-height: 1.55; }

/* ─── Pricing ──────────────────────────────────────────────────────────── */
.bp-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
/* Планшет 721–900 (аудит): тарифы столбиком не сравнить — оставляем 3 колонки.
   Твики карточки (.bp-plan) — ниже её базовых правил, иначе каскад их перебьёт. */
@media (min-width: 721px) and (max-width: 900px) { .bp-pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 720px) { .bp-pricing { grid-template-columns: 1fr; } }
.bp-plan { padding: 28px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 14px; }
.bp-plan--feat { border: 2px solid var(--accent); position: relative; box-shadow: 0 16px 40px -16px rgba(79, 70, 229, 0.3); }
.bp-plan--feat::before { content: 'Популярный'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; padding: 2px 10px; font-size: var(--fs-xs); font-weight: var(--fw-semi); border-radius: 999px; letter-spacing: 0.03em; text-transform: uppercase; }
.bp-plan__name { font-size: var(--fs-md); font-weight: var(--fw-semi); color: var(--fg-muted); }
.bp-plan__price { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 6px; }
.bp-plan__price small { font-size: var(--fs-md); font-weight: var(--fw-regular); color: var(--fg-muted); }
.bp-plan__feats { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; }
.bp-plan__feats li { display: flex; gap: 8px; font-size: var(--fs-md); color: var(--fg); }
.bp-plan__feats li svg { color: var(--ok); flex-shrink: 0; margin-top: 3px; }

/* ─── Testimonial strip ────────────────────────────────────────────────── */
.bp-logos { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; margin-top: 40px; opacity: 0.7; }
.bp-logos span { font-weight: 600; color: var(--fg-muted); font-size: var(--fs-md); letter-spacing: 0.02em; }

/* ─── CTA banner ───────────────────────────────────────────────────────── */
.bp-cta-band { background: var(--fg); color: var(--bg-elev); border-radius: var(--radius-xl); padding: 56px 40px; text-align: center; margin: 40px 0; }
.bp-cta-band h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -0.02em; max-width: 620px; margin: 0 auto; }
.bp-cta-band p { color: rgba(255,255,255,0.7); margin: 12px auto 24px; max-width: 500px; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.bp-pub-footer { max-width: 1200px; margin: 0 auto; padding: 40px 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--fg-muted); font-size: var(--fs-sm); }

/* ─── Auth layout ──────────────────────────────────────────────────────── */
/* Full aside styling lives in production-fixes.css §AUTH-ASIDE-V4.
   This block only declares grid topology; visuals are token-driven there. */
.bp-auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
@media (max-width: 960px) { .bp-auth { grid-template-columns: 1fr; } }

.bp-auth__form { padding: 48px; display: flex; align-items: center; justify-content: center; }
.bp-auth__form-inner { width: 100%; max-width: 380px; }
.bp-auth__title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.bp-auth__sub { color: var(--fg-muted); margin-top: 6px; font-size: var(--fs-md); }

.bp-oauth { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.bp-oauth__btn { width: 100%; justify-content: center; }
.bp-divider-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: var(--fs-sm); color: var(--fg-subtle); text-transform: uppercase; letter-spacing: 0.08em; }
.bp-divider-or::before, .bp-divider-or::after { content: ''; flex: 1; border-top: 1px solid var(--border); }

/* Onboarding wizard styles moved to static/css/onboarding.css.
   .bp-wizard__* classes deleted — new design uses .bp-onb-root /
   .bp-stepper / .bp-preview / .bp-step__ namespace. */

/* ─── Public event page (customer-facing) ──────────────────────────────── */
.bp-event-public { max-width: 720px; margin: 0 auto; padding: 40px 20px; }
.bp-event-public__cover { border-radius: var(--radius-xl); overflow: hidden; height: 200px; background: linear-gradient(135deg, var(--accent) 0%, #be185d 100%); display: flex; align-items: flex-end; padding: 24px; color: white; position: relative; }
.bp-event-public__title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }

/* ─── Error state ──────────────────────────────────────────────────────── */
.bp-error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; text-align: center; }
.bp-error-page__code { font-size: 96px; font-weight: 800; letter-spacing: -0.04em; background: linear-gradient(180deg, var(--fg), var(--fg-faint)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.bp-error-page__title { font-size: 24px; font-weight: 700; margin-top: 16px; }
.bp-error-page__text { color: var(--fg-muted); margin-top: 8px; max-width: 420px; }

/* =============================================================================
   LANDING v3 — production polish (port of handoff/production-fixes.css)
   Hero mock dashboard · Trust strip · Segments · 3-step · Feature benefit ·
   Pricing desc · Testimonials · FAQ · Soft CTA-band · Rich footer ·
   Background, section rhythm, typographic symmetry.
   ============================================================================= */

/* ─── Background: ультра-тонкий dot-grid + warm paper base ──────────────── */
.bp-public {
  background:
    radial-gradient(circle at 50% 0%, color-mix(in oklab, var(--accent-soft) 70%, var(--bg)) 0%, transparent 35%),
    radial-gradient(color-mix(in oklab, var(--border) 80%, transparent) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 28px 28px, auto;
  background-position: 0 0, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
}

/* ─── Section rhythm — увеличен padding для воздуха ─────────────────────── */
.bp-public .bp-section {
  padding-top: 96px;
  padding-bottom: 96px;
  max-width: 1120px;
}
.bp-public .bp-section--narrow {
  padding-top: 32px;
  padding-bottom: 32px;
}
@media (max-width: 720px) {
  .bp-public .bp-section { padding-top: 64px; padding-bottom: 64px; }
}

/* ─── Hero polish ─── */
.bp-public .bp-hero {
  padding-top: 88px;
  padding-bottom: 56px;
  max-width: 1120px;
}
.bp-public .bp-hero__title {
  font-size: clamp(36px, 5.2vw, 62px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 880px;
  text-wrap: balance;
}
.bp-public .bp-hero__title em {
  background: linear-gradient(95deg, var(--accent) 0%, #7c3aed 60%, #6d28d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.bp-public .bp-hero__sub {
  font-size: 17px;
  max-width: 640px;
  line-height: 1.6;
  margin-top: 24px;
  text-wrap: pretty;
}
.bp-public .bp-hero__cta { margin-top: 36px; }
.bp-public .bp-hero__meta { margin-top: 20px; font-size: 13px; letter-spacing: 0.005em; }
.bp-public .bp-hero__preview { margin-top: 64px; }

/* ─── Section eyebrow + title symmetric centering ───────────────────────── */
.bp-public .bp-section > .bp-section__eyebrow,
.bp-public .bp-section > .bp-section__title,
.bp-public .bp-section > .bp-section__sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.bp-public .bp-section__eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.bp-public .bp-section__title {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 720px;
  margin-top: 4px;
  text-wrap: balance;
}
.bp-public .bp-section__sub {
  margin-top: 18px;
  max-width: 560px;
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* Grids — отступ сверху, после sub */
.bp-public .bp-section > .bp-section__sub + .bp-feature-grid,
.bp-public .bp-section > .bp-section__sub + .bp-segments,
.bp-public .bp-section > .bp-section__sub + .bp-testimonials,
.bp-public .bp-section > .bp-section__sub + .bp-pricing,
.bp-public .bp-section > .bp-section__sub + .bp-steps {
  margin-top: 56px;
}

/* ─── Public header polish ──────────────────────────────────────────────── */
.bp-pub-header {
  background: rgba(251, 251, 250, 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
.bp-pub-header__inner { padding: 16px 24px; max-width: 1120px; }
.bp-pub-nav a { font-size: 14px; }

/* Public header logo — крупнее (тот же шаг, что и в sidebar v2) */
.bp-pub-header .bp-logo { gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.022em; }
.bp-pub-header .bp-logo__mark { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 14px rgba(79,70,229,.32), inset 0 -2px 0 rgba(0,0,0,.06); }
.bp-pub-header .bp-logo__mark svg { width: 20px; height: 20px; }

/* Footer logo (rich footer) — чуть крупнее, чтобы был узнаваем */
.bp-pub-footer-rich__brand .bp-logo { gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.022em; }
.bp-pub-footer-rich__brand .bp-logo__mark { width: 42px; height: 42px; border-radius: 11px; }
.bp-pub-footer-rich__brand .bp-logo__mark svg { width: 22px; height: 22px; }

/* ─── Hero mock — mini-dashboard preview ────────────────────────────────── */
.bp-hero__mock {
  background: var(--bg-elev);
  border-radius: var(--radius-xl);
  overflow: hidden;
  user-select: none;
  text-align: left;
  border: 1px solid var(--border);
}
.bp-hero__mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.bp-hero__mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.bp-hero__mock-url {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-subtle);
}
.bp-hero__mock-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 360px;
}
/* Phase 2 fix B-2 был ниже в первом коммите — оставлен, но дублирующий
   @media-блок на line 334-344 переопределял `grid-template-columns: 80px 1fr`
   и не скрывал .bp-hero__mock-side. Финальный fix теперь после всех правил
   ниже в файле (см. блок «AUDIT B-2 final override»). */
.bp-hero__mock-side {
  background: var(--bg-subtle);
  padding: 12px 8px;
  display: flex; flex-direction: column; gap: 2px;
  border-right: 1px solid var(--border);
}
.bp-hero__mock-nav {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
  position: relative;
}
.bp-hero__mock-nav.is-active {
  background: var(--bg-elev);
  color: var(--fg);
  box-shadow: var(--shadow-1);
  font-weight: 600;
}
.bp-hero__mock-nav.is-active::before {
  content: ''; position: absolute; left: -2px; top: 8px; bottom: 8px;
  width: 3px; background: var(--accent); border-radius: 0 3px 3px 0;
}
.bp-hero__mock-nav-dot {
  width: 14px; height: 14px; border-radius: 4px;
  background: color-mix(in oklab, var(--fg-muted) 18%, transparent);
}
.bp-hero__mock-nav.is-active .bp-hero__mock-nav-dot {
  background: color-mix(in oklab, var(--accent) 22%, transparent);
}
.bp-hero__mock-badge {
  margin-left: auto;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 600;
  padding: 1px 6px; border-radius: 999px;
}
.bp-hero__mock-main {
  padding: 24px 24px 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.bp-hero__mock-h1 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.bp-hero__mock-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bp-hero__mock-kpi { min-width: 0; }
.bp-hero__mock-kpi-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 540px) {
  .bp-hero__mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-hero__mock-kpi-val { font-size: 13px; }
  /* AUDIT B-2 final override: side-nav скрываем, body — full-width single col.
     Раньше тут было `grid-template-columns: 80px 1fr` — это вызывало overflow
     потому что общая ширина превышала viewport. */
  /* minmax(0,1fr) + min-width:0: у 1fr есть min-content-пол — контент мока
     (таблица/KPI) распирал колонку шире контейнера и обрезался overflow:hidden
     на 320px (аудит 2026-07-06) */
  .bp-hero__mock-body { grid-template-columns: minmax(0, 1fr); min-height: 240px; }
  .bp-hero__mock-side { display: none; }
  .bp-hero__preview { padding: 4px; }
  .bp-hero__mock-main { padding: 14px 14px 12px; min-width: 0; }
  .bp-hero__mock-row { grid-template-columns: minmax(0, 1fr) 40px 40px auto; padding: 8px 10px; font-size: 11px; }
  .bp-hero__mock-row-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bp-hero__mock-h1 { font-size: 15px; }
}
.bp-hero__mock-kpi {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elev);
}
.bp-hero__mock-kpi-label { font-size: 10px; color: var(--fg-subtle); letter-spacing: 0.04em; text-transform: uppercase; }
.bp-hero__mock-kpi-val { font-size: 16px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
.bp-hero__mock-kpi-delta { font-size: 10px; color: var(--ok); margin-top: 1px; font-weight: 500; }
.bp-hero__mock-table {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.bp-hero__mock-row {
  display: grid;
  grid-template-columns: 1.6fr 60px 60px auto;
  gap: 10px;
  padding: 10px 14px;
  align-items: center;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.bp-hero__mock-row:first-child { border-top: none; }
.bp-hero__mock-row-title { font-weight: 600; }
.bp-hero__mock-row-meta { color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.bp-hero__mock-pill {
  padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 600;
  display: inline-flex; align-items: center;
  justify-self: end;
}
.bp-hero__mock-pill--ok { background: var(--ok-soft); color: var(--ok); }
.bp-hero__mock-pill--info { background: var(--info-soft); color: var(--info); }
.bp-hero__mock-pill--warn { background: var(--warn-soft); color: var(--warn); }

/* ─── Trust strip — числа после hero ────────────────────────────────────── */
.bp-trust-strip {
  display: grid;
  /* minmax(0,1fr): 1fr имеет min-content-пол — длинные подписи распирали колонку
     и давали горизонтальный скролл на 320px (аудит 2026-07-06) */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 28px;
  background: var(--bg-elev);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
  border-radius: var(--radius-lg);
}
@media (max-width: 720px) {
  .bp-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px 20px; }
}
@media (max-width: 360px) {
  .bp-trust-strip { padding: 20px 14px; gap: 12px; }
  .bp-trust-item { padding-left: 8px; padding-right: 8px; }
}
.bp-trust-item {
  display: flex; align-items: center; gap: 10px;
  text-align: left;
  border-right: 1px solid var(--border);
  padding: 4px 16px;
}
.bp-trust-item:last-child { border-right: none; }
@media (max-width: 720px) {
  .bp-trust-item:nth-child(2) { border-right: none; }
  .bp-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
  .bp-trust-item:nth-child(n+3) { padding-top: 16px; }
}
.bp-trust-item__icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}
.bp-trust-item__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.005em;
  line-height: 1.35;
}

/* ─── Segments — «Кому подходит» ────────────────────────────────────────── */
.bp-segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 1000px) { .bp-segments { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bp-segments { grid-template-columns: 1fr; } }
.bp-segment {
  padding: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  gap: 10px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.bp-segment:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 24px -16px rgba(79, 70, 229, 0.25);
  transform: translateY(-2px);
}
.bp-segment__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.bp-segment__title { font-size: 16px; font-weight: 600; }
.bp-segment__text { color: var(--fg-muted); font-size: 13.5px; line-height: 1.55; }

/* ─── 3 шага ─────────────────────────────────────────────────────────────── */
.bp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.bp-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    var(--border-strong) 20%,
    var(--border-strong) 80%,
    transparent);
  z-index: 0;
}
@media (max-width: 720px) {
  .bp-steps { grid-template-columns: 1fr; gap: 28px; }
  .bp-steps::before { display: none; }
}
.bp-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.bp-step__num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, 0.2);
}
.bp-step__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-top: 20px;
}
.bp-step__text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-top: 10px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

/* ─── Features polish + benefit micro-label ─────────────────────────────── */
.bp-public .bp-feature {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  gap: 12px;
}
.bp-public .bp-feature:hover {
  border-color: color-mix(in oklab, var(--accent) 35%, var(--border));
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px rgba(79, 70, 229, 0.18);
}
.bp-public .bp-feature__icon {
  width: 42px; height: 42px;
  border-radius: 11px;
}
.bp-public .bp-feature__title { font-size: 16px; letter-spacing: -0.005em; }
.bp-public .bp-feature__text { line-height: 1.55; font-size: 14px; }
.bp-feature__benefit {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bp-feature__benefit::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}

/* ─── Pricing — описание плана + footer-строка ──────────────────────────── */
.bp-public .bp-plan { padding: 32px; gap: 16px; }
.bp-public .bp-plan__price { font-size: 38px; }
/* Планшет 721–900 (аудит): колонка ~220px — ужимаем паддинг карточки и шрифт
   цены, чтобы «2 990 ₽/мес» не ломала строку. Селектор и место — как у пары
   выше (.bp-public …, сразу после), иначе каскад перебивает твик. */
@media (min-width: 721px) and (max-width: 900px) {
  .bp-public .bp-plan { padding: 18px; }
  .bp-public .bp-plan__price { font-size: 32px; }
}
.bp-public .bp-plan__name {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}
.bp-plan__desc {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: -8px;
  margin-bottom: 4px;
  min-height: 32px;
  line-height: 1.4;
}
.bp-pricing__foot {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--fg-subtle);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ─── Testimonials — карточки ───────────────────────────────────────────── */
.bp-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .bp-testimonials { grid-template-columns: 1fr; }
}
.bp-testimonial {
  margin: 0;
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  gap: 22px;
}
.bp-testimonial__quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  text-wrap: pretty;
}
.bp-testimonial__quote::before {
  content: '"';
  display: block;
  font-family: 'Georgia', serif;
  font-size: 48px;
  line-height: 0.4;
  color: var(--accent);
  margin-bottom: 14px;
  opacity: 0.5;
}
.bp-testimonial__who {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.bp-testimonial__name { display: block; font-weight: 600; color: var(--fg); }
.bp-testimonial__role { display: block; color: var(--fg-muted); font-size: 12px; margin-top: 1px; }

/* Avatar emerald variant — used in testimonials (rose+violet already exist) */
.bp-avatar--emerald { background: linear-gradient(135deg, #10b981, #047857); color: #fff; }

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.bp-public .bp-faq {
  margin-top: 40px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.bp-faq__item { border-top: 1px solid var(--border); }
.bp-faq__item:first-child { border-top: none; }
.bp-faq__q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  user-select: none;
}
.bp-faq__q::-webkit-details-marker { display: none; }
.bp-faq__q::marker { display: none; content: ''; }
.bp-faq__q svg {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--fg-subtle);
  flex-shrink: 0;
  margin-left: 12px;
}
.bp-faq__item[open] .bp-faq__q svg { transform: rotate(180deg); color: var(--accent); }

/* Smooth open/close animation via grid-template-rows trick
   (works with native <details>; respects prefers-reduced-motion). */
.bp-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.bp-faq__a-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 28px;
  color: var(--fg-muted);
  line-height: 1.6;
  font-size: 14px;
  max-width: 720px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 280ms ease 60ms, transform 320ms cubic-bezier(0.22, 1, 0.36, 1) 60ms;
}
.bp-faq__item[open] .bp-faq__a { grid-template-rows: 1fr; }
.bp-faq__item[open] .bp-faq__a-inner {
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .bp-faq__a, .bp-faq__a-inner, .bp-faq__q svg { transition: none !important; }
}

/* ─── CTA-band — soft variant (не чёрный) ───────────────────────────────── */
.bp-public .bp-cta-band {
  padding: 72px 48px;
  border-radius: var(--radius-2xl);
  margin: 0;
}
.bp-public .bp-cta-band h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.025em;
}
.bp-public .bp-cta-band p { font-size: 16px; margin-bottom: 28px; }
.bp-cta-band--soft {
  background:
    radial-gradient(ellipse at 20% 20%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse at 80% 80%, color-mix(in oklab, var(--accent) 8%, var(--bg-elev)), transparent 70%),
    linear-gradient(180deg, var(--bg-elev), color-mix(in oklab, var(--accent-soft) 60%, var(--bg-elev))) !important;
  color: var(--fg) !important;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--border));
  box-shadow: 0 24px 60px -20px rgba(79, 70, 229, 0.18);
}
.bp-cta-band--soft h2 { color: var(--fg) !important; }
.bp-cta-band--soft p { color: var(--fg-muted) !important; }

/* ─── Последняя секция перед footer: уменьшить vertical-gap до CTA-band ── */
.bp-public > .bp-section:last-of-type {
  padding-top: 32px;
  padding-bottom: 48px;
}
.bp-public .bp-section:has(> .bp-faq) {
  padding-bottom: 56px;
}

/* ─── Rich footer (4 cols + brand + legal strip) ────────────────────────── */
.bp-pub-footer-rich {
  margin-top: 40px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
}
.bp-pub-footer-rich__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) {
  .bp-pub-footer-rich__inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 36px; }
}
.bp-pub-footer-rich__brand .bp-logo { font-size: 16px; }
.bp-pub-footer-rich__tag {
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 16px 0 0;
  text-wrap: pretty;
  max-width: 26ch;
}

.bp-pub-footer-rich__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 720px) {
  .bp-pub-footer-rich__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 480px) {
  .bp-pub-footer-rich__cols { grid-template-columns: 1fr; gap: 28px; }
}
.bp-pub-footer-rich__col {
  display: flex; flex-direction: column;
  gap: 10px;
}
.bp-pub-footer-rich__col h4 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
}
.bp-pub-footer-rich__col a,
.bp-pub-footer-rich__col span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-muted);
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
  transition: color 140ms ease;
  text-decoration: none;
}
.bp-pub-footer-rich__col span { cursor: default; }
.bp-pub-footer-rich__col a:hover { color: var(--accent); }
.bp-pub-footer-rich__col svg { color: var(--fg-subtle); flex-shrink: 0; }

.bp-pub-footer-rich__legal {
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg-subtle) 50%, var(--bg));
}
.bp-pub-footer-rich__legal-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--fg-subtle);
}
@media (max-width: 720px) {
  .bp-pub-footer-rich__legal-inner { flex-direction: column; gap: 6px; }
}

/* Скрыть устаревший flat footer, если остался в шаблоне (defensive) */
.bp-public > .bp-pub-footer:not(.bp-pub-footer-rich) { display: none; }

/* =============================================================================
   LANDING v4 — incremental polish (within existing bp-* indigo palette).
   Только: ритм, микро-анимации, декоративные акценты, hover-эффекты.
   НЕ меняет цветовую палитру и базовые шрифты.
   ============================================================================= */

/* ─── Editorial overline above hero title ─────────────────────────────── */
.bp-public .bp-hero { position: relative; }
.bp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  opacity: 0;
  animation: bpFadeUp 0.7s 0.05s var(--ease-out) both;
}
.bp-hero__eyebrow::before,
.bp-hero__eyebrow::after {
  content: '';
  height: 1px;
  width: 32px;
  background: linear-gradient(to right, transparent, color-mix(in oklab, var(--accent) 40%, transparent));
}
.bp-hero__eyebrow::after {
  background: linear-gradient(to left, transparent, color-mix(in oklab, var(--accent) 40%, transparent));
}

/* ─── Hero staggered reveal on load ───────────────────────────────────── */
.bp-public .bp-hero__title { opacity: 0; animation: bpFadeUp 0.8s 0.15s var(--ease-out) both; }
.bp-public .bp-hero__sub   { opacity: 0; animation: bpFadeUp 0.8s 0.3s var(--ease-out) both; }
.bp-public .bp-hero__cta   { opacity: 0; animation: bpFadeUp 0.8s 0.45s var(--ease-out) both; }
.bp-public .bp-hero__meta  { opacity: 0; animation: bpFadeUp 0.8s 0.55s var(--ease-out) both; }
.bp-public .bp-hero__preview { opacity: 0; animation: bpFadeUp 1s 0.7s var(--ease-out) both; }

/* Subtle gradient shimmer on hero title em — moves slowly to attract attention */
.bp-public .bp-hero__title em {
  background-size: 200% auto;
  animation: bpShimmer 8s linear infinite;
}
@keyframes bpShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ─── Scroll-reveal helper class (toggled by IntersectionObserver) ────── */
/* AUDIT B-29: добавлен noscript-fallback. Без JS IntersectionObserver не сработает —
   все .bp-reveal блоки оставались бы opacity:0 → ниже hero пустая страница.
   prefers-reduced-motion: skip transition но показываем сразу. */
.bp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.bp-reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Без JavaScript: сразу visible (через .no-js class в html). */
.no-js .bp-reveal { opacity: 1; transform: none; transition: none; }
/* Reduced motion: тоже без скрытия + без transition. */
@media (prefers-reduced-motion: reduce) {
  .bp-reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Section divider — thin gradient line + diamond ──────────────────── */
.bp-section__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 56px;
  max-width: 240px;
  color: color-mix(in oklab, var(--accent) 45%, transparent);
}
.bp-section__divider::before,
.bp-section__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, color-mix(in oklab, var(--border-strong) 65%, transparent), transparent);
}
.bp-section__divider-dot {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.bp-section__divider-dot::before {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid color-mix(in oklab, currentColor 45%, transparent);
  border-radius: 50%;
}

/* ─── Section eyebrow refinement — add hairline accent before label ───── */
.bp-public .bp-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.bp-public .bp-section__eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: linear-gradient(to right, transparent, var(--accent));
}
.bp-public .bp-section__eyebrow::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: linear-gradient(to left, transparent, var(--accent));
}

/* ─── Buttons — subtle shine sweep on hover ───────────────────────────── */
.bp-public .bp-btn--accent {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.bp-public .bp-btn--accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transition: left 0.7s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.bp-public .bp-btn--accent:hover::before { left: 130%; }
.bp-public .bp-btn--accent > * { position: relative; z-index: 1; }

/* ─── Feature cards — refined hover with accent corner ────────────────── */
.bp-public .bp-feature {
  position: relative;
  overflow: hidden;
}
.bp-public .bp-feature::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at top right, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.bp-public .bp-feature:hover::after { opacity: 1; }

/* Feature icon — soft inner ring on hover */
.bp-public .bp-feature:hover .bp-feature__icon {
  background: color-mix(in oklab, var(--accent) 14%, var(--accent-soft));
  transform: rotate(-3deg) scale(1.05);
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.bp-public .bp-feature__icon { transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out); }

/* ─── Segment cards — same micro hover ────────────────────────────────── */
.bp-public .bp-segment {
  position: relative;
  overflow: hidden;
}
.bp-public .bp-segment::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.bp-public .bp-segment:hover::after { transform: scaleX(1); }

/* ─── Steps — animated connecting line (subtle pulse on the dots) ─────── */
.bp-public .bp-step__num {
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.bp-public .bp-step:hover .bp-step__num {
  transform: scale(1.08);
  box-shadow: 0 12px 32px -8px rgba(79, 70, 229, 0.35);
}
.bp-public .bp-step__num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px dashed color-mix(in oklab, var(--accent) 30%, transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.bp-public .bp-step:hover .bp-step__num::after { opacity: 1; }

/* ─── Pricing — featured plan gentle glow + corner gradient ───────────── */
.bp-public .bp-plan {
  position: relative;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.bp-public .bp-plan:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--accent) 25%, var(--border));
  box-shadow: 0 18px 40px -22px rgba(79, 70, 229, 0.22);
}
.bp-public .bp-plan--feat {
  background:
    radial-gradient(circle at 100% 0%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 50%),
    var(--bg-elev);
}
.bp-public .bp-plan--feat:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px -20px rgba(79, 70, 229, 0.35);
}

/* Plan price decorative underline */
.bp-public .bp-plan__price {
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 65%, transparent);
}

/* ─── Testimonials — typographic quote refinement ─────────────────────── */
.bp-public .bp-testimonial {
  position: relative;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.bp-public .bp-testimonial:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--accent) 22%, var(--border));
  box-shadow: 0 14px 30px -18px rgba(79, 70, 229, 0.18);
}
.bp-public .bp-testimonial__quote::before {
  content: '«';
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 56px;
  line-height: 0.3;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0.55;
  margin-left: -4px;
  display: block;
}

/* ─── FAQ — refined chevron + hover background ────────────────────────── */
.bp-public .bp-faq__item { transition: background 0.2s var(--ease-out); }
.bp-public .bp-faq__item:hover { background: var(--bg-subtle); }
.bp-public .bp-faq__item[open] { background: color-mix(in oklab, var(--accent-soft) 35%, var(--bg-elev)); }
.bp-public .bp-faq__item[open] .bp-faq__q { color: var(--accent-press); }

/* ─── CTA band — corner ornaments (purely decorative SVG via mask) ────── */
.bp-public .bp-cta-band--soft {
  position: relative;
  overflow: hidden;
}
.bp-public .bp-cta-band--soft::before,
.bp-public .bp-cta-band--soft::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  background-image: radial-gradient(circle, color-mix(in oklab, var(--accent) 14%, transparent) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.bp-public .bp-cta-band--soft::before { top: -60px; left: -60px; }
.bp-public .bp-cta-band--soft::after  { bottom: -80px; right: -80px; }
.bp-public .bp-cta-band--soft > * { position: relative; z-index: 1; }

/* ─── Trust strip — number animation count-up feel via accent dot ─────── */
.bp-public .bp-trust-item {
  position: relative;
  transition: transform 0.3s var(--ease-out);
}
.bp-public .bp-trust-item:hover { transform: translateY(-1px); }
.bp-public .bp-trust-item__num {
  position: relative;
  display: inline-block;
}
.bp-public .bp-trust-item__num::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  animation: bpPulse 2.6s ease-in-out infinite;
}
@keyframes bpPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.4); opacity: 0.25; }
}

/* ─── Cookie banner & messages в public — менее громоздкие ────────────── */

/* ─── Animations ──────────────────────────────────────────────────────── */
@keyframes bpFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .bp-public *,
  .bp-public *::before,
  .bp-public *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .bp-reveal { opacity: 1; transform: none; }
}

