@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-cyrillic-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --surface-2: #f4f2ea;
  --line: rgba(20, 20, 25, 0.10);
  --line-2: rgba(20, 20, 25, 0.16);
  --text: #16161a;
  --muted: #5c5c63;
  --muted-2: #6d6d74;
  --accent: #9e2b2f;
  --accent-strong: #872529;
  --accent-deep: #6e1e22;
  --accent-tint: #f7e6e6;
  --accent-ink: #ffffff;
  --crit: #e24b4a;
  --major: #e08a16;
  --minor: #9a9a9f;
  --good: #0e9f6e;
  --r: 14px;
  --r-sm: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

html { -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }

/* первый экран — жёстко без прокрутки; отчёт включает скролл классом is-report */
body { overflow: hidden; }
body.is-report { overflow-y: auto; height: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(20, 20, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 30, 0.035) 1px, transparent 1px),
    radial-gradient(820px 460px at 80% -6%, rgba(158, 43, 47, 0.09), transparent 62%),
    radial-gradient(640px 380px at 2% 2%, rgba(158, 43, 47, 0.05), transparent 58%);
  background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100%;
  background-attachment: fixed;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* шапка */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 246, 0.78); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 30px; width: auto; display: block; }
.topbar__badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--accent-deep); background: var(--accent-tint); border: 1px solid rgba(158, 43, 47, 0.22); padding: 6px 14px; border-radius: 999px; white-space: nowrap; text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.topbar__badge:hover { background: #f3dcdc; border-color: rgba(158, 43, 47, 0.4); }
.topbar__badge-ico { font-size: 13px; flex-shrink: 0; }
.topbar__badge-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.topbar__badge-sep { color: rgba(158, 43, 47, 0.4); flex-shrink: 0; }
.topbar__badge-link { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; flex-shrink: 0; }

/* первый экран — ровно один блок без прокрутки */
#screen-intro { min-height: calc(100svh - 60px); display: flex; flex-direction: column; }

/* герой */
.hero { flex: 1 1 auto; padding: 12px 22px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--accent-deep); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(14, 159, 110, 0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(14, 159, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0); } }

.hero__title { font-size: clamp(27px, 4.9vw, 54px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 800; margin: 10px 0 0; max-width: 100%; }
.hl { display: inline-block; line-height: 0.8; padding: 0.08em 0.13em; border-radius: 6px; background: var(--accent); color: #fff; vertical-align: baseline; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__sub { font-size: clamp(15px, 1.9vw, 18px); color: var(--muted); max-width: 620px; margin: 12px 0 0; line-height: 1.45; }

/* сканер */
.scanner { display: flex; gap: 6px; margin-top: 18px; width: 100%; max-width: 680px; background: var(--surface); border: 2px solid var(--accent); border-radius: 999px; padding: 6px; box-shadow: 0 12px 30px -14px rgba(158, 43, 47, 0.4); transition: box-shadow 0.15s; }
.scanner:focus-within { box-shadow: 0 0 0 4px rgba(158, 43, 47, 0.15), 0 12px 30px -14px rgba(158, 43, 47, 0.4); }
.scanner__field { flex: 1; display: flex; align-items: center; padding-left: 18px; min-width: 0; }
.scanner__input { flex: 1; background: transparent; border: 0; outline: none; color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 16px; padding: 16px 6px; min-width: 0; }
.scanner__input::placeholder { color: var(--muted-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r); font-family: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer; padding: 16px 26px; white-space: nowrap; transition: transform 0.08s, background 0.15s, opacity 0.15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-radius: 999px; }
.btn--primary:hover { background: var(--accent-strong); }
.btn--primary:disabled { opacity: 0.6; cursor: progress; }
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); font-size: 14px; padding: 11px 16px; border-radius: var(--r); }
.btn--ghost:hover { border-color: var(--muted-2); }
.btn__arrow { transition: transform 0.15s; }
.btn--primary:hover .btn__arrow { transform: translateX(3px); }

.scanner__note { margin-top: 11px; font-size: 13px; color: var(--muted-2); max-width: 540px; }
.scanner__note[data-err='1'] { color: var(--crit); }

/* основатель */
.founder { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 7px 18px 7px 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04); }
.founder__photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--surface-2); }
.founder__text { margin: 0; font-size: 14px; color: var(--muted); text-align: left; }
.founder__text strong { color: var(--text); font-weight: 700; }
.founder__sep { color: var(--line-2); margin: 0 4px; }
.founder__quote { color: var(--accent-deep); font-style: italic; }

/* бегущие ошибки */
.chips { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding-bottom: 16px; }
.chips__viewport { min-width: 0; overflow-x: clip; overflow-y: visible; padding: 7px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.chips__row { display: flex; gap: 12px; width: max-content; }
.chips__row--move { animation: marquee 96s linear infinite; }
/* нижняя строка: медленнее и в обратную сторону */
.chips__row--rev { animation-duration: 150s; animation-direction: reverse; }
.chips__viewport--move:hover .chips__row--move { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; white-space: nowrap; box-shadow: 0 1px 2px rgba(20, 20, 30, 0.03); }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--crit); flex-shrink: 0; }
.chips__row--move .chip { transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; cursor: default; }
.chips__row--move .chip:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 8px 20px -10px rgba(158, 43, 47, 0.5); }

