/* Rankora — тъмносин hero, светли секции, синьо като основен цвят, цветни модули */
:root {
  --bg: #f6f8fd;
  --bg-2: #edf1fa;
  --card: #ffffff;
  --ink: #0d1834;
  --ink-2: #4b5674;
  --ink-3: #8a93ad;
  --line: #e4e9f4;
  --line-2: #d3dbeb;
  --brand: #2f6bff;
  --brand-2: #1d54e6;
  --brand-soft: #e5edff;
  --navy: #071433;
  --navy-2: #0c1f4d;
  --sun: #ffb21e;
  --sun-soft: #fff1d1;
  --mint: #12c28d;
  --mint-soft: #dbf7ec;
  --sky: #3d8bff;
  --sky-soft: #e1edff;
  --lilac: #8b6cff;
  --lilac-soft: #ece6ff;
  --pink: #ff5fa8;
  --pink-soft: #ffe2ef;
  --teal: #0fb3c7;
  --teal-soft: #d8f5f8;
  --lime: #7fc72e;
  --lime-soft: #e9f7d6;
  --good: #12b07e;
  --warn: #f29a00;
  --bad: #f0453a;
  --crit: #c81e3a;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 0 0 1px rgba(13, 24, 52, .05), 0 8px 24px -10px rgba(13, 24, 52, .12);
  --shadow-lg: 0 0 0 1px rgba(13, 24, 52, .05), 0 28px 60px -20px rgba(13, 24, 52, .28);
  --display: 'Montserrat', 'Onest', system-ui, sans-serif;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--sun); color: var(--ink); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; }
h4 { margin: 0; }
code, pre { font-family: var(--mono); font-size: 12.5px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }
.hidden { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--brand); }

/* ───────── Лого ───────── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo .word { font: 600 21px/1 var(--display); letter-spacing: -.03em; }

/* ───────── Навигация ───────── */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); transition: .15s; }
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
@media (max-width: 800px) { .nav-links { display: none; } .nav .wrap > .btn { margin-left: auto; } }

