/* PicSeller 2.0 — стили модуля «Публичная часть» (js/screens/public.js): лендинг (#/), вход (#/login), первый запуск (#/onboarding), тарифы (#/pricing).
   Module "public" styles: landing, login, onboarding, pricing. Только классы pb-; токены и компоненты — из base.css.
   Only pb--prefixed classes; tokens and components come from base.css. Breakpoints: 600 · 900 · 1200. */

/* ==================================================================
   0. Токены модуля / Module tokens (светлая и тёмная тема / light + dark)
   ================================================================== */
.pb {
  --pb-mark: color-mix(in srgb, var(--accent) 80%, transparent);
  --pb-mark-ink: inherit;
  --pb-canvas: var(--surface-2);
  --pb-dot: color-mix(in srgb, var(--ink) 11%, transparent);
  --pb-glow-1: color-mix(in srgb, var(--primary-soft) 95%, transparent);
  --pb-glow-2: color-mix(in srgb, var(--accent-soft) 85%, transparent);
  --pb-device: #1c2320;
  --pb-paper: #f7f3ec;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pb {
    --pb-mark: transparent;
    --pb-mark-ink: var(--accent);
    --pb-dot: color-mix(in srgb, var(--ink) 9%, transparent);
    --pb-glow-1: color-mix(in srgb, var(--primary-soft) 70%, transparent);
    --pb-glow-2: color-mix(in srgb, var(--accent-soft) 55%, transparent);
    --pb-device: #070b09;
  }
}
:root[data-theme="dark"] .pb {
  --pb-mark: transparent;
  --pb-mark-ink: var(--accent);
  --pb-dot: color-mix(in srgb, var(--ink) 9%, transparent);
  --pb-glow-1: color-mix(in srgb, var(--primary-soft) 70%, transparent);
  --pb-glow-2: color-mix(in srgb, var(--accent-soft) 55%, transparent);
  --pb-device: #070b09;
}

/* ==================================================================
   1. Типографика и секции / Type and sections
   ================================================================== */
