/* ELDEV Audit — стилистика eldevstudio.ru: тёмная тема по умолчанию, красный акцент, Unbounded + Onest + JetBrains Mono */
@font-face { font-family: 'Unbounded'; font-weight: 500; font-display: swap; src: url(/vendor/fonts/unbounded-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 500; font-display: swap; src: url(/vendor/fonts/unbounded-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Unbounded'; font-weight: 600; font-display: swap; src: url(/vendor/fonts/unbounded-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 600; font-display: swap; src: url(/vendor/fonts/unbounded-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Onest'; font-weight: 400; font-display: swap; src: url(/vendor/fonts/onest-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 400; font-display: swap; src: url(/vendor/fonts/onest-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Onest'; font-weight: 500; font-display: swap; src: url(/vendor/fonts/onest-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 500; font-display: swap; src: url(/vendor/fonts/onest-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Onest'; font-weight: 600; font-display: swap; src: url(/vendor/fonts/onest-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 600; font-display: swap; src: url(/vendor/fonts/onest-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(/vendor/fonts/jetbrains-mono-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(/vendor/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --header-h: 72px;
  /* тёмная тема (по умолчанию, как на eldevstudio.ru) */
  --bg: #0b0b0c; --surface: #161618; --surface-2: #1d1d20; --line: #27272b;
  --ink: #f3f3f4; --muted: #a2a2aa; --faint: #8a8a93;
  --accent: #ff2d3f; --accent-ink: #160508; --accent-text: #160508; --glow: rgb(255 45 63 / 26%);
  --pass: #3ccf7e; --warn: #f2b33d; --fail: #ff4d5e; --info: #8b8b94; --manual: #7c8cff;
  --pass-bg: rgb(60 207 126 / 12%); --warn-bg: rgb(242 179 61 / 12%); --fail-bg: rgb(255 77 94 / 12%); --info-bg: rgb(139 139 148 / 12%); --manual-bg: rgb(124 140 255 / 14%);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f6f3; --surface: #ffffff; --surface-2: #f0f0ec; --line: #e2e2de;
  --ink: #111114; --muted: #5d5d66; --faint: #6e6e76;
  --accent: #2f45ff; --accent-ink: #ffffff; --accent-text: #fff; --glow: rgb(47 69 255 / 22%);
  --pass: #17763f; --warn: #8a5700; --fail: #b81c2a; --info: #5d5d66; --manual: #3446d9;
  --pass-bg: #e6f5ec; --warn-bg: #fbf1de; --fail-bg: #fde8ea; --info-bg: #efeff0; --manual-bg: #e9ecff;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 48px; }
.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: .02em; }
.muted { color: var(--muted); }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: .01em; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 17px; box-shadow: 0 6px 24px var(--glow); }
.logo small { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--muted); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }

/* ---------- Кнопки, поля ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease-out), background .2s, border-color .2s, box-shadow .25s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-text); box-shadow: 0 8px 30px var(--glow); }
.btn-primary:hover { box-shadow: 0 10px 40px var(--glow); filter: brightness(1.06); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: progress; }
.input { width: 100%; min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
textarea.input { padding: 14px 18px; min-height: 160px; resize: vertical; line-height: 1.5; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.45; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.check a { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding: 48px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 72% 45%, var(--glow), transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; margin: 0; }
.hero h1 { font-size: clamp(30px, 4.4vw, 54px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); margin: 20px 0 28px; max-width: 560px; }
.scan-box { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); max-width: 560px; transition: border-color .2s, box-shadow .2s; }
.scan-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.scan-box input { flex: 1; min-width: 0; border: 0; background: none; outline: none; padding: 0 18px; font-size: 17px; }
.scan-opts { margin-top: 14px; max-width: 560px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero-stats b { font-family: var(--font-mono); color: var(--accent); font-weight: 500; margin-right: 6px; }
.hero-3d { position: relative; aspect-ratio: 1 / .9; width: 100%; }
.hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-3d .fallback { position: absolute; inset: 15%; border-radius: 24px; background: radial-gradient(circle at 60% 40%, var(--glow), transparent 70%); }
.status { min-height: 22px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.status.error { color: var(--fail); }
.progress { margin-top: 14px; max-width: 560px; display: none; }
.progress.on { display: block; }
.progress-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .5s var(--ease-out); }
.progress-steps { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* ---------- Секции ---------- */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3vw, 38px); max-width: 720px; }
.section-num { font-family: var(--font-mono); color: var(--faint); font-size: 13px; letter-spacing: .1em; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: color-mix(in srgb, var(--surface) 72%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.feature { position: relative; transition: border-color .25s, transform .35s var(--ease-out); }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); transform: translateY(-3px); }
.feature .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.feature h3 { font-size: 17px; margin: 14px 0 10px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.steps { counter-reset: s; }
.steps .card h3 { font-size: 16px; margin-bottom: 8px; }
.steps .card p { margin: 0; color: var(--muted); font-size: 15px; }
.price { display: flex; flex-direction: column; gap: 16px; }
.price.pro { border-color: var(--accent); box-shadow: 0 20px 60px -20px var(--glow); }
.price h3 { font-size: 20px; }
.price .amount { font-family: var(--font-display); font-size: 30px; }
.price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.price li { display: flex; gap: 10px; }
.price li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); margin-top: 9px; }
.price .btn { margin-top: auto; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--accent-text); }
.tag.soft { background: var(--surface-2); color: var(--muted); }

/* ---------- Страницы приложения ---------- */
.page { padding: 48px 0 96px; }
.page-title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 12px; }
.page-lead { color: var(--muted); margin: 0 0 32px; max-width: 720px; }

/* ---------- Отчёт ---------- */
.report-head { display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: center; }
.grade { position: relative; width: 112px; height: 112px; flex: none; }
.grade svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.grade .ring-bg { stroke: var(--line); }
.grade .ring { stroke: var(--g, var(--accent)); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease-out); }
.grade b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--g, var(--ink)); }
.grade[data-g="A"] { --g: var(--pass); } .grade[data-g="B"] { --g: #8bcf3c; } .grade[data-g="C"] { --g: var(--warn); }
.grade[data-g="D"] { --g: #ff8a3d; } .grade[data-g="F"] { --g: var(--fail); }
.r-host { font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 30px); word-break: break-all; }
.r-meta { color: var(--muted); font-size: 14px; margin-top: 6px; }
.r-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--surface-2); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.fail { background: var(--fail-bg); color: var(--fail); } .pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.pass { background: var(--pass-bg); color: var(--pass); } .pill.manual { background: var(--manual-bg); color: var(--manual); }

.overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 24px; }
.ov { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; text-align: left; cursor: pointer; transition: border-color .2s; }
.ov:hover, .ov[aria-selected="true"] { border-color: var(--accent); }
.ov .ov-name { font-size: 13px; color: var(--muted); }
.ov .ov-val { font-family: var(--font-display); font-size: 22px; margin-top: 4px; display: flex; align-items: baseline; gap: 6px; }
.ov .ov-val small { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 500; }
.ov .ov-val .bad { color: var(--fail); }
.ov .ov-val .ok { color: var(--pass); }
.ov .ov-val .chk { color: var(--manual); }

.tabs { display: flex; gap: 4px; margin: 32px 0 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { flex: none; padding: 12px 16px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); font-weight: 600; font-size: 15px; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.tab.active { color: var(--ink); border-bottom-color: var(--accent); }
.tab .cnt { font-family: var(--font-mono); font-size: 12px; color: var(--fail); }
.panel { padding-top: 20px; }
.panel-intro { color: var(--muted); font-size: 14px; margin: 0 0 16px; }

.findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.finding { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px 20px; position: relative; overflow: hidden; }
.finding::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--info); }
.finding.fail::before { background: var(--fail); } .finding.warn::before { background: var(--warn); }
.finding.pass::before { background: var(--pass); } .finding.manual::before { background: var(--manual); }
.f-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.f-title { font-weight: 600; }
.f-badge { flex: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.f-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fail .f-badge { color: var(--fail); } .warn .f-badge { color: var(--warn); } .pass .f-badge { color: var(--pass); }
.info .f-badge { color: var(--info); } .manual .f-badge { color: var(--manual); }
.f-detail { margin-top: 6px; color: var(--muted); font-size: 14px; word-break: break-word; }
.f-pages { margin-top: 6px; font-size: 12px; color: var(--faint); word-break: break-all; }
.f-fix { margin-top: 12px; font-size: 14px; }
.f-fix-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
code, .code { font-family: var(--font-mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); padding: 2px 8px; border-radius: 8px; white-space: pre-wrap; word-break: break-word; }
.code { display: block; padding: 10px 12px; }
.f-platform { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--manual-bg); font-size: 14px; white-space: pre-wrap; }
.f-platform b { color: var(--manual); }
.f-locked { margin-top: 10px; font-size: 13px; color: var(--faint); display: flex; gap: 6px; align-items: center; }
.f-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.f-order { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.f-order:hover { text-decoration: underline; }
.lsec { margin-top: 28px; }
.lsec:first-child { margin-top: 0; }
.lsec-head { display: flex; gap: 12px; align-items: baseline; margin-bottom: 4px; }
.lsec-num { font-family: var(--font-mono); color: var(--accent); }
.lsec-title { font-size: 17px; }
.lsec-src { margin: 0 0 12px; font-size: 12px; color: var(--faint); }
details.na { margin-top: 24px; font-size: 14px; color: var(--muted); }
details.na summary { cursor: pointer; }

.unlock { margin-top: 28px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--surface), var(--surface-2)); border: 1px solid var(--accent); border-radius: 24px; padding: 28px; box-shadow: 0 20px 60px -30px var(--glow); }
.unlock h2 { font-size: 22px; margin-bottom: 10px; }
.unlock ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.unlock form { display: grid; gap: 12px; }
.doc-list { display: grid; gap: 10px; }
.doc { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.doc-text { width: 100%; max-height: 360px; overflow: auto; white-space: pre-wrap; font-size: 13px; line-height: 1.55; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-top: 10px; }
.badge-preview { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.pages-list { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); word-break: break-all; }

/* ---------- Таблицы ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td a { color: var(--ink); }
.cell { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.cell::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cell.fail { color: var(--fail); } .cell.warn { color: var(--warn); } .cell.pass { color: var(--pass); }
.cell.info, .cell.manual, .cell.none { color: var(--faint); }
.g-letter { font-family: var(--font-display); font-weight: 600; }

/* ---------- Кабинет и график ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis-label { fill: var(--faint); font-size: 11px; font-family: var(--font-mono); }
.chart .series { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .crosshair { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.tooltip { position: absolute; pointer-events: none; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px; white-space: nowrap; box-shadow: 0 8px 24px rgb(0 0 0 / 25%); transform: translate(-50%, calc(-100% - 12px)); }
.empty { color: var(--muted); font-size: 15px; padding: 20px 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: opacity .25s, transform .35s var(--ease-out); z-index: 100; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

.prose { max-width: 820px; }
.prose h2 { font-size: 20px; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--muted); }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-3d { order: -1; max-width: 520px; margin: 0 auto; aspect-ratio: 1 / .75; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .unlock, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .hero { min-height: auto; padding: 24px 0 56px; }
  .scan-box { flex-direction: column; border-radius: 20px; }
  .scan-box input { min-height: 48px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .grade { width: 84px; height: 84px; }
  .grade b { font-size: 34px; }
  .report-head { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Печать / PDF ---------- */
.print-only { display: none; }
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  :root, :root[data-theme] {
    --bg: #fff; --surface: #fff; --surface-2: #f4f4f2; --line: #dcdcd8; --ink: #111114; --muted: #4d4d55; --faint: #77777f;
    --pass: #1b8a4f; --warn: #a86a00; --fail: #d42232; --manual: #3446d9; --accent: #d42232; --glow: transparent;
  }
  body { font-size: 11pt; }
  .site-header, .site-footer, .no-print, .tabs, .unlock, .r-actions, .f-actions, .toast, .overview { display: none !important; }
  .print-only { display: block; }
  .page { padding: 0; }
  .panel { display: block !important; padding-top: 0; }
  .panel.no-print, .lsec.all-ok { display: none !important; }
  .panel + .panel { margin-top: 18px; }
  .panel-title.print-only { font-family: var(--font-display); font-size: 15pt; margin: 18px 0 10px; padding-top: 10px; border-top: 2px solid var(--ink); }
  .finding, .lsec-head { break-inside: avoid; }
  .finding { border-radius: 8px; padding: 10px 12px 10px 14px; }
  .finding.pass, .finding.info { display: none; }
  .print-head { display: flex !important; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 18px; }
  .print-head .logo-mark { box-shadow: none; }
  .print-foot { margin-top: 24px; font-size: 9pt; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; }
  a { text-decoration: none; }
}

/* утилиты (inline-стили запрещены нашим CSP) */
.verify-box { margin-top: 14px; max-width: 560px; }
.verify-note { margin: 6px 0 10px; font-size: 14px; }
.verify-grid { display: grid; gap: 6px; font-size: 14px; }
.steps .card h3 { margin-top: 14px; }
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.grow { flex: 1; min-width: 200px; }
.small { font-size: 13px; }
.print-head { display: none; }
.price > .tag, .card > .tag { align-self: flex-start; }
