/* ============================================================
   152-ФЗ чек — стили лэндинга
   Кроссбраузерно: Chrome/Opera (Blink) + Firefox (Gecko).
   Прогрессивное улучшение: без JS весь контент виден (класс .js).
   ============================================================ */

/* ---------- переменные ---------- */
:root {
  --bg: #eef1f8;
  --surface: #ffffff;
  --surface-2: #f4f6fc;
  --text: #0f172a;
  --muted: #59617a;
  --border: #e3e7f2;
  --border-strong: #d3d9ea;

  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-3: #06b6d4;
  --brand-ink: #4338ca;

  --ok: #15a34a;   --ok-bg: #ecfdf3;   --ok-bd: #b7f0c9;
  --bad: #dc2626;  --bad-bg: #fef2f2;  --bad-bd: #fbcaca;
  --warn: #ca7a04; --warn-bg: #fff8ec; --warn-bd: #fbe0a8;
  --na: #64748b;   --na-bg: #f1f4f9;   --na-bd: #e2e8f0;

  --sev-critical: #b91c1c;
  --sev-high: #ea580c;
  --sev-medium: #ca7a04;
  --sev-warn: #2563eb;
  --sev-info: #64748b;

  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.05);
  --shadow: 0 6px 24px -8px rgba(16,24,40,.16), 0 2px 6px rgba(16,24,40,.06);
  --shadow-lg: 0 24px 60px -20px rgba(49,46,129,.35);
  --wrap: 1120px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --surface: #131a2e;
    --surface-2: #0f1526;
    --text: #eef1fb;
    --muted: #9aa4bf;
    --border: #24304d;
    --border-strong: #33415f;

    --brand: #7c83ff;
    --brand-2: #a78bfa;
    --brand-ink: #aeb4ff;

    --ok: #34d17f;   --ok-bg: #0e2a1c;   --ok-bd: #1c503a;
    --bad: #f87171;  --bad-bg: #2c1416;  --bad-bd: #5b2626;
    --warn: #f0b64b; --warn-bg: #2a2110; --warn-bd: #574417;
    --na: #94a3b8;   --na-bg: #1a2236;   --na-bd: #2b374f;

    --sev-critical: #f87171;
    --sev-high: #fb923c;
    --sev-medium: #f0b64b;
    --sev-warn: #7aa2ff;
    --sev-info: #94a3b8;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 8px 30px -10px rgba(0,0,0,.6);
    --shadow-lg: 0 30px 70px -25px rgba(0,0,0,.7);
  }
}

/* ---------- база ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
em { font-style: normal; color: var(--brand-ink); font-weight: 600; }
strong { font-weight: 700; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- reveal-анимация ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- кнопки ---------- */
.btn {
  --btn-bg: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; line-height: 1; cursor: pointer;
  border: 1px solid transparent; border-radius: 999px;
  padding: 14px 26px; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.btn-primary {
  color: #fff;
  background-image: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--brand) 65%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface); border-color: var(--brand); color: var(--brand-ink); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }

/* ============================================================
   ШАПКА
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff;
  background-image: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-sm);
}
.brand-name { font-size: 1.12rem; letter-spacing: -.02em; }
.brand-sub { color: var(--brand-ink); }
.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 9px; }
.site-nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav-cta { margin-left: 4px; }

/* ============================================================
   ГЛАВНЫЙ ЭКРАН
   ============================================================ */
.hero { position: relative; padding: clamp(56px, 9vw, 104px) 0 clamp(64px, 8vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before, .hero-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
}
.hero-bg::before {
  width: 620px; height: 620px; top: -220px; right: -120px;
  background: radial-gradient(circle at 30% 30%, var(--brand), transparent 65%);
}
.hero-bg::after {
  width: 520px; height: 520px; bottom: -240px; left: -140px;
  background: radial-gradient(circle at 60% 40%, var(--brand-3), transparent 65%);
  opacity: .38;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  padding: 6px 13px; border-radius: 999px; margin: 0 0 20px;
}
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 820; margin-bottom: .32em; }
.grad {
  background-image: linear-gradient(120deg, var(--brand), var(--brand-2) 55%, var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.03rem, 2.1vw, 1.22rem); color: var(--muted); max-width: 640px; }

