/* fixerbase.ru — стили магазина по макету 05-landing.html (фирменный стиль: README пакета бренда) */
:root {
  --fb-navy: #12284B;
  --fb-blue: #1E6FE0;
  --fb-action: #1A62CC;
  --fb-action-hover: #1554B0;
  --fb-light: #5AA6FF;
  --fb-tint: #E3EEFD;
  --fb-tint-text: #1554B0;
  --fb-ground: #EDF1F7;
  --fb-line: #DCE3EC;
  --fb-line-2: #C7D1DF;
  --fb-card-shadow: 0 1px 2px rgba(18, 40, 75, .06), 0 10px 24px -14px rgba(18, 40, 75, .28);
  --fb-text-2: #4A5568;
  --fb-caption: #5B6475;
  --fb-on-dark: #C3CEE0;
  --fb-new: #1554B0;
  --fb-work: #A04E00;
  --fb-done: #1E7A45;
  --fb-danger: #B42318;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #FFFFFF; color: var(--fb-navy);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fb-navy); }
a:hover { color: var(--fb-action); }
img { max-width: 100%; height: auto; }
summary { cursor: pointer; }
/* Заголовки — Manrope (строже и компактнее округлого Nunito); Nunito остаётся только в надписи логотипа */
h1, h2, .display { font-family: Manrope, system-ui, sans-serif; font-weight: 800; letter-spacing: -0.025em; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.muted { color: var(--fb-text-2); }
.caption { color: var(--fb-caption); font-size: 14px; font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.hidden { display: none !important; }
.sr-only, .form .sr-only { position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px;
  border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--fb-action); color: #FFFFFF; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--fb-action-hover); color: #FFFFFF; }
.btn-outline { background: #FFFFFF; color: var(--fb-navy); border-color: var(--fb-navy); }
.btn-outline:hover { background: var(--fb-ground); color: var(--fb-navy); }
.btn-ghost { background: transparent; color: var(--fb-action); border-color: var(--fb-action); }
.btn-ghost:hover { background: var(--fb-tint); color: var(--fb-action); }
.btn-white { background: #FFFFFF; color: var(--fb-navy); border: 0; }
.btn-white:hover { background: var(--fb-tint); color: var(--fb-navy); }
.btn-danger { background: #FFFFFF; color: var(--fb-danger); border-color: var(--fb-danger); }
.btn-danger:hover { background: #FEF3F2; color: var(--fb-danger); }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: 15px; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--fb-action); text-decoration: underline; cursor: pointer; }

/* ---------- Шапка ---------- */
.site-header { border-bottom: 1px solid var(--fb-line); background: #FFFFFF; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 28px; }
.wordmark { font-family: Nunito, sans-serif; font-weight: 900; letter-spacing: -0.02em; line-height: 1; color: var(--fb-navy); }
.wordmark .ru { color: var(--fb-blue); }
.wordmark .i { position: relative; display: inline-block; }
.wordmark .i::after {
  content: ""; position: absolute; left: .07em; top: -.04em; width: .11em; height: .24em; border-radius: .06em;
  background: var(--fb-blue); transform: rotate(28deg);
}
.on-dark .wordmark { color: #FFFFFF; }
.on-dark .wordmark .ru { color: var(--fb-light); }
.on-dark .wordmark .i::after { background: var(--fb-light); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 16px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav .cart-link { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.badge {
  min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--fb-line); color: var(--fb-text-2);
  font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.badge.on { background: var(--fb-action); color: #FFFFFF; }
.nav .login { border: 2px solid var(--fb-navy); padding: 8px 18px; border-radius: 10px; min-height: 44px; display: flex; align-items: center; }
.demo-bar { background: #FFF4E5; color: #7A3E00; font-size: 14px; font-weight: 700; text-align: center; padding: 6px 16px; }

/* ---------- Секции ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--fb-ground); }
.section .wrap { display: flex; flex-direction: column; gap: 32px; }
.h2 { font-size: 32px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 20px; }

.hero { background: var(--fb-ground); }
.hero .wrap { padding-top: clamp(28px, 5vh, 56px); padding-bottom: clamp(32px, 6vh, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pill { align-self: flex-start; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--fb-tint); color: var(--fb-tint-text); }
.hero h1 { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.12; letter-spacing: -0.03em; }
.hl { color: var(--fb-blue); }
.hero .lead { font-size: 17px; color: var(--fb-text-2); max-width: 580px; }
.hero-art { flex: 0 1 300px; min-width: 0; display: flex; justify-content: center; }
.hero-circle {
  width: 100%; max-width: 300px; aspect-ratio: 1 / 1; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 24px 50px -28px rgba(18, 40, 75, .45); border: 1px solid var(--fb-line);
}
.hero-circle img { width: 82%; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #FFFFFF; border: 1px solid var(--fb-line-2); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--fb-card-shadow); }
.step-num {
  width: 40px; height: 40px; border-radius: 10px; background: var(--fb-navy); color: #FFFFFF; font-family: Manrope, sans-serif; font-weight: 800;
  font-size: 19px; display: flex; align-items: center; justify-content: center;
}
.step:last-child .step-num { background: var(--fb-action); }
.step h3 { font-size: 18px; font-weight: 800; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #FFFFFF; border: 1px solid var(--fb-line-2); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; box-shadow: var(--fb-card-shadow); }
.feature svg { color: #1A62CC; }
.feature svg { flex-shrink: 0; }
.feature h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }

/* ---------- Демо панели ---------- */
.demo { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--fb-line-2); background: var(--fb-ground); }
.demo-inner { padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.demo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: url("/img/watermark-tile-navy-9pct-1040.png") repeat; background-size: 520px auto;
}
.demo-stamp {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; pointer-events: none;
  font-family: Nunito, sans-serif; font-weight: 900; font-size: clamp(28px, 5vw, 56px); letter-spacing: .08em; color: rgba(18, 40, 75, .14);
  transform: rotate(-24deg); white-space: nowrap;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: #FFFFFF; color: var(--fb-navy); }
.chip.on { background: var(--fb-navy); color: #FFFFFF; }
.table-wrap { overflow-x: auto; background: #FFFFFF; border-radius: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; color: var(--fb-caption); font-weight: 700; padding: 12px 16px; white-space: nowrap; }
.table td { padding: 12px 16px; border-top: 1px solid var(--fb-line); vertical-align: top; }
.table .num { text-align: right; white-space: nowrap; }
.st-new { font-weight: 700; color: var(--fb-new); }
.st-work { font-weight: 700; color: var(--fb-work); }
.st-done { font-weight: 700; color: var(--fb-done); }
.st-bad { font-weight: 700; color: var(--fb-danger); }

/* ---------- Тарифы ---------- */
.period-toggle { display: flex; padding: 4px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--fb-line-2); }
.period-toggle button {
  border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; padding: 10px 18px; min-height: 44px; border-radius: 9px;
  background: transparent; color: var(--fb-navy);
}
.period-toggle button[aria-pressed="true"] { background: var(--fb-navy); color: #FFFFFF; }
.save { color: var(--fb-done); }
.period-toggle button[aria-pressed="true"] .save { color: var(--fb-light); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: #FFFFFF; border: 1px solid var(--fb-line-2); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--fb-card-shadow);
  transition: box-shadow .15s, border-color .15s;
}
.plan.dark { background: var(--fb-navy); color: #FFFFFF; border-color: var(--fb-navy); box-shadow: 0 30px 60px -30px rgba(18, 40, 75, .6); }
.plan.selected { border: 2px solid var(--fb-action); box-shadow: 0 0 0 4px var(--fb-tint); }
.plan.dark.selected { border-color: var(--fb-light); box-shadow: 0 0 0 4px rgba(90, 166, 255, .35); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan .tag { font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: var(--fb-light); color: #0B1C36; white-space: nowrap; }
.plan .tagline { color: var(--fb-text-2); font-size: 16px; }
.plan.dark .tagline, .plan.dark .per { color: var(--fb-on-dark); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price .amount { font-family: Manrope, sans-serif; font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; }
.per { color: var(--fb-caption); font-weight: 600; font-size: 15px; }
.plan ul { margin: 0; padding-left: 20px; color: var(--fb-text-2); display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.plan.dark ul { color: #DCE4F0; }
.plan .btn { margin-top: auto; }
.plan.dark .btn-outline { background: #FFFFFF; border-color: #FFFFFF; }
.locked-note { font-size: 13px; font-weight: 700; color: var(--fb-done); }

.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon { background: #FFFFFF; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; border: 2px solid var(--fb-line); box-shadow: var(--fb-card-shadow); }
.addon.selected { border-color: var(--fb-action); }
.addon-title { font-size: 17px; font-weight: 800; }
.addon-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }

.cart-bar {
  background: #FFFFFF; border: 2px solid var(--fb-navy); border-radius: var(--radius); padding: 22px 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cart-bar .summary { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-bar .title { font-size: 18px; font-weight: 800; }
.stepper { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.stepper button {
  width: 36px; height: 36px; border-radius: 10px; border: 2px solid var(--fb-line-2); background: #FFFFFF; font: inherit; font-weight: 800;
  cursor: pointer; color: var(--fb-navy);
}

.box-lead { background: #FFFFFF; border: 1px dashed var(--fb-line-2); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }

.faq details { border-bottom: 1px solid var(--fb-line-2); padding: 16px 0; }
.faq summary { font-size: 17px; font-weight: 700; }
.faq details p { margin-top: 12px; color: var(--fb-text-2); }

.cta { background: var(--fb-action); color: #FFFFFF; }
.cta .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: 28px; line-height: 1.2; }

.site-footer { background: var(--fb-navy); color: #FFFFFF; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-footer .foot-links a, .site-footer .foot-links span, .site-footer .tagline { color: var(--fb-on-dark); font-size: 14px; font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Формы, кабинет, админка ---------- */
.page { padding: 48px 0 80px; background: var(--fb-ground); min-height: 70vh; }
.page .wrap { display: flex; flex-direction: column; gap: 24px; }
.page h1 { font-size: 30px; }
.card { background: #FFFFFF; border-radius: var(--radius); padding: 28px; border: 1px solid var(--fb-line-2); box-shadow: var(--fb-card-shadow); }
.card h2 { font-size: 24px; margin-bottom: 12px; }
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.auth-card { max-width: 480px; margin: 0 auto; width: 100%; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 14px; font-weight: 700; color: var(--fb-text-2); }
.input, .form input[type=text], .form input[type=email], .form input[type=password], .form input[type=tel], .form input[type=number],
.form input[type=date], .form select, .form textarea {
  font: inherit; font-size: 16px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--fb-line-2); background: #FFFFFF; color: var(--fb-navy);
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--fb-tint); border-color: var(--fb-action); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--fb-text-2); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { border: 2px solid var(--fb-line-2); border-radius: 14px; padding: 14px 16px; display: flex; gap: 10px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--fb-action); background: var(--fb-tint); }
.alert { border-radius: 12px; padding: 14px 18px; font-size: 15px; font-weight: 600; }
.alert-ok { background: #E7F6EC; color: #14532D; }
.alert-err { background: #FEF3F2; color: var(--fb-danger); }
.alert-info { background: var(--fb-tint); color: var(--fb-tint-text); }
.alert-warn { background: #FFF4E5; color: #7A3E00; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 16px; }
.kv dt { color: var(--fb-caption); font-weight: 600; }
.kv dd { margin: 0; font-weight: 600; }
.stat { background: #FFFFFF; border-radius: 16px; padding: 18px 20px; border: 1px solid var(--fb-line); }
.stat .v { font-family: Manrope, sans-serif; font-weight: 800; font-size: 28px; }
.stat .k { color: var(--fb-caption); font-size: 14px; font-weight: 600; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--fb-line-2); }
.tabs a { padding: 10px 14px; text-decoration: none; font-weight: 700; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--fb-text-2); }
.tabs a.on { color: var(--fb-navy); border-color: var(--fb-action); }
.quote-lines { width: 100%; border-collapse: collapse; }
.quote-lines td { padding: 10px 0; border-bottom: 1px solid var(--fb-line); }
.quote-lines td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.quote-total td { font-weight: 800; font-size: 20px; border-bottom: 0; }
.legal { background: #FFFFFF; border-radius: var(--radius); padding: 32px; }
.legal h1 { font-size: 32px; margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin: 24px 0 8px; font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: 0; }
.legal p, .legal li { color: var(--fb-text-2); margin-bottom: 8px; }
.lawyer { background: #FFF4E5; color: #7A3E00; border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.pay-fake { max-width: 520px; margin: 0 auto; width: 100%; }
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; background: var(--fb-navy); color: #FFFFFF;
  border-radius: 16px; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  box-shadow: 0 20px 40px -20px rgba(18, 40, 75, .6); font-size: 15px;
}
.cookie a { color: var(--fb-light); }

@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .steps, .features, .addons, .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .box-lead, .radio-cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .plans { grid-template-columns: 1fr; }
  .h2 { font-size: 26px; }
  .brand { font-size: 24px; }
  .nav { gap: 6px 16px; font-size: 15px; }
  .nav .hide-sm { display: none; }
  .hero .wrap { padding-top: 28px; padding-bottom: 40px; gap: 24px; }
  .hero .lead { font-size: 16px; }
  .hero-circle { max-width: 200px; }
  .card { padding: 20px; }
  .legal { padding: 20px; }
}

/* Длинные значения (адреса, почта) не раздвигают сетку */
.grid-2 > *, .grid-3 > * { min-width: 0; }
.kv dd { overflow-wrap: anywhere; }
.stat .v.small { font-size: 18px; line-height: 1.4; }
.logout-form { margin: 0; display: flex; }
.nav-logout { color: var(--fb-text-2); text-decoration: none; font-weight: 600; font-size: 16px; min-height: 44px; }
.nav-logout:hover { color: var(--fb-action); text-decoration: underline; }

/* Кому подойдёт */
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-row .chip { background: #FFFFFF; color: var(--fb-navy); border: 1px solid var(--fb-line-2); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; }

/* Демо: видеотур — плеер wwwroot/js/tour.js, данные wwwroot/tour/tour.json */
.tour { display: flex; flex-direction: column; gap: 18px; }
.tour-player { position: relative; container-type: inline-size; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--fb-navy);
  box-shadow: 0 22px 60px rgba(18, 40, 75, .28); outline: none; }
.tour-player:fullscreen { border-radius: 0; justify-content: center; }
.tour-player:fullscreen .tour-stage { width: min(100vw, calc((100vh - 56px) * 16 / 10)); margin: 0 auto; }
.tour-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; color: #fff; container-type: inline-size;
  background: radial-gradient(120% 90% at 85% 0%, #1E4F96 0%, rgba(30, 79, 150, 0) 60%), radial-gradient(90% 80% at 0% 100%, #0F3570 0%, rgba(15, 53, 112, 0) 55%), var(--fb-navy); }
.tour-scene, .tour-view { position: absolute; inset: 0; }
.tour-view { display: flex; align-items: center; justify-content: center; gap: 5cqw; padding: 5cqw 6cqw 12cqw;
  opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1); }
.tour-view.in { opacity: 1; transform: none; }
.tour-view.out { opacity: 0; transform: translateY(-10px); }
.tour-chip { position: absolute; left: 2.2cqw; top: 2cqw; z-index: 3; font-size: max(12px, 1.25cqw); font-weight: 700; letter-spacing: .02em;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); color: #DCE7F7; padding: .45em .9em; border-radius: 999px; backdrop-filter: blur(6px); }
.tour-head { font-family: Manrope, sans-serif; font-weight: 800; font-size: max(20px, 3.2cqw); line-height: 1.1; letter-spacing: -.01em; color: #fff; }
/* Телефон */
.tour-phone { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; gap: .8cqw; min-width: 0; }
.tour-phone figcaption { font-size: max(12px, 1.3cqw); font-weight: 800; color: #9FC3F5; text-transform: uppercase; letter-spacing: .08em; }
.tour-phone-frame { height: 100%; aspect-ratio: 390 / 680; padding: .7cqw; border-radius: 3.2cqw; background: #08162C;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 2.4cqw 5cqw rgba(0, 0, 0, .45); flex: none; }
.tour-phone-frame img { display: block; width: 100%; height: 100%; border-radius: 2.5cqw; object-fit: cover; object-position: bottom; }
.tour-phone .tour-phone-frame { max-height: 100%; }
.tour-side { max-width: 40cqw; display: flex; flex-direction: column; gap: 2cqw; }
.tour-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2cqw; }
.tour-side li { display: flex; gap: .9cqw; align-items: flex-start; font-size: max(14px, 1.9cqw); line-height: 1.35; color: #DCE7F7; font-weight: 600; }
.tour-side li svg { width: 1.2em; height: 1.2em; flex: none; color: #5AA6FF; margin-top: .1em; }
.tour-k-phone, .tour-k-phones { padding-top: 4.5cqw; }
.tour-k-phones { flex-direction: column; gap: 1.6cqw; }
.tour-k-phones .tour-head { font-size: max(18px, 2.4cqw); }
.tour-pair { display: flex; gap: 4cqw; height: 100%; min-height: 0; }
/* Окно панели */
.tour-k-panel { padding: 5.5cqw 7cqw 12cqw; }
.tour-window { height: 100%; aspect-ratio: 1440 / 926; max-width: 100%; display: flex; flex-direction: column; border-radius: 1.2cqw; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 2.4cqw 5cqw rgba(0, 0, 0, .45); }
.tour-window-bar { flex: none; height: 2.6cqw; display: flex; align-items: center; gap: .55cqw; padding: 0 1.1cqw; background: #E9EDF4; color: #5B6475;
  font-size: max(10px, 1.05cqw); font-weight: 700; }
.tour-window-bar i { width: .85cqw; height: .85cqw; border-radius: 50%; background: #C9D1DE; }
.tour-window-bar i:first-child { background: #F28B7D; } .tour-window-bar i:nth-child(2) { background: #F5C66B; } .tour-window-bar i:nth-child(3) { background: #7FCB8B; }
.tour-window-bar span { margin-left: .8cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-window-view { position: relative; flex: 1; overflow: hidden; background: #F3F4F6; }
.tour-cam { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1.6s cubic-bezier(.45, .05, .2, 1); }
.tour-cam img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.tour-ring { position: absolute; border-radius: 10px; box-shadow: 0 0 0 3px #FF8A3D, 0 0 0 9999px rgba(18, 40, 75, 0); opacity: 0;
  transition: opacity .6s ease .9s, box-shadow .8s ease .9s; pointer-events: none; }
.tour-ring.on { opacity: 1; box-shadow: 0 0 0 2px #FF8A3D, 0 0 18px 4px rgba(255, 138, 61, .55), 0 0 0 9999px rgba(18, 40, 75, .22); }
/* Заставка */
.tour-title { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2cqw; max-width: 70cqw; }
.tour-title h3 { font-family: Manrope, sans-serif; font-weight: 800; font-size: max(26px, 5cqw); line-height: 1.05; letter-spacing: -.02em; }
.tour-logo img { width: max(48px, 7cqw); height: auto; border-radius: 22%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 1cqw 3cqw rgba(0, 0, 0, .35); }
.tour-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 1cqw; }
.tour-tags span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: .5em 1.1em;
  font-size: max(13px, 1.7cqw); font-weight: 700; color: #DCE7F7; }
.tour-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 1cqw; }
/* Субтитры */
.tour-sub { position: absolute; left: 50%; bottom: calc(56px + 1.6cqw); transform: translate(-50%, 8px); z-index: 4; width: max-content; max-width: 90%;
  padding: .45em 1em; border-radius: 12px; background: rgba(6, 16, 34, .82); color: #fff; text-align: center;
  font-size: max(14px, 1.8cqw); line-height: 1.35; font-weight: 600; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.tour-sub.show { opacity: 1; transform: translate(-50%, 0); }
/* Заставка до запуска */
.tour-poster { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 2cqw; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(10, 24, 48, .25), rgba(10, 24, 48, .7)); color: #fff; font: inherit; }
.tour-poster[hidden] { display: none; }
.tour-player.fresh .tour-scene, .tour-player.fresh .tour-chip { opacity: 0; }
.tour-poster-play { width: max(64px, 9cqw); height: max(64px, 9cqw); border-radius: 50%; display: grid; place-items: center; background: var(--fb-action);
  box-shadow: 0 0 0 10px rgba(30, 111, 224, .25), 0 12px 30px rgba(0, 0, 0, .35); transition: transform .2s; }
.tour-poster-play svg { width: 46%; height: 46%; margin-left: 6%; }
.tour-poster:hover .tour-poster-play { transform: scale(1.06); }
.tour-poster-text { display: flex; flex-direction: column; text-align: left; gap: 4px; }
.tour-poster-text b { font-family: Manrope, sans-serif; font-weight: 800; font-size: max(22px, 3.4cqw); line-height: 1.05; }
.tour-poster-text small { font-size: max(13px, 1.6cqw); color: #DCE7F7; font-weight: 600; }
/* Панель управления */
.tour-bar { display: flex; align-items: center; gap: 4px; height: 56px; padding: 8px 12px; background: #0B1D3A; color: #DCE7F7; }
.tour-btn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: inherit;
  cursor: pointer; font: inherit; font-weight: 800; font-size: 14px; }
.tour-btn svg { width: 22px; height: 22px; }
.tour-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.tour-btn:focus-visible, .tour-track:focus-visible, .tour-ch:focus-visible, .tour-poster:focus-visible { outline: 3px solid #5AA6FF; outline-offset: 2px; }
.tour-btn.on { color: #5AA6FF; }
.tour-speed { width: 46px; }
.tour-track { position: relative; flex: 1; height: 8px; margin: 0 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); cursor: pointer; }
.tour-track::before { content: ""; position: absolute; inset: -12px 0; }
.tour-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #5AA6FF, #1E6FE0); }
.tour-tick { position: absolute; top: -2px; width: 2px; height: 12px; background: rgba(255, 255, 255, .45); border-radius: 2px; }
.tour-time { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 84px; text-align: center; }
.tour-chapters { display: flex; flex-wrap: wrap; gap: 8px; }
.tour-ch { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--fb-line-2); background: #fff; color: var(--fb-navy); border-radius: 999px;
  padding: 7px 14px 7px 8px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.tour-ch span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--fb-tint); color: var(--fb-tint-text); font-size: 12px; }
.tour-ch:hover { border-color: var(--fb-action); }
.tour-ch.on { background: var(--fb-navy); border-color: var(--fb-navy); color: #fff; }
.tour-ch.on span { background: var(--fb-action); color: #fff; }
@media (max-width: 720px) {
  .tour-stage { aspect-ratio: 3 / 4; }
  .tour-view { flex-direction: column; gap: 2.5cqw; padding: 12cqw 4cqw 4cqw; }
  .tour-k-phone, .tour-k-phones { padding-top: 12cqw; }
  .tour-k-phones { gap: 2cqw; }
  .tour-k-phones .tour-head { display: none; }
  .tour-side { display: none; }
  .tour-chip { font-size: 12px; left: 3cqw; top: 3cqw; }
  .tour-head { font-size: 18px; }
  .tour-pair { gap: 3cqw; width: 100%; align-items: center; }
  .tour-pair .tour-phone { flex: 1; height: auto; }
  .tour-pair .tour-phone-frame { height: auto; width: 100%; }
  .tour-phone figcaption { font-size: 11px; }
  .tour-phone-frame { border-radius: 6cqw; padding: 1.2cqw; } .tour-phone-frame img { border-radius: 5cqw; }
  .tour-k-panel { padding: 13cqw 3cqw 4cqw; }
  .tour-window { height: auto; width: 100%; }
  .tour-window-bar { height: 22px; font-size: 10px; } .tour-window-bar i { width: 7px; height: 7px; }
  .tour-title h3 { font-size: 26px; } .tour-tags span { font-size: 13px; }
  .tour-sub { position: static; transform: none; width: auto; max-width: none; min-height: 5.2em; border-radius: 0; opacity: 1;
    background: #0B1D3A; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 15px; padding: 12px 16px; display: flex; align-items: center; justify-content: center; }
  .tour-sub.show { transform: none; }
  .tour-sub[hidden] { display: none; }
  .tour-poster { flex-direction: column; text-align: center; }
  .tour-poster-text { text-align: center; align-items: center; }
  .tour-bar { flex-wrap: wrap; height: auto; padding: 6px 8px; }
  .tour-track { order: -1; flex-basis: 100%; margin: 10px 4px 6px; }
  .tour-time { margin-right: auto; }
  .tour-ch { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-view, .tour-cam, .tour-ring, .tour-sub { transition: none; }
}

.foot-seller { font-size: 13px; color: var(--fb-on-dark); opacity: .85; margin-top: 10px; line-height: 1.5; }
.foot-seller a { color: inherit; }
.check + .check { margin-top: -4px; }

/* Вход через Яндекс ID, VK ID, Mail.ru */
.social { margin-top: 18px; }
.social-or { display: flex; align-items: center; gap: 12px; color: var(--fb-caption); font-size: 14px; margin-bottom: 12px; }
.social-or::before, .social-or::after { content: ""; flex: 1; height: 1px; background: var(--fb-line); }
.social-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.social-btn { justify-content: center; text-align: center; font-weight: 600; white-space: nowrap; padding: 10px 12px; font-size: 15px; }
.social-btn::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.social-yandex::before { background: #FC3F1D; }
.social-vk::before { background: #0077FF; }
.social-mailru::before { background: #FF9E00; }
.linked-list { display: grid; gap: 10px; margin: 6px 0 12px; }
.linked-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card[id] { scroll-margin-top: 96px; } /* переход к карточке по #якорю — под закреплённой шапкой */

/* Оплата по СБП */
.pay-badge{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:#E7F4EC;color:#14532D;font-size:12px;font-weight:800;vertical-align:middle}
.sbp-grid{display:grid;grid-template-columns:auto 1fr;gap:24px;align-items:center}
.sbp-qr{margin:0;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-size:14px;max-width:240px}
.sbp-qr img{background:#fff;border:1px solid var(--line,#DCE3EC);border-radius:12px;padding:8px}
@media (max-width:640px){.sbp-grid{grid-template-columns:1fr}.sbp-qr{display:none}}

/* ======================= Лэндинг (макет «FixerBase — новый лэндинг») ======================= */
.btn-lg { min-height: 56px; padding: 15px 26px; font-size: 18px; font-weight: 800; }
.btn-accent { background: #FF9E1B; color: var(--fb-navy); border: 0; font-weight: 800; }
.btn-accent:hover { background: #FFB347; color: var(--fb-navy); }
.btn-navy { background: var(--fb-navy); }
.btn-navy:hover { background: #0B1A33; }
.radio-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.lp-hero { background: var(--fb-ground); }
.lp-hero .wrap { padding-top: 56px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.lp-hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.lp-pill { align-self: flex-start; max-width: 100%; background: #FFFFFF; border: 1px solid var(--fb-line); border-radius: 18px; padding: 6px 14px; line-height: 1.45; font-size: 14px; font-weight: 600; color: var(--fb-text-2); }
.lp-hero h1 { font-size: clamp(31px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.02em; }
.lp-lead { font-size: 19px; line-height: 1.5; color: var(--fb-text-2); max-width: 560px; }
.lp-checks { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 15px; color: var(--fb-text-2); font-weight: 600; }
.lp-checks span { display: flex; gap: 8px; align-items: center; }
.lp-hero-art { flex: 1 1 380px; display: flex; justify-content: center; position: relative; min-height: 540px; }
.lp-phone { width: 320px; border-radius: 40px; background: var(--fb-navy); padding: 12px; box-shadow: 0 30px 60px -24px rgba(18,40,75,.45); align-self: center; }
.lp-phone img, .lp-phone video { width: 296px; height: 516px; object-fit: cover; object-position: top; border-radius: 30px; display: block; background: #b8d4a6; }
.lp-ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.lp-ico.lg { width: 44px; height: 44px; border-radius: 12px; }
.lp-ico-blue { background: var(--fb-tint); color: var(--fb-tint-text); }

.lp-dark { background: var(--fb-navy); color: #FFFFFF; }
.lp-dark h2 { font-size: 36px; line-height: 1.15; }
.lp-on-dark { color: var(--fb-on-dark); font-size: 17px; line-height: 1.55; }
.lp-kicker { color: var(--fb-light); font-weight: 800; font-size: 14px; letter-spacing: .08em; }
.lp-link-light { color: var(--fb-light); font-weight: 700; }
.lp-link-light:hover { color: #FFFFFF; }
.lp-demo { padding-top: 72px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.lp-demo-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.lp-steps { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-steps li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--fb-on-dark); }
.lp-steps li span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex: none; }
.lp-steps li.done { color: var(--fb-light); }
.lp-steps li.on { background: var(--fb-action); color: #FFFFFF; }
.lp-sim-wrap { flex: 1 1 360px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-sim-hint { display: flex; gap: 10px; align-items: center; max-width: 360px; background: rgba(90,166,255,.14); border: 1px solid rgba(90,166,255,.45);
  color: #FFFFFF; border-radius: 14px; padding: 10px 14px; font-size: 15px; font-weight: 700; line-height: 1.35; }
.lp-tap { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #FF9E1B; box-shadow: 0 0 0 0 rgba(255,158,27,.6); animation: lp-pulse 1.6s infinite; }
.lp-sim { width: 340px; max-width: 100%; border-radius: 40px; background: #0B1A33; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.lp-sim-screens { border-radius: 30px; overflow: hidden; background: #b8d4a6; position: relative; }
.lp-sim-screen { margin: 0; position: relative; }
.lp-sim-screen[hidden] { display: none; }
.lp-sim-screen img { display: block; width: 100%; height: auto; }
.lp-hot { position: absolute; border: 0; padding: 0; margin: 0; background: transparent; border-radius: 10px; cursor: pointer;
  box-shadow: 0 0 0 3px rgba(255,158,27,.95); animation: lp-ring 1.6s infinite; }
.lp-hot:hover, .lp-hot:focus-visible { background: rgba(255,255,255,.18); outline: none; }
.lp-hot.nudge { animation: lp-nudge .5s 2; }
.lp-sim-bar { width: 340px; max-width: 100%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; text-align: center; }
.lp-sim-action { flex: 1 1 100%; color: var(--fb-on-dark); font-size: 15px; font-weight: 600; line-height: 1.4; min-height: 42px; }
.lp-role { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--fb-tint); color: var(--fb-tint-text); }
.is-master .lp-role { background: #FF9E1B; color: var(--fb-navy); }
.lp-sim-next, .lp-sim-again { font: inherit; font-size: 15px; font-weight: 800; color: #FFFFFF; background: var(--fb-action); border: 0; border-radius: 10px; padding: 10px 18px; cursor: pointer; }
.lp-sim-next:hover, .lp-sim-again:hover { background: var(--fb-action-hover); }
.lp-sim-next[hidden], .lp-sim-again[hidden] { display: none; }
/* 2.21.2: «Дальше →» подсвечена так же, как кнопки на экране телефона — оранжевая, с пульсирующей обводкой: понятно, что жать сюда. */
.lp-sim-next { background: #FF9E1B; color: var(--fb-navy); box-shadow: 0 0 0 3px rgba(255,158,27,.95); animation: lp-ring 1.6s infinite; }
.lp-sim-next:hover, .lp-sim-next:focus-visible { background: #FFB347; color: var(--fb-navy); outline: none; }
.lp-sim-next.nudge { animation: lp-nudge .5s 2; }
@media (prefers-reduced-motion: reduce) { .lp-sim-next { animation: none; } }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,158,27,.6); } 70% { box-shadow: 0 0 0 12px rgba(255,158,27,0); } 100% { box-shadow: 0 0 0 0 rgba(255,158,27,0); } }
@keyframes lp-ring { 0%, 100% { box-shadow: 0 0 0 3px rgba(255,158,27,.95); } 50% { box-shadow: 0 0 0 7px rgba(255,158,27,.35); } }
@keyframes lp-nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .lp-tap, .lp-hot { animation: none; } }
.lp-video { padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; }
.lp-video-head { display: flex; flex-direction: column; gap: 8px; max-width: 820px; }
.lp-video-head h3 { font-size: 24px; font-weight: 800; }
.lp-dark .tour { border-radius: 20px; overflow: hidden; }

.lp-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp-compare > div { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.lp-compare h3 { font-size: 22px; font-weight: 800; }
.lp-compare ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.45; }
.lp-compare li { position: relative; padding-left: 34px; }
.lp-compare li::before { position: absolute; left: 0; top: 0; font-weight: 900; font-size: 20px; line-height: 1.2; }
.lp-before { background: #FFF5F2; border: 1px solid #F6D5CC; }
.lp-before h3 { color: #8A2A12; }
.lp-before li::before { content: "✕"; color: var(--fb-danger); }
.lp-after { background: #EEF8F2; border: 1px solid #C9E8D5; }
.lp-after h3 { color: #14532D; }
.lp-after li::before { content: "✓"; color: var(--fb-done); }

.lp-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-tabs button { font: inherit; font-size: 16px; font-weight: 700; padding: 11px 18px; border-radius: 999px; cursor: pointer; border: 2px solid var(--fb-navy); background: #FFFFFF; color: var(--fb-navy); }
.lp-tabs button[aria-selected="true"] { background: var(--fb-navy); color: #FFFFFF; }
.lp-niche { display: flex; gap: 32px; flex-wrap: wrap; align-items: stretch; }
.lp-niche-panels { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lp-niche-panel { background: var(--fb-ground); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.lp-niche-panel[hidden] { display: none; }
.lp-niche-panel h3 { font-size: 22px; font-weight: 800; }
.lp-niche-panel dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lp-niche-panel dl > div { display: flex; gap: 14px; align-items: baseline; background: #FFFFFF; border: 1px solid var(--fb-line); border-radius: 12px; padding: 12px 16px; }
.lp-niche-panel dt { font-weight: 800; font-size: 15px; min-width: 110px; color: var(--fb-tint-text); }
.lp-niche-panel dd { margin: 0; font-size: 15px; line-height: 1.45; }
.lp-niche:not(.js-tabs) .lp-niche-panel + .lp-niche-panel { margin-top: 0; }
.lp-niche-art { flex: 1 1 280px; display: flex; justify-content: center; align-items: center; background: var(--fb-tint); border-radius: var(--radius); padding: 20px; }
.lp-niche-art img { width: 250px; height: 436px; object-fit: cover; object-position: top; border-radius: 22px; border: 8px solid var(--fb-navy); }

.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-feature { background: #FFFFFF; border-radius: 16px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.lp-feature h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.lp-feature p { font-size: 15px; line-height: 1.45; }
.lp-sbp { display: flex; gap: 8px; align-items: flex-start; background: #E7F4EC; color: #14532D; border-radius: 10px; padding: 8px 10px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.lp-sbp b { background: var(--fb-done); color: #FFFFFF; border-radius: 6px; padding: 1px 6px; font-size: 12px; font-weight: 800; flex: none; }

.lp-plans { align-items: stretch; }
.lp-plans .plan { position: relative; margin-top: 18px; }
.lp-plans .plan.featured { border: 3px solid #FF9E1B; margin-top: 0; padding-top: 34px; box-shadow: 0 24px 48px -20px rgba(18,40,75,.6); }
.plan-ribbon { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #FF9E1B; color: var(--fb-navy);
  font-size: 13px; font-weight: 800; padding: 7px 14px; border-radius: 999px; }
.plan .tag-free { background: #E7F4EC; color: #14532D; }
.plan .tagline-hl { align-self: flex-start; background: #FF9E1B; color: var(--fb-navy) !important; border-radius: 8px; padding: 6px 10px; font-size: 15px; font-weight: 800; }

.lp-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.lp-case { background: #FFFFFF; border: 1px solid var(--fb-line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.lp-case-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lp-case-niche { font-size: 13px; font-weight: 800; color: var(--fb-tint-text); }
.lp-case-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--fb-caption); background: var(--fb-ground); border-radius: 999px; padding: 4px 9px; }
.lp-case h3 { font-size: 17px; font-weight: 800; line-height: 1.3; }
.lp-case p { font-size: 15px; line-height: 1.5; }
.lp-case-author { font-weight: 800; font-size: 15px; margin-top: auto; }
.lp-stars { color: #E08A00; font-size: 15px; letter-spacing: 1px; }

.lp-review-form { background: #FFFFFF; border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.lp-review-form h3 { font-size: 24px; font-weight: 800; }
.lp-review-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-review-fields .full { grid-column: 1 / -1; }
.lp-rating { border: 0; margin: 0; padding: 0; }
.lp-rating legend { font-size: 14px; font-weight: 700; color: var(--fb-text-2); padding: 0; margin-bottom: 6px; }
.lp-rating-stars { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.lp-rating-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp-rating-stars label { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--fb-line-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lp-rating-stars svg { fill: none; stroke: #E08A00; stroke-width: 1.6; stroke-linejoin: round; }
.lp-rating-stars input:checked ~ label svg, .lp-rating-stars label:hover svg, .lp-rating-stars label:hover ~ label svg { fill: #FFB020; }
.lp-rating-stars input:focus-visible + label { outline: 3px solid var(--fb-tint); border-color: var(--fb-action); }

.lp-start { background: var(--fb-action); color: #FFFFFF; }
.lp-start .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.lp-start-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-start-text h2 { font-size: 36px; line-height: 1.15; }
.lp-start-text p { font-size: 17px; line-height: 1.55; color: #E3EEFD; }
.lp-link-white { color: #FFFFFF; font-weight: 700; font-size: 15px; }
.lp-link-white:hover { color: #E3EEFD; }
.lp-start-form { flex: 1 1 360px; background: #FFFFFF; color: var(--fb-navy); border-radius: var(--radius); padding: 24px; gap: 12px; }
.lp-start-q { font-weight: 800; font-size: 17px; color: var(--fb-navy); }
.lp-sticky { display: none; }

@media (max-width: 1000px) {
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-review-form { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lp-hero .wrap { padding-top: 24px; padding-bottom: 28px; gap: 24px; }
  .lp-hero-art { min-height: 0; }
  .lp-pill { display: none; }
  .lp-phone { width: 250px; border-radius: 34px; padding: 10px; }
  .lp-phone img, .lp-phone video { width: 230px; height: 400px; border-radius: 26px; }
  .lp-lead { font-size: 16px; }
  .lp-hero .btn-lg { width: 100%; }
  .lp-dark h2, .lp-start-text h2 { font-size: 26px; }
  .lp-demo { padding-top: 40px; gap: 28px; }
  .lp-steps { display: none; }
  .lp-sim, .lp-sim-bar { width: 300px; }
  .lp-compare, .lp-features, .lp-review-fields { grid-template-columns: 1fr; }
  .lp-niche-art { display: none; }
  .lp-niche-panel dl > div { flex-direction: column; gap: 2px; }
  .lp-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #FFFFFF; border-top: 1px solid var(--fb-line); }
  body:has(.lp-sticky) .site-footer { padding-bottom: 72px; }
  body:has(.lp-sticky) .cookie { bottom: 72px; }
}

/* Админка: отзывы */
.admin-reviews { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
.review-check { font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.review-check.ok { background: #E7F4EC; color: #14532D; }
.review-check.warn { background: #FFF4E5; color: #8A4B00; }
a.chip { text-decoration: none; border: 2px solid var(--fb-navy); }
@media (max-width: 900px) { .admin-reviews { grid-template-columns: 1fr; } }

/* Корзина: сумма и перечень; при переходе по #cart баннер не прячется под липкой шапкой */
#cart { scroll-margin-top: 120px; scroll-margin-bottom: 40px; }
.cart-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.cart-list li { display: flex; justify-content: space-between; gap: 16px; }
.cart-list li b { white-space: nowrap; }
.cart-bar .summary { flex: 1 1 320px; max-width: 560px; }

/* Способы оплаты: логотипы СБП, «Мир», Mir Pay (официальный SDK Т-Банка) */
.pay-card-body { display: flex; flex-direction: column; gap: 6px; }
.pay-logos { display: flex; align-items: center; gap: 8px; min-height: 32px; flex-wrap: wrap; }
.pay-logos img { display: block; width: auto; height: 22px; }
.pay-logos img.logo-sbp { height: 30px; }
.pay-logos img.logo-tbank { height: 28px; }
.sbp-title-logo { height: 40px !important; width: auto; }
.pay-bank { font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 8px; background: var(--fb-ground); color: var(--fb-navy); border: 1px solid var(--fb-line-2); }
.pay-logos img.logo-badge { height: 26px; }

/* ---- Лендинг по ТЗ 02.11.2026 ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.burger { display: none; width: 48px; height: 48px; border: 2px solid var(--fb-navy); border-radius: 10px; background: #FFFFFF; cursor: pointer; position: relative; }
.burger span[aria-hidden], .burger span[aria-hidden]::before, .burger span[aria-hidden]::after {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--fb-navy); content: ""; display: block; }
.burger span[aria-hidden] { top: 22px; }
.burger span[aria-hidden]::before { top: -7px; left: 0; right: 0; }
.burger span[aria-hidden]::after { top: 7px; left: 0; right: 0; }
.site-header .btn-sm { min-height: 48px; }
.lp-under { color: var(--fb-text-2); font-size: 15px; font-weight: 600; }
.lp-hero-text h1 { overflow-wrap: anywhere; }

/* Экран мастера — вёрстка в стиле чата */
.lp-chat { display: flex; flex-direction: column; gap: 0; padding: 12px; }
.lp-chat-head { background: #24364F; color: #FFFFFF; border-radius: 28px 28px 0 0; padding: 14px 18px; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.lp-chat-ava { width: 28px; height: 28px; border-radius: 50%; background: var(--fb-blue); display: inline-block; }
.lp-chat-body { background: #DCE8D0; border-radius: 0 0 28px 28px; padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 440px; }
.lp-msg { background: #FFFFFF; color: #1B2533; border-radius: 14px 14px 14px 4px; padding: 10px 12px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.lp-msg p { margin: 0; }
.lp-msg-hint { background: #FFF8E1; }
.lp-msg-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.lp-msg-buttons span { background: #EEF3F9; color: var(--fb-action); border-radius: 8px; text-align: center; padding: 8px 4px; font-weight: 700; font-size: 13px; }
.lp-msg-buttons span.on { background: var(--fb-action); color: #FFFFFF; }

/* «Узнаёте свой день?» — значки в разметке, а не псевдоэлементы */
.lp-compare .lp-marks li { padding-left: 0; display: flex; gap: 10px; align-items: flex-start; }
.lp-compare .lp-marks li::before { content: none; }
.lp-compare .lp-marks svg { flex: 0 0 18px; margin-top: 4px; }
.lp-examples { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--fb-text-2); }

/* Тарифы */
.lp-plans .plan { border: 1px solid var(--fb-line); }
.lp-plans .plan.featured { border: 3px solid var(--fb-action); padding-top: 34px; position: relative; }
.plan-label { position: absolute; top: -14px; left: 20px; background: var(--fb-action); color: #FFFFFF; font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.lp-referral { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; background: #FFFFFF; border: 2px dashed var(--fb-line-2); border-radius: var(--radius); padding: 24px; }
.lp-referral p { margin: 0; font-size: 17px; }
.lp-dialog, .lp-video-dialog { border: 0; border-radius: var(--radius); padding: 24px; max-width: min(560px, calc(100vw - 32px)); box-shadow: 0 30px 60px -20px rgba(18,40,75,.5); }
.lp-video-dialog { max-width: min(980px, calc(100vw - 32px)); width: 100%; background: var(--fb-navy); color: #FFFFFF; }
.lp-video-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.lp-dialog::backdrop, .lp-video-dialog::backdrop { background: rgba(11, 28, 54, .6); }
.btn-outline-white { background: transparent; color: #FFFFFF; border: 2px solid #FFFFFF; }
.btn, .btn-lg, .lp-sticky .btn { min-height: 48px; }
.lp-sticky[hidden] { display: none !important; }

@media (max-width: 760px) {
  .burger { display: inline-block; }
  .site-header .wrap { flex-wrap: nowrap; }
  .site-header .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-bottom: 1px solid var(--fb-line);
    flex-direction: column; align-items: stretch; padding: 12px 16px 16px; gap: 8px; }
  body.nav-open .site-header .nav { display: flex; }
  .site-header .nav a, .site-header .nav .btn { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .lp-hero-art { width: 100%; display: flex; justify-content: center; }
  .lp-chat { width: 100%; max-width: 340px; }
  .lp-chat-body { min-height: 0; }
  .lp-hero .row .btn { width: 100%; }
}

/* Значок «?» со всплывающей справкой о логике настройки (админка, кабинет, оформление) */
.qhint { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--fb-line-2); background: #FFFFFF;
  color: var(--fb-text-2); font-size: 12px; font-weight: 700; line-height: 1; cursor: help; position: relative; margin-left: 4px; vertical-align: middle; }
.qhint:hover, .qhint:focus { color: var(--fb-blue, #1554B0); border-color: currentColor; outline: none; }
.qhint .qtip { display: none; position: absolute; z-index: 30; top: 24px; left: 50%; transform: translateX(-50%); width: min(340px, 80vw);
  background: #FFFFFF; color: var(--fb-text, #12284B); border: 1px solid var(--fb-line-2); border-radius: 10px; box-shadow: var(--fb-card-shadow);
  padding: 10px 12px; font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; }
.qhint:hover .qtip, .qhint:focus .qtip { display: block; }
.option-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.price-pending { font-size: 13px; color: var(--fb-text-2); }
.plan-option { font-size: 14px; color: var(--fb-text-2); margin: -4px 0 4px; }

/* Дополнительные услуги: главная (под тарифами) и кабинет */
.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.addon-card { background: #FFFFFF; border: 1px solid var(--fb-line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.addon-card .addon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; }
.addon-card .addon-price { white-space: nowrap; font-weight: 700; }
.addon-card form { width: 100%; }
.addon-card textarea { width: 100%; }

/* Прогресс настройки сервиса в кабинете */
.setup-progress { border: 1px solid var(--fb-line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; margin: 6px 0 12px; background: #FFFFFF; }
.setup-progress .bar { height: 8px; border-radius: 4px; background: var(--fb-line); overflow: hidden; }
.setup-progress .bar span { display: block; height: 100%; background: var(--fb-action); }

/* ---- Главная 2.0 (ноябрь 2026): два канала заявок на первом экране, «Бригада» рекомендуемая, перенос + коллега, окно «показ» ---- */
.lp-narrow { display: none; }
.login-narrow { display: none; }
.lp-hero-cta { gap: 12px; }
.lp-flow { flex-direction: column; align-items: center; gap: 12px; min-height: 0; }
.lp-inbox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 420px; }
.lp-in { background: #FFFFFF; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--fb-card-shadow); }
.lp-in-head { display: flex; align-items: center; gap: 6px; color: var(--fb-action); font-size: 13px; font-weight: 800; }
.lp-in-text { font-size: 14px; font-weight: 700; line-height: 1.35; }
.lp-in-note { font-size: 12px; color: var(--fb-text-2); line-height: 1.35; }
.lp-flow-arrow { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fb-text-2); }
.lp-chat-head { gap: 10px; }
.lp-chat-head > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.lp-chat-head small { font-weight: 500; font-size: 12px; color: #B9C6D9; }
.lp-chat-ava { display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; font-size: 11px; font-weight: 800; flex: none; }
.lp-chat-body { min-height: 0; }
.lp-msg { display: flex; flex-direction: column; gap: 2px; }
.lp-msg-kicker { color: var(--fb-action); font-weight: 800; }
.lp-msg-muted { color: var(--fb-text-2); font-size: 13px; margin-top: 4px; }
.lp-chat .lp-msg-buttons { margin-top: -4px; }
.lp-chat .lp-msg-buttons span { background: #FFFFFF; color: var(--fb-navy); }
.lp-chat .lp-msg-buttons span.on { background: var(--fb-action); color: #FFFFFF; }
@media (prefers-reduced-motion: no-preference) {
  .lp-in-1, .lp-in-2, .lp-in-3 { animation: lp-appear .45s ease-out both; }
  .lp-in-2 { animation-delay: .4s; }
  .lp-in-3 { animation-delay: .8s; }
}
@keyframes lp-appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.lp-plans .plan.featured { border: 2px solid var(--fb-action); padding-top: 30px; box-shadow: 0 24px 48px -24px rgba(26, 98, 204, .55); }
.lp-plans .plan .plan-label { left: 50%; transform: translateX(-50%); white-space: nowrap; top: -13px; }
.plan-price { display: flex; flex-direction: column; gap: 4px; }
.plan-price .per { font-size: 13px; }
.plan-price .hidden, .plan .hidden { display: none; }

.lp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lp-duo-card { background: #FFFFFF; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; box-shadow: var(--fb-card-shadow); }
.lp-duo-card h3 { font-size: 20px; font-weight: 800; }
.lp-duo-card p { color: var(--fb-text-2); font-size: 16px; line-height: 1.5; }
.lp-duo-card.dark { background: var(--fb-navy); color: #FFFFFF; }
.lp-duo-card.dark p { color: var(--fb-on-dark); }
.lp-duo-card:only-child { grid-column: 1 / -1; }

.lp-start .wrap { justify-content: center; text-align: center; }
.lp-start-text { align-items: center; max-width: 760px; }
.lp-start-cta { justify-content: center; gap: 12px; }
.lp-start .alert { color: var(--fb-navy); }
.lp-show-dialog { width: min(480px, calc(100vw - 32px)); }
.lp-show-dialog [hidden] { display: none !important; }
.btn:focus-visible, .lp-tabs button:focus-visible, .period-toggle button:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid var(--fb-light); outline-offset: 2px; }

@media (max-width: 900px) {
  .lp-duo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .login-narrow { display: inline-flex; align-items: center; min-height: 48px; padding: 0 6px; font-weight: 700; text-decoration: none; margin-left: auto; }
}
@media (max-width: 640px) {
  .lp-wide { display: none; }
  .lp-wide-flex { display: none !important; }
  .lp-narrow { display: inline; }
  .lp-hero .wrap { padding-top: 20px; padding-bottom: 0; gap: 16px; }
  .lp-hero-text { gap: 14px; }
  .lp-pill { font-size: 12px; padding: 5px 12px; }
  .lp-hero h1 { font-size: 30px; line-height: 1.12; }
  .lp-dark h2, .lp-start-text h2, .h2 { font-size: 26px; }
  .lp-under { text-align: center; font-size: 13px; margin-top: -4px; }
  .lp-hero-cta .btn { width: 100%; font-size: 17px; }
  .lp-in { padding: 9px 11px; border-radius: 12px; gap: 3px; }
  .lp-in-head { font-size: 11px; }
  .lp-in-head svg { display: none; }
  .lp-in-text { font-size: 12px; font-weight: 600; }
  .lp-in-note, .lp-flow-arrow, .lp-chat-head, .lp-msg-muted { display: none; }
  .lp-inbox { gap: 8px; max-width: none; }
  .lp-chat { width: 250px; padding: 9px 9px 0; border-radius: 30px 30px 0 0; box-shadow: none; }
  .lp-chat-body { border-radius: 22px 22px 0 0; font-size: 12px; padding: 10px 9px 12px; gap: 7px; }
  .lp-chat .lp-msg { font-size: 12px; }
  .lp-chat .lp-msg-buttons span { font-size: 11px; padding: 8px 2px; }
  .lp-start-cta .btn { width: 100%; }
}
@media (max-width: 760px) { .lp-hero .lp-pill { display: inline-block; } }
.lp-plans .plan.featured { margin-top: 18px; }
.brand { white-space: nowrap; flex: none; }
.burger { flex: none; }
@media (max-width: 640px) {
  .cookie { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; font-size: 13px; gap: 8px; border-radius: 12px; }
  .cookie .row { width: 100%; flex-wrap: nowrap; }
  .cookie .btn { flex: 1 1 0; min-height: 44px; padding: 6px 8px; font-size: 14px; }
}
@media (max-width: 380px) {
  .brand { font-size: 21px; gap: 8px; }
  .brand svg { width: 30px; height: 30px; }
  .lp-pill { font-size: 11px; }
  .lp-hero h1 { font-size: 28px; }
  .lp-hero-cta .btn { font-size: 16px; padding: 14px 10px; }
}
.site-footer .link-btn { color: var(--fb-light); } /* «Настройки cookie» на тёмном подвале — контраст AA */
/* 2.21.3: телефон демо по высоте экрана — на невысоких ноутбуках помещается целиком вместе с «Дальше» (экран 600×1046, рамка 24 px). */
.lp-sim, .lp-sim-bar { width: clamp(260px, calc((100vh - 310px) * 0.5736 + 24px), 340px); }
@supports (height: 100svh) { .lp-sim, .lp-sim-bar { width: clamp(260px, calc((100svh - 310px) * 0.5736 + 24px), 340px); } }
@media (max-width: 760px) { .lp-sim, .lp-sim-bar { width: clamp(260px, calc((100svh - 300px) * 0.5736 + 24px), 300px); } }
/* 2.27: справочник кодов ошибок (/kody-oshibok) — статичные страницы без JS. */
.kody h1.display { font-size: 32px; line-height: 1.2; }
.kody h2 { font-size: 22px; line-height: 1.3; }
.kody h3 { font-size: 17px; margin: 8px 0 4px; }
.kody-crumbs { font-size: 14px; color: var(--fb-caption); }
.kody-crumbs a { color: var(--fb-caption); }
.kody-lead { font-size: 17px; color: var(--fb-text-2); margin: 0; }
.kody-search { display: flex; gap: 8px; }
.kody-search input { flex: 1 1 auto; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--fb-line-2); border-radius: 12px; background: #FFFFFF; }
.kody-brands { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.kody-brands a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #FFFFFF; border: 1px solid var(--fb-line-2); border-radius: 14px; text-decoration: none; box-shadow: var(--fb-card-shadow); }
.kody-brands strong { font-size: 19px; }
.kody-brands .kody-ru { font-size: 13px; color: var(--fb-caption); margin-top: -2px; }
.kody-brands span { font-size: 14px; color: var(--fb-caption); }
.kody-toc { background: #FFFFFF; border: 1px solid var(--fb-line); border-radius: 14px; padding: 14px 18px; }
.kody-toc ul { margin: 6px 0 0; padding-left: 20px; columns: 2 260px; }
.kody-platform, .kody-parts, .kody-sources, .kody-related { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 96px; }
.kody-models { margin: 0; color: var(--fb-text-2); font-size: 15px; }
.kody-table-wrap { overflow-x: auto; background: #FFFFFF; border: 1px solid var(--fb-line); border-radius: 12px; }
.kody-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.kody-table th, .kody-table td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--fb-line); }
.kody-table th { background: #F6F8FB; font-weight: 700; font-size: 14px; }
.kody-table tr:last-child td { border-bottom: 0; }
.kody-code { white-space: nowrap; font-weight: 700; }
.kody-card { background: #FFFFFF; border: 1px solid var(--fb-line-2); border-radius: 14px; padding: 18px 20px; box-shadow: var(--fb-card-shadow); }
.kody-card dl { margin: 10px 0 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 8px 16px; }
.kody-card dt { font-weight: 700; color: var(--fb-text-2); }
.kody-card dd { margin: 0; }
.kody-related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 16px; }
.kody-related li span { color: var(--fb-caption); font-size: 14px; }
.kody-results { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.kody-sources ol { list-style: none; padding: 0; margin: 0; font-size: 14px; display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.kody-safety { background: #FFF4E5; color: #7A3E00; border-radius: 12px; padding: 14px 18px; font-size: 15px; }
.kody-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; background: var(--fb-navy); color: #FFFFFF; border-radius: 16px; padding: 22px 24px; }
.kody-cta h2 { color: #FFFFFF; font-size: 20px; margin: 0 0 6px; }
.kody-cta p { margin: 0; color: var(--fb-on-dark); max-width: 560px; }
.kody-disclaimer { font-size: 13px; color: var(--fb-caption); margin: 0; }
.lp-kody .kody-brands { margin-top: 8px; }
@media (max-width: 640px) {
  .kody h1.display { font-size: 26px; }
  .kody-card dl { grid-template-columns: 1fr; gap: 2px; }
  .kody-card dd { margin-bottom: 8px; }
  .kody-table { font-size: 14px; }
  .kody-cta .btn { width: 100%; }
}

/* Справочник кодов (2.28, ТЗ SEO-страниц кодов, выкладки 3–4) */
.kody-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.kody-checks { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 2px; }
.kody-owner { background: #F1F6FD; border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.kody-owner h2 { font-size: 19px; margin: 0; }
.kody-owner p { margin: 0; }
.kody-updated { font-size: 13px; color: var(--fb-caption); margin: 0; }
.kody-filter { display: flex; flex-direction: column; gap: 6px; }
.kody-filter input { font: inherit; padding: 12px 14px; border: 1px solid var(--fb-line-2); border-radius: 12px; background: #FFFFFF; max-width: 420px; }
.kody-filter-empty { margin: 0; font-size: 15px; }
.kody-hub-section { display: flex; flex-direction: column; gap: 10px; }
.kody-text p { margin: 0; line-height: 1.6; }
.kody-toc li { margin: 2px 0; }
.kody-sticky { display: none; }
@media (max-width: 720px) {
  .kody-sticky:not([hidden]) { display: flex; gap: 8px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #FFFFFF; border-top: 1px solid var(--fb-line-2); box-shadow: 0 -6px 18px rgba(18, 40, 75, .08); }
  .kody-sticky .btn { flex: 1 1 auto; }
  .kody-sticky-close { flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: 10px; background: #F1F4F8; font-size: 24px; line-height: 1; color: var(--fb-text-2); cursor: pointer; }
  body.kody-sticky-on .site-footer { padding-bottom: 80px; }
  body.kody-sticky-on .cookie { bottom: 72px; }
  .kody-cta-actions { width: 100%; }
  .kody-cta-actions .btn { flex: 1 1 100%; }
}

/* 2.28.2: демо на главной подписано явно — это показ FixerBase на вымышленной компании, а не интерфейс мессенджера */
.lp-phone { position: relative; }
.lp-demo-tag { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  max-width: calc(100% - 16px); text-align: center; line-height: 1.3;
  background: var(--fb-navy); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.lp-demo-tag-top { top: -11px; }
.lp-demo-tag-bottom { bottom: 10px; border-radius: 12px; padding: 4px 12px; }
.lp-demo-tag small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0; opacity: .85; }

/* 2.29: посадочные /dlya/* (разметка справочника кодов + свои блоки) */
.dlya-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; }
.dlya-scenarios { list-style: none; counter-reset: dlya; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.dlya-scenarios li { counter-increment: dlya; background: #FFFFFF; border: 1px solid var(--fb-line, #DCE3EC); border-radius: 14px; padding: 16px 18px; }
.dlya-scenarios li strong::before { content: counter(dlya) ". "; color: var(--fb-action); }
.dlya-scenarios p { margin: 6px 0 0; }
.dlya-features { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.dlya-draft { background: #FFF4E5; color: #7A3E00; border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; }
.dlya .faq details { margin: 0; }
@media (max-width: 640px) { .dlya-actions .btn { flex: 1 1 100%; text-align: center; } }

/* 2.32: «Написать нам в MAX» в финальном блоке и рамка подписи акта в демо */
.lp-start-author { font-size: 15px; margin: 0; }
.lp-start-author a { color: #FFFFFF; text-decoration: underline; }
.sign-pad { display: block; width: 100%; height: 200px; background: #fff; border: 2px dashed #C9D3E3; border-radius: 12px; touch-action: none; cursor: crosshair; }
.sign-hint { position: relative; }
.sign-hint span { position: absolute; left: 16px; bottom: 14px; color: #9aa2b3; font-size: 14px; pointer-events: none; }

/* 2.32.1: окно с формой на время проверки SmartCaptcha — не модальное (иначе окно проверки под затемнением), но на прежнем месте. */
dialog.is-captcha[open] { position: fixed; inset: 0; margin: auto; max-height: calc(100vh - 32px); overflow: auto; z-index: 1000; }
dialog.is-captcha:not([open]) { display: none; }

/* 2.32.2: кнопки финального блока с подписью — чем одна отличается от другой. */
.lp-start-cta { align-items: flex-start; }
.lp-start-choice { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lp-start-note { font-size: 14px; color: #E3EEFD; }
@media (max-width: 640px) {
  .lp-start-choice { width: 100%; }
}
.lp-start-text { max-width: 880px; }

/* Плавающая кнопка «Написать в MAX» (2.35): правый нижний угол всех страниц; над нижними плашками на телефоне, прячется под баннером cookie. */
.max-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: flex-start; }
.max-float[hidden] { display: none; }
.max-float-link { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--fb-blue);
  color: #FFFFFF; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 8px 24px rgba(18, 40, 75, .30); transition: transform .15s ease, background .15s ease; }
.max-float-link:hover, .max-float-link:focus-visible { background: #1554B0; color: #FFFFFF; transform: translateY(-2px); }
.max-float-link:focus-visible { outline: 3px solid #9CC3FF; outline-offset: 2px; }
.max-float-icon { flex: 0 0 auto; }
.max-float-close { width: 26px; height: 26px; margin: -10px 0 0 -14px; border: 0; border-radius: 50%; background: #FFFFFF; color: var(--fb-text-2);
  box-shadow: 0 2px 8px rgba(18, 40, 75, .25); font-size: 18px; line-height: 26px; cursor: pointer; padding: 0; }
.max-float-close:hover, .max-float-close:focus-visible { color: var(--fb-navy); }
body:has(.cookie:not(.hidden)) .max-float { display: none; }
@media (prefers-reduced-motion: reduce) { .max-float-link { transition: none; } .max-float-link:hover { transform: none; } }
@media (max-width: 640px) {
  .max-float { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .max-float-link { min-height: 48px; padding: 0 16px; font-size: 15px; }
}
@media (max-width: 760px) { body:has(.lp-sticky:not([hidden])) .max-float { bottom: calc(84px + env(safe-area-inset-bottom)); } }
@media (max-width: 720px) { body.kody-sticky-on .max-float { bottom: calc(84px + env(safe-area-inset-bottom)); } }