.pb-h1 { margin: 0; font: 800 48px/1.07 var(--font-head); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.pb-h2 { margin: 0; font: 800 38px/1.12 var(--font-head); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.pb-h2-sm { font-size: 30px; }
.pb-h3 { margin: 0; font: 700 20px/1.3 var(--font-head); letter-spacing: -.01em; color: var(--ink); }
.pb-lead { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.pb-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.pb-mark {
  color: var(--pb-mark-ink);
  background-image: linear-gradient(transparent 62%, var(--pb-mark) 62%, var(--pb-mark) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.pb-sec { padding: 96px 0; }
.pb-sec[id] { scroll-margin-top: 72px; }
.pb-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pb-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.pb-head-c { align-items: center; margin-left: auto; margin-right: auto; text-align: center; }
.pb-head-c .pb-lead { margin: 0 auto; }

.pb-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pb-ticks { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.pb-ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pb-ticks .i { flex: none; margin-top: 2px; padding: 3px; width: 23px; height: 23px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }

.pb-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 64px; align-items: start; }
@media (min-width: 900px) { .pb-split-copy { position: sticky; top: 100px; padding-top: 24px; } }
.pb-split-rev { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.pb-split-rev > .pb-split-copy { order: 2; }
.pb-split .pb-head { margin-bottom: 0; }

/* ==================================================================
   2. Герой / Hero
   ================================================================== */
.pb-hero { position: relative; overflow: hidden; padding: 48px 0 8px; }
.pb-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 460px at 84% 12%, var(--pb-glow-1), transparent 66%),
    radial-gradient(620px 380px at 6% 96%, var(--pb-glow-2), transparent 62%);
}
.pb-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.pb-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.pb-kicker {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 5px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-1);
  font: 600 13px/1 var(--font); color: var(--ink-2);
}
.pb-kicker-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.pb-hero-lead { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.pb-hero-text .pb-cta-row { margin-top: 6px; }
.pb-hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.pb-hero-notes li { display: inline-flex; align-items: center; gap: 6px; }
.pb-hero-notes .i { color: var(--ok); }
.pb-hero-notes a { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-weight: 600; text-decoration: none; }
.pb-hero-notes a .i { color: currentColor; }
.pb-hero-notes a:hover { text-decoration: underline; }

/* Визуал героя: холст 600×560, позиции в процентах / Hero visual: 600×560 canvas, positions in % */
.pb-hv {
  position: relative; width: 100%; max-width: 600px; aspect-ratio: 600 / 560; justify-self: end;
  border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(var(--pb-dot) 1.1px, transparent 1.4px) 0 0 / 18px 18px, var(--pb-canvas);
}
.pb-hv-src {
  position: absolute; left: 2.5%; top: 50%; z-index: 3; width: 32%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 12px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-3);
}
.pb-hv-art { display: grid; place-items: center; aspect-ratio: 5 / 4; padding: 6px; border-radius: 11px; background: #ece5d8; }
.pb-hv-art svg { width: 86%; height: 100%; }
.pb-hv-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 0 2px; }
.pb-hv-kind { display: flex; align-items: center; gap: 5px; font: 700 12px/1 var(--font); color: var(--primary); }
.pb-hv-sku { margin-left: auto; font-weight: 500; color: var(--muted); }
.pb-hv-name { font: 700 14px/1.25 var(--font-head); color: var(--ink); }
.pb-hv-facts { display: flex; flex-direction: column; gap: 5px; margin: 2px 0 0; padding: 0; list-style: none; }
.pb-hv-facts li { display: flex; align-items: flex-start; gap: 5px; font-size: 12px; line-height: 1.3; color: var(--ink-2); }
.pb-hv-facts .i { flex: none; margin-top: 1px; color: var(--ok); }
.pb-hv-more { font-size: 12px; color: var(--muted); }
.pb-hv-down { display: none; }

.pb-hv-flow { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pb-flow-base { fill: none; stroke: color-mix(in srgb, var(--primary) 26%, transparent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pb-flow-run { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 13; vector-effect: non-scaling-stroke; animation: pb-flow 1.5s linear infinite; }
.pb-flow-start { fill: var(--primary); }
.pb-flow-end { fill: var(--surface); stroke: var(--primary); stroke-width: 2; vector-effect: non-scaling-stroke; }
@keyframes pb-flow { to { stroke-dashoffset: -36; } }

.pb-hv-stage { position: absolute; left: 36%; top: 0; right: 0; bottom: 0; z-index: 2; }
.pb-hv-out { position: absolute; display: block; color: inherit; text-decoration: none; border-radius: 12px; transition: transform .25s ease, filter .25s ease; }
.pb-hv-out:hover { color: inherit; }
.pb-hv-out:focus-visible { outline-offset: 4px; }
.pb-hv-shot { overflow: hidden; border-radius: 10px; background: var(--pb-paper); box-shadow: var(--shadow-3); }
.pb-hv-shot > svg { display: block; }
.pb-hv-slide { left: 7%; top: 6%; width: 89%; transform: rotate(2deg); }
.pb-hv-card { left: 6%; top: 39.5%; width: 47%; z-index: 2; transform: rotate(-2.5deg); }
.pb-hv-phone { left: 58.5%; top: 29%; width: 36.5%; height: 65%; z-index: 3; transform: rotate(3deg); }
.pb-hv-slide:hover { transform: rotate(2deg) translateY(-4px); }
.pb-hv-card:hover { transform: rotate(-2.5deg) translateY(-4px); }
.pb-hv-phone:hover { transform: rotate(3deg) translateY(-4px); }
.pb-hv-phone-in { height: 100%; }
.pb-hv-tag {
  position: absolute; left: 12px; top: -13px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-2);
  font: 600 12px/1 var(--font); color: var(--ink); white-space: nowrap;
}
.pb-hv-tag .i { color: var(--primary); }
.pb-hv-phone .pb-hv-tag { left: 50%; top: auto; bottom: -13px; transform: translateX(-50%); }
.pb-hv-stick {
  position: absolute; left: 50%; bottom: -14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px;
  border-radius: var(--r-pill); background: var(--ok-bg); color: var(--ok); box-shadow: var(--shadow-2);
  border: 1px solid color-mix(in srgb, var(--ok) 28%, transparent);
  font: 700 12px/1 var(--font); white-space: nowrap; transform: translateX(-50%) rotate(2.5deg);
}

/* Телефон вокруг Art.site / Phone frame around Art.site */
.pb-phone {
  position: relative; height: 100%; overflow: hidden;
  border: 5px solid var(--pb-device); border-radius: 24px; background: var(--pb-paper);
  box-shadow: var(--shadow-3);
}
.pb-phone::before { content: ''; position: absolute; left: 50%; top: 5px; z-index: 2; width: 32%; height: 8px; border-radius: 6px; background: var(--pb-device); transform: translateX(-50%); }

/* Полоса фактов о продукте / Product facts strip */
.pb-strip-wrap { position: relative; margin-top: 40px; }
.pb-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden;
}
.pb-strip li { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; min-width: 0; }
.pb-strip li + li { border-left: 1px solid var(--line); }
.pb-strip b { font: 800 22px/1.15 var(--font-head); letter-spacing: -.02em; color: var(--ink); }
.pb-strip span { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ==================================================================
   3. Как это работает / How it works
   ================================================================== */
.pb-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.pb-steps::before {
  content: ''; position: absolute; left: 28px; right: calc((100% - 60px) / 4 - 28px); top: 27px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px);
}
.pb-step { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
@media (min-width: 1200px) {
  .pb-steps { grid-template-rows: auto auto auto 1fr; row-gap: 10px; }
  .pb-step { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
  .pb-step .pb-mini { margin-top: 8px; }
}
.pb-step-badge { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pb-step-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); color: var(--primary); }
.pb-step-n { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font: 800 12px/1 var(--font-head); }
.pb-step-t { margin: 0; font: 800 21px/1.25 var(--font-head); letter-spacing: -.015em; color: var(--ink); }
.pb-step-p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pb-mini {
  display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding: 14px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-1);
  font-size: 13px;
}
.pb-mini-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pb-mini-between { justify-content: space-between; }
.pb-mini-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pb-mini-t { font-weight: 600; color: var(--ink); line-height: 1.3; }
.pb-mini-s { font-size: 12px; color: var(--muted); line-height: 1.35; }
.pb-mini-ch { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #7b2bd0; color: #fff; font: 800 12px/1 var(--font-head); letter-spacing: .02em; }
.pb-mini-ask { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 7px 10px; border-radius: 12px 12px 4px 12px; background: var(--primary); color: var(--on-primary); font-weight: 600; }
.pb-mini-diff { display: flex; flex-direction: column; gap: 6px; }
.pb-mini-was, .pb-mini-now { display: flex; align-items: baseline; gap: 8px; padding: 6px 8px; border-radius: 8px; line-height: 1.35; }
.pb-mini-was { background: var(--err-bg); color: var(--ink-2); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--err) 60%, transparent); }
.pb-mini-now { background: var(--ok-bg); color: var(--ink); font-weight: 600; }
.pb-mini-k { flex: none; min-width: 48px; font-size: 12px; font-weight: 600; text-decoration: none; display: inline-block; color: var(--muted); }
.pb-mini-alert { display: flex; align-items: flex-start; gap: 10px; }
.pb-mini-alert-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); }
.pb-pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--surface); color: var(--ink-2);
  font: 600 12px/1 var(--font); white-space: nowrap;
}
.pb-pill.is-pri { border-color: transparent; background: var(--primary); color: var(--on-primary); }
.pb-mini .progress-meta { font-size: 12px; }