/* форма проверки */
.scan-form {
  display: flex; gap: 10px; margin: 30px 0 12px; max-width: 620px;
  background: var(--surface); padding: 8px; border-radius: 999px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.scan-field { position: relative; flex: 1 1 auto; display: flex; align-items: center; }
.scan-icon { position: absolute; left: 16px; color: var(--muted); display: inline-flex; pointer-events: none; }
.scan-form input {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--text);
  padding: 14px 16px 14px 46px; border: none; background: transparent; border-radius: 999px;
  -webkit-appearance: none; appearance: none;
}
.scan-form input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.scan-form input:focus { outline: none; }
.scan-field:focus-within { border-radius: 999px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.scan-form .btn-primary { flex: 0 0 auto; padding-inline: 30px; }
.scan-hint { font-size: .9rem; color: var(--muted); margin: 0 0 4px 8px; }
.scan-error {
  color: var(--bad); background: var(--bad-bg); border: 1px solid var(--bad-bd);
  border-radius: var(--radius-sm); padding: 10px 14px; margin: 8px 0 0; max-width: 620px; font-size: .95rem;
}

.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; }
.hero-badges li {
  font-size: .86rem; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px;
  box-shadow: var(--shadow-sm);
}
.hero-badges li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 7px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1;
  color: var(--muted); opacity: .8; animation: bob 2.4s var(--ease) infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,7px); } }

/* ============================================================
   СЕКЦИИ (справка)
   ============================================================ */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--surface-2); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 0 40px; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem;
  font-weight: 800; color: var(--brand-ink); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 780; }
.section-lead { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.feature { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.feature-ico { font-size: 1.7rem; margin-bottom: 12px; }
.feature h3 { font-size: 1.1rem; }
.feature p, .check p, .fine-desc { color: var(--muted); font-size: .96rem; margin: 0; }

/* карточки «как проверяем» */
.check { position: relative; padding-top: 26px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.check:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.check-n {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 30px; padding: 0 10px;
  font-weight: 800; font-size: .92rem; color: var(--brand-ink);
  background: color-mix(in srgb, var(--brand) 12%, transparent); border-radius: 8px; margin-bottom: 12px;
}
.check h3 { font-size: 1.06rem; }
.ref { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.how-note, .fines-note { color: var(--muted); font-size: .9rem; margin-top: 22px; max-width: 820px; }
.how-cta { margin-top: 28px; }

/* ---------- таймлайн ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 820px; }
.timeline::before {
  content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--brand), var(--brand-2)); border-radius: 2px; opacity: .35;
}
.timeline li { position: relative; padding: 0 0 26px 46px; }
.timeline li::before {
  content: ""; position: absolute; left: 5px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}
.tl-date { display: inline-block; font-weight: 800; color: var(--brand-ink); font-size: .95rem; margin-bottom: 4px; }
.tl-body h3 { font-size: 1.14rem; margin-bottom: .25em; }
.tl-body p { color: var(--muted); margin: 0; }

/* ---------- штрафы ---------- */
.fines-grid { align-items: stretch; }
.fine { display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.fine:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.fine-top { margin-bottom: 12px; }
.fine-tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.tag-amber { color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-bd); }
.tag-orange { color: var(--sev-high); background: color-mix(in srgb, var(--sev-high) 12%, transparent); border: 1px solid color-mix(in srgb, var(--sev-high) 30%, transparent); }
.tag-red { color: var(--bad); background: var(--bad-bg); border: 1px solid var(--bad-bd); }
.fine-amount { font-size: 1.7rem; font-weight: 820; letter-spacing: -.02em; margin: 0 0 6px; color: var(--text); }
.fine h3 { font-size: 1.05rem; margin-bottom: .4em; }

/* ---------- дисклеймер ---------- */
.disclaimer-band { padding: clamp(36px, 6vw, 60px) 0; }
.disclaimer {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--warn-bg); border: 1px solid var(--warn-bd); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-sm);
}
.disclaimer p { margin: 0; color: color-mix(in srgb, var(--text) 88%, var(--warn)); }
.disc-ico { font-size: 1.4rem; line-height: 1.2; }

/* ============================================================
   ПРОГРЕСС + ОТЧЁТ (динамические блоки)
   ============================================================ */
.stage { padding: 40px 0; scroll-margin-top: 80px; }
.stage[hidden] { display: none; }
/* плавное появление при снятии hidden */
.stage.appear { animation: stage-in .55s var(--ease) both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.progress-card { max-width: 720px; margin: 0 auto; }
.progress-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.progress-title { font-size: 1.25rem; margin: 0; }
.progress-status { margin: 2px 0 0; color: var(--muted); font-size: .96rem; transition: opacity .3s; }
.progress-domain { color: var(--brand-ink); }
.spinner {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--brand) 22%, transparent); border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.progress-track {
  height: 12px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--border); overflow: hidden;
}
.progress-bar {
  height: 100%; width: 0%; border-radius: 999px; position: relative; overflow: hidden;
  background-image: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .35s var(--ease);
}
.progress-bar::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  transform: translateX(-100%); animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.progress-foot { text-align: center; color: var(--muted); font-size: .88rem; margin: 14px 0 0; }

/* ---------- отчёт ---------- */
.report-head { margin: 0 0 20px; }
.report-eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 800; color: var(--brand-ink); }
.report-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 8px 0 0; word-break: break-word; }
.report-meta { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* сводка риска */
.summary { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; margin-bottom: 22px; }
.gauge {
  --val: 0; --gcol: var(--ok);
  position: relative; width: 132px; height: 132px; border-radius: 50%; flex: 0 0 auto;
  background: conic-gradient(var(--gcol) calc(var(--val) * 1%), var(--surface-2) 0);
  display: grid; place-items: center;
}
.gauge::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); }
.gauge-inner { position: relative; text-align: center; z-index: 1; }
.gauge-score { font-size: 2rem; font-weight: 850; line-height: 1; }
.gauge-max { font-size: .82rem; color: var(--muted); }
.summary-band { display: flex; flex-direction: column; gap: 10px; }
.risk-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 750; font-size: .96rem; padding: 8px 15px; border-radius: 999px; border: 1px solid;
}
.risk-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.risk-low { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-bd); }
.risk-mid { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-bd); }
.risk-high { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-bd); }
.summary-line { color: var(--muted); font-size: .96rem; margin: 0; }