/* ───────── Бутони ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 13px 22px; font: 600 15.5px var(--font); cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; text-decoration: none; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-brand:hover { background: var(--brand-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #33304d; }
.btn-soft { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-soft:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn svg { width: 16px; height: 16px; }

/* ───────── Hero ───────── */
.hero { position: relative; padding: 70px 0 100px; text-align: center; overflow: hidden; }
.hero h1 { font-size: clamp(36px, 6vw, 76px); max-width: 980px; margin: 18px auto 22px; letter-spacing: -.035em; line-height: 1.05; }
.hero h1 .mark { position: relative; white-space: nowrap; }
.hero h1 .mark::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .32em; background: var(--sun); border-radius: 8px; z-index: -1; transform: rotate(-1.5deg); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 640px; margin: 0 auto 36px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; font-weight: 500; }
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); display: grid; place-items: center; }
.pill .dot svg { width: 13px; height: 13px; }
.audit-form { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; max-width: 660px; margin: 0 auto; background: var(--card); padding: 8px 8px 8px 22px; border-radius: 999px; box-shadow: var(--shadow-lg), inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.audit-form:focus-within { box-shadow: var(--shadow-lg), inset 0 0 0 2px var(--brand); }
.audit-form > svg { width: 22px; height: 22px; color: var(--ink-3); flex: none; }
.audit-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 18px var(--font); color: var(--ink); padding: 12px 6px; }
.audit-form input::placeholder { color: var(--ink-3); font-weight: 400; }
.form-error { color: var(--bad); margin-top: 14px; font-weight: 500; min-height: 1.6em; }
.form-meta { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.form-meta span { display: inline-flex; align-items: center; gap: 7px; }
.form-meta svg { width: 16px; height: 16px; color: var(--mint); }
@media (max-width: 600px) { .audit-form { flex-direction: column; border-radius: 26px; padding: 10px; } .audit-form > svg { display: none; } .audit-form input { text-align: center; } .audit-form .btn { width: 100%; } }

/* Стикери около полето */
.stickers { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.sticker { position: absolute; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px 16px; text-align: left; font-size: 14px; animation: float 6s ease-in-out infinite; }
.sticker .k { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.sticker .v { font: 600 22px/1.2 var(--display); }
.sticker.s1 { left: 3%; top: 42%; transform: rotate(-6deg); }
.sticker.s2 { right: 4%; top: 30%; transform: rotate(5deg); animation-delay: -2s; }
.sticker.s3 { left: 9%; bottom: 6%; transform: rotate(4deg); animation-delay: -4s; }
.sticker.s4 { right: 8%; bottom: 10%; transform: rotate(-4deg); animation-delay: -1s; }
@keyframes float { 50% { translate: 0 -8px; } }
@media (max-width: 1100px) { .stickers { display: none; } }
.chip-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.chip-ico svg { width: 18px; height: 18px; }

/* ───────── Секции ───────── */
section.block { padding: 100px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -.03em; margin: 12px 0 14px; }
.sec-head p { color: var(--ink-2); font-size: 18px; margin: 0; }

/* Модули — цветни плочки */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { border-radius: var(--r); padding: 26px; background: var(--card); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.tile .ico svg { width: 26px; height: 26px; }
.tile h3 { font-size: 18px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.tile .count { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* Как работи */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { border-radius: var(--r); padding: 30px; position: relative; overflow: hidden; }
.step .n { font: 700 64px/1 var(--display); opacity: .9; }
.step h3 { font-size: 22px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Демо на находка */
.showcase { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.showcase h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; }
.showcase .lead { color: var(--ink-2); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks li .chip-ico { width: 28px; height: 28px; border-radius: 9px; }
.ticks li .chip-ico svg { width: 15px; height: 15px; }
@media (max-width: 920px) { .showcase { grid-template-columns: 1fr; } }

/* Цени */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--card); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.plan.featured { background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.plan .name { font: 600 16px var(--display); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan .tag { font: 600 12px var(--font); background: var(--sun); color: var(--ink); padding: 5px 11px; border-radius: 999px; }
.plan .price { font: 700 56px/1 var(--display); letter-spacing: -.04em; margin: 22px 0 6px; }
.plan .price small { font: 500 15px var(--font); letter-spacing: 0; opacity: .6; margin-left: 4px; }
.plan .desc { margin: 0; opacity: .7; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; flex: 1; display: grid; gap: 11px; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.plan li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312b07e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan.featured li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb21e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.plan li.no { opacity: .45; }
.plan li.no::before { background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8ca3' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan li.soon::after { content: 'скоро'; font-size: 11.5px; font-weight: 600; background: var(--lilac); color: #fff; padding: 2px 8px; border-radius: 999px; margin-left: 2px; align-self: center; }
.plan .btn { width: 100%; }
@media (max-width: 920px) { .pricing { grid-template-columns: 1fr; } .plan.featured { transform: none; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 20px; font-weight: 500; transition: .2s; }
.faq details[open] summary::after { content: '−'; background: var(--brand); color: #fff; }
.faq details p { color: var(--ink-2); margin: -4px 0 22px; }

/* CTA */
.cta-box { background: var(--brand); color: #fff; border-radius: 32px; padding: 72px 32px; text-align: center; position: relative; overflow: hidden; }
.cta-box h2 { font-size: clamp(30px, 4.6vw, 58px); letter-spacing: -.035em; max-width: 820px; margin: 0 auto 30px; }
.cta-box .form-error { color: #fff; }
.cta-box .shape { position: absolute; border-radius: 28px; opacity: .9; }

footer { padding: 44px 0; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ═════════════ Доклад ═════════════ */
.report-head { padding: 28px 0 0; }
.report-head .row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-fav { width: 52px; height: 52px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; flex: none; }
.site-fav img { width: 26px; height: 26px; }
.report-head h1 { font-size: clamp(24px, 3.4vw, 38px); margin: 0; letter-spacing: -.03em; word-break: break-all; }
.report-meta { color: var(--ink-3); font-size: 14px; margin-top: 2px; display: flex; gap: 14px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.chip.plan-paid { background: var(--ink); color: #fff; }
.chip.plan-paid::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.tabs { display: flex; gap: 4px; margin: 26px 0 28px; overflow-x: auto; position: sticky; top: 72px; z-index: 20; padding: 6px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; scrollbar-width: none; }
.tab { background: none; border: 0; padding: 10px 18px; font: 600 14.5px var(--font); color: var(--ink-2); cursor: pointer; border-radius: 999px; white-space: nowrap; transition: .15s; }
.tab:hover { background: var(--bg-2); }
.tab.active { background: var(--ink); color: #fff; }
.tab .n { display: inline-block; margin-left: 7px; font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.tab.active .n { background: rgba(255,255,255,.18); color: #fff; }

.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 26px; }
.summary { display: grid; grid-template-columns: 320px 1fr; gap: 18px; }
@media (max-width: 900px) { .summary { grid-template-columns: 1fr; } }
.score-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.score-card .cap { font-weight: 600; color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }
.donut { position: relative; }
.donut .val { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; }
.donut .val b { font: 700 58px/1 var(--display); letter-spacing: -.04em; }
.donut .val span { color: var(--ink-3); font-size: 13.5px; margin-top: 4px; font-weight: 500; }
.donut.sm .val b { font-size: 22px; letter-spacing: -.02em; }
.grade { margin-top: 12px; font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; }
.verdict { font: 500 20px/1.4 var(--font); letter-spacing: -.01em; margin: 0 0 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border-radius: var(--r-sm); padding: 16px; }
.kpi .label { font-size: 13px; font-weight: 600; opacity: .75; }
.kpi .value { font: 700 30px/1.15 var(--display); letter-spacing: -.03em; margin: 6px 0 2px; }
.kpi .sub { font-size: 12.5px; opacity: .7; }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 28px; margin-top: 18px; font-size: 14.5px; }
.facts div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line-2); padding: 9px 0; }
.facts span { color: var(--ink-3); }
.facts b { font-weight: 600; text-align: right; word-break: break-word; }

.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 48px 0 18px; flex-wrap: wrap; }
.section-title h2 { font-size: 24px; margin: 0; letter-spacing: -.02em; }
.section-title a { font-weight: 600; color: var(--brand); text-decoration: none; }

.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.module { border-radius: var(--r); padding: 20px; background: var(--card); box-shadow: var(--shadow); cursor: pointer; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; gap: 14px; }
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.module .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.module .name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.module .top b { font: 700 28px/1 var(--display); letter-spacing: -.03em; }
.module .meta { font-size: 13px; color: var(--ink-3); }
.bar { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
@media (max-width: 1000px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .modules { grid-template-columns: 1fr; } }

/* Проблеми */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter { border: 0; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 999px; padding: 8px 15px; font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.filter:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.filter.active { background: var(--ink); color: #fff; box-shadow: none; }
.filter .d { width: 8px; height: 8px; border-radius: 50%; }
.filter .c { font-size: 12.5px; opacity: .65; }
.issues-list { display: grid; gap: 10px; }
.issue { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.issue > summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.issue > summary::-webkit-details-marker { display: none; }
.issue > summary .t { font-weight: 600; flex: 1; min-width: 200px; }
.issue > summary .cnt { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.issue > summary::after { content: ''; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b2f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; flex: none; }
.issue[open] > summary::after { transform: rotate(180deg); }
.issue .body { padding: 4px 20px 22px; display: grid; gap: 18px; }
.sev { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.sev.critical { background: var(--crit); color: #fff; }
.sev.high { background: #ffe1df; color: #c7271d; }
.sev.medium { background: var(--sun-soft); color: #a8650a; }
.sev.low { background: var(--sky-soft); color: #2565c7; }
.conf { font-size: 12.5px; color: var(--ink-2); background: var(--bg-2); padding: 4px 10px; border-radius: 999px; white-space: nowrap; font-weight: 500; }
.mod-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.mod-dot i { width: 8px; height: 8px; border-radius: 3px; }
.box { }
.box h4 { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.box h4 .chip-ico { width: 24px; height: 24px; border-radius: 8px; }
.box h4 .chip-ico svg { width: 13px; height: 13px; }
.box p { margin: 0; color: var(--ink); }
.urls { list-style: none; margin: 0; padding: 0; border-radius: var(--r-sm); background: var(--bg); max-height: 320px; overflow: auto; }
.urls li { display: flex; gap: 14px; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.urls li:last-child { border-bottom: 0; }
.urls a { word-break: break-all; color: var(--sky); text-decoration: none; font-weight: 500; }
.urls a:hover { text-decoration: underline; }
.urls .note { color: var(--ink-3); text-align: right; max-width: 55%; word-break: break-word; }
pre.code { background: var(--ink); color: #f1eefc; padding: 16px 18px; border-radius: var(--r-sm); overflow: auto; margin: 0; white-space: pre-wrap; word-break: break-word; line-height: 1.65; }
.code-wrap { position: relative; }
.copy { position: absolute; top: 9px; right: 9px; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; padding: 5px 12px; font: 600 12px var(--font); cursor: pointer; }
.copy:hover { background: var(--brand); }
.tip { background: var(--lilac-soft); border-radius: var(--r-sm); padding: 14px 16px; font-size: 14.5px; display: flex; gap: 12px; align-items: flex-start; }
.tip .chip-ico { width: 28px; height: 28px; border-radius: 9px; background: var(--lilac); color: #fff; }
.tip .chip-ico svg { width: 15px; height: 15px; }
.meta-row { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-row span { font-size: 13px; background: var(--bg); padding: 5px 11px; border-radius: 999px; color: var(--ink-2); }
.meta-row b { color: var(--ink); }
.lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--sun); padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.lock svg { width: 12px; height: 12px; }
.issue.locked > summary .t { color: var(--ink-2); }
.blur-lines { display: grid; gap: 8px; filter: blur(3px); user-select: none; pointer-events: none; padding: 6px 0; }
.blur-lines i { display: block; height: 10px; border-radius: 6px; background: var(--bg-2); }

/* Paywall */
.paywall { background: var(--ink); color: #fff; border-radius: 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding: 36px; margin: 28px 0; position: relative; overflow: hidden; }
.paywall::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 60px; background: var(--brand); right: -70px; top: -90px; transform: rotate(20deg); opacity: .95; }
.paywall::after { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 34px; background: var(--sun); right: 120px; bottom: -70px; transform: rotate(-15deg); }
.paywall > * { position: relative; z-index: 1; }
.paywall h2 { color: #fff; font-size: 28px; letter-spacing: -.03em; }
.paywall p { color: rgba(255,255,255,.72); margin: 0 0 18px; }
.paywall ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; font-size: 14.5px; color: rgba(255,255,255,.88); }
.paywall li { padding: 4px 0 4px 26px; position: relative; break-inside: avoid; }
.paywall li::before { content: ''; position: absolute; left: 0; top: 7px; width: 17px; height: 17px; border-radius: 50%; background: rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb21e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.paywall .buy { display: grid; gap: 10px; align-content: center; }
.paywall .opt { background: rgba(255,255,255,.08); border: 0; border-radius: 18px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; cursor: pointer; font: inherit; text-align: left; transition: transform .15s, background .15s; backdrop-filter: blur(6px); }
.paywall .opt:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.paywall .opt strong { font: 600 15px var(--display); }
.paywall .opt b { font: 700 30px/1 var(--display); letter-spacing: -.03em; }
.paywall .opt small { display: block; opacity: .7; font-size: 13px; margin-top: 2px; }
.paywall .opt.main { background: #fff; color: var(--ink); }
.paywall .opt.main:hover { background: #fff; }
.paywall .note { font-size: 12.5px; opacity: .7; text-align: center; }
@media (max-width: 860px) { .paywall { grid-template-columns: 1fr; } .paywall ul { columns: 1; } }

/* Таблици */
.table-wrap { overflow: auto; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
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 { background: var(--card); font-weight: 600; color: var(--ink-2); position: sticky; top: 0; cursor: pointer; white-space: nowrap; font-size: 13px; }
td { font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--bg); }
td.url { max-width: 380px; word-break: break-all; }
td.url a { color: var(--sky); text-decoration: none; font-weight: 500; }
.st-ok { color: var(--good); font-weight: 700; }
.st-bad { color: var(--bad); font-weight: 700; }

/* Скорост */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.metric { border-radius: 18px; padding: 18px; background: var(--card); box-shadow: var(--shadow); }
.metric .label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.metric .label::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.metric.good .label::before { background: var(--good); }
.metric.avg .label::before { background: var(--warn); }
.metric.poor .label::before { background: var(--bad); }
.metric .value { font: 700 28px/1.2 var(--display); letter-spacing: -.03em; margin: 8px 0 2px; }
.lh-rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; justify-items: center; }
.lh-rings .lbl { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; font-weight: 600; }
.opp { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 16px 0; border-bottom: 1px dashed var(--line-2); align-items: start; }
.opp:last-child { border: 0; }
.opp .s { font-weight: 700; color: var(--bad); background: #ffe1df; padding: 4px 10px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; }
.shot { width: 100%; max-width: 230px; border-radius: 18px; box-shadow: var(--shadow-lg); }

/* План */
.weeks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.week { border-radius: var(--r); padding: 26px; background: var(--card); box-shadow: var(--shadow); }
.week .wk { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--display); padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.week h3 { font-size: 19px; margin-bottom: 4px; }
@media (max-width: 860px) { .weeks { grid-template-columns: 1fr; } }
.task { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line-2); cursor: pointer; }
.task:last-child { border: 0; }
.task input { appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--line-2); display: grid; place-items: center; cursor: pointer; transition: .15s; }
.task input:checked { background: var(--mint); box-shadow: none; }
.task input:checked::after { content: ''; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.task .tt { flex: 1; font-weight: 500; }
.task input:checked + .tt { color: var(--ink-3); text-decoration: line-through; }
.task .tm { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.plan-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.plan-progress .bar { flex: 1; height: 12px; }

/* Прогрес */
.progress-screen { max-width: 620px; margin: 48px auto 90px; text-align: center; }
.progress-screen h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -.03em; margin: 26px 0 8px; }
.loader { display: flex; justify-content: center; align-items: flex-end; gap: 10px; height: 110px; }
.loader i { width: 34px; border-radius: 12px; animation: bounce 1.2s ease-in-out infinite; }
.loader i:nth-child(1) { background: var(--sun); height: 56px; }
.loader i:nth-child(2) { background: var(--brand); height: 96px; animation-delay: .15s; }
.loader i:nth-child(3) { background: var(--mint); height: 72px; animation-delay: .3s; }
@keyframes bounce { 50% { transform: scaleY(.55); } }
.loader i { transform-origin: bottom; }
.pbar { height: 12px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 99px; overflow: hidden; margin: 26px 0 10px; padding: 2px; }
.pbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sun), var(--brand)); transition: width .6s; }
.stages { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; text-align: left; }
.stages li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); color: var(--ink-3); font-weight: 500; transition: .3s; }
.stages li .st { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); flex: none; display: grid; place-items: center; }
.stages li .st svg { width: 13px; height: 13px; }
.stages li.done { color: var(--ink); }
.stages li.done .st { background: var(--mint); color: #fff; }
.stages li.now { color: var(--ink); box-shadow: var(--shadow-lg), inset 0 0 0 2px var(--brand); }
.stages li.now .st { background: var(--brand-soft); }
.stages li.now .st::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); animation: pulse 1s infinite; }
@keyframes pulse { 50% { transform: scale(.6); opacity: .6; } }

.notice { padding: 14px 18px; border-radius: 16px; background: var(--sun-soft); font-size: 14.5px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.notice.info { background: var(--sky-soft); }
.notice.good { background: var(--mint-soft); }
.passed-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.passed-list li { padding: 7px 0 7px 30px; position: relative; break-inside: avoid; font-size: 14.5px; }
.passed-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312b07e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 700px) { .passed-list { columns: 1; } }
.kw { display: flex; flex-wrap: wrap; gap: 8px; }
.kw span { font-size: 14px; font-weight: 500; border-radius: 999px; padding: 6px 13px; }
.kw b { font-weight: 700; margin-left: 6px; opacity: .6; }
.diff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.diff > div { border-radius: var(--r); padding: 22px; }
.diff .value { font: 700 44px/1 var(--display); letter-spacing: -.04em; margin-top: 6px; }
@media (max-width: 700px) { .diff { grid-template-columns: 1fr; } }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; z-index: 100; font-weight: 500; box-shadow: var(--shadow-lg); animation: up .3s; }
@keyframes up { from { opacity: 0; translate: 0 10px; } }

/* Печат / PDF */
.print-only { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11.5px; }
  .nav, .tabs, .actions, .filters, .paywall, .copy, footer, .no-print { display: none !important; }
  .print-only { display: block; }
  .tab-panel { display: block !important; break-before: page; }
  .tab-panel:first-of-type { break-before: auto; }
  .card, .issue, .module, .metric, .week { box-shadow: none; border: 1px solid #eee; break-inside: avoid-page; }
  .issue .body { display: grid !important; }
  .urls { max-height: none; }
  pre.code { background: #f6f4f9; color: #000; }
}

/* ═════════ v3: тъмносин hero + синя гама ═════════ */
.btn { border-radius: 11px; }
.audit-form { border-radius: 14px; padding: 7px 7px 7px 18px; }
.audit-form .btn { border-radius: 10px; }
.logo .word { font: 800 25px/1 var(--display); letter-spacing: -.045em; }
.logo .word i { font-style: normal; color: var(--brand); }
.on-navy .logo .word { color: #fff; }

.hero-navy { position: relative; background: radial-gradient(900px 500px at 78% 30%, rgba(47,107,255,.35), transparent 60%), radial-gradient(700px 400px at 10% 110%, rgba(47,107,255,.18), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; overflow: hidden; padding: 72px 0 84px; text-align: left; }
.hero-navy::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 8px; background: rgba(47,107,255,.18); color: #9dbcff; box-shadow: inset 0 0 0 1px rgba(120,160,255,.3); }
.badge.light { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.hero-navy h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; margin: 20px 0 18px; letter-spacing: -.035em; text-align: left; max-width: none; }
.hero-navy h1 em { font-style: normal; color: #5b8cff; }
.hero-navy .lead { color: rgba(255,255,255,.78); font-size: 19px; margin: 0 0 22px; max-width: 520px; text-align: left; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 30px; font-weight: 500; font-size: 15px; }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .ok { width: 20px; height: 20px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; }
.hero-checks .ok svg { width: 12px; height: 12px; }
.hero-navy .audit-form { margin: 0; max-width: 560px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.45), 0 0 0 4px rgba(47,107,255,.25); }
.hero-navy .audit-form:focus-within { box-shadow: 0 20px 50px -10px rgba(0,0,0,.45), 0 0 0 4px rgba(47,107,255,.6); }
.hero-navy .form-error { color: #ff9a92; }
.hero-note { color: rgba(255,255,255,.55); font-size: 13.5px; margin-top: 2px; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .mock-wrap { display: none; } }

/* Макет на таблото */
.mock-wrap { perspective: 1800px; }
.mock { display: grid; grid-template-columns: 150px 1fr; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -20px rgba(0,0,0,.6); transform: rotateY(-9deg) rotateX(3deg); transform-origin: left center; backdrop-filter: blur(8px); color: var(--ink); font-size: 12px; }
.mock-side { background: rgba(7,20,51,.65); color: rgba(255,255,255,.7); padding: 18px 12px; display: grid; gap: 4px; align-content: start; }
.mock-side .logo .word { color: #fff; font-size: 17px; margin: 0 6px 14px; }
.mock-side span { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; font-size: 11.5px; }
.mock-side span svg { width: 13px; height: 13px; }
.mock-side span.on { background: var(--brand); color: #fff; }
.mock-main { background: var(--bg); padding: 18px; display: grid; gap: 12px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; }
.mock-head b { font: 800 16px var(--display); }
.mock-head small { display: block; color: var(--ink-3); font-size: 10.5px; }
.mock-btn { font-size: 10.5px; font-weight: 600; background: var(--card); padding: 6px 10px; border-radius: 8px; box-shadow: var(--shadow); }
.mock-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 10px; }
.mock-card { background: var(--card); border-radius: 12px; padding: 12px; box-shadow: var(--shadow); }
.mock-card .k { color: var(--ink-3); font-size: 10.5px; font-weight: 500; }
.mock-card .v { font: 800 22px/1.2 var(--display); letter-spacing: -.03em; margin-top: 4px; }
.mock-card svg.spark { width: 100%; height: 26px; margin-top: 6px; }
.mock-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.mock-bars { display: grid; gap: 9px; margin-top: 8px; }
.mock-bars div { display: grid; grid-template-columns: 80px 1fr 36px; gap: 8px; align-items: center; font-size: 10.5px; }
.mock-bars i { display: block; height: 6px; border-radius: 9px; background: var(--bg-2); position: relative; overflow: hidden; }
.mock-bars i::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: 9px; background: var(--c); }
.mock-legend { display: grid; gap: 6px; font-size: 10.5px; }
.mock-legend div { display: flex; align-items: center; gap: 6px; }
.mock-legend i { width: 7px; height: 7px; border-radius: 50%; }
.mock-legend b { margin-left: auto; }

/* Предимства */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature .ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; box-shadow: 0 10px 20px -8px var(--c); background: var(--c); }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* Пример от доклада */
.sample { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sample-table { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; }
.sample-tabs { display: flex; gap: 4px; padding: 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sample-tabs span { padding: 7px 12px; border-radius: 9px; }
.sample-tabs span.on { background: var(--brand-soft); color: var(--brand); }
.sample-tabs em { font-style: normal; background: var(--bad); color: #fff; font-size: 11px; padding: 1px 7px; border-radius: 99px; margin-left: 6px; }
.sample-row { display: grid; grid-template-columns: 28px 1fr 48px 110px; gap: 10px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.sample-row:last-child { border: 0; }
.sample-row .n { font-weight: 700; text-align: right; }
.sample-row .d { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; }
.sample-row .d svg { width: 12px; height: 12px; }
.sample h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 16px 0; }
.sample p { color: var(--ink-2); font-size: 18px; margin: 0 0 26px; }
@media (max-width: 920px) { .sample { grid-template-columns: 1fr; } }

/* 4 стъпки */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step4 { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; position: relative; }
.step4 .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; position: relative; }
.step4 .ico svg { width: 26px; height: 26px; }
.step4 .ico::before { counter-increment: s; content: counter(s); position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 12px/22px var(--font); text-align: center; box-shadow: 0 0 0 3px var(--bg); }
.step4 h3 { font: 700 16px/1.3 var(--display); margin: 2px 0 6px; letter-spacing: -.01em; }
.step4 p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 960px) { .steps4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; } }

/* Цени — v3 */
.plan.featured { background: var(--card); color: var(--ink); box-shadow: 0 0 0 2px var(--brand), var(--shadow-lg); transform: translateY(-8px); }
.plan.featured li::before { background-color: var(--mint-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312b07e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; padding: 6px 14px; }
.plan .price { font-family: var(--display); font-weight: 800; }

/* Финален CTA — v3 */
.cta-navy { background: radial-gradient(600px 300px at 85% 20%, rgba(47,107,255,.45), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 28px; padding: 64px 32px; text-align: center; position: relative; overflow: hidden; }
.cta-navy h2 { font-size: clamp(28px, 4vw, 46px); margin: 0 0 10px; }
.cta-navy p { color: rgba(255,255,255,.75); margin: 0 0 28px; font-size: 18px; }
.cta-navy .form-error { color: #ff9a92; }
.cta-navy svg.trend { position: absolute; right: 3%; bottom: 0; width: 280px; height: 140px; opacity: .8; pointer-events: none; }
body, h1, h2, h3, input, button { font-feature-settings: 'locl' 0; }

/* ═════════ Табло (SEO Control Center) ═════════ */
.app { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.side { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: rgba(255,255,255,.72); padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.side .logo { margin: 4px 10px 20px; }
.side .logo .word { color: #fff; }
.side-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.38); margin: 16px 12px 6px; }
.side a.item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 14.5px; transition: background .15s, color .15s; }
.side a.item:hover { background: rgba(255,255,255,.07); color: #fff; }
.side a.item.on { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -8px rgba(47,107,255,.8); }
.side a.item svg { width: 18px; height: 18px; flex: none; }
.side a.item .badge-n { margin-left: auto; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 99px; }
.side .spacer { flex: 1; }
.side .plan-box { background: rgba(255,255,255,.06); border-radius: 14px; padding: 14px; font-size: 13px; margin-top: 12px; }
.side .plan-box b { color: #fff; display: block; font-size: 15px; margin-bottom: 2px; }
.side .plan-box .btn { width: 100%; margin-top: 10px; }
.site-switch { margin: 0 4px 6px; position: relative; }
.site-switch select { width: 100%; appearance: none; background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/14px no-repeat; color: #fff; border: 0; border-radius: 10px; padding: 11px 36px 11px 12px; font: 600 14px var(--font); cursor: pointer; }
.site-switch select option { color: var(--ink); }
.main { min-width: 0; }
.topbar { display: flex; align-items: center; gap: 14px; padding: 18px 32px; position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 22px; margin: 0; }
.topbar .sub { color: var(--ink-3); font-size: 13.5px; }
.topbar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.content { padding: 28px 32px 60px; max-width: 1280px; }
.menu-btn { display: none; background: var(--card); border: 0; border-radius: 10px; width: 40px; height: 40px; box-shadow: var(--shadow); cursor: pointer; }
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 270px; z-index: 60; transform: translateX(-100%); transition: transform .25s; }
  .side.open { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.3); }
  .menu-btn { display: grid; place-items: center; }
  .topbar, .content { padding-left: 18px; padding-right: 18px; }
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-main { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
@media (max-width: 1100px) { .grid-main, .grid-2 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
.statc { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; }
.statc .k { font-size: 13px; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.statc .v { font: 800 30px/1.15 var(--display); letter-spacing: -.03em; margin-top: 8px; }
.statc .d { font-size: 13px; font-weight: 600; margin-top: 2px; }
.up { color: var(--good); } .down { color: var(--bad); } .flat { color: var(--ink-3); }
.card h3.ct { font-size: 17px; margin: 0 0 4px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card .cs { color: var(--ink-3); font-size: 13.5px; margin: 0 0 16px; }
.seg-tabs { display: inline-flex; gap: 2px; background: var(--bg-2); padding: 3px; border-radius: 10px; }
.seg-tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font: 600 13px var(--font); color: var(--ink-2); cursor: pointer; }
.seg-tabs button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(13,24,52,.12); }
.chart { position: relative; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart .tt { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -120%); opacity: 0; transition: opacity .1s; }
.chart .tt b { display: block; font-size: 14px; }
.mission { background: linear-gradient(135deg, var(--navy), #18337a); color: #fff; border-radius: var(--r); padding: 24px; position: relative; overflow: hidden; }
.mission::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,.6), transparent 70%); }
.mission h3 { color: #fff; font-size: 19px; margin: 0 0 4px; position: relative; }
.mission > p { color: rgba(255,255,255,.7); margin: 0 0 16px; position: relative; font-size: 14px; }
.m-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.07); margin-bottom: 8px; position: relative; text-decoration: none; transition: background .15s; }
.m-item:hover { background: rgba(255,255,255,.13); }
.m-item .n { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.m-item b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.m-item small { color: rgba(255,255,255,.62); font-size: 12.5px; }
.list-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.list-row:last-child { border: 0; }
.list-row .when { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; margin-left: auto; }
.dot-s { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex: none; }
.empty { text-align: center; padding: 48px 20px; color: var(--ink-2); }
.empty .ill { width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 16px; display: grid; place-items: center; }
.empty .ill svg { width: 34px; height: 34px; }
.empty h3 { font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.empty p { max-width: 460px; margin: 0 auto 18px; }
.connect-card { display: flex; gap: 18px; align-items: center; background: var(--card); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow), inset 0 0 0 2px var(--brand-soft); margin-bottom: 18px; }
.connect-card .g { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; flex: none; }
.connect-card .g svg { width: 24px; height: 24px; color: var(--brand); }
.connect-card .txt { flex: 1; }
.connect-card b { display: block; font-size: 16px; }
.connect-card span { color: var(--ink-2); font-size: 14px; }
@media (max-width: 700px) { .connect-card { flex-direction: column; align-items: flex-start; } }
.pos { font: 800 18px var(--display); }
.chg { font-size: 12.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.chg.up { background: var(--mint-soft); } .chg.down { background: #ffe1df; } .chg.flat { background: var(--bg-2); }
.star { border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--line-2); padding: 0 4px; }
.star.on { color: var(--sun); }
.search-in { border: 0; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 10px; padding: 10px 14px; font: 500 14px var(--font); min-width: 240px; outline: 0; }
.search-in:focus { box-shadow: inset 0 0 0 2px var(--brand); }
.oppc { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; margin-bottom: 12px; display: grid; gap: 10px; }
.opp-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.opp-head b { font-size: 16px; flex: 1; min-width: 220px; }
.gain { background: var(--mint-soft); color: #0b8a62; font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.kv { display: flex; gap: 8px; flex-wrap: wrap; }
.kv span { background: var(--bg); border-radius: 8px; padding: 5px 10px; font-size: 13px; color: var(--ink-2); }
.kv b { color: var(--ink); }
.task-card { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; }
.task-card .st-sel { border: 0; background: var(--bg-2); border-radius: 8px; padding: 7px 10px; font: 600 13px var(--font); cursor: pointer; color: var(--ink); }
.task-card .t { font-weight: 600; }
.task-card .note { font-size: 13px; color: var(--ink-2); margin-top: 6px; background: var(--bg); padding: 8px 10px; border-radius: 8px; }
.task-card.verified { opacity: .78; }
.task-card details summary { cursor: pointer; color: var(--brand); font-size: 13px; font-weight: 600; margin-top: 6px; list-style: none; }
.verified-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--mint-soft); color: #0b8a62; font-weight: 700; font-size: 12.5px; padding: 5px 10px; border-radius: 99px; white-space: nowrap; }
.verified-badge svg { width: 13px; height: 13px; }
.kanban-head { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.change-old { color: var(--bad); text-decoration: line-through; word-break: break-word; }
.change-new { color: var(--good); word-break: break-word; }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: radial-gradient(700px 400px at 70% 20%, rgba(47,107,255,.4), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); margin: 0 0 14px; }
.auth-side p { color: rgba(255,255,255,.75); font-size: 17px; }
.auth-side ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.auth-side li { display: flex; gap: 10px; align-items: center; }
.auth-side li span { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.auth-side li span svg { width: 12px; height: 12px; color: #fff; }
.auth-form { display: grid; place-items: center; padding: 32px 20px; }
.auth-form form { width: 100%; max-width: 380px; }
.auth-form h1 { font-size: 28px; margin-bottom: 6px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { border: 0; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2); border-radius: 11px; padding: 13px 14px; font: 500 15px var(--font); color: var(--ink); outline: 0; }
.field input:focus { box-shadow: inset 0 0 0 2px var(--brand); }
.auth-form .btn { width: 100%; margin-top: 6px; }
.auth-form .alt { text-align: center; margin-top: 18px; color: var(--ink-2); font-size: 14px; }
.auth-form .alt a { color: var(--brand); font-weight: 600; text-decoration: none; }
.err { color: var(--bad); font-size: 14px; font-weight: 500; min-height: 20px; margin: 4px 0 8px; }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 99px; cursor: pointer; transition: .2s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(18px); }
.setting { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px dashed var(--line-2); }
.setting:last-child { border: 0; }
.setting b { display: block; }
.setting span { color: var(--ink-2); font-size: 14px; }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
.plans-grid .plan { padding: 24px; }
.plans-grid .plan .price { font-size: 38px; margin: 12px 0 4px; }
.plans-grid .plan ul { margin: 16px 0 20px; gap: 8px; }
.plans-grid .plan li { font-size: 14px; }
.plans-grid .plan.current { box-shadow: 0 0 0 2px var(--mint), var(--shadow); }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.live.busy i { background: var(--brand); animation: pulse 1s infinite; box-shadow: 0 0 0 3px var(--brand-soft); }
.pricing.four { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pricing.four .plan { padding: 26px 22px; }
.pricing.four .plan .price { font-size: 44px; }
@media (max-width: 1100px) { .pricing.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing.four { grid-template-columns: 1fr; } }

/* Стандартни кирилски форми (Montserrat иначе показва българските алтернативи при lang=bg) */
*, *::before, *::after { font-feature-settings: 'locl' 0 !important; }

/* ═════════ Чеклист, конкуренти, работоспособност, модален прозорец ═════════ */
.onb { box-shadow: var(--shadow), inset 0 0 0 2px var(--brand-soft); }
.onb-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.onb-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.onb-step { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--bg); text-decoration: none; color: var(--ink); transition: background .15s, box-shadow .15s; }
.onb-step:hover { box-shadow: inset 0 0 0 1.5px var(--brand); background: #fff; }
.onb-step b { display: block; font-size: 13.5px; line-height: 1.3; }
.onb-step small { color: var(--ink-3); font-size: 12px; line-height: 1.35; display: block; margin-top: 2px; }
.onb-n { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--line-2); font-weight: 800; font-size: 12.5px; color: var(--ink-2); }
.onb-n svg { width: 13px; height: 13px; }
.onb-step.ok { opacity: .65; }
.onb-step.ok .onb-n { background: var(--mint); color: #fff; box-shadow: none; }
.onb-step.ok b { text-decoration: line-through; }
@media (max-width: 1100px) { .onb-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .onb-steps { grid-template-columns: 1fr; } }
.trial-chip { display: inline-block; margin-bottom: 8px; font-size: 11.5px; font-weight: 800; color: var(--navy); background: linear-gradient(90deg, #7aa2ff, #b9cdff); padding: 3px 9px; border-radius: 99px; }
.comp-t th.own, .comp-t td.own { background: rgba(47,107,255,.06); }
.comp-t thead th.own { background: var(--navy); color: #fff; }
.comp-t td.win { font-weight: 700; color: var(--good); }
.comp-t .crown { color: var(--sun); }
.upbar { display: flex; gap: 3px; margin-top: 14px; }
.upbar i { flex: 1; height: 26px; border-radius: 4px; background: var(--mint); opacity: .85; }
.upbar i.down { background: var(--bad); }
.modal-bg { position: fixed; inset: 0; z-index: 200; background: rgba(7,20,51,.55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: up .2s; }
.modal { background: #fff; border-radius: 22px; padding: 30px; max-width: 420px; text-align: center; box-shadow: var(--shadow-lg); }
.modal h3 { font-size: 21px; margin: 12px 0 8px; }
.modal p { color: var(--ink-2); margin: 0 0 20px; }
.modal-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto; }
.modal-ic svg { width: 26px; height: 26px; }
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; gap: 10px; align-items: center; background: rgba(7,20,51,.94); backdrop-filter: blur(10px); color: #fff; border-radius: 16px; padding: 10px 10px 10px 16px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .3s; }
  .sticky-cta.show { transform: none; }
  .sticky-cta span { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.3; }
  .sticky-cta small { display: block; opacity: .65; font-weight: 500; font-size: 12px; }
}
.proof-line { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.7); display: none; }
.proof-line b { color: #fff; }
/* ═════════ v8: мобилно меню в таблото ═════════ */
.menu-btn{position:relative;width:42px;height:42px;border-radius:12px;padding:0;color:var(--ink);transition:background .25s,color .25s}
.menu-btn span{position:absolute;left:11px;height:2px;border-radius:2px;background:currentColor;transition:top .3s cubic-bezier(.7,0,.2,1),transform .35s cubic-bezier(.7,0,.2,1),width .3s,opacity .2s}
.menu-btn span:nth-child(1){top:14px;width:20px}
.menu-btn span:nth-child(2){top:20px;width:13px}
.menu-btn span:nth-child(3){top:26px;width:17px}
.menu-btn:hover span{width:20px}
body.side-open .menu-btn{background:linear-gradient(180deg,#4a80ff,#2559f0);color:#fff;box-shadow:0 8px 20px -8px rgba(47,107,255,.9);position:relative;z-index:70}
body.side-open .menu-btn span:nth-child(1){top:20px;width:20px;transform:rotate(45deg)}
body.side-open .menu-btn span:nth-child(2){opacity:0;transform:translateX(10px)}
body.side-open .menu-btn span:nth-child(3){top:20px;width:20px;transform:rotate(-45deg)}
.side-back{display:none}
@media (max-width:960px){
  .side-back{display:block;position:fixed;inset:0;z-index:55;background:rgba(5,15,40,.5);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .25s}
  body.side-open .side-back{opacity:1;pointer-events:auto}
  body.side-open{overflow:hidden}
  .side{transition:transform .32s cubic-bezier(.2,.7,.2,1)}
}

/* ═════════ Следени ключови думи ═════════ */
.kw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.kw-card{border-radius:16px;padding:16px;box-shadow:inset 0 0 0 1.5px var(--line);display:grid;gap:10px;background:var(--card)}
.kw-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.kw-top b{font-size:15px;word-break:break-word}
.kw-mid{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;min-height:58px}

/* ═════════ Админ: настройка ═════════ */
.setup-banner{display:flex;gap:14px;align-items:center;background:linear-gradient(135deg,#0b2a6b,#1b4ad6);color:#fff;border-radius:18px;padding:16px 20px;margin-bottom:18px;text-decoration:none;box-shadow:0 14px 30px -18px rgba(11,42,107,.7)}
.setup-banner .sb-n{flex:none;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.15);display:grid;place-items:center;font:800 18px var(--display)}
.setup-banner b{display:block;font-size:15.5px}.setup-banner small{color:#c9d7f5;font-size:13.5px}
.setup-banner .sb-go{margin-left:auto;font-weight:700;white-space:nowrap}
.setup-head{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.setup-g{margin-bottom:12px;padding:0}
.setup-g summary{list-style:none;cursor:pointer;display:flex;gap:14px;align-items:center;padding:18px 22px}
.setup-g summary::-webkit-details-marker{display:none}
.sg-n{flex:none;width:36px;height:36px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-weight:800}
.sg-n.ok{background:var(--mint-soft);color:var(--good)}.sg-n svg{width:18px;height:18px}
.sg-t b{display:block;font-size:16px}.sg-t small{color:var(--ink-3);font-size:13px}
.sg-x{margin-left:auto;color:var(--ink-3);transition:transform .2s}.sg-x svg{width:18px;height:18px}
.setup-g[open] .sg-x{transform:rotate(180deg)}
.sg-why{margin:0 22px 14px;color:var(--ink-2);font-size:14.5px;background:var(--bg);border-radius:12px;padding:12px 14px}
.sg-steps{margin:0 22px 16px;padding-left:22px;display:grid;gap:10px;font-size:14.5px;line-height:1.6;color:var(--ink)}
.sg-steps a{color:var(--brand);font-weight:700}
.cp{display:inline-flex;align-items:center;gap:6px;background:var(--bg-2);border-radius:8px;padding:2px 4px 2px 8px;margin:2px 0;max-width:100%;vertical-align:middle}
.cp code{font-size:13px;word-break:break-all}
.cp button{border:0;background:var(--brand);color:#fff;font-size:12px;font-weight:700;border-radius:6px;padding:4px 8px;cursor:pointer}
.sg-fields{display:grid;gap:12px;margin:0 22px 14px}
.sg-f label{display:block;font-size:13.5px;font-weight:700;margin-bottom:6px}
.sg-ok{color:var(--good);font-weight:600}
.sg-row{display:flex;gap:8px;flex-wrap:wrap}.sg-row input{flex:1;min-width:220px}
.sg-test{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 22px 20px}
.sg-res{font-size:14px;color:var(--ink-2)}.sg-res.ok{color:var(--good);font-weight:600}.sg-res.bad{color:var(--bad);font-weight:600}