/* лоадер */
.loader { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(251, 250, 246, 0.92); backdrop-filter: blur(8px); padding: 22px; }
.loader__inner { display: flex; align-items: center; justify-content: center; gap: 44px; width: 100%; max-width: 1000px; }
.loader__left { width: 360px; flex-shrink: 0; }
.loader__spinner { width: 52px; height: 52px; border-radius: 50%; border: 4px solid var(--surface-2); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader__h { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 22px 0 4px; }
.loader__url { font-size: 13px; color: var(--muted-2); word-break: break-all; }
.loader__activity { display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 12px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--muted); font-size: 12px; }
.loader__live { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(16,161,116,.35); animation: loader-live 1.8s ease-out infinite; }
.loader__elapsed { margin-left: 2px; color: var(--text); font-weight: 700; }
@keyframes loader-live { 70%, 100% { box-shadow: 0 0 0 7px rgba(16,161,116,0); } }
.loader__bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-top: 22px; }
.loader__fill { height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 0.4s ease; }
.loader__status { display: flex; justify-content: space-between; align-items: center; margin-top: 9px; font-size: 13px; color: var(--muted); }
.loader__status b { color: var(--text); }
.steps { counter-reset: s; list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 13px; }
.step { counter-increment: s; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted-2); transition: color 0.2s; }
.step__ico { width: 21px; height: 21px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted-2); transition: all 0.2s; }
.step__ico::before { content: counter(s); }
.step.is-active { color: var(--text); font-weight: 700; }
.step.is-active .step__ico { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 3px rgba(158, 43, 47, 0.16); }
.step.is-done { color: var(--muted); }
.step.is-done .step__ico { background: var(--good); border-color: var(--good); color: #fff; }
.step.is-done .step__ico::before { content: '✓'; }

/* браузер с прокруткой сайта */
.loader__browser { width: 520px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: #0e0e10; box-shadow: 0 30px 70px -28px rgba(20, 20, 30, 0.55); }
.lb__bar { display: flex; align-items: center; gap: 7px; padding: 11px 13px; }
.lb__bar > span { width: 11px; height: 11px; border-radius: 50%; }
.lb__bar > span:nth-child(1) { background: #ff5f57; }
.lb__bar > span:nth-child(2) { background: #febc2e; }
.lb__bar > span:nth-child(3) { background: #28c840; }
.lb__url { flex: 1; margin-left: 8px; background: #2a2a2e; color: #c9c9cf; font-size: 12px; padding: 6px 12px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__viewport { position: relative; height: 360px; overflow: hidden; background: #fff; }
.lb__scaler { width: 1280px; transform-origin: top left; transform: scale(0.40625); animation: lb-scroll 13s ease-in-out infinite alternate; }
.lb__frame { width: 1280px; height: auto; display: block; background: #fff; pointer-events: none; }
@keyframes lb-scroll { 0% { transform: scale(0.40625) translateY(0); } 100% { transform: scale(0.40625) translateY(-2400px); } }
.lb__skeleton { position: absolute; inset: 0; overflow: hidden; background: #f7f6f2; opacity: 1; transition: opacity .45s ease; }
.lb__viewport.is-loaded .lb__skeleton { opacity: 0; pointer-events: none; }
.lbs__page { position: absolute; inset: 0; min-height: 640px; padding: 18px 24px 36px; animation: lbs-drift 8s ease-in-out infinite alternate; }
.lbs__page::after { content: ''; position: absolute; inset: 0; transform: translateX(-110%); background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.72) 50%, transparent 65%); animation: lb-shimmer 1.8s ease-in-out infinite; }
.lbs__nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; height: 22px; }
.lbs__nav i { width: 74px; height: 15px; margin-right: auto; border-radius: 5px; background: #26262b; }
.lbs__nav span { width: 38px; height: 7px; border-radius: 5px; background: #d8d6cf; }
.lbs__hero { display: grid; justify-items: start; padding: 50px 34px 42px; border-radius: 12px; margin-top: 16px; background: linear-gradient(135deg,#eee9e2,#f5e7e5); }
.lbs__hero small { color: var(--accent); font: 700 8px/1.2 'Manrope',sans-serif; letter-spacing: .12em; }
.lbs__hero b { display: block; width: 74%; height: 20px; margin-top: 13px; border-radius: 6px; background: #26262b; }
.lbs__hero b + b { width: 51%; margin-top: 7px; }
.lbs__hero em { width: 63%; height: 8px; margin-top: 16px; border-radius: 5px; background: #cbc7c0; }
.lbs__hero button { width: 106px; height: 27px; margin-top: 20px; border: 0; border-radius: 999px; background: var(--accent); }
.lbs__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }
.lbs__cards i { height: 78px; border-radius: 10px; background: #e2e0da; }
.lbs__section { display: grid; gap: 9px; padding: 34px 22px; }
.lbs__section b { width: 42%; height: 14px; border-radius: 5px; background: #2d2d31; }
.lbs__section span { width: 82%; height: 7px; border-radius: 4px; background: #dad8d2; }
.lbs__section span:last-child { width: 67%; }
@keyframes lbs-drift { from { transform: translateY(0); } to { transform: translateY(-190px); } }
@keyframes lb-shimmer { to { transform: translateX(110%); } }
.lb__veil { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.03); pointer-events: none; }
.lb__scan { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(226, 75, 74, 0.25), rgba(226, 75, 74, 0.5), rgba(226, 75, 74, 0.25), transparent); animation: lb-scan 2.6s ease-in-out infinite; }
.lb__phase { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 28px); padding: 8px 11px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(19,19,22,.82); color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.lb__phase span { width: 6px; height: 6px; border-radius: 50%; background: #55d6a5; animation: loader-live 1.8s ease-out infinite; }
@keyframes lb-scan { 0%, 100% { transform: translateY(-30px); } 50% { transform: translateY(360px); } }
@media (max-width: 900px) {
  .loader__browser { display: none; }
  .loader__left { width: 100%; max-width: 360px; }
}

/* ===== ОТЧЁТ ===== */
#screen-report { padding-bottom: 12px; }
.btn--dark { background: var(--text); color: #fff; border-radius: 999px; padding: 13px 22px; }
.btn--dark:hover { background: #000; }

/* шапка отчёта */
.rep-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 22px; }
.rep-head__meta { font-size: 14px; color: var(--muted); }
.rep-head__meta b { color: var(--text); }

/* карточка оценки */
.scorecard { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: 0 20px 50px -30px rgba(20, 20, 30, 0.3); }
.scorecard__gauge { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.gauge { transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: var(--surface-2); stroke-width: 9; }
.gauge__fill { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.1s ease, stroke 0.4s; }
.gauge__num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge__num span { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.gauge__num i { font-size: 12px; color: var(--muted-2); font-style: normal; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }
.scorecard__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.scorecard__sub { margin: 8px 0 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

.findlist { margin-top: 18px; }
.findlist__cap { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.findlist__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.findlist__items li { font-size: 14.5px; color: var(--muted); display: flex; gap: 9px; }
.findlist__items .fl-txt { flex: 1; min-width: 0; }
.findlist__items li b { color: var(--text); font-weight: 700; }
.findlist__items li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.findlist--crit li::before { background: var(--crit); }
.findlist--key li::before { background: var(--major); }
.findlist--good li::before { content: '✓'; background: none; width: auto; height: auto; margin-top: 0; color: var(--good); font-weight: 800; font-size: 13px; }
#good-cap { color: var(--good); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; }
.badge b { font-weight: 800; }
.badge--crit { background: #fcebeb; color: #7a1f1f; } .badge--crit i { background: var(--crit); }
.badge--major { background: #fbf0db; color: #7a4d08; } .badge--major i { background: var(--major); }
.badge--good { background: #e4f5ec; color: #0a5d43; } .badge--good i { background: var(--good); }

.moneybar { margin-top: 22px; background: var(--text); color: #fff; border-radius: 14px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.moneybar__text { font-size: 15px; color: rgba(255,255,255,0.8); }
.moneybar__big { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; color: #fff; }
.moneybar__big span { color: var(--accent); }

/* метод */
.method { display: flex; align-items: center; gap: 14px; margin-top: 16px; background: var(--accent-tint); border: 1px solid rgba(158, 43, 47, 0.18); border-radius: 14px; padding: 16px 18px; }
.method__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 800; flex-shrink: 0; }
.method__text { margin: 0; font-size: 13.5px; color: var(--accent-deep); }
.method__text b { font-weight: 700; }
.method__link { margin-left: auto; flex-shrink: 0; font-weight: 700; font-size: 13px; color: var(--accent-deep); background: #fff; border-radius: 999px; padding: 8px 14px; text-decoration: none; }

/* разбор по блокам */
.blocks { margin-top: 40px; }
.blocks__title { font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; }
.blocks__list { display: grid; gap: 16px; }
.bcard { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 4px 16px -10px rgba(20,20,30,0.2); }
.bshot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; align-self: start; }
.bshot__bar { display: flex; gap: 5px; padding: 9px 11px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.bshot__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.bshot img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: top; background: var(--surface-2); }
.bshot.is-empty { display: grid; place-items: center; min-height: 160px; color: var(--muted-2); font-size: 12px; font-family: 'JetBrains Mono', monospace; padding: 16px; text-align: center; }
.bbody__role { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-deep); background: var(--accent-tint); border-radius: 999px; padding: 4px 11px; }
.bbody__heading { font-size: 16px; font-weight: 700; margin: 10px 0 14px; letter-spacing: -0.01em; }
.bbody__heading:empty { display: none; }
.bfind { display: flex; gap: 11px; padding: 11px 0; border-top: 1px solid var(--line); }
.bfind:first-of-type { border-top: 0; }
.bfind__n { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
.bfind--critical .bfind__n { background: var(--crit); }
.bfind--major .bfind__n { background: var(--major); }
.bfind--minor .bfind__n { background: var(--minor); }
.bfind__title { font-size: 14.5px; font-weight: 700; margin: 0; }
.bfind__why { font-size: 13.5px; color: var(--muted); margin: 3px 0 0; }
.bfind__fix { font-size: 13px; color: var(--text); margin: 6px 0 0; }
.bfind__fix b { color: var(--accent-deep); }
.bok { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--good); background: #e4f5ec; border-radius: 999px; padding: 8px 14px; }

/* топ-3 первого экрана: скриншот с маркерами + карточки + блок бюджета */
.fscard { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 4px 16px -10px rgba(20,20,30,0.2); }
.fsshot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fsshot__img { position: relative; line-height: 0; }
.fsshot__img img { width: 100%; display: block; }
.fsmark { position: absolute; transform: translate(-50%, -100%); z-index: 2; filter: drop-shadow(0 4px 8px rgba(20,20,30,0.45)); }
.fsmark__n { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 14px; border: 3px solid #fff; }
.fsmark::after { content: ''; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 0; height: 0; border: 6px solid transparent; border-top-color: #fff; z-index: 1; }
.fsmark--critical .fsmark__n { background: var(--crit); }
.fsmark--major .fsmark__n { background: var(--major); }
.fsmark--minor .fsmark__n { background: #6b7280; }
@keyframes fsmark-pulse { to { box-shadow: 0 0 0 14px rgba(226,75,74,0) !important; } }
.fsprobs { display: grid; gap: 12px; }
.fsprob { display: flex; gap: 12px; background: var(--surface-2); border: 1px solid var(--line); border-left-width: 3px; border-radius: 12px; padding: 13px 15px; }
.fsprob--critical { border-left-color: var(--crit); } .fsprob--major { border-left-color: var(--major); } .fsprob--minor { border-left-color: #6b7280; }
.fsprob__n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.fsprob--critical .fsprob__n { background: var(--crit); } .fsprob--major .fsprob__n { background: var(--major); } .fsprob--minor .fsprob__n { background: #6b7280; }
.fsprob__title { font-weight: 700; font-size: 15px; margin: 0; letter-spacing: -0.01em; }
.fsprob__why { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; line-height: 1.4; }
.fsbudget { margin-top: 16px; display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; background: var(--accent-tint); border: 1px solid rgba(158,43,47,0.2); border-radius: 14px; padding: 18px 26px; }
.fsbudget__text { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--accent-deep); line-height: 1.35; flex: 1; min-width: 170px; }
.fsbudget__pct { font-size: 42px; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.fsbudget__hint { flex-basis: 100%; font-size: 13px; color: var(--muted); }

/* воронка «где вы сейчас» */
.funnel { margin-top: 40px; display: grid; grid-template-columns: 1.35fr 1fr; background-color: var(--text); background-image: radial-gradient(rgba(255,255,255,0.07) 1.2px, transparent 1.2px); background-size: 24px 24px; border-radius: 16px; overflow: hidden; }
.funnel__main { padding: 26px 28px; }
.funnel__badge { display: inline-block; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.funnel__steps { display: grid; gap: 10px; }
.funnel__step { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 13px 16px; }
.funnel__step b { flex: 1; color: rgba(255,255,255,0.82); font-weight: 700; font-size: 15px; }
.funnel__step--here { border-color: var(--accent); background: rgba(158,43,47,0.18); }
.funnel__step--here b { color: #fff; }
.funnel__i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.22); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.6); flex-shrink: 0; }
.funnel__step--done .funnel__i { background: var(--good); border-color: var(--good); color: #fff; }
.funnel__step--here .funnel__i { background: var(--accent); border-color: var(--accent); color: #fff; }
.funnel__tag { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.4); white-space: nowrap; }
.funnel__tag--done { color: var(--good); }
.funnel__tag--here { color: #ff8a7e; }
.funnel__ahead { background: rgba(255,255,255,0.03); border-left: 1px solid rgba(255,255,255,0.08); padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.funnel__ahead-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #ff8a7e; margin-bottom: 10px; }
.funnel__ahead-text { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.35; margin: 0; }
.funnel__social { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.funnel__avatars { display: inline-flex; flex-shrink: 0; }
.funnel__avatars img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--text); margin-left: -12px; object-fit: cover; background: var(--surface-2); }
.funnel__avatars img:first-child { margin-left: 0; }
.funnel__social-text { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 600; }
.funnel__form { margin-top: 18px; }
.funnel__msgr-cap { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.funnel .msgr { justify-content: flex-start; margin-bottom: 12px; }
.funnel__field { display: flex; gap: 10px; }
.funnel__field .inp { flex: 1; min-width: 0; }
.funnel__field .btn { flex-shrink: 0; }
.funnel__form-trust { margin: 10px 0 0; font-size: 11.5px; color: rgba(255,255,255,0.45); }
.funnel__done { margin: 16px 0 0; font-size: 14px; font-weight: 700; color: var(--good); }

/* центральный блок: подробная аналитика */
.analysis { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.analysis__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.analysis__title { font-size: clamp(19px, 2.6vw, 24px); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.analysis__sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; max-width: 480px; text-wrap: pretty; }
#first-fix-sec .analysis__sub { max-width: 760px; }
.analysis__summary { margin: 20px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.analysis .findlist { margin-top: 18px; }
.analysis__plan { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.analysis__plan-title { font-size: 17px; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.01em; }

/* Последовательный просмотр ошибок: один фрагмент + одно объяснение без внутреннего скролла. */
.whole-page__viewer { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); grid-template-rows: auto auto 1fr; gap: 12px 16px; margin-top: 22px; align-items: start; }
.whole-page__browser { grid-row: 1 / 4; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); }
.whole-page__browser .bshot__bar { align-items: center; }
.whole-page__browser .bshot__bar b { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 700; }
.whole-page__stage { position: relative; height: 420px; overflow: hidden; background: #fff; }
.whole-page__stage > img { position: absolute; inset: 0 auto auto 0; display: block; width: 100%; height: auto; transition: transform .38s ease; will-change: transform; }
.whole-page__stage.is-empty { display: grid; place-items: center; padding: 24px; color: var(--muted); text-align: center; font-size: 13px; }
.whole-page__marker { position: absolute; z-index: 3; transform: translate(-50%, -50%); display: grid; place-items: center; width: 42px; height: 42px; border: 4px solid #fff; border-radius: 50%; background: var(--major); color: #fff; font-size: 16px; font-weight: 800; box-shadow: 0 8px 24px rgba(20,20,30,.35); transition: left .3s ease, top .3s ease; }
.whole-page__marker::after { content: ''; position: absolute; inset: -10px; border: 2px solid rgba(224,138,22,.38); border-radius: 50%; animation: fsmark-pulse 1.5s ease-out infinite; }
.whole-page__marker--critical { background: var(--crit); }
.page-finding { border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; background: var(--surface-2); }
.page-finding--active { min-height: 172px; padding: 19px 20px; border-left: 4px solid var(--major); }
.page-finding--active.page-finding--critical { border-left-color: var(--crit); }
.page-finding__top { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.page-finding__n { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--major); font-size: 12px; font-weight: 800; }
.page-finding--critical .page-finding__n { background: var(--crit); }
.page-finding__tag { color: var(--accent-deep); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.page-finding__title { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.35; }
.page-finding__why { margin: 7px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.whole-page__nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 10px; align-items: center; }
.whole-page__arrow { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); color: var(--text); font: 800 18px/1 'Manrope', sans-serif; cursor: pointer; }
.whole-page__arrow:disabled { opacity: .35; cursor: default; }
.whole-page__tabs { display: grid; grid-template-columns: repeat(6, minmax(44px, 1fr)); gap: 7px; overflow-x: auto; scrollbar-width: none; }
.whole-page__tabs::-webkit-scrollbar { display: none; }
.whole-page__tab { min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--muted); font: 800 12px/1 'Manrope', sans-serif; cursor: pointer; }
.whole-page__tab.is-active { border-color: var(--major); background: #fbf0db; color: #7a4d08; box-shadow: inset 0 0 0 1px var(--major); }
.whole-page__hint { margin: 0; color: var(--muted); text-align: center; font-size: 13px; }
.strength-list, .action-list { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.strength-item, .action-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.strength-item__n, .action-item__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 800 12px/1 'Manrope', sans-serif; }
.strength-item__n { border: 1.5px solid rgba(158,43,47,.48); background: var(--surface-2); color: var(--accent-deep); }
.strength-item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.action-item { grid-template-columns: 30px minmax(0, 1fr) auto; }
.action-item__n { background: var(--accent); color: #fff; }
.action-item__text { font-size: 14.5px; line-height: 1.45; }
.notice__text, .scorecard__sub, .strength-item p, .action-item__text, .getfull__sub { text-wrap: pretty; }
.action-item__tag { flex-shrink: 0; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-size: 11.5px; font-weight: 700; }
.pdf-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }

/* скорость сайта (PageSpeed) */
.speed { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; }
.speed__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.speed__badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent-deep); background: var(--accent-tint); border: 1px solid rgba(158, 43, 47, 0.22); border-radius: 999px; padding: 5px 12px; margin-bottom: 10px; }
.speed__badge svg { flex-shrink: 0; }
.speed__title { font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.speed__src { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.speed__score { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 800; }
.speed__score b { font-size: 30px; line-height: 1; }
.speed__score span { font-size: 14px; color: var(--muted-2); font-weight: 600; }
.speed__score[data-grade="good"] b { color: var(--good); }
.speed__score[data-grade="mid"] b { color: var(--major); }
.speed__score[data-grade="bad"] b { color: var(--crit); }
.speed__score[data-grade="na"] b { color: var(--muted-2); }
.speed__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.smetric { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.smetric__top { display: flex; align-items: center; gap: 8px; }
.smetric__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-2); flex-shrink: 0; }
.smetric__name { font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.smetric__val { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.smetric__hint { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }
.smetric--good .smetric__dot { background: var(--good); } .smetric--good .smetric__val { color: var(--good); }
.smetric--mid .smetric__dot { background: var(--major); } .smetric--mid .smetric__val { color: var(--major); }
.smetric--bad .smetric__dot { background: var(--crit); } .smetric--bad .smetric__val { color: var(--crit); }
.speed__note { font-size: 12px; color: var(--muted-2); margin: 16px 0 0; }
@media (max-width: 560px) { .speed__metrics { grid-template-columns: 1fr; } }

/* калькулятор */
.calc { margin-top: 40px; }
.calc__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
.calc__loss { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.calc__title { font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.calc__sub { margin: 6px 0 18px; color: var(--muted); font-size: 14px; }
.calc__lossbox { background-color: var(--text); background-image: radial-gradient(rgba(255,255,255,0.06) 1.2px, transparent 1.2px); background-size: 22px 22px; border-radius: 14px; padding: 22px; text-align: center; }
.calc__loss-cap { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
.calc__loss-num { font-size: clamp(34px, 6vw, 52px); font-weight: 800; color: #ff7d6f; letter-spacing: -0.03em; margin: 8px 0 6px; line-height: 1; }
.calc__loss-note { font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.45; }
.calc__loss-note span { color: rgba(255,255,255,0.4); font-size: 11.5px; }
.calc__split { display: flex; gap: 12px; margin-top: 18px; }
.calc__split > div { flex: 1; background: rgba(255,255,255,0.06); border-radius: 10px; padding: 12px; }
.calc__split span { display: block; font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.calc__split b { font-size: 17px; font-weight: 800; color: #fff; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: var(--surface-2); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(158,43,47,0.4); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; cursor: pointer; }
.calc__ctrl { margin-top: 22px; }
.calc__row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.calc__row b { color: var(--text); font-weight: 800; font-size: 16px; }
.calc__row--rating { margin-top: 18px; }
.calc__bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.calc__bar-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width 0.4s; }
.calc__expert { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.calc__expert-cap { font-size: clamp(18px, 2.4vw, 22px); font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; }
.calc__expert-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.calc__expert-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.calc__expert-name b { display: block; font-size: 15px; font-weight: 800; }
.calc__expert-name span { font-size: 12.5px; color: var(--muted); }
.calc__quote { margin: 0 0 4px; padding: 16px 18px; background: var(--surface-2); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; font-size: 14.5px; line-height: 1.6; color: var(--text); font-style: italic; }
.calc__quote mark { background: var(--accent-tint); color: var(--accent-deep); padding: 1px 3px; border-radius: 3px; font-style: normal; font-weight: 600; }
.calc__stats { display: flex; gap: 18px; margin-top: auto; padding-top: 20px; }
.calc__stat { flex: 1; }
.calc__stat b { display: block; font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.calc__stat span { display: block; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.25; margin-top: 5px; }

/* план работ */
.plan { margin-top: 40px; }
.plan__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.plan__title { font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.plan__sub { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.pgroup { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px 20px; margin-bottom: 14px; }
.pgroup--crit { background: #fdf3f3; border-color: rgba(226,75,74,0.25); }
.pgroup__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.pgroup__name { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; }
.pgroup__name i { width: 11px; height: 11px; border-radius: 50%; }
.pgroup--crit .pgroup__name i { background: var(--crit); }
.pgroup--major .pgroup__name i { background: var(--major); }
.pgroup__count { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-2); }
.pitem { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.pitem__n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
.pitem--critical .pitem__n { background: var(--crit); }
.pitem--major .pitem__n, .pitem--minor .pitem__n { background: var(--major); }
.pitem__action { flex: 1; font-size: 14.5px; }
.pitem__tag { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--text); background: var(--surface-2); border-radius: 8px; padding: 6px 11px; }
/* ниша + страх клиента */
.niche { margin-top: 18px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 14px; }
.niche__item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.niche__item--fear { background: var(--accent-tint); border-color: rgba(158, 43, 47, 0.2); }
.niche__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-2); margin-bottom: 6px; }
.niche__item--fear .niche__label { color: var(--accent-deep); }
.niche__item b { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--text); }

/* радар по категориям */
.radar { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; }
.radar__title { font-size: clamp(18px, 2.6vw, 22px); font-weight: 800; margin: 0 0 16px; letter-spacing: -0.02em; }
.radar__wrap { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.radar__chart { max-width: 220px; margin: 0 auto; }
.radar__grid, .radar__axis { fill: none; stroke: var(--line); stroke-width: 1; }
.radar__area { fill: rgba(158, 43, 47, 0.16); stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.radar__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rleg { display: grid; grid-template-columns: 95px 1fr 44px; align-items: center; gap: 12px; font-size: 13.5px; }
.rleg__name { color: var(--muted); }
.rleg b { text-align: right; font-weight: 800; }
.rleg__bar { height: 7px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.rleg__bar span { display: block; height: 100%; border-radius: 999px; }
.rleg--good .rleg__bar span { background: var(--good); } .rleg--good b { color: var(--good); }
.rleg--mid .rleg__bar span { background: var(--major); } .rleg--mid b { color: var(--major); }
.rleg--bad .rleg__bar span { background: var(--crit); } .rleg--bad b { color: var(--crit); }

/* готовые тексты «возьми и вставь» */
.rewrites { margin-top: 40px; }
.rewrites__title { font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.rewrites__sub { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }
.rewrites__list { display: grid; gap: 16px; }
.rw { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: 0 4px 16px -10px rgba(20, 20, 30, 0.2); }
.rw__el { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--accent-deep); background: var(--accent-tint); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }
.rw__line { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.rw__line + .rw__line { border-top: 1px solid var(--line); }
.rw__tag { flex-shrink: 0; width: 64px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; padding-top: 3px; }
.rw__line--cur .rw__tag { color: var(--muted-2); }
.rw__line--new .rw__tag { color: var(--good); }
.rw__line p { margin: 0; flex: 1; line-height: 1.4; }
.rw__line--cur p { font-size: 14px; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.rw__line--new p { font-size: 15.5px; font-weight: 700; color: var(--text); }
.rewrites__cta { margin-top: 18px; background: var(--accent-tint); border: 1px solid rgba(158, 43, 47, 0.2); border-radius: 16px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.rewrites__cta p { margin: 0; flex: 1; min-width: 220px; font-size: 15px; font-weight: 600; color: var(--accent-deep); line-height: 1.4; }

/* что не вошло */
.upsell { margin-top: 40px; background-color: var(--text); background-image: radial-gradient(rgba(255,255,255,0.07) 1.2px, transparent 1.2px); background-size: 24px 24px; border-radius: 16px; padding: 18px 0; overflow: hidden; }
.upsell__cap { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 14px; }
.upsell__money { text-align: center; margin: 16px 22px 2px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14.5px; color: rgba(255,255,255,0.75); }
.upsell__money b { color: #fff; font-weight: 800; }
.upsell__money-big { color: var(--accent-2, #ff7d6f) !important; white-space: nowrap; }

/* пометка «для каких страниц анализ» */
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; background: var(--accent-tint); border: 1px solid rgba(158,43,47,0.2); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; }
.notice__ico { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-style: italic; font-size: 15px; display: grid; place-items: center; font-family: Georgia, 'Times New Roman', serif; }
.notice__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.notice__text b { font-weight: 800; }
.hero__notice { display: flex; gap: 10px; align-items: flex-start; max-width: 600px; margin: 14px auto 0; background: var(--accent-tint); border: 1px solid rgba(158,43,47,0.18); border-radius: 12px; padding: 11px 15px; text-align: left; font-size: 13px; line-height: 1.5; color: var(--text); }
.hero__notice-ico { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-style: italic; font-size: 13px; display: grid; place-items: center; font-family: Georgia, 'Times New Roman', serif; }
.hero__notice b { font-weight: 800; }
.upsell .chip { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.92); }
.upsell .chip::before { content: '⊘'; width: auto; height: auto; background: none; color: var(--crit); font-size: 13px; }

/* финальный захват */
.getfull { margin-top: 40px; background-color: var(--accent); background-image: radial-gradient(rgba(255,255,255,0.09) 1.3px, transparent 1.3px); background-size: 26px 26px; border-radius: 20px; padding: 38px 32px; text-align: center; color: #fff; }
.getfull__cap { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--text); color: #fff; border-radius: 999px; padding: 8px 16px; }
.getfull__title { font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin: 18px 0 0; }
.getfull__sub { margin: 8px 0 0; font-size: 15px; color: rgba(255,255,255,0.85); }
.getfull__money { max-width: 640px; margin: 22px auto 0; background: var(--text); border-radius: 14px; padding: 20px 24px; font-size: 16px; color: rgba(255,255,255,0.82); }
.getfull__money b { color: var(--accent); font-weight: 800; }
.getfull__money-note { display: block; margin-top: 10px; font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.45); }
.getfull__founder { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; background: rgba(0,0,0,0.16); border-radius: 999px; padding: 8px 20px 8px 8px; text-align: left; }
.getfull__founder img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.getfull__founder b { display: block; font-size: 14px; }
.getfull__founder span { display: block; font-size: 12.5px; color: rgba(255,255,255,0.75); }
.getfull__form { max-width: 560px; margin: 24px auto 0; }
.getfull__msgr-cap { display: block; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.msgr { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.msgr__btn { font-family: inherit; font-size: 14px; font-weight: 700; color: var(--text); background: #fff; border: 2px solid transparent; border-radius: 999px; padding: 10px 20px; cursor: pointer; transition: border-color 0.15s; }
.msgr__btn.is-active { border-color: var(--text); }
.getfull__field { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.inp { flex: 1; min-width: 200px; border: 0; border-radius: 999px; font-family: inherit; font-size: 15px; padding: 16px 20px; outline: none; }
.inp:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; box-shadow: none; }
.inp--light { background: #fff; color: var(--text); }
.inp--light::placeholder { color: var(--muted-2); }
.getfull .btn--dark { padding: 16px 26px; }
.getfull__trust { margin: 14px 0 0; font-size: 12px; color: rgba(255,255,255,0.8); }
.getfull__consent { margin: 10px auto 0; max-width: 580px; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,0.6); text-align: center; }
.getfull__consent a { color: #fff; text-decoration: underline; }
.funnel__consent { margin: 8px 0 0; font-size: 11px; line-height: 1.5; color: rgba(255,255,255,0.4); }
.funnel__consent a { color: rgba(255,255,255,0.72); text-decoration: underline; }
.scanner__note a { color: var(--accent); text-decoration: underline; white-space: nowrap; }
.lead-done { margin: 18px 0 0; color: #fff; font-weight: 700; font-size: 16px; }

@media (max-width: 760px) {
  .topbar__badge { font-size: 11px; padding: 5px 12px; min-width: 0; flex-shrink: 1; }
  .topbar__badge-sep, .topbar__badge-link { display: none; }
  .hero { padding: 10px 18px 4px; }
  .hero__eyebrow { font-size: 12px; padding: 6px 13px; }
  .hero__title { font-size: clamp(25px, 7.6vw, 36px); line-height: 1.14; margin-top: 8px; }
  .hero__sub { font-size: 14px; margin-top: 10px; line-height: 1.4; }
  .scanner { flex-direction: column; border-radius: 22px; padding: 7px; gap: 7px; margin-top: 14px; }
  .scanner__field { padding-left: 14px; justify-content: center; }
  .scanner__input { text-align: center; }
  .btn--primary { justify-content: center; width: 100%; padding: 13px 22px; }
  .scanner__note { margin-top: 9px; font-size: 12px; }
  .founder { margin-top: 12px; padding: 8px 18px 8px 8px; border-radius: 18px; }
  .founder__photo { width: 38px; height: 38px; }
  .founder__text { font-size: 12.5px; line-height: 1.45; }
  .founder__quote { display: block; margin-top: 1px; }
  .founder__sep { display: none; }
  .chips { gap: 8px; padding-bottom: 10px; }
  .chips__viewport { padding: 5px 0; }
  .chip { font-size: 12px; padding: 8px 12px; }
  .scorecard { grid-template-columns: 1fr; gap: 20px; padding: 22px; justify-items: center; text-align: center; }
  .scorecard__body { width: 100%; }
  .findlist__items li { text-align: left; }
  .badges { justify-content: center; }
  .moneybar { flex-direction: column; align-items: stretch; text-align: center; }
  .moneybar .btn--primary { width: 100%; }
  .bcard { grid-template-columns: 1fr; }
  .fscard { grid-template-columns: 1fr; padding: 12px; }
  .fsmark, .fsmark__n { width: 26px; height: 26px; }
  .fsmark__n { font-size: 13px; }
  .fsbudget { padding: 16px 18px; }
  .fsbudget__pct { font-size: 34px; }
  .funnel { grid-template-columns: 1fr; }
  .funnel__main, .funnel__ahead { padding: 22px 20px; }
  .funnel__ahead { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .funnel__field { flex-direction: column; }
  .funnel__field .btn { width: 100%; justify-content: center; }
  .funnel__ahead-text { font-size: 16px; }
  .speed { padding: 20px; }
  .niche { grid-template-columns: 1fr; }
  .radar { padding: 18px; }
  .radar__wrap { grid-template-columns: 1fr; gap: 16px; }
  .radar__chart { max-width: 200px; }
  .rw__tag { width: 56px; }
  .rewrites__cta { padding: 18px; }
  .rewrites__cta .btn--primary { width: 100%; justify-content: center; }
  .speed__metrics { gap: 10px; }
  .calc__grid { grid-template-columns: 1fr; }
  .analysis__head { flex-direction: column; }
  .analysis__head .btn { width: 100%; justify-content: center; }
  .whole-page__viewer { display: block; }
  .whole-page__stage { height: 340px; }
  .page-finding--active { min-height: 0; }
  .page-finding--active, .whole-page__nav, .whole-page__hint { margin-top: 12px; }
  .whole-page__tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .whole-page__tabs::-webkit-scrollbar { display: none; }
  .whole-page__tab { flex: 0 0 44px; }
  .action-item { grid-template-columns: 30px 1fr; }
  .action-item__tag { grid-column: 2; justify-self: start; }
  .pitem { flex-wrap: wrap; }
  .pitem__action { flex-basis: 100%; order: 3; }
  .getfull { padding: 28px 20px; }
  .getfull__field { flex-direction: column; }
  .getfull .btn--dark { width: 100%; justify-content: center; }
}

@media (max-width: 760px) and (min-width: 421px) {
  .topbar__badge { font-size: 11.5px; }
}

/* короткие экраны: ужимаем дальше, чтобы первый экран влез без прокрутки */
@media (max-width: 760px) and (max-height: 740px) {
  .hero__sub { font-size: 13px; margin-top: 8px; }
  .founder__quote, .founder__sep { display: none; }
  .chips { padding-bottom: 8px; }
}
@media (max-width: 760px) and (max-height: 640px) {
  .hero__sub { display: none; }
  .hero__eyebrow { margin-bottom: 2px; }
  .founder { margin-top: 10px; }
}

/* совсем узкие телефоны: ужимаем шапку, чтобы полный текст бейджа влезал целиком */
@media (max-width: 430px) {
  .topbar__inner { gap: 8px; }
  .topbar__badge { font-size: 10.5px; padding: 5px 11px; gap: 0; }
  .topbar__badge-ico { display: none; } /* кубок убираем — освобождаем место под полный текст */
  .brand__logo { height: 26px; }
}
@media (max-width: 360px) {
  .topbar__badge { font-size: 9.5px; padding: 4px 9px; }
  .brand__logo { height: 24px; }
}
@media (max-width: 340px) {
  .topbar__badge { white-space: normal; text-align: center; line-height: 1.2; }
  .topbar__badge-text { overflow: visible; text-overflow: clip; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .chips__row--move, .pulse, .loader__spinner, .loader__live, .lb__scaler, .lb__scan, .lbs__page, .lbs__page::after, .lb__phase span { animation: none; }
  .whole-page__marker::after { animation: none; }
  .gauge__fill, .whole-page__marker, .whole-page__stage > img { transition: none; }
}

/* Безопасная демонстрация: видна только при ?qa=1&demo=1. */
.is-demo { padding-bottom: 72px; }
.is-demo .lb__scaler::after {
  content: '';
  display: block;
  width: 1280px;
  height: 1800px;
  background:
    linear-gradient(#25252a 0 0) 90px 100px / 470px 46px no-repeat,
    linear-gradient(#dad8d1 0 0) 90px 180px / 820px 18px no-repeat,
    linear-gradient(#dad8d1 0 0) 90px 220px / 680px 18px no-repeat,
    linear-gradient(135deg, #eeeae3, #f6e9e7) 70px 330px / 1140px 330px no-repeat,
    linear-gradient(#25252a 0 0) 90px 770px / 360px 34px no-repeat,
    linear-gradient(#e2e0da 0 0) 90px 850px / 340px 240px no-repeat,
    linear-gradient(#e2e0da 0 0) 470px 850px / 340px 240px no-repeat,
    linear-gradient(#e2e0da 0 0) 850px 850px / 340px 240px no-repeat,
    linear-gradient(#25252a 0 0) 90px 1220px / 520px 34px no-repeat,
    linear-gradient(#dad8d1 0 0) 90px 1300px / 1020px 18px no-repeat,
    linear-gradient(#dad8d1 0 0) 90px 1342px / 880px 18px no-repeat,
    linear-gradient(#dad8d1 0 0) 90px 1384px / 940px 18px no-repeat,
    #fbfaf6;
}
.demo-toolbar {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(930px, calc(100% - 24px));
  padding: 9px 10px 9px 14px;
  border: 1px solid #333;
  border-radius: 16px;
  background: rgba(17,17,18,.96);
  color: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}
.demo-toolbar__label { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 11px; color: #bdbdc3; }
.demo-toolbar__label b { padding: 5px 7px; border-radius: 6px; background: #fff; color: #111; font-size: 10px; letter-spacing: .08em; }
.demo-toolbar__views { display: flex; gap: 6px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.demo-toolbar__views::-webkit-scrollbar { display: none; }
.demo-toolbar button { min-height: 38px; padding: 0 13px; border: 1px solid #3c3c41; border-radius: 9px; background: #252529; color: #d8d8dc; font: 700 11px/1 'Manrope', sans-serif; white-space: nowrap; cursor: pointer; }
.demo-toolbar button:hover { border-color: #777; color: #fff; }
.demo-toolbar button.is-active { border-color: #fff; background: #fff; color: #111; }
.is-demo .floatcta { bottom: 12px; }

@media (max-width: 720px) {
  .is-demo { padding-bottom: 72px; }
  .demo-toolbar { gap: 8px; padding: 7px; border-radius: 13px; }
  .demo-toolbar__label span { display: none; }
  .demo-toolbar__views { flex: 1; }
  .demo-toolbar button { min-height: 40px; padding-inline: 11px; }
  .is-demo .floatcta { display: none !important; }
}

@media (min-width: 721px) and (max-width: 1260px) {
  .is-demo .floatcta { display: none !important; }
}

/* плавающая панель действий на странице отчёта */
.floatcta { position: fixed; left: 20px; bottom: 20px; z-index: 40; display: flex; gap: 10px; }
.floatcta__btn { font-family: inherit; font-weight: 800; font-size: 15px; border: none; border-radius: 999px; padding: 14px 24px; cursor: pointer; box-shadow: 0 10px 30px -8px rgba(20,20,30,0.45); transition: transform 0.12s; }
.floatcta__btn:active { transform: scale(0.97); }
.floatcta__btn--lead { background: var(--accent); color: #fff; }
.floatcta__btn--pdf { background: var(--text); color: #fff; }

/* поп-ап призыва оставить заявку */
.popup { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: rgba(20,20,26,0.55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: popup-in 0.2s ease; }
@keyframes popup-in { from { opacity: 0; } to { opacity: 1; } }
.popup__card { position: relative; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px 32px; width: 100%; max-width: 440px; max-height: calc(100dvh - 40px); text-align: center; box-shadow: 0 30px 70px -20px rgba(20,20,30,0.5); }
.popup__close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; line-height: 1; color: var(--muted-2); cursor: pointer; }
.popup__cap { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 8px; }
.popup__title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.popup__text { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
.popup__form .btn--primary { width: 100%; justify-content: center; }
.popup__msgr-cap { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.popup .msgr { justify-content: center; margin-bottom: 12px; }
.popup .msgr__btn { background: var(--surface-2); font-size: 13px; padding: 9px 16px; }
.popup .msgr__btn.is-active { border-color: var(--accent); }
.popup__inp { width: 100%; flex: none; min-width: 0; background: #fff; color: var(--text); border: 1px solid var(--line-2); margin-bottom: 12px; }
.popup__inp:focus { border-color: var(--accent); }
.popup__inp::placeholder { color: var(--muted-2); }
.popup__consent { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted-2); }
.popup__consent a { color: var(--accent); text-decoration: underline; }
.popup__done { margin: 6px 0 0; font-size: 15.5px; font-weight: 700; color: var(--good); line-height: 1.5; }

/* Единый с основным сайтом выбор аналитики. Счётчик до выбора не создаётся. */
.analytics-consent { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; width: min(650px, calc(100% - 32px)); padding: 17px 18px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255,255,255,0.98); box-shadow: 0 18px 60px rgba(20,20,30,0.2); color: var(--text); }
.analytics-consent strong { display: block; margin-bottom: 4px; font-size: 14px; }
.analytics-consent p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.analytics-consent__actions { display: grid; grid-template-columns: auto auto; gap: 7px; align-content: center; }
.analytics-consent__actions button { min-height: 40px; padding: 0 13px; border: 0; border-radius: 999px; background: var(--text); color: #fff; font: 700 11px/1 'Manrope', system-ui, sans-serif; cursor: pointer; }
.analytics-consent__actions .analytics-consent__secondary { border: 1px solid var(--line-2); background: #fff; color: var(--text); }
.analytics-consent__actions a { grid-column: 1 / -1; justify-self: end; color: var(--accent-deep); font-size: 11px; }

@media (max-width: 760px) {
  .floatcta { left: 12px; right: 12px; bottom: 12px; }
  .floatcta__btn--lead { flex: 1; padding: 14px 16px; justify-content: center; }
  .floatcta__btn--pdf { padding: 14px 18px; }
  body.has-analytics-consent { height: auto; min-height: 100%; overflow-y: auto; }
  body.has-analytics-consent .analytics-consent { position: static; left: auto; right: auto; bottom: auto; grid-template-columns: 1fr; gap: 10px; width: auto; margin: 12px; padding: 14px; }
  .analytics-consent__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-consent__actions button { width: 100%; }
  .analytics-consent__actions a { justify-self: center; }
}

/* На коротких телефонах содержимое первого экрана выше viewport даже без
   баннера аналитики. Оставляем одно действие, но не обрезаем пояснение ниже. */
@media (max-width: 760px) and (max-height: 700px) {
  body:not(.is-report) { height: auto; min-height: 100%; overflow-y: auto; }
  #screen-intro { min-height: calc(100dvh - 60px); }
}

/* Низкий landscape и 200% zoom физически не вмещают форму в один экран.
   Вместо обрезания кнопки разрешаем нормальную вертикальную прокрутку. */
@media (max-height: 480px) {
  body:not(.is-report) { height: auto; min-height: 100%; overflow-y: auto; }
  #screen-intro { min-height: calc(100dvh - 60px); }
  .hero { justify-content: flex-start; padding-top: 12px; }
  .analytics-consent { bottom: 8px; padding: 10px 12px; }
  .analytics-consent p { font-size: 11px; }
}

@media (pointer: coarse) and (max-height: 600px) {
  .popup { align-items: flex-start; overflow-y: auto; padding-block: 8px; }
  .popup__card {
    max-height: calc(100dvh - 16px);
    margin-block: auto;
    overflow-y: auto;
  }
  .popup__close { width: 44px; height: 44px; top: 6px; right: 8px; }
  .msgr__btn { min-height: 44px; }
}

/* Точечная версия лид-магнита: новые элементы используют те же токены и карточки. */
.scenario-switch { display: inline-flex; gap: 4px; margin-top: 14px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.scenario-switch__btn { min-height: 36px; padding: 0 15px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 12.5px/1 'Manrope', system-ui, sans-serif; cursor: pointer; }
.scenario-switch__btn.is-active { background: var(--text); color: #fff; }
.scan-fallback { max-width: 680px; flex-wrap: wrap; }
.scan-fallback__actions { display: flex; gap: 8px; width: 100%; padding-left: 30px; }
.scan-fallback .btn { padding: 10px 16px; font-size: 13px; }
.gauge__num--status span { font-size: 42px; }
.gauge__num--status i { max-width: 92px; text-align: center; line-height: 1.2; }
.moneybar--next .moneybar__text { flex: 1 1 360px; line-height: 1.5; }
.result-card { margin-top: 18px; }
.result-card__text { margin-bottom: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; text-align: left; }
.lead-field { display: grid; gap: 6px; }
.lead-field--wide { grid-column: 1 / -1; }
.lead-field > span { padding-left: 14px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.82); }
.lead-field .inp { width: 100%; min-width: 0; appearance: none; }
.lead-field__error { display: block; padding: 0 14px; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.4; text-align: left; }
.lead-field__error[hidden] { display: none; }
.lead-field.has-error .inp, .contact-field.has-error .inp { box-shadow: 0 0 0 3px rgba(255,255,255,.42), 0 0 0 5px rgba(75,13,17,.32); }
.brand-select { position: relative; min-width: 0; text-align: left; }
.brand-select.is-open { z-index: 70; }
.brand-select__native { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.brand-select__trigger { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 15px 19px; border: 2px solid transparent; border-radius: 999px; background: #fff; color: var(--text); font: 500 15px/1.35 'Manrope', system-ui, sans-serif; text-align: left; cursor: pointer; box-shadow: 0 8px 22px rgba(72,15,19,.08); transition: border-color .15s, box-shadow .15s, transform .15s; }
.brand-select__trigger:hover { border-color: rgba(22,22,26,.16); }
.brand-select__trigger:focus-visible, .brand-select.is-open .brand-select__trigger { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(255,255,255,.28); }
.brand-select.has-error .brand-select__trigger { border-color: #fff; box-shadow: 0 0 0 3px rgba(75,13,17,.32); }
.brand-select__trigger.is-placeholder { color: var(--muted-2); }
.brand-select__chevron { position: relative; justify-self: end; width: 18px; height: 18px; color: var(--accent); }
.brand-select__chevron::before { content: ''; position: absolute; left: 4px; top: 2px; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transform-origin: center; transition: transform .15s, top .15s; }
.brand-select.is-open .brand-select__chevron::before { top: 7px; transform: rotate(225deg); }
.brand-select__menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 80; max-height: 260px; overflow-y: auto; padding: 7px; border: 1px solid rgba(22,22,26,.12); border-radius: 18px; background: #fff; box-shadow: 0 24px 55px rgba(64,13,17,.25); }
.brand-select__option { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; align-items: center; width: 100%; min-height: 44px; padding: 9px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--text); font: 600 14px/1.35 'Manrope', system-ui, sans-serif; text-align: left; cursor: pointer; }
.brand-select__option::before { content: ''; display: grid; place-items: center; width: 20px; height: 20px; color: var(--accent); font-size: 16px; font-weight: 800; line-height: 1; }
.brand-select__option:hover, .brand-select__option:focus-visible { outline: none; background: var(--surface-2); }
.brand-select__option[aria-selected="true"] { background: var(--accent-tint); color: var(--accent-deep); }
.brand-select__option[aria-selected="true"]::before { content: '✓'; }
.contact-field { flex: 1 1 250px; min-width: 0; display: grid; gap: 6px; }
.contact-field .inp { width: 100%; min-width: 0; }
.lead-consent { display: flex; align-items: center; justify-content: center; gap: 9px; width: fit-content; margin: 14px auto 0; max-width: 100%; color: rgba(255,255,255,.92); font-size: 12px; line-height: 1.45; text-align: left; }
.lead-consent input { flex: 0 0 17px; width: 17px; height: 17px; margin: 0; accent-color: var(--text); }
.lead-consent span { min-width: 0; }
.lead-consent a { color: #fff; text-decoration: underline; }
.lead-consent.has-error input { outline: 3px solid rgba(255,255,255,.44); outline-offset: 2px; }
.lead-consent__error { margin-top: 7px; text-align: center; }
.smartcaptcha-host { width: 0; height: 0; overflow: hidden; margin: 0; padding: 0; }
.is-demo .getfull__form { position: relative; }
.is-demo .getfull__form::after { content: 'На тестовом поддомене данные не отправляются'; display: block; margin-top: 12px; color: rgba(255,255,255,.78); font: 700 11px/1.4 'JetBrains Mono', monospace; }

@media (max-width: 760px) {
  .scenario-switch { width: 100%; max-width: 430px; }
  .scenario-switch__btn { flex: 1; padding-inline: 10px; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-field--wide { grid-column: auto; }
  .brand-select__menu { max-height: 230px; }
  .contact-field { flex: 0 1 auto; width: 100%; }
  .inp, .brand-select__trigger { font-size: 16px; }
  .scan-fallback__actions { padding-left: 0; }
  .scorecard__gauge { width: 132px; height: 132px; }
  .scorecard__gauge .gauge { width: 132px; height: 132px; }
  .lead-consent { align-items: flex-start; }
  .lead-consent input { margin-top: 1px; }
}