/* мини-статистика */
.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; }
.stat {
  display: flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface-2); font-size: .9rem; font-weight: 600;
}
.stat b { font-size: 1.05rem; font-weight: 850; }
.stat.s-ok b { color: var(--ok); } .stat.s-bad b { color: var(--bad); }
.stat.s-warn b { color: var(--warn); } .stat.s-na b { color: var(--na); }

.report-block { margin-top: 26px; }
.report-block h3 { font-size: 1.2rem; margin: 0 0 6px; }
.block-sub { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }

/* легенда статусов */
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 16px; font-size: .86rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.lg-ok { background: var(--ok); } .lg-bad { background: var(--bad); }
.lg-warn { background: var(--warn); } .lg-na { background: var(--na); }

/* список статусов проверок */
.status-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.status-item {
  display: flex; gap: 13px; align-items: flex-start; padding: 15px 16px;
  border: 1px solid var(--border); border-left-width: 4px; border-radius: var(--radius-sm);
  background: var(--surface);
}
.status-item.st-ok { border-left-color: var(--ok); background: color-mix(in srgb, var(--ok-bg) 55%, var(--surface)); }
.status-item.st-bad { border-left-color: var(--bad); background: color-mix(in srgb, var(--bad-bg) 55%, var(--surface)); }
.status-item.st-warn { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn-bg) 55%, var(--surface)); }
.status-item.st-na { border-left-color: var(--na); background: var(--surface); opacity: .92; }
.st-ico {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: .9rem; font-weight: 800; color: #fff;
}
.st-ok .st-ico { background: var(--ok); } .st-bad .st-ico { background: var(--bad); }
.st-warn .st-ico { background: var(--warn); } .st-na .st-ico { background: var(--na); }
.st-text { min-width: 0; }
.st-title { font-weight: 700; font-size: .98rem; }
.st-note { color: var(--muted); font-size: .88rem; margin-top: 2px; }
.st-tag { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin-left: auto; padding-left: 8px; white-space: nowrap; }
.st-ok .st-tag { color: var(--ok); } .st-bad .st-tag { color: var(--bad); }
.st-warn .st-tag { color: var(--warn); } .st-na .st-tag { color: var(--na); }

/* инвентаризация форм */
.forms-list { display: grid; gap: 10px; }
.form-row {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
}
.form-verdict-ico { flex: 0 0 auto; font-weight: 800; }
.form-info { min-width: 0; }
.form-cat { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.form-verdict { font-weight: 650; }
.form-verdict.v-bad { color: var(--bad); } .form-verdict.v-ok { color: var(--ok); }
.form-fields { font-size: .87rem; color: var(--muted); margin-top: 3px; word-break: break-word; }
.chip-popup { font-size: .72rem; font-weight: 700; color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 12%, transparent); border-radius: 6px; padding: 2px 7px; margin-left: 6px; }