/* ==================================================================
   4. Один товар — все материалы / Materials tabs
   ================================================================== */
.pb-mat { display: flex; flex-direction: column; gap: 24px; }
.pb-mat-tabs { display: flex; justify-content: center; }
.pb-seg-lg { padding: 4px; border-radius: 14px; }
.pb-seg-lg > button { height: 40px; padding: 0 18px; gap: 8px; border-radius: 10px; font-size: 14px; }
.pb-seg-lg > button .badge { margin-left: 2px; }
.pb-mat-panel { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg); }
.pb-mat-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.pb-mat-copy { max-width: 600px; }
.pb-mat-copy p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pb-mat-ctl { display: flex; align-items: center; gap: 12px; max-width: 100%; }
.pb-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.pb-cardfig { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.pb-cardfig-img { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--pb-paper); box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s; }
.pb-cardfig-img:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.pb-cardfig figcaption { display: flex; align-items: center; gap: 8px; min-width: 0; font: 600 13px/1.25 var(--font); color: var(--ink-2); }
.pb-cardfig-n { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 12px; }
.pb-mat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.pb-meta { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.pb-meta .i { color: var(--muted); }
.pb-meta.warn-text, .pb-meta.warn-text .i { color: var(--warn); }
.pb-mat-meta .link-more { margin-left: auto; }

.pb-deck { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 16px; align-items: start; }
.pb-deck-main { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--pb-paper); box-shadow: var(--shadow-2); }
.pb-deck-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pb-thumb { position: relative; display: block; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 9px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.pb-thumb:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow-2); }
.pb-thumb[aria-pressed="true"] { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.pb-thumb-img { display: block; pointer-events: none; }
.pb-thumb-n { position: absolute; left: 6px; bottom: 6px; display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 5px; background: rgba(28, 46, 38, .72); color: #fff; font: 700 12px/1 var(--font); }

.pb-site { position: relative; padding-right: 170px; }
.pb-site-desk { height: 470px; overflow: hidden; border-radius: 14px; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.pb-site-phone { position: absolute; right: 8px; bottom: -6px; width: 220px; height: 440px; }

/* ==================================================================
   5. ИИ не выдумывает / Facts behind every phrase
   ================================================================== */
.pb-ai { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; box-shadow: var(--shadow-2); }
.pb-ai-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pb-ai-kind { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1.3 var(--font); color: var(--muted); }
.pb-ai-doc { padding: 18px 20px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.pb-ai-title { margin-bottom: 8px; font: 700 22px/1.3 var(--font-head); letter-spacing: -.015em; color: var(--ink); }
.pb-ai-text { margin: 0; font-size: 17px; line-height: 1.85; color: var(--ink); }
.pb-frag {
  display: inline; margin: 0; padding: 1px 3px; border: 0; border-radius: 5px;
  background: color-mix(in srgb, var(--primary) 9%, transparent);
  box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--primary) 50%, transparent);
  color: inherit; font: inherit; line-height: inherit; text-align: inherit; cursor: pointer;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-color .15s, box-shadow .15s, color .15s;
}
.pb-frag:hover { background: color-mix(in srgb, var(--primary) 16%, transparent); }
.pb-frag.is-on { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 -2px 0 var(--primary), 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
.pb-frag.is-new { animation: pb-pop .9s ease; }
@keyframes pb-pop { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 80%, transparent); } 100% { box-shadow: inset 0 -2px 0 var(--primary), 0 0 0 10px transparent; } }
.pb-ai-src { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: 12px; background: var(--primary-soft); color: var(--ink); font-size: 14px; line-height: 1.45; }
.pb-ai-src-ic { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--surface); color: var(--primary); }
.pb-ai-src .muted { color: var(--ink-2); }
.pb-ai-fh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 2px; }
.pb-ai-fh-t { font: 700 14px/1.3 var(--font-head); color: var(--ink); }
.pb-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pb-fact { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 54px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.pb-fact.is-on { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
.pb-fact.is-pending { flex-wrap: wrap; border-style: dashed; }
.pb-fact.is-pending .pb-fact-b { flex: 1 1 calc(100% - 42px); }
.pb-fact.is-pending .btn { margin-left: 42px; }
.pb-fact-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); color: var(--primary); }
.pb-fact.is-on .pb-fact-ic { background: var(--surface); }
.pb-fact-b { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.pb-fact-t { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.pb-fact-s { font-size: 12px; line-height: 1.3; color: var(--muted); }
.pb-fact-ok { flex: none; display: inline-flex; color: var(--ok); }
.pb-fact .btn-sm { flex: none; }

/* ==================================================================
   6. Проверка / Rules check report
   ================================================================== */
.pb-check { overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-2); }
.pb-check-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.pb-check-h { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pb-check-t { font: 700 18px/1.3 var(--font-head); color: var(--ink); }
.pb-check-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.pb-check-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pb-score { position: relative; flex: none; width: 72px; height: 72px; }
.pb-ring { width: 72px; height: 72px; }
.pb-ring-bg { fill: none; stroke: var(--surface-3); stroke-width: 6; }
.pb-ring-fg { fill: none; stroke: var(--ok); stroke-width: 6; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 32px 32px; transition: stroke-dashoffset .9s cubic-bezier(.2, .8, .2, 1); }
.pb-score.is-warn .pb-ring-fg { stroke: var(--warn); }
.pb-score-v { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.pb-score-v b { font: 800 22px/1 var(--font-head); color: var(--ink); }
.pb-score-v small { margin-top: 3px; font-size: 12px; color: var(--muted); }
.pb-rules { margin: 0; padding: 8px 0; list-style: none; }
.pb-rule { display: flex; align-items: flex-start; gap: 12px; padding: 10px 22px; transition: background-color .3s; }
.pb-rule > .i { flex: none; margin-top: 1px; }
.pb-rule.is-ok > .i { color: var(--ok); }
.pb-rule.is-warn { margin: 4px 10px; padding: 12px; border-radius: 12px; background: var(--warn-bg); align-items: center; }
.pb-rule.is-warn > .i { color: var(--warn); align-self: flex-start; }
.pb-rule.is-fixed { background: color-mix(in srgb, var(--ok-bg) 70%, transparent); }
.pb-rule-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pb-rule-t { font-size: 14px; line-height: 1.45; color: var(--ink); }
.pb-rule-t .badge { margin-left: 4px; }
.pb-rule-s { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.pb-rule .btn { flex: none; }
.pb-check-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 22px 16px; border-top: 1px solid var(--line); }

/* ==================================================================
   7. Данные / Data section
   ================================================================== */
.pb-data { background: var(--primary-soft); }
.pb-data-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.pb-data .pb-head { margin-bottom: 18px; }
.pb-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pb-tile { padding: 22px; border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--line)); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); }
.pb-tile p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.pb-tile-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.pb-tile-t { margin: 0; font: 700 16px/1.3 var(--font-head); color: var(--ink); }

/* ==================================================================
   8. Тарифы: карточки / Plan cards
   ================================================================== */
.pb-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pb-plan { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-1); }
.pb-plan.is-rec { border: 2px solid var(--primary); padding: 23px; box-shadow: var(--shadow-2); }
.pb-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.pb-plan-name { margin: 0; font: 800 20px/1.2 var(--font-head); letter-spacing: -.01em; color: var(--ink); }
.pb-plan-for { margin: 0; min-height: 21px; font-size: 14px; color: var(--muted); }
.pb-plan-price { display: flex; align-items: baseline; gap: 4px; min-height: 42px; margin-top: 6px; }
.pb-plan-main { font: 800 34px/1.05 var(--font-head); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-plan-unit { font-size: 15px; font-weight: 600; color: var(--muted); }
.pb-plan-note { min-height: 20px; font-size: 13px; color: var(--muted); }
.pb-plan-cred { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pb-plan-cred .i { color: var(--primary); }
.pb-plan-feats { display: flex; flex-direction: column; gap: 9px; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.pb-plan-feats li { display: flex; align-items: flex-start; gap: 8px; }
.pb-plan-feats .i { flex: none; margin-top: 1px; color: var(--ok); }
.pb-plan.is-flash .pb-plan-price { animation: pb-flash .45s ease; }
@keyframes pb-flash { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pb-plan.is-compact { padding: 20px; gap: 8px; }
.pb-plan.is-compact.is-rec { padding: 19px; }
.pb-plan.is-compact .pb-plan-main { font-size: 30px; }
.pb-price-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 28px; }

/* ==================================================================
   9. Частые вопросы и призыв / FAQ and final call to action
   ================================================================== */
.pb-faq-wrap { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 64px; align-items: start; }
.pb-faq-side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pb-faq-side .pb-head { margin-bottom: 0; }
.pb-faq { border-top: 1px solid var(--line); }
.pb-faq-item { border-bottom: 1px solid var(--line); }
.pb-faq-h { margin: 0; font: inherit; letter-spacing: 0; }
.pb-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 16px 0;
  border: 0; background: none; color: var(--ink); font: 600 17px/1.4 var(--font-head); text-align: left; cursor: pointer;
}
.pb-faq-q:hover { color: var(--primary); }
.pb-faq-i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--primary); transition: transform .2s, background-color .2s, color .2s, border-color .2s; }
.pb-faq-item.is-open .pb-faq-i { transform: rotate(45deg); border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.pb-faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .25s ease, visibility 0s linear .25s; }
.pb-faq-item.is-open .pb-faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .25s ease, visibility 0s; }
.pb-faq-a-in { overflow: hidden; min-height: 0; }
.pb-faq-a p { margin: 0; padding: 0 56px 20px 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

.pb-final-sec { padding-top: 24px; padding-bottom: 24px; }
.pb-final {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px;
  padding: 48px 56px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-2);
}
.pb-final::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 320px at 92% 50%, var(--pb-glow-1), transparent 70%), radial-gradient(420px 260px at 0% 100%, var(--pb-glow-2), transparent 70%); }
.pb-final-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pb-final-copy .pb-cta-row { margin-top: 8px; }
.pb-final-art { position: relative; justify-self: end; width: 100%; max-width: 400px; }

/* ==================================================================
   10. Вход / Login
   ================================================================== */