/* находки */
.findings { display: grid; gap: 14px; }
.finding {
  border: 1px solid var(--border); border-left-width: 5px; border-radius: var(--radius);
  background: var(--surface); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.finding.sev-critical { border-left-color: var(--sev-critical); }
.finding.sev-high { border-left-color: var(--sev-high); }
.finding.sev-medium { border-left-color: var(--sev-medium); }
.finding.sev-warn { border-left-color: var(--sev-warn); }
.finding.sev-info { border-left-color: var(--sev-info); }
.finding-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.sev-badge { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; color: #fff; }
.sev-critical .sev-badge { background: var(--sev-critical); }
.sev-high .sev-badge { background: var(--sev-high); }
.sev-medium .sev-badge { background: var(--sev-medium); }
.sev-warn .sev-badge { background: var(--sev-warn); }
.sev-info .sev-badge { background: var(--sev-info); }
.finding-check { font-size: .82rem; font-weight: 700; color: var(--muted); }
.finding h4 { font-size: 1.08rem; margin: 0 0 8px; }
.finding-detail { color: var(--muted); margin: 0 0 12px; }
.finding-fix {
  display: flex; gap: 10px; align-items: flex-start;
  background: color-mix(in srgb, var(--ok-bg) 60%, var(--surface));
  border: 1px solid var(--ok-bd); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px;
}
.finding-fix .fix-ico { color: var(--ok); font-weight: 800; }
.finding-fix p { margin: 0; font-size: .95rem; color: var(--text); }
.finding-fix b { color: var(--ok); }
.finding-meta { display: flex; flex-direction: column; gap: 4px; font-size: .84rem; color: var(--muted); }
.finding-meta .m-label { font-weight: 700; color: var(--text); margin-right: 5px; }
.finding-meta code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: .82rem; word-break: break-all; }
.finding-meta a { word-break: break-all; }

/* блок «всё чисто» */
.all-clear {
  display: flex; gap: 14px; align-items: center; padding: 20px 22px;
  background: var(--ok-bg); border: 1px solid var(--ok-bd); border-radius: var(--radius);
}
.all-clear .ac-ico { font-size: 1.6rem; }
.all-clear p { margin: 0; color: color-mix(in srgb, var(--text) 85%, var(--ok)); font-weight: 600; }

/* инфо / справочно */
.info-notes { display: grid; gap: 10px; }
.info-note {
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2);
  padding: 13px 16px; font-size: .92rem;
}
.info-note b { display: block; margin-bottom: 2px; }
.info-note span { color: var(--muted); }

/* ошибка проверки */
.scan-fail { display: flex; gap: 16px; align-items: flex-start; }
.scan-fail .fail-ico { font-size: 1.8rem; }
.scan-fail h3 { margin: 0 0 6px; }
.scan-fail p { color: var(--muted); margin: 0 0 14px; }

/* ---------- форма обратной связи ---------- */
.feedback {
  margin-top: 30px; border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--brand), var(--brand-2)) border-box;
  border: 1px solid transparent;
  padding: 26px 26px 28px; box-shadow: var(--shadow);
}
.feedback h3 { font-size: 1.25rem; margin: 0 0 6px; }
.feedback .fb-lead { color: var(--muted); margin: 0 0 18px; }
.fb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fb-field { display: flex; flex-direction: column; gap: 6px; }
.fb-field.fb-wide { grid-column: 1 / -1; }
.fb-field label { font-size: .86rem; font-weight: 700; color: var(--text); }
.fb-field input, .fb-field textarea {
  font: inherit; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; -webkit-appearance: none; appearance: none; resize: vertical;
}
.fb-field textarea { min-height: 84px; }
.fb-field input:focus, .fb-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}
.fb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.fb-consent { font-size: .82rem; color: var(--muted); margin: 0; max-width: 460px; }
.fb-msg { font-weight: 650; }
.fb-msg.ok { color: var(--ok); } .fb-msg.err { color: var(--bad); }
.feedback.done .fb-grid, .feedback.done .fb-actions { display: none; }
.fb-thanks { display: none; gap: 14px; align-items: center; }
.feedback.done .fb-thanks { display: flex; }
.fb-thanks .th-ico { font-size: 1.8rem; }

/* report disclaimer */
.report-disclaimer {
  margin-top: 26px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--warn-bg); border: 1px solid var(--warn-bd);
  border-radius: var(--radius-sm); padding: 14px 18px; font-size: .9rem;
}
.report-disclaimer p { margin: 0; color: color-mix(in srgb, var(--text) 85%, var(--warn)); }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-2); padding: 40px 0; margin-top: 20px; }
.footer-brand { font-weight: 800; font-size: 1.05rem; margin: 0 0 6px; }
.footer-note { color: var(--muted); font-size: .9rem; max-width: 640px; margin: 0; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 900px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .status-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-nav { display: none; }
  .scan-form { flex-direction: column; border-radius: var(--radius); padding: 12px; }
  .scan-form input { padding-left: 46px; }
  .scan-field { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); }
  .scan-form .btn-primary { width: 100%; }
  .scan-hint { margin-left: 4px; }
  .cards-4, .cards-3, .fb-grid { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .summary-band { align-items: center; }
  .risk-badge { align-self: center; }
  .fine-amount { font-size: 1.5rem; }
}