.pb-auth { display: flex; flex-direction: column; align-items: center; width: 100%; }
.pb-login { display: flex; flex-direction: column; gap: 16px; max-width: 440px; }
.pb-login-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pb-login-head .ps-mark { border-radius: 13px; }
.pb-login-t { margin: 6px 0 0; font: 800 26px/1.2 var(--font-head); letter-spacing: -.02em; color: var(--ink); }
.pb-login-t:focus { outline: none; }
.pb-login-sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.pb-login-plan { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: var(--r); background: var(--primary-soft); color: var(--ink); font-size: 13px; line-height: 1.4; }
.pb-login-plan .i { flex: none; margin-top: 1px; color: var(--primary); }
.pb-ya { --btn-bg: var(--ink); --btn-fg: var(--bg); --btn-bd: transparent; --btn-bg-h: var(--ink-2); }
.pb-ya-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fc3f1d; color: #fff; font: 700 14px/1 var(--font); }
.pb-or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.pb-or::before, .pb-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pb-login-form { display: flex; flex-direction: column; gap: 12px; }
.pb .pb-input-lg { height: 48px; font-size: 15px; }
.pb-row-in { display: flex; gap: 8px; min-width: 0; }
.pb-row-in > .input { flex: 1 1 auto; min-width: 0; }
.pb-grow { flex: 1 1 auto; min-width: 0; }
.pb-code { text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); }
.pb-code::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--font); }
.pb-invite { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; border-top: 1px solid var(--line); }
.pb-linkbtn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 40px; padding: 0 2px; border: 0; background: none; color: var(--primary); font: 600 14px/1.2 var(--font); cursor: pointer; }
.pb-linkbtn:hover { color: var(--primary-2); text-decoration: underline; }
.pb-chev { transition: transform .2s; }
.pb-invite.is-open .pb-chev { transform: rotate(180deg); }
.pb-legal { margin: 2px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.pb-legal a { color: var(--ink-2); }
.pb-sent { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pb-sent-ic { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--primary-soft); color: var(--primary); }
.pb-sent-dot { position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 24px; height: 24px; border: 3px solid var(--surface); border-radius: 50%; background: var(--ok); color: #fff; }
.pb-sent-mail { color: var(--ink); word-break: break-all; }
.pb-sent-tip { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.pb-sent-tip .i { flex: none; margin-top: 1px; color: var(--muted); }
.pb-mockrow { display: flex; justify-content: center; }

/* ==================================================================
   11. Первый запуск / Onboarding
   ================================================================== */
.pb-obwrap { display: flex; justify-content: center; width: 100%; }
.pb-ob { display: flex; flex-direction: column; gap: 18px; max-width: 980px; padding: 24px 32px 22px; }
.pb-ob-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pb-ob-count { font-size: 13px; font-weight: 600; color: var(--muted); }
.pb-ob-head { display: flex; flex-direction: column; gap: 6px; }
.pb-ob-t { margin: 0; font: 800 28px/1.15 var(--font-head); letter-spacing: -.02em; color: var(--ink); }
.pb-ob-t:focus { outline: none; }
.pb-ob-sub { margin: 0; max-width: 620px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.pb-ob-cols { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
.pb-ob-cols-3 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.pb-ob-form { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pb-ob-fs { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pb-ob-label { padding: 0; font: 600 13px/1.3 var(--font); color: var(--ink-2); }
.pb-ob-chips .chip { height: 40px; padding: 0 14px; font-size: 14px; }
.pb-ob-chips .chip .i { color: var(--muted); }
.pb-ob-chips .chip[aria-pressed="true"] .i { color: var(--primary); }
.pb-ob-seg { display: flex; width: 100%; }
.pb-ob-seg > button { flex: 1 1 0; height: 36px; }
.pb-ob-panel { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); }
.pb-ob-panel-white { background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.pb-ob-ph { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 700 15px/1.3 var(--font-head); color: var(--ink); }
.pb-ob-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 220px; padding: 16px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pb-ob-empty > .i { color: var(--primary); }
.pb-ob-empty p { margin: 0; max-width: 340px; }
.pb-ob-empty b { color: var(--ink); }
.pb-ob-hint { margin: 12px 0 0; }
.pb-prep { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pb-prep li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); animation: pb-in .25s ease; }
.pb-prep-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.pb-prep-b { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.pb-prep-b b { font-size: 14px; color: var(--ink); }
.pb-prep-ok { flex: none; color: var(--ok); }
.pb-ob-reco { margin-top: 12px; }
.pb-ob-reco .link-more { font-size: 13px; }
@keyframes pb-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.pb-drop {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 14px 16px;
  border: 1.5px dashed var(--line-2); border-radius: 14px; background: var(--surface); color: var(--ink);
  font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s;
}
button.pb-drop:hover { border-color: var(--primary); background: color-mix(in srgb, var(--primary-soft) 45%, var(--surface)); }
.pb-drop > .i { flex: none; color: var(--primary); }
.pb-drop.is-loading { display: block; cursor: default; }
.pb-logo { min-height: 64px; }
.pb-logo.is-done { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pb-logo.is-loading { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pb-logo-img { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--pb-paper); border: 1px solid var(--line); }
.pb-logo-b { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 14px; }
.pb-logo-n { font-weight: 600; color: var(--ink); }

.pb-runlist { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.pb-runlist li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pb-runlist li > .i, .pb-runlist li > .spinner { flex: none; }
.pb-runlist li.is-done { color: var(--ink-2); }
.pb-runlist li.is-done > .i { color: var(--ok); }
.pb-runlist li.is-cur { color: var(--ink); font-weight: 600; }
.pb-runlist li.is-cur > .spinner { color: var(--primary); }
.pb-runlist li > .i:not(.ok) { opacity: 1; }
.pb-dna-run .pb-ob-ph .spinner, .pb-ob-ph .spinner { color: var(--primary); }
.pb-dna-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pb-dna-head .pb-ob-ph { margin-bottom: 2px; }
.pb-props { display: flex; flex-direction: column; gap: 8px; }
.pb-prop {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h a" "v v"; align-items: center; gap: 4px 12px;
  padding: 8px 10px 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  animation: pb-in .3s ease both;
}
.pb-prop:nth-child(2) { animation-delay: .05s; } .pb-prop:nth-child(3) { animation-delay: .1s; } .pb-prop:nth-child(4) { animation-delay: .15s; }
.pb-prop.is-ok { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); background: color-mix(in srgb, var(--ok-bg) 45%, var(--surface)); }
.pb-prop-h { grid-area: h; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.pb-prop-name { font: 700 14px/1.2 var(--font-head); color: var(--ink); }
.pb-prop-v { grid-area: v; display: flex; align-items: center; gap: 12px; min-width: 0; }
.pb-prop-txt { min-width: 0; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.pb-prop-a { grid-area: a; display: flex; align-items: center; gap: 4px; }
.pb-sws { display: inline-flex; flex: none; }
.pb-sw { width: 22px; height: 22px; margin-left: -5px; border: 2px solid var(--surface); border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); }
.pb-sw:first-child { margin-left: 0; }
.pb-fontab { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--pb-paper); color: #1f2622; font: 600 21px/1 'Lora', Georgia, serif; border: 1px solid var(--line); }
.pb-gridmini { flex: none; width: 34px; overflow: hidden; border-radius: 5px; border: 1px solid var(--line); background: var(--pb-paper); }
.pb-dna-empty { min-height: 300px; }
.pb-ob-prev { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); animation: pb-in .3s ease; }
.pb-ob-prev-img { flex: none; width: 92px; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--pb-paper); box-shadow: var(--shadow-1); }
.pb-ob-prev-b { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; }
.pb-ob-prev-b b { color: var(--ink); }
.pb-dna-ill { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 16px; background: var(--surface); }

.pb-methods { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pb-method {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px 40px 12px 12px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink);
  font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.pb-method:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.pb-method[aria-checked="true"] { border-color: var(--primary); background: color-mix(in srgb, var(--primary-soft) 55%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
.pb-method-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); color: var(--primary); }
.pb-method[aria-checked="true"] .pb-method-ic { background: var(--surface); }
.pb-method-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pb-method-b b { font: 700 15px/1.25 var(--font-head); }
.pb-method-b span { font-size: 13px; line-height: 1.35; color: var(--muted); }
.pb-method-dot { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--line-2); border-radius: 50%; background: var(--surface); }
.pb-method[aria-checked="true"] .pb-method-dot { border: 5px solid var(--primary); }

.pb-find-run { padding: 14px 16px 2px; border-radius: 14px; background: var(--surface-2); }
.pb-found { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line)); border-radius: 16px; background: color-mix(in srgb, var(--ok-bg) 35%, var(--surface)); animation: pb-in .3s ease; }
.pb-found-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pb-found-main { display: flex; gap: 14px; min-width: 0; }
.pb-found-ph { flex: none; width: 112px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); }
.pb-found-b { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pb-found-n { font: 700 17px/1.25 var(--font-head); color: var(--ink); }
.pb-found-m { font-size: 13px; color: var(--muted); }
.pb-found-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pb-found-stats span { display: inline-flex; align-items: center; gap: 5px; }
.pb-found-stats .i { color: var(--primary); }
.pb-found-thumbs { display: flex; gap: 6px; margin-top: 2px; }
.pb-found-th { width: 40px; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); }
.pb-found-tip { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--warn-bg); color: var(--ink); font-size: 13px; line-height: 1.4; }
.pb-found-tip .i { flex: none; margin-top: 1px; color: var(--warn); }
.pb-upl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pb-upl-th { position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); }
.pb-upl-n { position: absolute; left: 5px; top: 5px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(28, 46, 38, .72); color: #fff; font: 700 12px/1 var(--font); }
.pb-upl-add { display: grid; place-items: center; aspect-ratio: 1; min-height: 40px; border: 1.5px dashed var(--line-2); border-radius: 10px; background: var(--surface); color: var(--primary); cursor: pointer; }
.pb-upl-add:hover { border-color: var(--primary); }
.pb-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pb-file > .i { flex: none; color: var(--ok); }
.pb-file-b { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 14px; }
.pb-file-sum { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; }
.pb-file-k { display: inline-flex; align-items: center; gap: 6px; }
.pb-file-first { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.pb-ob-panel-white .hint { margin: 0; }

.pb-ob-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }

/* Окна «Изменить» и «Агентство» — вне .pb / Dialogs live outside .pb */
.pb-modal-lead { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pb-pal { display: flex; flex-direction: column; gap: 8px; }
.pb-pal-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.pb-pal-row:hover { border-color: var(--line-2); }
.pb-pal-row input[type="color"] { flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-2); border-radius: 10px; background: none; cursor: pointer; }
.pb-pal-row input[type="color"]::-webkit-color-swatch-wrapper { padding: 3px; }
.pb-pal-row input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 7px; }
.pb-pal-b { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 14px; }
.pb-fprev { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: #f7f3ec; color: #1f2622; border: 1px solid var(--line); }
.pb-fprev-h { font-size: 24px; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.pb-fprev p { margin: 0; font-size: 15px; line-height: 1.5; color: #3e4642; }
.pb-choices { display: flex; flex-direction: column; gap: 8px; }
.pb-choice { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.pb-choice:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary-soft) 55%, var(--surface)); }
.pb-choice input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); }
.pb-choice-b { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; }
.pb-choice-b b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink); }
.pb-choice-q { font-size: 13px; font-style: italic; color: var(--ink-2); }
.pb-grids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.pb-gridopt { position: relative; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.pb-gridopt input { position: absolute; opacity: 0; pointer-events: none; }
.pb-gridopt-img { overflow: hidden; border: 2px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.pb-gridopt:hover .pb-gridopt-img { border-color: var(--line-2); }
.pb-gridopt input:checked + .pb-gridopt-img { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.pb-gridopt input:focus-visible + .pb-gridopt-img { outline: 2px solid var(--focus); outline-offset: 2px; }
.pb-gridopt-n { font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: center; }
.pb-ag-switch { min-height: 40px; }

/* ==================================================================
   12. Страница тарифов / Pricing page
   ================================================================== */
.pb-price-hero { position: relative; padding: 64px 0 36px; overflow: hidden; }
.pb-price-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 360px at 50% 0%, var(--pb-glow-1), transparent 70%); }
.pb-price-hero .pub-wrap { position: relative; }
.pb-price-hero .pb-head { margin-bottom: 28px; }
.pb-price-h1 { font-size: 48px; }
.pb-period { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pb-psec { padding: 64px 0 0; }
.pb-psec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.pb-princ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pb-princ-i { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); }
.pb-princ-i p { margin: 6px 0 16px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.pb-princ-demo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.pb-demo-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--r-s); background: var(--accent); color: var(--on-accent); font: 600 13px/1 var(--font); white-space: nowrap; }
.pb-demo-cap { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.pb-demo-sw { font-size: 13px; font-weight: 600; pointer-events: none; }
.pb-demo-sw input:disabled { opacity: 1; }
.pb-demo-row { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pb-demo-row .i { color: var(--primary); }

.pb-cmp .table { font-size: 14px; }
.pb-cmp .table th[scope="row"] { font-weight: 500; color: var(--ink); background: none; position: static; padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; white-space: normal; }
.pb-cmp .table tbody tr:last-child th { border-bottom: 0; }
.pb-cmp thead th { vertical-align: bottom; }
.pb-cmp-feat { width: 30%; }
.pb-cmp-plan { text-align: center !important; }
.pb-cmp-name { display: block; font: 800 15px/1.2 var(--font-head); color: var(--ink); }
.pb-cmp-price { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.pb-cmp-v { text-align: center; color: var(--ink-2); font-weight: 500; }
.pb-cmp .pb-hl { background: color-mix(in srgb, var(--primary-soft) 60%, transparent); }
.pb-cmp thead .pb-hl { background: var(--primary-soft); }
.pb-cmp thead .pb-hl .pb-cmp-name { color: var(--primary); }
.pb-yes { display: inline-flex; color: var(--ok); }
.pb-no { color: var(--faint); }
.pb-cmp-m { display: none; }
.pb-seg-fill { display: flex; width: 100%; }
.pb-seg-fill > button { flex: 1 1 0; }
.pb-cmp-list { margin: 12px 0 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.pb-cmp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.pb-cmp-row:last-child { border-bottom: 0; }
.pb-cmp-row dt { font-size: 14px; color: var(--ink-2); }
.pb-cmp-row dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); text-align: right; }

.pb-ops-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.pb-ops-in .pb-psec-head { margin-bottom: 0; }
.pb-ops { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.pb-ops li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pb-ops li:last-child { border-bottom: 0; }
.pb-ops-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); color: var(--primary); }
.pb-ops-n { flex: 1; min-width: 0; font-size: 14px; color: var(--ink); }
.pb-ops-c { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; white-space: nowrap; }
.pb-ops-c .muted { font-size: 12px; }
.pb-final-sm { padding: 40px 48px; }
.pb-price .pb-faq-wrap { gap: 48px; }

/* ==================================================================
   13. Адаптивность / Responsive
   ================================================================== */
@media (max-width: 1199px) {
  .pb-hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pb-hero-text { max-width: 720px; }
  .pb-hv { justify-self: center; }
  .pb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .pb-steps::before { display: none; }
  .pb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .pb-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-split, .pb-split-rev { gap: 40px; }
  .pb-data-in { gap: 40px; }
  .pb-deck { grid-template-columns: minmax(0, 1fr) 240px; }
}
@media (max-width: 899px) {
  .pb-sec { padding: 72px 0; }
  .pb-h1 { font-size: 42px; }
  .pb-h2 { font-size: 32px; }
  .pb-split, .pb-split-rev, .pb-data-in, .pb-faq-wrap, .pb-ops-in { grid-template-columns: minmax(0, 1fr); }
  .pb-split-rev > .pb-split-copy { order: 0; }
  .pb-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-strip li:nth-child(3) { border-left: 0; }
  .pb-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pb-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
  .pb-cardfig { flex: 0 0 168px; scroll-snap-align: start; }
  .pb-cards.is-square .pb-cardfig { flex-basis: 200px; }
  .pb-deck { grid-template-columns: minmax(0, 1fr); }
  .pb-deck-thumbs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 3px 3px 8px; }
  .pb-thumb { flex: 0 0 132px; scroll-snap-align: start; }
  .pb-site { padding-right: 0; }
  .pb-site-desk { display: none; }
  .pb-site-phone { position: relative; right: auto; bottom: auto; margin: 0 auto; width: 260px; height: 520px; }
  .pb-final { grid-template-columns: minmax(0, 1fr); padding: 36px 32px; }
  .pb-final-art { justify-self: center; max-width: 340px; }
  .pb-princ { grid-template-columns: minmax(0, 1fr); }
  .pb-ob-cols, .pb-ob-cols-3 { grid-template-columns: minmax(0, 1fr); }
  .pb-ob-prev { display: none; }
  .pb-price-h1 { font-size: 40px; }
}
@media (max-width: 599px) {
  .pb-sec { padding: 56px 0; }
  .pb-h1 { font-size: 34px; line-height: 1.08; }
  .pb-h2 { font-size: 27px; }
  .pb-h2-sm { font-size: 24px; }
  .pb-h3 { font-size: 18px; }
  .pb-lead, .pb-hero-lead { font-size: 16px; }
  .pb-head { margin-bottom: 28px; }
  .pb-hero { padding: 28px 0 24px; }
  .pb-hero-text { gap: 18px; }
  .pb-hero-text .pb-cta-row, .pb-final .pb-cta-row { width: 100%; flex-direction: column; }
  .pb-cta-row .btn { width: 100%; }
  .pb-hero-notes { gap: 6px 16px; }
  .pb-hero-notes a { min-height: 40px; }

  /* Визуал героя на телефоне: товар сверху, результаты ниже / Phone hero: product on top, results below */
  .pb-hv { display: flex; flex-direction: column; gap: 6px; aspect-ratio: auto; padding: 12px 12px 26px; border-radius: 22px; }
  .pb-hv-src { position: relative; left: auto; top: auto; width: auto; transform: none; flex-direction: row; align-items: center; gap: 12px; padding: 10px; }
  .pb-hv-art { flex: none; width: 92px; aspect-ratio: 1; }
  .pb-hv-flow { display: none; }
  .pb-hv-down { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 0 14px; font: 600 12px/1 var(--font); color: var(--primary); }
  .pb-hv-stage { position: relative; left: auto; top: auto; right: auto; bottom: auto; width: 100%; aspect-ratio: 384 / 560; }
  .pb-hv-tag { height: 24px; padding: 0 8px; left: 8px; top: -12px; }
  .pb-hv-phone .pb-hv-tag { bottom: -12px; }
  .pb-hv-stick { left: 8px; height: 26px; padding: 0 9px; transform: rotate(2.5deg); }
  .pb-phone { border-width: 4px; border-radius: 20px; }

  .pb-strip-wrap { margin-top: 28px; }
  .pb-strip li { padding: 14px 14px; }
  .pb-strip b { font-size: 18px; }
  .pb-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pb-mat-panel { padding: 16px; border-radius: 18px; }
  .pb-mat-tabs .seg { width: 100%; }
  .pb-mat-tabs .seg > button { flex: 1 1 0; padding: 0 8px; }
  .pb-mat-ctl, .pb-mat-ctl .seg { width: 100%; }
  .pb-mat-ctl .seg > button { flex: 1 1 0; padding: 0 6px; }
  .pb-mat-meta { gap: 8px 16px; }
  .pb-mat-meta .link-more { margin-left: 0; }
  .pb-cardfig { flex-basis: 150px; }
  .pb-site-phone { width: 240px; height: 480px; }
  .pb-ai { padding: 14px; }
  .pb-ai-doc { padding: 14px; }
  .pb-ai-title { font-size: 19px; }
  .pb-ai-text { font-size: 16px; line-height: 1.95; }
  .pb-facts { grid-template-columns: minmax(0, 1fr); }
  .pb-check-head { padding: 16px; align-items: flex-start; }
  .pb-score, .pb-ring { width: 60px; height: 60px; }
  .pb-score-v b { font-size: 18px; }
  .pb-rule { padding: 10px 16px; }
  .pb-rule.is-warn { flex-wrap: wrap; margin: 4px 8px; }
  .pb-rule.is-warn .pb-rule-b { flex: 1 1 calc(100% - 30px); }
  .pb-rule.is-warn .btn { margin-left: 30px; }
  .pb-check-foot { padding: 12px 16px 14px; }
  .pb-tiles { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pb-tile { padding: 18px; }
  .pb-plans { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pb-plan, .pb-plan.is-compact { padding: 18px; }
  .pb-plan.is-rec, .pb-plan.is-compact.is-rec { padding: 17px; }
  .pb-plan.is-compact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
  .pb-plan.is-compact .pb-plan-top, .pb-plan.is-compact .pb-plan-for { grid-column: 1; }
  .pb-plan.is-compact .pb-plan-price { grid-column: 2; grid-row: 1 / span 2; margin: 0; flex-direction: column; align-items: flex-end; gap: 0; }
  .pb-plan.is-compact .pb-plan-main { font-size: 24px; }
  .pb-plan.is-compact .pb-plan-cred, .pb-plan.is-compact > .btn { grid-column: 1 / -1; }
  .pb-plan.is-compact .pb-plan-cred { margin: 6px 0 4px; }
  .pb-plan.is-compact .pb-plan-feats { display: none; }
  .pb-plan.is-compact .pb-plan-top { justify-content: flex-start; }
  .pb-faq-q { font-size: 16px; min-height: 56px; }
  .pb-faq-a p { padding-right: 0; }
  .pb-final { padding: 28px 20px; border-radius: 22px; }
  .pb-final-art { max-width: 260px; }

  /* Кнопки и чипы не ниже 40 px / Tap targets of 40 px and more */
  .pb .btn-sm { height: 40px; padding: 0 14px; font-size: 14px; }
  .pb .seg > button { height: 40px; }
  .pb .chip:not(.chip-static):not(.chip-sm) { height: 40px; }
  .pb-thumb { flex-basis: 120px; }

  .pb-login { gap: 14px; }
  .pb-login-t { font-size: 23px; }
  .pb-ob { padding: 20px 16px 18px; gap: 18px; }
  .pb-ob-t { font-size: 24px; }
  .pb-ob-top { padding-bottom: 14px; }
  .pb-ob .stepper li a { min-width: 40px; min-height: 40px; }
  .pb-ob-count { display: none; }
  .pb-ob-panel { padding: 14px; }
  .pb-prop { grid-template-areas: "h h" "v v" "a a"; gap: 10px; }
  .pb-prop-a .btn { flex: 1 1 0; }
  .pb-dna-head { flex-direction: column; }
  .pb-dna-head .btn { width: 100%; }
  .pb-row-in { flex-wrap: wrap; }
  .pb-row-in > .btn { flex: 1 1 auto; }
  .pb-ob-foot { gap: 8px; }
  .pb-ob-foot .spacer { display: none; }
  .pb-ob-foot [data-pb-next], .pb-ob-foot [data-pb-finish] { order: -1; width: 100%; }
  .pb-ob-foot .btn-ghost { flex: 1 1 0; }
  .pb-found-main { flex-direction: column; }
  .pb-found-ph { width: 100%; max-width: 180px; }
  .pb-upl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pb-grids { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pb-price-hero { padding: 36px 0 24px; }
  .pb-price-h1 { font-size: 32px; }
  .pb-period .seg { width: 100%; }
  .pb-period .seg > button { flex: 1 1 0; }
  .pb-psec { padding-top: 48px; }
  .pb-cmp { display: none; }
  .pb-cmp-m { display: block; }
  .pb-cmp-m .seg > button { padding: 0 6px; font-size: 13px; }
  .pb-princ-demo { flex-wrap: wrap; }
  .pb-ops li { padding: 12px 14px; }
  .pb-final-sm { padding: 28px 20px; }
}
