:root {
    --ink: #162033;
    --ink-2: #2a3447;
    --muted: #667085;
    --soft: #eef3f7;
    --paper: #f7f9fb;
    --white: #ffffff;
    --line: #dce4ec;
    --line-strong: #c8d3df;
    --green: #0b8f6a;
    --green-2: #13b889;
    --blue: #0d4cd3;
    --blue-2: #1d5deb;
    --cyan: #0f90a8;
    --red: #d94841;
    --amber: #d69524;
    --shadow-sm: 0 10px 30px rgba(22, 32, 51, .08);
    --shadow: 0 24px 70px rgba(22, 32, 51, .12);
    --radius: 10px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(90deg, rgba(13, 76, 211, .035) 1px, transparent 1px) 0 0 / 80px 80px,
        linear-gradient(rgba(13, 76, 211, .03) 1px, transparent 1px) 0 0 / 80px 80px,
        linear-gradient(180deg, #fbfcfe 0%, #f5f8fb 42%, #ffffff 100%);
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.ui-icon {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bi {
    display: block;
    font-size: 22px;
    line-height: 1;
}

.icon-box,
.card-icon,
.panel-icon,
.article-icon,
.step-top i {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(200, 211, 223, .82);
    color: var(--blue);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(239, 245, 252, .92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 24px rgba(13, 76, 211, .08);
}

.icon-box,
.card-icon,
.article-icon,
.step-top i {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.panel-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    color: var(--green);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    min-height: 70px;
    margin: 0;
    padding: 12px max(24px, calc((100% - 1180px) / 2));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    border: 0;
    border-bottom: 1px solid rgba(200, 211, 223, .6);
    border-radius: 0;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(22px);
    box-shadow: 0 2px 14px rgba(22, 32, 51, .05);
    box-sizing: border-box;
    overflow: visible;
}

.brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    min-height: 46px;
    padding-left: 74px;
    font-weight: 800;
    color: var(--ink);
}

.brand-text {
    display: grid;
    gap: 1px;
    min-width: 0;
    font-size: 13px;
    line-height: 1.06;
    letter-spacing: 0;
    font-weight: 800;
}

.brand-text span {
    display: block;
    white-space: nowrap;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    position: absolute;
    left: -12px;
    top: 50%;
    z-index: 2;
    width: 82px;
    height: 92px;
    margin: 0;
    transform: translateY(-50%);
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(13, 76, 211, .22));
}

.nav-links {
    justify-self: center;
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.nav-links a {
    position: relative;
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #3b4659;
    font-size: 13px;
    font-weight: 800;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    overflow: visible;
}

.nav-links a::before {
    content: "";
    position: absolute;
    inset: 4px 4px 3px;
    z-index: -1;
    border-radius: 9px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(240,246,252,.72));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 28px rgba(22,32,51,.06);
    opacity: 0;
    transition: opacity .2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 1px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .2s ease, transform .2s ease;
}

.nav-links a:hover {
    transform: translateY(-1px);
    color: #0b2d67;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 10px;
    color: #fff;
    background:
        linear-gradient(180deg, #2b6cff 0%, #0d4cd3 58%, #083895 100%);
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(13, 76, 211, .28), inset 0 1px 0 rgba(255,255,255,.28);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.nav-cta::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 48%;
    border-radius: 9px 9px 12px 12px;
    background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0));
    pointer-events: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 18px 42px rgba(13, 76, 211, .34), inset 0 1px 0 rgba(255,255,255,.32);
}

.hero {
    position: relative;
    min-height: 720px;
    margin-top: -80px;
    padding: 168px max(24px, calc((100vw - 1180px) / 2)) 92px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
    gap: 54px;
    align-items: center;
    overflow: hidden;
    color: var(--ink);
    background: #f6f9fc;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 76, 211, .055) 1px, transparent 1px) 0 0 / 80px 80px,
        linear-gradient(rgba(13, 76, 211, .045) 1px, transparent 1px) 0 0 / 80px 80px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.96), rgba(0,0,0,.3));
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .42;
}

.hero-content, .hero-console, .hero-visual {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

h1, h2, h3, p { margin: 0; }

h1 {
    max-width: 820px;
    font-size: clamp(42px, 4.05vw, 60px);
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 800;
}

h1 span { display: block; }

.nowrap {
    white-space: nowrap;
    font-style: inherit;
}

.hero-lead {
    max-width: 720px;
    margin-top: 24px;
    color: #4d5b70;
    font-size: clamp(17px, 1.7vw, 21px);
    line-height: 1.66;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn > i.bi {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 18px 42px rgba(13, 76, 211, .22);
}

.btn.primary:hover { background: #0a3ead; }

.btn.secondary {
    color: var(--ink);
    background: #fff;
    border-color: var(--line-strong);
    box-shadow: 0 10px 26px rgba(22, 32, 51, .08);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.trust-row span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .76);
    color: #526176;
    font-size: 13px;
    font-weight: 800;
}

.hero-console {
    width: 100%;
    padding: 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .84);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(13, 76, 211, .12);
    overflow: hidden;
}

.hero-visual {
    align-self: center;
    min-height: 520px;
}

.hero-visual img {
    width: min(720px, 100%);
    height: auto;
    display: block;
    border-radius: 24px;
    filter: drop-shadow(0 30px 70px rgba(13, 76, 211, .18));
    transform: translateX(-2%);
}

.audit-float {
    position: absolute;
    min-width: 180px;
    padding: 14px 16px;
    border: 1px solid rgba(200, 211, 223, .88);
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(22, 32, 51, .12);
}

.audit-float span,
.audit-float small {
    display: block;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.audit-float strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.05;
    font-weight: 800;
}

.audit-float.main {
    left: 0;
    bottom: 66px;
}

.audit-float.risk {
    right: 20px;
    top: 52px;
}

.audit-float.risk strong { color: var(--red); }

.audit-float.ok {
    right: 72px;
    bottom: 12px;
}

.audit-float.ok strong { color: var(--green); }

.console-top {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    color: #6d788b;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
}

.console-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
}

.console-top span:nth-child(2) { background: var(--amber); }
.console-top span:nth-child(3) { background: var(--green-2); }
.console-top strong { margin-left: auto; font-weight: 600; }

.console-line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    margin-top: 10px;
    padding: 13px 14px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #f8fafc;
    color: #344054;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    overflow-wrap: anywhere;
    min-width: 0;
}

.console-line b { font-family: "IBM Plex Mono", monospace; }
.console-line b {
    min-width: 26px;
    color: var(--blue);
    font-weight: 600;
}
.console-line span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.console-line.danger b { color: var(--red); }
.console-line.warn b { color: var(--amber); }
.console-line.ok b { color: var(--green); }

.console-meter {
    height: 10px;
    margin: 20px 0 10px;
    background: #e7edf3;
    border-radius: 999px;
    overflow: hidden;
}

.console-meter span {
    display: block;
    height: 100%;
    width: var(--w);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--red), var(--amber), var(--green-2));
    animation: meter 2.8s ease-in-out infinite alternate;
}

.hero-console small {
    color: #667085;
    font-weight: 700;
}

section:not(.hero):not(.cookie-panel):not(.check-stage):not(.chat-widget):not(.check-modal-body section) {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 92px 0;
}
.check-stage { padding: 0; margin: 0; width: auto; }

.section-head {
    max-width: 790px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-head.left {
    margin-left: 0;
    text-align: left;
}

.section-head h2, .blog-hero h1, .article-hero h1 {
    color: var(--ink);
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
}

.section-head p, .blog-hero p, .article-hero p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    font-weight: 600;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.risk-card {
    position: relative;
    min-height: 210px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--ink);
}

.risk-card::after {
    content: "";
    position: absolute;
    inset: auto 18px 18px 18px;
    height: 5px;
    border-radius: 999px;
    background: var(--red);
}

.risk-card strong {
    display: block;
    max-width: 100%;
    margin-top: 18px;
    color: var(--red);
    font-size: clamp(32px, 3.1vw, 40px);
    line-height: 1.05;
    font-weight: 800;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.risk-card p {
    margin-top: 16px;
    color: #3d4758;
    line-height: 1.5;
    font-weight: 700;
}

.risk-card.black strong { color: var(--blue); }
.risk-card.safe strong { color: var(--green); }
.risk-card.black::after { background: var(--blue); }
.risk-card.safe::after { background: var(--green); }
.risk-card.danger .card-icon { color: var(--red); }
.risk-card.safe .card-icon { color: var(--green); }

.ticker {
    margin-top: 18px;
    overflow: visible;
}

.ticker div {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.ticker span {
    min-height: 46px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .88);
    color: #536176;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(22, 32, 51, .06);
}

.solution-layout {
    display: grid;
    grid-template-columns: 1fr .72fr;
    gap: 18px;
    align-items: stretch;
}

.check-panel, .promise-panel, .price-card, .cms-track article, .article-card, .contact-card, details, .article-cta {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.88)),
        rgba(255,255,255,.9);
    box-shadow: var(--shadow-sm);
}

.check-panel {
    padding: 12px;
    display: grid;
    gap: 10px;
}

.check-row {
    display: grid;
    grid-template-columns: 38px 44px 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #293548;
    line-height: 1.35;
    background: rgba(255, 255, 255, .58);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.check-row:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 76, 211, .16);
    background: #fff;
}

.check-row .check-index {
    color: var(--green);
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    padding-top: 10px;
}

.check-row strong {
    display: block;
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
}

.check-row p {
    margin-top: 5px;
    color: #617088;
    font-size: 13px;
    line-height: 1.48;
    font-weight: 650;
}

.promise-panel {
    position: relative;
    padding: 22px 26px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 8%, rgba(13, 76, 211, .16), transparent 32%),
        linear-gradient(135deg, rgba(13, 76, 211, .08), rgba(19, 184, 137, .08)),
        #fff;
}

.promise-panel::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(13, 76, 211, .12);
    border-radius: 50%;
}

.promise-visual {
    position: relative;
    z-index: 1;
    margin: -6px -10px 24px;
    min-height: 218px;
    overflow: hidden;
    border: 1px solid rgba(198, 212, 229, .72);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.92), rgba(241,247,255,.72)),
        #fff;
    box-shadow: 0 18px 42px rgba(31, 70, 128, .12);
}

.promise-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.76));
    pointer-events: none;
}

.promise-visual img {
    width: 100%;
    height: 100%;
    min-height: 218px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.promise-panel h3 {
    position: relative;
    z-index: 1;
    margin-top: 0;
    color: var(--ink);
    font-size: 30px;
    line-height: 1.08;
    font-weight: 800;
}

.promise-panel p {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    color: #58677c;
    line-height: 1.65;
    font-weight: 600;
}

.mini-kpis {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.mini-kpis span {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.72);
    color: #4b5b70;
    font-weight: 800;
}

.mini-kpis b {
    color: var(--green);
    font-size: 22px;
}

.cookie-section {
    display: grid;
    grid-template-columns: .95fr 1fr;
    gap: 46px;
    align-items: center;
}

.demo-browser {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    transform: rotate(-1deg);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    background: #f5f8fb;
}

.browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
}

.browser-bar span:nth-child(2) { background: var(--amber); }
.browser-bar span:nth-child(3) { background: var(--green); }
.browser-bar em {
    margin-left: auto;
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
}

.demo-page {
    position: relative;
    min-height: 430px;
    padding: 28px;
    background:
        linear-gradient(90deg, rgba(39, 94, 254, .055) 1px, transparent 1px) 0 0 / 44px 44px,
        #fff;
}

.demo-line {
    width: 62%;
    height: 18px;
    margin-bottom: 12px;
    border-radius: 5px;
    background: #e4ebf2;
}

.demo-line.wide { width: 82%; height: 32px; background: #d3dce7; }
.demo-box {
    height: 180px;
    margin-top: 34px;
    border: 1px dashed #b9c7d6;
    border-radius: 8px;
}

.demo-consent {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
}

.demo-consent p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.demo-buttons {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.demo-buttons span {
    flex: 1;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #f7fafc;
    text-align: center;
    color: #425066;
    font-size: 12px;
    font-weight: 800;
}

.demo-buttons span:last-child {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
}

.text-link {
    display: inline-flex;
    margin-top: 22px;
    color: var(--blue);
    font-weight: 800;
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.timeline article {
    position: relative;
    min-height: 250px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 250, 254, .92)),
        #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.timeline article::after {
    content: "";
    position: absolute;
    inset: auto -35px -55px auto;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: rgba(13, 76, 211, .055);
}

.timeline article:hover {
    transform: translateY(-5px);
    border-color: rgba(13, 76, 211, .28);
    box-shadow: var(--shadow);
}

.step-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 34px;
}

.timeline span {
    color: var(--blue);
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
}

.timeline h3 {
    position: relative;
    z-index: 1;
    font-size: 20px;
    line-height: 1.12;
    font-weight: 800;
}

.timeline p {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
    font-weight: 600;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.price-card {
    position: relative;
    min-height: 560px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.price-card::before,
.cms-track article::before,
.seo-cluster-card::before,
.article-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    opacity: .72;
}

.price-card:hover,
.cms-track article:hover,
.seo-cluster-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 76, 211, .28);
    box-shadow: var(--shadow);
}

.price-card.featured {
    border-color: rgba(11, 143, 106, .35);
    background:
        linear-gradient(180deg, rgba(13, 76, 211, .08), rgba(19, 184, 137, .05)),
        #fff;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
}

.package-mark {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 34px;
    border: 1px solid rgba(13, 76, 211, .18);
    border-radius: 999px;
    color: var(--blue);
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(238,245,255,.88));
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 22px rgba(13,76,211,.08);
}

.price-card.featured .package-mark {
    color: var(--green);
    border-color: rgba(11, 143, 106, .24);
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(234,249,244,.9));
}

.price-tag {
    margin-top: 16px;
    align-self: flex-start;
    padding: 7px 9px;
    border-radius: 7px;
    color: var(--green);
    background: rgba(11, 143, 106, .1);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.price-card h3 {
    margin-top: 18px;
    font-size: 28px;
    font-weight: 800;
}

.price-card strong {
    margin-top: 12px;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
}

.price-card small {
    margin-top: 8px;
    color: var(--muted);
    font-weight: 800;
}

.price-card p {
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.58;
    font-weight: 600;
}

.price-card ul {
    display: grid;
    gap: 10px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.price-card li {
    position: relative;
    padding-left: 20px;
    color: #4b5b70;
    line-height: 1.45;
    font-weight: 650;
}

.price-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: var(--green);
}

.price-card .btn { margin-top: auto; }

.cms-slider {
    position: relative;
}

.cms-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 1fr);
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(13, 76, 211, .34) transparent;
}

.cms-track::-webkit-scrollbar { height: 8px; }
.cms-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(13, 76, 211, .34);
}

.cms-track article {
    min-height: 250px;
    padding: 20px;
    scroll-snap-align: start;
}

.cms-track article,
.seo-cluster-card,
.article-card {
    position: relative;
    overflow: hidden;
}

.cms-track h3 {
    margin-top: 18px;
    font-size: 22px;
    font-weight: 800;
}
.cms-track p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.5;
    font-weight: 600;
}

.slider-controls {
    position: absolute;
    top: -88px;
    right: 0;
    display: flex;
    gap: 8px;
}

.slider-controls button {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    color: var(--blue);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease;
}

.slider-controls button:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 76, 211, .36);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.slider-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(102, 112, 133, .28);
    transition: width .2s ease, background .2s ease;
}

.slider-dots span.active {
    width: 24px;
    background: var(--blue);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    perspective: 1200px;
}

.article-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 20px;
    border-color: rgba(205, 219, 237, .82);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.88)),
        #fff;
    isolation: isolate;
    transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease, background .26s ease;
}

.article-card::after {
    content: "";
    position: absolute;
    inset: 4px;
    z-index: -1;
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(13, 76, 211, .08), transparent 34%),
        linear-gradient(315deg, rgba(19, 184, 137, .1), transparent 38%);
    opacity: 0;
    transition: opacity .26s ease;
}

.article-card:hover {
    transform: translateY(-7px) rotateX(1deg);
    border-color: rgba(39, 94, 254, .38);
    box-shadow: 0 24px 70px rgba(24, 54, 96, .16);
}

.article-card:hover::after {
    opacity: 1;
}

.article-card span {
    margin-top: 18px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.article-card h2, .article-card h3 {
    margin-top: 20px;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
}

.article-card p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
    font-weight: 600;
}

.article-card small {
    margin-top: auto;
    padding-top: 20px;
    color: #7b8798;
    font-weight: 800;
}

.article-card small::after {
    content: "→";
    display: inline-block;
    margin-left: 8px;
    color: var(--blue);
    transition: transform .2s ease;
}

.article-card:hover small::after {
    transform: translateX(4px);
}

.seo-article-index {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.keyword-link-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.keyword-link-panel a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(200, 211, 223, .86);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #304158;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(31, 70, 128, .06);
}

.keyword-link-panel a:hover {
    color: var(--blue);
    border-color: rgba(13, 76, 211, .32);
}

.seo-cluster-section {
    position: relative;
}

.seo-cluster-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.seo-cluster-card {
    min-height: 240px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(13, 76, 211, .035), transparent 58%),
        rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.seo-cluster-card h3 {
    margin-top: 18px;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.18;
    font-weight: 800;
}

.seo-cluster-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 650;
}

.service-points {
    display: grid;
    gap: 9px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.service-points li {
    position: relative;
    padding-left: 22px;
    color: #39475c;
    font-size: 13px;
    line-height: 1.42;
    font-weight: 750;
}

.service-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .52em;
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(11, 143, 106, .08);
}

.faq-section {
    position: relative;
}

.faq-section::before {
    content: "";
    position: absolute;
    inset: 120px -60px auto auto;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(13, 76, 211, .08);
    border-radius: 50%;
    pointer-events: none;
}

.faq-list {
    max-width: 1100px;
    margin: 0 auto;
    column-count: 3;
    column-gap: 14px;
    counter-reset: faq;
}

details { overflow: hidden; }

.faq-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 14px;
    break-inside: avoid;
    counter-increment: faq;
    overflow: hidden;
    border-color: rgba(200, 211, 223, .9);
    background:
        radial-gradient(circle at 100% 0, rgba(13, 76, 211, .08), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,254,.94));
    box-shadow: 0 14px 42px rgba(22, 32, 51, .075);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.faq-item:hover,
.faq-item[open] {
    transform: translateY(-2px);
    border-color: rgba(13, 76, 211, .24);
    box-shadow: 0 22px 58px rgba(22, 32, 51, .11);
}

summary {
    cursor: pointer;
    padding: 18px 54px 18px 18px;
    color: var(--ink);
    font-weight: 800;
    list-style: none;
}

.faq-item summary {
    position: relative;
    min-height: 82px;
    display: grid;
    align-content: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.28;
}

.faq-item summary::before {
    content: counter(faq, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(13, 76, 211, .14);
    border-radius: 999px;
    color: var(--blue);
    background: rgba(13, 76, 211, .06);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 700;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(200, 211, 223, .92);
    border-radius: 8px;
    color: var(--blue);
    background: #fff;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(13, 76, 211, .08);
}

.faq-item[open] summary::after {
    content: "−";
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

summary::-webkit-details-marker { display: none; }
details p {
    padding: 0 18px 20px;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 600;
}

.faq-item p {
    margin-top: -2px;
    color: #4f5f75;
    font-size: 14px;
}

.contact-section { padding-bottom: 116px; }

.contact-card {
    display: grid;
    grid-template-columns: .86fr 1.08fr;
    gap: 36px;
    padding: 34px;
    background:
        radial-gradient(circle at 18% 18%, rgba(13, 76, 211, .14), transparent 30%),
        linear-gradient(135deg, rgba(13, 76, 211, .08), rgba(19, 184, 137, .06)),
        #fff;
}

.contact-copy,
.contact-form-wrap {
    min-width: 0;
}

.contact-card h2 {
    max-width: 560px;
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.04;
    font-weight: 800;
}

.contact-card p {
    margin-top: 16px;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 600;
}

.scan-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.scan-preview span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #39475c;
    background: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 800;
}

.scan-preview .ui-icon {
    width: 20px;
    height: 20px;
    color: var(--blue);
}

.report-note {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 14px;
    border: 1px solid rgba(11, 143, 106, .24);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(235, 249, 245, .88));
    box-shadow: 0 14px 38px rgba(14, 37, 70, .08);
}

.report-note strong {
    display: grid;
    place-items: center;
    min-width: 84px;
    min-height: 54px;
    border-radius: 10px;
    color: var(--green);
    background: rgba(19, 184, 137, .11);
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
}

.report-note span {
    color: #40516a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.lead-form {
    display: grid;
    gap: 12px;
}

.lead-form label {
    display: grid;
    gap: 8px;
    color: #4b5b70;
    font-size: 13px;
    font-weight: 800;
}

.lead-form input, .lead-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    outline: none;
    color: var(--ink);
    background: rgba(255,255,255,.86);
}

.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(39, 94, 254, .12);
}

.contact-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.consent-check {
    display: grid !important;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px !important;
    padding: 12px;
    border: 1px solid rgba(200, 211, 223, .9);
    border-radius: 10px;
    background: rgba(255, 255, 255, .78);
    color: #536176 !important;
    font-size: 12px !important;
    line-height: 1.45;
}

.consent-check input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    padding: 0;
    accent-color: var(--blue);
}

.consent-check a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-success {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid rgba(11, 143, 106, .32);
    border-radius: 8px;
    color: #0f684f;
    background: rgba(19, 184, 137, .1);
    font-weight: 800;
    line-height: 1.45;
}

.form-error {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid rgba(224, 70, 66, .3);
    border-radius: 8px;
    color: #9c2f2c;
    background: rgba(224, 70, 66, .08);
    font-weight: 800;
    line-height: 1.45;
}

.form-note {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.footer {
    padding: 40px max(24px, calc((100vw - 1180px) / 2)) 24px;
    border-top: 1px solid rgba(200, 211, 223, .7);
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 0, rgba(13, 76, 211, .08), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,249,252,.92));
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.18fr) .72fr .82fr minmax(250px, .9fr);
    gap: 14px;
    align-items: stretch;
}

.footer-about,
.footer-col {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(200, 211, 223, .68);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,251,255,.72));
    box-shadow: 0 10px 30px rgba(22, 32, 51, .045);
}

.footer p, .footer a, .footer span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.46;
    font-weight: 600;
}

.footer strong {
    display: block;
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.footer-col a {
    width: fit-content;
    color: #4d5c72;
    transition: color .2s ease, transform .2s ease;
}

.footer-col a:hover {
    color: var(--blue);
    transform: translateX(2px);
}

.footer-lockup {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 0 0 12px !important;
    color: var(--ink) !important;
}

.footer-mark {
    display: grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 !important;
}

.footer-mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 12px rgba(13, 76, 211, .16));
}

.footer-name {
    display: grid !important;
    gap: 1px;
    margin: 0 !important;
    color: var(--ink) !important;
    font-size: 12px !important;
    line-height: 1.08 !important;
    font-weight: 850 !important;
}

.footer-name span {
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.footer-contact-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
}

.footer-contact-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    margin: 0;
    padding: 0 9px;
    border: 1px solid rgba(200, 211, 223, .82);
    border-radius: 10px;
    color: #26364d;
    background: rgba(255,255,255,.86);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.footer-contact-row a .ui-icon,
.footer-contact-row a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    font-size: 15px;
    line-height: 1;
    color: var(--blue);
}

/* span с display:inline-flex тянется по baseline и съезжает вниз на ~3.5px;
   display:flex убирает baseline-смещение и центрирует текст ровно по иконке */
.footer-contact-row a span {
    display: flex;
    align-items: center;
    line-height: 1;
    /* компенсация descender шрифта Manrope: визуально центрирует текст по иконке */
    transform: translateY(-3.5px);
}

.footer-note span {
    color: #5c6b80;
}

.footer-mini-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    margin-top: 14px !important;
    padding: 0 14px;
    border-radius: 10px;
    color: #fff !important;
    background: linear-gradient(180deg, #2b6cff, #0d4cd3);
    font-size: 12px !important;
    font-weight: 900 !important;
    box-shadow: 0 12px 24px rgba(13, 76, 211, .18);
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(200, 211, 223, .7);
    color: #8491a3;
    font-size: 11px;
    font-weight: 600;
}

.cookie-open {
    position: fixed;
    z-index: 70;
    right: 16px;
    bottom: 16px;
    min-width: 68px;
    min-height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.cookie-panel {
    position: fixed;
    z-index: 80;
    left: auto !important;
    right: 16px;
    bottom: 68px;
    width: 380px !important;
    max-width: calc(100vw - 32px);
    min-height: 0 !important;
    max-height: calc(100svh - 120px);
    margin: 0 !important;
    display: none;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px !important;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    box-shadow: 0 18px 46px rgba(22, 32, 51, .16);
    overflow: auto;
}

.cookie-panel.is-visible { display: grid; animation: rise .28s ease both; }
.cookie-panel p {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.45;
    font-size: 12px;
    font-weight: 600;
}

.cookie-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.cookie-toggles label {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: #4b5b70;
    font-size: 12px;
    font-weight: 800;
}

.cookie-actions {
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cookie-actions button {
    width: auto !important;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font-weight: 800;
    font-size: 12px;
}

.cookie-actions button:nth-child(2) {
    grid-column: 1 / -1;
    order: 3;
}

.cookie-actions button:last-child {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.blog-page, .article-page, .legal-page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0 110px;
}

.blog-hero, .article-hero {
    position: relative;
    padding: 62px 0 38px;
    text-align: left;
}

.blog-hero {
    min-height: 360px;
    display: grid;
    align-content: end;
    padding: 78px 42px 46px;
    overflow: hidden;
    border: 1px solid rgba(198, 215, 236, .82);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(13, 76, 211, .08), rgba(19, 184, 137, .06) 52%, rgba(214, 56, 56, .045)),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,250,255,.92));
    box-shadow: 0 28px 80px rgba(24, 54, 96, .12);
}

.blog-hero::before,
.blog-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.blog-hero::before {
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 76, 211, .09) 1px, transparent 1px),
        linear-gradient(180deg, rgba(13, 76, 211, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(135deg, transparent, #000 22%, #000 74%, transparent);
    opacity: .5;
}

.blog-hero::after {
    right: 28px;
    bottom: 28px;
    width: 240px;
    height: 120px;
    border: 1px solid rgba(13, 76, 211, .18);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(13, 76, 211, .16), rgba(19, 184, 137, .18)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.64) 0 7px, rgba(255,255,255,.22) 7px 14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 18px 42px rgba(31, 70, 128, .13);
    transform: rotate(-2deg);
}

.blog-hero > * {
    position: relative;
    z-index: 1;
}

.blog-hero h1 { max-width: 760px; }
.blog-hero p { max-width: 720px; }

.back-link {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--blue);
    font-weight: 800;
}

.article-body {
    width: min(880px, calc(100% - 34px));
    max-width: none;
    margin: 0 auto;
    display: block;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.78;
}

.article-page section,
.article-modal section {
    width: auto;
    margin: 0;
    padding: 0;
}

.article-toc,
.article-modal-toc {
    width: min(880px, calc(100% - 34px));
    max-width: none;
    margin: 0 auto 46px;
    padding: 0 0 22px;
    border: 0;
    border-bottom: 1px solid rgba(178, 196, 220, .72);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.article-toc strong,
.article-modal-toc strong {
    display: block;
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
}

.article-toc nav,
.article-modal-toc nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin-top: 14px;
}

.article-toc a,
.article-modal-toc a {
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #34455c;
    font-size: 14px;
    line-height: 1.42;
    font-weight: 750;
    box-shadow: inset 2px 0 0 rgba(13, 76, 211, .28);
}

.article-toc a:hover,
.article-modal-toc a:hover {
    color: var(--blue);
    box-shadow: inset 2px 0 0 var(--green);
}

.article-progress {
    position: fixed;
    z-index: 20;
    top: 50%;
    right: max(18px, calc((100vw - 1240px) / 2));
    width: 58px;
    padding: 14px 8px;
    display: grid;
    justify-items: center;
    gap: 10px;
    border: 1px solid rgba(198, 215, 236, .86);
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 22px 54px rgba(24, 54, 96, .14);
    backdrop-filter: blur(16px);
    transform: translateY(-50%);
    transition: opacity .2s ease, transform .2s ease;
}

body:has(.cookie-panel.is-visible) .article-progress {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(8px);
}

.article-progress-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #63738a;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-progress-track {
    position: relative;
    width: 4px;
    height: 140px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(13, 76, 211, .12);
}

.article-progress-track i {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--blue), var(--green));
    transform: scaleY(0);
    transform-origin: 50% 0;
    box-shadow: 0 0 18px rgba(19, 184, 137, .4);
}

.article-progress-percent {
    color: var(--ink);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    font-weight: 800;
}

.article-progress-dots {
    display: grid;
    gap: 7px;
}

.article-progress-dots a {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(13, 76, 211, .16);
    border-radius: 8px;
    color: #68788d;
    background: rgba(255,255,255,.72);
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    font-weight: 800;
    transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}

.article-progress-dots a.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--green));
    transform: translateX(-3px);
}

.article-page .article-section,
.article-modal .article-section {
    position: relative;
    margin: 0 0 54px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.article-page .article-section::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 8px;
    width: 6px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(13, 76, 211, .48), rgba(19, 184, 137, .55));
    opacity: .55;
}

.article-page .article-section-text,
.article-modal .article-section-text,
.article-body .article-section-text:nth-of-type(even) {
    width: auto;
    justify-self: auto;
}

.article-section.with-media,
.article-section.media-right,
.article-section.media-wide {
    display: block;
}

.article-section.media-right .article-figure {
    order: 0;
}

.article-section-copy {
    min-width: 0;
}

.article-body h2 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.article-body p {
    max-width: 820px;
    margin: 14px 0 0;
    color: #33455d;
}

.article-body ul,
.article-body ol {
    max-width: 820px;
    margin: 18px 0 0;
    padding: 0;
    color: #33455d;
    list-style: none;
}

.article-body li {
    position: relative;
    margin-top: 10px;
    padding-left: 24px;
}

.article-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .74em;
    width: 12px;
    height: 2px;
    border-radius: 0;
    background: var(--blue);
}

.article-body ol { counter-reset: article-step; }
.article-body ol li { counter-increment: article-step; padding-left: 34px; }
.article-body ol li::before {
    content: counter(article-step);
    top: .15em;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #e9f2ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.article-extra {
    max-width: 820px;
    margin-top: 24px;
    padding: 2px 0 2px 22px;
    border: 0;
    border-left: 3px solid rgba(19, 184, 137, .72);
    border-radius: 0;
    background: transparent;
}

.article-extra strong {
    display: block;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.3;
    font-weight: 900;
}

.article-extra p {
    margin-top: 10px;
    font-size: 16.5px;
    line-height: 1.68;
}

.article-extra ol {
    margin-top: 12px;
    font-size: 16.5px;
    line-height: 1.55;
}

.article-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 28px;
    margin-top: 12px;
}

.article-mini-grid span {
    min-height: 0;
    padding: 8px 0 8px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #33455c;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 750;
    box-shadow: inset 2px 0 0 rgba(13, 76, 211, .22);
}

.article-extra-note,
.article-extra-steps {
    border-color: rgba(19, 184, 137, .72);
    background: transparent;
}

.article-figure {
    position: relative;
    max-width: 920px;
    margin: 30px auto 26px;
    overflow: hidden;
    border: 1px solid rgba(197, 214, 234, .86);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.95), rgba(246,250,255,.9)),
        #fff;
    box-shadow: 0 28px 74px rgba(31, 70, 128, .16);
    transform: translateZ(0);
}

.article-figure::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0 36%, rgba(255,255,255,.32) 46%, transparent 56%),
        linear-gradient(180deg, rgba(255,255,255,.08), transparent 36%);
    transform: translateX(-120%);
    transition: transform .75s ease;
}

.article-figure:hover::before {
    transform: translateX(120%);
}

.article-figure picture {
    display: block;
}

.article-figure img,
.article-section.media-wide .article-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8.5;
    height: auto;
    object-fit: cover;
    transition: transform .5s ease, filter .5s ease;
}

.article-figure:hover img {
    transform: scale(1.018);
    filter: saturate(1.08) contrast(1.02);
}

.article-news-context {
    margin: 0 0 58px;
    padding: 30px 0 4px;
    border-top: 1px solid rgba(178, 196, 220, .72);
    border-bottom: 1px solid rgba(178, 196, 220, .72);
}

.article-news-context h2 {
    max-width: 840px;
    font-size: clamp(28px, 3vw, 40px);
}

.article-sources {
    display: grid;
    gap: 8px;
    max-width: 820px;
    margin-top: 22px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(198, 214, 233, .72);
}

.article-sources strong {
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.article-sources a {
    color: var(--blue);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
    text-decoration: none;
}

.article-sources a:hover { text-decoration: underline; }

.article-author {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    max-width: 920px;
    margin: 0 0 42px;
    padding: 18px;
    border: 1px solid rgba(207, 220, 236, .9);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(13, 76, 211, .05), rgba(19, 184, 137, .07)),
        #fff;
    box-shadow: 0 18px 44px rgba(31, 70, 128, .07);
}

.article-author > div {
    min-width: 0;
}

.article-author-photo,
.article-author img {
    display: block;
    width: 96px;
    height: 112px;
}

.article-author img {
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(207, 220, 236, .9);
    box-shadow: 0 16px 34px rgba(31, 70, 128, .14);
}

.article-author span {
    display: block;
    margin-bottom: 4px;
    color: var(--blue);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.article-author strong {
    display: block;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 950;
}

.article-author p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 650;
}

.article-author ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.article-author li {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid rgba(207, 220, 236, .9);
    border-radius: 10px;
    background: rgba(255,255,255,.82);
    color: var(--ink);
    font-size: 11.5px;
    line-height: 1.25;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.article-author li::before {
    content: none !important;
}

.article-table-wrap {
    max-width: 920px;
    margin: 24px 0 8px;
    overflow-x: auto;
    border: 1px solid rgba(207, 220, 236, .9);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(31, 70, 128, .07);
}

.article-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.48;
}

.article-table th,
.article-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(207, 220, 236, .72);
}

.article-table th {
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(244, 248, 253, .92);
}

.article-table td {
    color: var(--muted);
    font-weight: 650;
}

.article-table tr:last-child td {
    border-bottom: 0;
}

.article-related {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(207, 220, 236, .9);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(13, 76, 211, .06), rgba(19, 184, 137, .06)),
        #fff;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(31, 70, 128, .08);
}

.article-related::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--blue), var(--green));
    opacity: .75;
}

.article-related strong {
    display: block;
    color: var(--ink);
    font-size: 20px;
    font-weight: 900;
}

.article-related div {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.article-related a {
    display: block;
    padding: 12px 14px;
    border: 1px solid rgba(207, 220, 236, .86);
    border-radius: 10px;
    background: rgba(255,255,255,.78);
    color: var(--blue);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 850;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.article-related a:hover {
    transform: translateX(4px);
    border-color: rgba(13, 76, 211, .28);
    background: #fff;
}

.article-cta {
    margin-top: 14px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(39, 94, 254, .08), rgba(19, 184, 137, .1)),
        #fff;
}

.article-cta p { color: var(--muted); }
.article-cta .btn { margin-top: 18px; }

.article-modal-open {
    overflow: hidden;
}

.article-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    padding: 26px;
}

.article-modal.is-visible {
    display: grid;
    place-items: center;
}

.article-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0, rgba(39, 94, 254, .14), transparent 36%),
        rgba(7, 18, 36, .48);
    backdrop-filter: blur(16px);
}

.article-modal-dialog {
    position: relative;
    width: min(1120px, 100%);
    max-height: min(88svh, 960px);
    overflow: auto;
    border: 1px solid rgba(208, 220, 235, .86);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,250,255,.96)),
        #fff;
    box-shadow: 0 36px 100px rgba(12, 35, 71, .32);
}

.article-modal-dialog::before {
    content: "";
    position: sticky;
    top: 0;
    z-index: 2;
    display: block;
    height: 5px;
    background: linear-gradient(90deg, var(--blue), var(--green));
}

.article-modal-close {
    position: sticky;
    top: 16px;
    float: right;
    z-index: 4;
    width: 42px;
    height: 42px;
    margin: 14px 16px 0 0;
    border: 1px solid rgba(198, 212, 229, .9);
    border-radius: 12px;
    background: rgba(255,255,255,.92);
    color: var(--ink);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(31, 70, 128, .12);
    transition: transform .2s ease, box-shadow .2s ease;
}

.article-modal-close:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(31, 70, 128, .18);
}

.article-modal-head {
    padding: 54px 64px 28px;
    background:
        radial-gradient(circle at 88% 10%, rgba(13, 76, 211, .12), transparent 30%),
        linear-gradient(135deg, rgba(13, 76, 211, .06), rgba(19, 184, 137, .05));
}

.article-modal-meta {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.article-modal-head h2 {
    max-width: 760px;
    margin-top: 14px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    font-weight: 900;
}

.article-modal-head p {
    max-width: 760px;
    margin-top: 16px;
    color: #53647b;
    font-size: 18px;
    line-height: 1.58;
    font-weight: 650;
}

.article-modal-body {
    max-width: none;
    padding: 30px 64px 22px;
    font-size: 17px;
}

.article-modal-toc {
    max-width: none;
    margin: 24px 64px 0;
}

.article-modal-link {
    display: inline-flex;
    margin: 0 64px 46px;
    color: var(--blue);
    font-weight: 900;
}

.article-modal.is-loading .article-modal-dialog {
    min-height: 360px;
}

.article-modal.is-loading .article-modal-dialog::after {
    content: "Загружаем материал";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-weight: 900;
    background: rgba(255,255,255,.78);
}

[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js .blog-page [data-reveal],
.js .article-page [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
}

.js .blog-page [data-reveal].is-visible,
.js .article-page [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js .blog-page .article-card[data-reveal] {
    transform: translateY(22px) scale(.985);
}

.js .blog-page .article-card[data-reveal].is-visible {
    transform: translateY(0) scale(1);
}

.js .blog-page .article-card[data-reveal].is-visible:hover {
    transform: translateY(-7px) rotateX(1deg);
}

@keyframes meter {
    from { filter: saturate(.9); }
    to { filter: saturate(1.28); }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1020px) {
    .site-header { grid-template-columns: 1fr auto; }
    .nav-links { display: none; }
    .hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        padding-top: 150px;
    }
    .risk-grid, .price-grid, .solution-layout, .cookie-section, .contact-card { grid-template-columns: 1fr; }
    .ticker div, .seo-cluster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .timeline, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cms-track { grid-auto-columns: minmax(240px, 46%); }
    .faq-list { column-count: 2; }
    .price-card.featured { transform: none; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-progress { display: none; }
}

@media (max-width: 640px) {
    html,
    body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    section:not(.hero):not(.cookie-panel):not(.check-stage):not(.chat-widget):not(.check-modal-body section) {
        padding: 24px 0;
    }
    .contact-section { padding-bottom: 28px; }
    .blog-page {
        width: min(100% - 24px, 100%);
        padding-top: 24px;
    }
    .blog-hero {
        min-height: 0;
        padding: 34px 20px 26px;
        border-radius: 14px;
    }
    .blog-hero::after {
        display: none;
    }
    .article-card:hover {
        transform: translateY(-3px);
    }
    .section-head { margin: 0 auto 16px; }
    .hero { padding-bottom: 16px !important; }
    .hero-visual { padding-bottom: 0 !important; margin-bottom: 0 !important; }
    .audit-float.main { position: static !important; margin-top: 12px; }
    .site-header {
        position: sticky;
        top: 0;
        width: 100% !important;
        max-width: 100%;
        margin: 0;
        min-height: 0;
        padding: 8px 14px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 100px;
        grid-template-rows: 42px 34px;
        gap: 6px 10px;
        border-radius: 0;
        border-bottom: 1px solid rgba(200, 211, 223, .6);
        box-sizing: border-box;
        overflow: hidden;
    }
    .brand-text {
        font-size: 11px;
        line-height: 1.18;
        max-width: 100%;
        overflow: visible;
    }
    .brand-text span {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-break: normal;
    }
    .brand-mark {
        left: -6px;
        width: 52px;
        height: 56px;
        margin: 0;
    }
    .brand {
        min-height: 42px;
        padding-left: 48px;
        padding-right: 0;
        overflow: visible;
    }
    .nav-cta {
        position: relative;
        top: auto;
        right: auto;
        grid-column: 2;
        grid-row: 1;
        display: inline-flex;
        width: 96px;
        max-width: 96px;
        min-width: 0;
        min-height: 40px;
        padding: 0 8px;
        border-radius: 10px;
        font-size: 0;
        white-space: nowrap;
        overflow: hidden;
    }
    .nav-cta::after {
        content: "Проверка";
        font-size: 12px;
        font-weight: 900;
    }
    .nav-links {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        justify-content: flex-start;
        gap: 4px;
        padding: 3px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        border-radius: 10px;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a {
        flex: 0 0 auto;
        min-height: 30px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: 11px;
    }
    .hero {
        width: 100dvw;
        max-width: 100dvw;
        display: block;
        padding: 24px 16px 40px;
        overflow: hidden;
    }
    .hero-content,
    .hero-console,
    .hero-visual {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }
    .hero-console,
    .hero-visual {
        margin-top: 28px;
    }
    h1 {
        max-width: 100%;
        font-size: 28px;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }
    .nowrap {
        white-space: normal;
    }
    .eyebrow {
        max-width: 30ch;
        font-size: 11px;
        line-height: 1.35;
    }
    .hero-lead {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.62;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .trust-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .trust-row span {
        justify-content: center;
        min-width: 0;
        text-align: center;
    }
    .hero-console { padding: 12px; }
    .hero-visual {
        min-height: auto;
    }
    .hero-visual img {
        width: 100%;
        border-radius: 16px;
        transform: none;
    }
    .audit-float {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        min-width: 0;
        margin-top: -10px;
        padding: 12px;
        border-radius: 12px;
    }
    .audit-float.risk,
    .audit-float.ok {
        display: none;
    }
    .console-top strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .console-line {
        grid-template-columns: auto minmax(0, 1fr);
        font-size: 12px;
        padding: 11px;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }
    .demo-buttons { flex-direction: column; }
    .btn {
        width: 100%;
        min-height: 50px;
        padding: 0 16px;
        font-size: 14px;
    }
    section:not(.hero):not(.cookie-panel):not(.chat-widget) {
        width: calc(100% - 24px);
        padding: 68px 0;
    }
    .section-head {
        max-width: 100%;
    }
    .section-head h2, .blog-hero h1, .article-hero h1 {
        font-size: 26px;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }
    .section-head p, .blog-hero p, .article-hero p {
        font-size: 16px;
        overflow-wrap: anywhere;
    }
    .risk-grid, .timeline, .article-grid, .ticker div, .seo-cluster-grid { grid-template-columns: 1fr; }
    .check-row {
        grid-template-columns: 32px 42px 1fr;
        gap: 10px;
        padding: 13px;
    }
    .check-row strong { font-size: 14px; }
    .check-row p { font-size: 12px; }
    .promise-panel {
        padding: 16px;
    }
    .promise-visual {
        margin: -4px -4px 18px;
        min-height: 168px;
        border-radius: 12px;
    }
    .promise-visual img {
        min-height: 168px;
    }
    .promise-panel h3 {
        font-size: 24px;
    }
    .promise-panel p {
        font-size: 14px;
        line-height: 1.55;
    }
    .faq-list {
        column-count: 1;
        max-width: 100%;
    }
    .faq-item summary {
        min-height: 0;
        padding: 16px 52px 16px 16px;
        font-size: 14px;
    }
    .cms-track { grid-auto-columns: minmax(250px, 86%); }
    .slider-controls {
        position: static;
        justify-content: flex-end;
        margin: -8px 0 12px;
    }
    .risk-card { min-height: 180px; }
    .risk-card strong { font-size: clamp(30px, 10vw, 40px); }
    .cookie-section { gap: 26px; }
    .demo-browser { transform: none; }
    .demo-page { min-height: 360px; padding: 18px; }
    .demo-consent { left: 18px; right: 18px; bottom: 18px; }
    .contact-card { padding: 22px; }
    .contact-card h2 { font-size: 30px; }
    .scan-preview,
    .contact-method-grid,
    .report-note {
        grid-template-columns: 1fr;
    }
    .report-note strong {
        min-width: 0;
        min-height: 48px;
    }
    .footer {
        padding: 32px 12px 22px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .footer-about,
    .footer-col {
        padding: 15px;
        border-radius: 12px;
    }
    .footer-contact-row a {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }
    .footer-contact-row a:first-child {
        flex-basis: 100%;
    }

    .article-page {
        width: 100%;
        padding: 50px 20px 82px;
        box-sizing: border-box;
    }
    .article-hero h1 {
        font-size: clamp(29px, 8vw, 36px);
        line-height: 1.08;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .article-hero p {
        font-size: 16px;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }
    .article-toc,
    .article-modal-toc,
    .article-body {
        width: 100%;
        max-width: 100%;
    }
    .article-toc a,
    .article-modal-toc a {
        overflow-wrap: anywhere;
    }
    .article-body h2 {
        font-size: clamp(24px, 6.4vw, 30px);
        overflow-wrap: anywhere;
    }
    .article-body p,
    .article-body li {
        overflow-wrap: anywhere;
    }
    .article-author {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
        border-radius: 14px;
    }
    .article-author-photo,
    .article-author img {
        width: 78px;
        height: 92px;
        border-radius: 12px;
    }
    .article-author strong {
        font-size: 20px;
    }
    .article-author p {
        font-size: 14px;
    }
    .article-author ul {
        gap: 6px;
    }
    .article-author li {
        font-size: 11px;
        border-radius: 8px;
    }
    .article-table-wrap {
        border-radius: 12px;
    }
    .article-extra {
        padding-left: 16px;
    }
    .article-modal {
        padding: 10px;
    }
    .article-modal-dialog {
        max-height: calc(100svh - 20px);
        border-radius: 14px;
    }
    .article-modal-close {
        top: 10px;
        width: 38px;
        height: 38px;
        margin: 10px 10px 0 0;
        border-radius: 10px;
    }
    .article-modal-head {
        padding: 42px 18px 22px;
    }
    .article-modal-head h2 {
        font-size: 22px;
        line-height: 1.08;
        overflow-wrap: anywhere;
    }
    .article-modal-head p {
        font-size: 15px;
        line-height: 1.55;
    }
    .article-modal-body {
        padding: 22px 18px 14px;
        font-size: 15px;
        line-height: 1.65;
    }
    .article-toc nav,
    .article-modal-toc nav,
    .article-mini-grid {
        grid-template-columns: 1fr;
    }
    .article-body {
        width: min(100% - 28px, 100%);
        font-size: 16px;
        line-height: 1.68;
    }
    .article-figure img,
    .article-section.media-wide .article-figure img {
        aspect-ratio: 16 / 10;
    }
    .article-toc {
        margin-bottom: 18px;
    }
    .article-modal-toc {
        margin: 16px 18px 0;
        padding: 14px;
    }
    .article-section {
        padding: 16px;
    }
    .article-modal-body h2 {
        font-size: 22px;
    }
    .article-modal-link {
        margin: 0 18px 28px;
    }
    .cookie-panel {
        bottom: 62px;
        left: 12px;
        right: 12px;
        width: calc(100% - 24px) !important;
        max-height: calc(100svh - 120px);
        overflow: auto;
    }
    .cookie-open { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
}

@media (max-width: 520px) {
    .article-page {
        width: 100vw;
        max-width: 100vw;
        padding-left: 20px;
        padding-right: 20px;
        overflow: hidden;
    }
    .article-page .article-hero,
    .article-toc,
    .article-modal-toc,
    .article-body {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0;
        margin-right: 0;
    }
    .article-page .article-hero h1 {
        max-width: 100%;
        font-size: 22px;
        line-height: 1.1;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .article-page .article-hero p,
    .article-body p,
    .article-body li,
    .article-toc a {
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .article-news-context,
    .article-author,
    .article-table-wrap,
    .article-page .article-section,
    .article-modal .article-section {
        margin-bottom: 44px;
    }
}

@media (max-width: 520px) {
    body, main, .article-page, .article-page * {
        box-sizing: border-box;
    }
    .article-page .article-hero h1,
    .article-page .article-hero p,
    .article-body h2,
    .article-body p,
    .article-body ul,
    .article-body ol,
    .article-extra,
    .article-sources,
    .article-author,
    .article-table-wrap,
    .article-toc nav,
    .article-toc a {
        width: 100% !important;
        max-width: 100% !important;
    }
    .article-body h2 {
        font-size: 22px;
        line-height: 1.12;
    }
    .article-body p,
    .article-body li {
        font-size: 15.5px;
        line-height: 1.62;
    }
    .article-author {
        grid-template-columns: 1fr;
    }
    .article-author-photo,
    .article-author img {
        width: 88px;
        height: 104px;
    }
    .article-table {
        min-width: 640px;
        font-size: 14px;
    }
}

/* ===== check-launcher (секция #contact) ===== */

.check-launcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 52px 56px;
}

.check-launcher-copy h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.22;
    margin: 10px 0 14px;
}

.check-launcher-copy p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 20px;
}

.check-launcher-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-launcher-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
}

.check-launcher-points li .bi {
    font-size: 18px;
    color: var(--green-2);
    flex-shrink: 0;
}

.check-launcher-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-launcher-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.url-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.url-field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .03em;
    text-transform: uppercase;
}

.url-field-input {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    padding: 0 16px;
    transition: border-color .2s, box-shadow .2s;
}

.url-field-input:focus-within {
    border-color: var(--green-2);
    box-shadow: 0 0 0 4px rgba(19, 184, 137, .15);
    animation: pulse-ring 1.8s ease-out;
}

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(72, 187, 140, .4); }
    70%  { box-shadow: 0 0 0 8px rgba(72, 187, 140, 0); }
    100% { box-shadow: 0 0 0 4px rgba(19, 184, 137, .15); }
}

.url-field-input .bi {
    font-size: 18px;
    color: var(--muted);
    flex-shrink: 0;
}

.url-field-input input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 0;
    font-size: 15px;
    color: var(--ink);
}

.url-field-input input::placeholder {
    color: var(--line-strong);
}

.check-launcher-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.check-launcher-submit .bi {
    font-size: 16px;
    transition: transform .2s;
}

.check-launcher-submit:hover .bi {
    transform: translateX(3px);
}

.check-launcher-note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.55;
}

.check-launcher-error {
    font-size: 13px;
    color: var(--red);
    padding: 10px 14px;
    background: rgba(217, 72, 65, .06);
    border-radius: var(--radius);
    border: 1px solid rgba(217, 72, 65, .2);
}

/* ===== check-page ===== */

.check-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.check-page .check-stage {
    display: none;
}

.check-page[data-check-stage="progress"] [data-stage="progress"],
.check-page[data-check-stage="report"]   [data-stage="report"],
.check-page[data-check-stage="contacts"] [data-stage="contacts"],
.check-page[data-check-stage="thanks"]   [data-stage="thanks"],
.check-page[data-check-stage="failed"]  .check-stage-error {
    display: block;
}

.check-page .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green-2);
    margin-bottom: 8px;
}

.check-page h1,
.check-page .check-stage-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
}

.check-url-label {
    color: var(--muted);
    margin: 0 0 28px;
    font-size: 15px;
}

.check-url-label strong {
    color: var(--ink);
}

.checked-site-link {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 78, 159, .25);
}

.checked-site-link:hover {
    color: var(--blue-2);
    border-bottom-color: currentColor;
}

/* progress */

.check-progress-wrap {
    max-width: 600px;
}

.progress-track {
    height: 8px;
    background: var(--soft);
    border-radius: 100px;
    overflow: hidden;
    margin: 0 0 14px;
}

.progress-bar {
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        var(--green-2) 0px,
        var(--green-2) 10px,
        var(--green) 10px,
        var(--green) 20px
    );
    background-size: 200% 100%;
    border-radius: 100px;
    transition: width .5s ease;
    animation: stripes-move 1.2s linear infinite;
}

@keyframes stripes-move {
    0%   { background-position: 0 0; }
    100% { background-position: 40px 0; }
}

.progress-step-text {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 28px;
    min-height: 20px;
}

.progress-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    counter-reset: steps;
}

.progress-steps-list li {
    counter-increment: steps;
    font-size: 13px;
    color: var(--line-strong);
    padding: 6px 10px 6px 32px;
    position: relative;
    border-radius: 6px;
    transition: color .3s, background .3s;
}

.progress-steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 700;
    color: var(--line-strong);
    width: 16px;
    text-align: center;
}

.progress-steps-list li.is-active {
    color: var(--ink);
    background: var(--soft);
}

.progress-steps-list li.is-active::before {
    color: var(--green-2);
}

.progress-steps-list li.is-done {
    color: var(--green);
}

.progress-steps-list li.is-done::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    color: var(--green);
}

/* report */

.report-header {
    margin-bottom: 32px;
}

.report-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.report-checked-at {
    font-size: 13px;
    color: var(--muted, #6b7280);
}

.btn-recheck {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 8px;
    background: var(--white, #fff);
    color: var(--text, #111827);
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.btn-recheck:hover {
    background: var(--surface, #f9fafb);
    border-color: var(--primary, #0d4cd3);
    color: var(--primary, #0d4cd3);
}

.btn-recheck:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.report-top-row {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    margin-bottom: 24px;
}

.risk-score-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.risk-score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--line);
    flex-shrink: 0;
}

.risk-score-circle.good   { border-color: var(--green-2); }
.risk-score-circle.warning { border-color: var(--amber); }
.risk-score-circle.problem { border-color: var(--red); }

.risk-score-num {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.risk-score-circle.good   .risk-score-num { color: var(--green); }
.risk-score-circle.warning .risk-score-num { color: var(--amber); }
.risk-score-circle.problem .risk-score-num { color: var(--red); }

.risk-score-label {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.risk-score-meta {
    min-width: 0;
}

.risk-score-meta strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.risk-score-sub {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--muted);
}

.risk-score-hint {
    font-size: 13px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--soft);
    color: var(--muted);
}

.risk-score-hint.good    { background: rgba(11, 143, 106, .1); color: var(--green); }
.risk-score-hint.warning { background: rgba(214, 149, 36, .1); color: var(--amber); }
.risk-score-hint.problem { background: rgba(217, 72, 65, .1); color: var(--red); }

.check-fine {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0 0 22px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(217, 72, 65, .35);
    background: rgba(217, 72, 65, .07);
}
.check-fine-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(217, 72, 65, .14);
    color: var(--red);
    font-size: 22px;
}
.check-fine-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.check-fine-caption { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.check-fine-amount { font-size: 26px; font-weight: 900; color: var(--red); line-height: 1.15; }
.check-fine-meta { font-size: 13px; color: var(--text); line-height: 1.45; }
.check-fine-repeat { font-size: 12px; color: var(--red); font-weight: 600; margin-top: 3px; }
.check-fine-mid { border-color: rgba(214, 149, 36, .4); background: rgba(214, 149, 36, .08); }
.check-fine-mid .check-fine-icon { background: rgba(214, 149, 36, .16); color: var(--amber); }
.check-fine-mid .check-fine-amount,
.check-fine-mid .check-fine-repeat { color: var(--amber); }
.check-fine-low { border-color: rgba(11, 143, 106, .32); background: rgba(11, 143, 106, .07); }
.check-fine-low .check-fine-icon { background: rgba(11, 143, 106, .15); color: var(--green); }
.check-fine-low .check-fine-amount { color: var(--green); font-size: 18px; }
.check-fine-low .check-fine-repeat { color: var(--green); }

.report-summary {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
}

.report-summary strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: 8px;
}

.report-summary p {
    margin: 0;
    line-height: 1.65;
    font-size: 14px;
    color: var(--ink-2);
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s;
}

.check-item .bi {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--line-strong);
}

.check-item.ok      { border-left: 3px solid var(--green-2); }
.check-item.problem { border-left: 3px solid var(--red); }
.check-item.warning { border-left: 3px solid var(--amber); }

.check-item.ok      .bi { color: var(--green-2); }
.check-item.problem .bi { color: var(--red); }
.check-item.warning .bi { color: var(--amber); }

.check-item-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.check-item-body strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.check-item-status-text {
    font-size: 12px;
    color: var(--muted);
}

.check-item.ok      .check-item-status-text { color: var(--green); }
.check-item.problem .check-item-status-text { color: var(--red); }

.report-cta-block {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.report-cta-block p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    max-width: 480px;
}

.report-cta-block .btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-upsell {
    margin: 24px 0 28px;
    padding: 18px 22px;
    border: 1px solid rgba(26, 78, 159, .14);
    border-left: 3px solid var(--blue-2);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(26, 78, 159, .06), rgba(255, 255, 255, .9));
    box-shadow: var(--shadow-sm);
}

.check-upsell p {
    margin: 0;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.65;
}

.check-upsell a {
    color: var(--blue-2);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 78, 159, .28);
}

.check-upsell a:hover {
    border-bottom-color: currentColor;
}

.seo-internal-link {
    color: var(--blue-2);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 78, 159, .28);
}

.seo-internal-link:hover {
    border-bottom-color: currentColor;
}

/* contacts form */

.contacts-form-wrap {
    max-width: 640px;
}

.contacts-form-wrap h1 {
    margin-bottom: 8px;
}

.contacts-form-wrap > p {
    color: var(--muted);
    margin: 0 0 28px;
    line-height: 1.6;
}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contacts-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field-wrap span {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cms-detected-hint {
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    background: linear-gradient(135deg, rgba(72, 187, 120, .14), rgba(72, 187, 120, .06));
    color: #1f7a4a;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(72, 187, 120, .35);
    letter-spacing: .01em;
}

.cms-detected-hint b {
    color: #0f4d2d;
    font-weight: 700;
}

.field-wrap input,
.field-wrap select,
.field-wrap textarea {
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 14px;
    background: var(--white);
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.field-wrap input:focus,
.field-wrap select:focus,
.field-wrap textarea:focus {
    border-color: var(--blue-2);
    box-shadow: 0 0 0 3px rgba(13, 76, 211, .12);
}

.field-wrap textarea {
    resize: vertical;
    min-height: 90px;
}

.field-required span::after {
    content: ' *';
    color: var(--red);
}

.contacts-section-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    margin: 8px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.muted-note {
    font-weight: 400;
    color: var(--muted);
}

.radio-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-row > span {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    min-width: 160px;
}

.radio-options {
    display: flex;
    gap: 14px;
}

.radio-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer;
    color: var(--ink-2);
}

.contacts-form-error {
    font-size: 13px;
    color: var(--red);
    padding: 10px 14px;
    background: rgba(217, 72, 65, .06);
    border-radius: var(--radius);
    border: 1px solid rgba(217, 72, 65, .2);
}

/* thanks */

.check-thanks-wrap {
    text-align: center;
    padding: 40px 0;
    max-width: 480px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 56px;
    color: var(--green-2);
    display: block;
    margin-bottom: 20px;
}

.check-thanks-wrap h1 {
    margin-bottom: 12px;
}

.check-thanks-wrap p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 28px;
}

/* check-page error state */

.check-stage-error {
    text-align: center;
    padding: 60px 0;
}

.check-stage-error h1 {
    margin-bottom: 12px;
}

.check-stage-error p {
    color: var(--muted);
    margin: 0 0 28px;
}

/* ===== responsive ===== */

@media (max-width: 800px) {
    .check-launcher {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 28px;
    }

    .report-top-row {
        grid-template-columns: 1fr;
    }

    .report-grid {
        grid-template-columns: 1fr;
    }

    .report-cta-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .contacts-form-grid {
        grid-template-columns: 1fr;
    }

    .check-page h1,
    .check-page .check-stage-title {
        font-size: 26px;
    }
}

@media (max-width: 520px) {
    .check-launcher {
        padding: 28px 18px;
    }

    .check-page {
        padding: 36px 16px 60px;
    }

    .radio-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .radio-row > span {
        min-width: auto;
    }
}

/* ========== Hidden attribute enforcement ========== */
[hidden] {
    display: none !important;
}

/* ========== Resume chip on homepage ========== */
.check-resume-chip {
    max-width: 1140px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, #f0f7fb 0%, #e8f5ee 100%);
    border: 1.5px solid rgba(13, 76, 211, .18);
    border-radius: 18px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 18px rgba(13, 76, 211, .07);
    animation: chipSlideIn .35s ease-out;
}
@keyframes chipSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.resume-chip-icon {
    font-size: 28px;
    color: #d4a017;
    flex-shrink: 0;
}
.resume-chip-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.resume-chip-body > strong {
    font-size: 14px;
    color: var(--ink);
    font-weight: 700;
}
.resume-chip-site {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.resume-chip-site [data-resume-site] {
    font-weight: 600;
    color: var(--ink);
    word-break: break-all;
}
.resume-chip-meta {
    color: var(--muted);
    font-size: 12px;
}
.resume-chip-meta code {
    background: rgba(13, 76, 211, .08);
    padding: 1px 7px;
    border-radius: 6px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #0d4cd3;
}
.resume-chip-meta b {
    color: var(--ink);
    font-weight: 700;
}
.resume-chip-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.resume-chip-open {
    white-space: nowrap;
    padding: 10px 18px !important;
    font-size: 13px !important;
}
.resume-chip-dismiss {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .15s, color .15s;
}
.resume-chip-dismiss:hover {
    background: rgba(0, 0, 0, .05);
    color: var(--ink);
}
@media (max-width: 720px) {
    .check-resume-chip {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px;
    }
    .resume-chip-actions {
        width: 100%;
    }
    .resume-chip-open {
        flex: 1;
    }
}

/* ========== Personal link block ========== */
.check-personal-link {
    background: linear-gradient(135deg, #fffaf0 0%, #fffefb 100%);
    border: 1.5px solid rgba(212, 160, 23, .35);
    border-radius: 12px;
    padding: 11px 14px;
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
}
.personal-link-icon {
    grid-row: 1 / span 3;
    grid-column: 1;
    font-size: 22px;
    color: #d4a017;
    align-self: center;
}
.personal-link-body {
    display: contents;
}
.personal-link-label {
    grid-row: 1;
    grid-column: 2;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8a6500;
    line-height: 1.2;
}
.personal-link-input-row {
    grid-row: 2;
    grid-column: 2;
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 2px 0;
}
[data-personal-link-input] {
    flex: 1;
    min-width: 0;
    background: white;
    border: 1px solid rgba(212, 160, 23, .25);
    border-radius: 8px;
    padding: 7px 11px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    color: #1a3a6c;
    outline: none;
    cursor: text;
    line-height: 1.3;
}
[data-personal-link-input]:focus {
    border-color: rgba(212, 160, 23, .55);
    background: #fffdf5;
}
.personal-link-copy {
    background: #1a3a6c;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 7px 13px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background .15s;
    white-space: nowrap;
    line-height: 1.3;
}
.personal-link-copy:hover { background: #234a85; }
.personal-link-copy.is-copied { background: #2e8b57; }
.personal-link-copy i { font-size: 13px; }
.personal-link-hint {
    grid-row: 3;
    grid-column: 2;
    font-size: 10.5px;
    color: var(--muted);
    line-height: 1.4;
    margin: 0;
}
@media (max-width: 600px) {
    .check-personal-link {
        grid-template-columns: 1fr;
        column-gap: 0;
        padding: 12px 14px;
    }
    .personal-link-icon { display: none; }
    .personal-link-label,
    .personal-link-input-row,
    .personal-link-hint { grid-column: 1; }
    .personal-link-input-row { flex-direction: column; align-items: stretch; gap: 6px; }
    .personal-link-copy { justify-content: center; }
    [data-personal-link-input] {
        font-size: 11.5px;
        padding: 8px 10px;
        letter-spacing: -0.01em;
    }
}

/* ========== Modal ========== */
.check-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}
.check-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.check-modal[hidden] {
    display: none;
}
.check-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 22, 50, .78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}
.check-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 880px;
    background: #ffffff;
    border-radius: 24px;
    padding: 38px 36px 36px;
    box-shadow: 0 30px 80px rgba(10, 30, 70, .35), 0 0 0 1px rgba(10, 30, 70, .08);
    margin: auto;
    transform: translateY(20px) scale(.98);
    opacity: 0;
    transition: transform .35s cubic-bezier(.2,.85,.4,1), opacity .25s ease;
    z-index: 2;
}
.check-modal.is-open .check-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.check-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .04);
    border: none;
    color: var(--muted);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s, transform .15s;
}
.check-modal-close:hover {
    background: rgba(0, 0, 0, .08);
    color: var(--ink);
    transform: rotate(90deg);
}
.check-modal-body {
    max-width: none;
}
body.modal-open {
    overflow: hidden;
}
@media (max-width: 720px) {
    .check-modal { padding: 12px; }
    .check-modal-dialog { padding: 26px 18px 22px; border-radius: 18px; }
    .check-modal-close { top: 10px; right: 10px; }
}

/* Стейджи внутри модалки — корректное отображение */
.check-modal-body[data-check-stage] .check-stage { display: none; }
.check-modal-body[data-check-stage="progress"] .check-stage[data-stage="progress"],
.check-modal-body[data-check-stage="report"] .check-stage[data-stage="report"],
.check-modal-body[data-check-stage="contacts"] .check-stage[data-stage="contacts"],
.check-modal-body[data-check-stage="thanks"] .check-stage[data-stage="thanks"],
.check-modal-body[data-check-stage="failed"] .check-stage[data-stage="failed"] {
    display: block;
}

/* Thanks actions */
.check-thanks-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 14px;
}
.thanks-link-reminder {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}
.btn.ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(0, 0, 0, .12);
}
.btn.ghost:hover {
    background: rgba(0, 0, 0, .04);
    border-color: rgba(0, 0, 0, .2);
}

/* ========== Cookie consent v2 — production-grade ========== */
.cookie-open {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px !important;
    min-width: 0 !important;
    border-radius: 999px !important;
    background: var(--ink) !important;
    color: white !important;
    border: none !important;
    font-size: 13px;
    box-shadow: 0 6px 20px rgba(10, 30, 70, .22) !important;
    transition: transform .15s, box-shadow .15s;
}
.cookie-open:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(10, 30, 70, .3) !important;
}
.cookie-open i {
    font-size: 15px;
}

.cookie-panel {
    width: 460px !important;
    max-width: calc(100vw - 32px);
    padding: 22px 22px 20px !important;
    border-radius: 16px !important;
    border: 1.5px solid rgba(10, 30, 70, .12) !important;
    box-shadow: 0 24px 60px rgba(10, 30, 70, .22) !important;
}
.cookie-panel-head strong {
    font-size: 15px;
    color: var(--ink);
    display: block;
    margin-bottom: 6px;
}
.cookie-panel-head p {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 !important;
}
.cookie-panel-head p strong {
    font-size: inherit;
    color: var(--ink);
    display: inline;
    margin: 0;
    background: rgba(10, 30, 70, .06);
    padding: 1px 5px;
    border-radius: 4px;
}

.cookie-panel .cookie-toggles {
    flex-direction: column !important;
    gap: 8px !important;
    margin: 4px 0 10px !important;
}
.cookie-toggle {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid rgba(10, 30, 70, .08);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.cookie-toggle:hover {
    border-color: rgba(10, 30, 70, .2);
    background: #f3f6fb;
}
.cookie-toggle input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #1a3a6c;
}
.cookie-toggle input:disabled {
    cursor: default;
    opacity: .7;
}
.cookie-toggle > div {
    flex: 1;
    min-width: 0;
}
.cookie-toggle strong {
    display: block;
    font-size: 13px;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 2px;
}
.cookie-toggle span {
    display: block;
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.45;
    font-weight: 500;
}

.cookie-panel-legal {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
    margin: 6px 0 10px !important;
    font-weight: 500 !important;
}
.cookie-panel-legal a {
    color: #1a3a6c;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.cookie-panel .cookie-actions {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 6px !important;
}
.cookie-btn {
    width: auto !important;
    min-height: 38px;
    padding: 0 8px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s, transform .1s;
    border: 1.5px solid transparent !important;
}
.cookie-btn-ghost {
    background: transparent !important;
    color: var(--muted) !important;
    border-color: rgba(10, 30, 70, .15) !important;
}
.cookie-btn-ghost:hover {
    color: var(--ink) !important;
    border-color: rgba(10, 30, 70, .35) !important;
}
.cookie-btn-outline {
    background: white !important;
    color: var(--ink) !important;
    border-color: rgba(10, 30, 70, .35) !important;
}
.cookie-btn-outline:hover {
    background: rgba(10, 30, 70, .05) !important;
}
.cookie-btn-primary {
    background: linear-gradient(135deg, #1a3a6c 0%, #0d2647 100%) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 3px 10px rgba(10, 30, 70, .25);
}
.cookie-btn-primary:hover {
    background: linear-gradient(135deg, #234a85 0%, #142f5c 100%) !important;
    transform: translateY(-1px);
}

/* ========== Cookie micro-chip "уже принимали" ========== */
.cookie-mini-chip {
    position: fixed;
    z-index: 75;
    left: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 14px;
    background: white;
    border: 1.5px solid rgba(46, 139, 87, .35);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(46, 139, 87, .15);
    font-size: 12.5px;
    color: var(--ink);
    animation: chipFloatIn .35s ease-out;
    max-width: calc(100vw - 32px);
}
@keyframes chipFloatIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cookie-mini-chip i.bi-shield-check {
    color: #2e8b57;
    font-size: 16px;
    flex-shrink: 0;
}
.cookie-chip-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}
.cookie-chip-text [data-cookie-chip-date] {
    color: var(--muted);
    font-weight: 500;
}
.cookie-chip-edit {
    background: transparent;
    border: none;
    color: #1a3a6c;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .15s;
}
.cookie-chip-edit:hover {
    background: rgba(26, 58, 108, .08);
}
.cookie-chip-close {
    background: transparent;
    border: none;
    color: var(--muted);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .15s, color .15s;
}
.cookie-chip-close:hover {
    background: rgba(0, 0, 0, .06);
    color: var(--ink);
}
@media (max-width: 520px) {
    .cookie-mini-chip {
        left: 8px;
        right: 8px;
        font-size: 11.5px;
        padding-left: 12px;
    }
}

/* ========== Rate-limit notice in launcher form ========== */
.check-launcher-quota {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(217, 72, 65, .08);
    border: 1px solid rgba(217, 72, 65, .35);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 12px;
    font-size: 12.5px;
    color: #99332e;
    line-height: 1.5;
    font-weight: 500;
}
.check-launcher-quota i {
    color: #d94841;
    flex-shrink: 0;
    margin-top: 1px;
}
.check-launcher-quota a {
    color: #99332e;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    white-space: nowrap;
    margin-left: 2px;
}
.check-launcher-quota a:hover { color: #d94841; }

/* ========== "Ваши проверки" card on homepage ========== */
.my-checks-card {
    max-width: 1140px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, #fcfdff 0%, #f4f8fd 100%);
    border: 1.5px solid rgba(13, 76, 211, .18);
    border-radius: 18px;
    padding: 18px 22px 16px;
    box-shadow: 0 4px 18px rgba(13, 76, 211, .07);
    animation: chipSlideIn .35s ease-out;
}
.my-checks-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(13, 76, 211, .1);
    margin-bottom: 10px;
}
.my-checks-icon {
    font-size: 22px;
    color: #d4a017;
    flex-shrink: 0;
}
.my-checks-head-text {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.my-checks-head-text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}
.my-checks-head-text span {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}
.my-checks-dismiss {
    background: transparent;
    border: none;
    color: var(--muted);
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: background .15s, color .15s;
    flex-shrink: 0;
}
.my-checks-dismiss:hover {
    background: rgba(0, 0, 0, .06);
    color: var(--ink);
}

.my-checks-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.my-check-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    background: white;
    border: 1px solid rgba(10, 30, 70, .08);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .1s;
}
.my-check-item:hover {
    border-color: rgba(13, 76, 211, .35);
    background: #fafcff;
    transform: translateX(2px);
}
.my-check-score {
    flex-shrink: 0;
    min-width: 64px;
    text-align: center;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -0.01em;
}
.my-check-score.good    { background: rgba(72, 187, 120, .14); color: #1f7a4a; }
.my-check-score.warning { background: rgba(212, 160, 23, .14); color: #7a5500; }
.my-check-score.problem { background: rgba(217, 72, 65, .12); color: #99332e; }
.my-check-score.unknown { background: rgba(0, 0, 0, .05); color: var(--muted); font-weight: 700; }
.my-check-body {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.my-check-site {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    word-break: break-all;
    line-height: 1.3;
}
.my-check-meta {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 500;
}
.my-check-meta code {
    background: rgba(13, 76, 211, .08);
    color: #0d4cd3;
    padding: 1px 6px;
    border-radius: 5px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
}
.my-check-open {
    background: transparent;
    border: none;
    color: #0d4cd3;
    font-weight: 700;
    font-size: 12.5px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    display: inline-flex; align-items: center; gap: 4px;
    flex-shrink: 0;
    transition: background .15s;
}
.my-check-open:hover { background: rgba(13, 76, 211, .08); }
.my-check-open i { font-size: 13px; transition: transform .15s; }
.my-check-item:hover .my-check-open i { transform: translateX(2px); }
@media (max-width: 600px) {
    .my-check-item { gap: 10px; padding: 10px; flex-wrap: wrap; }
    .my-check-open { padding: 4px 8px; }
    .my-check-score { min-width: 56px; font-size: 12px; }
}

/* ========== AI analysis card ========== */
.ai-analysis-card {
    background: linear-gradient(135deg, #f5f3ff 0%, #f0f8ff 100%);
    border: 1.5px solid rgba(109, 59, 255, .28);
    border-radius: 14px;
    padding: 16px 20px 14px;
    margin: 0 0 14px;
    box-shadow: 0 2px 10px rgba(109, 59, 255, .06);
    animation: aiFadeIn .4s ease-out;
}
@keyframes aiFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ai-analysis-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(109, 59, 255, .15);
}
.ai-analysis-head i {
    font-size: 20px;
    color: #6d3bff;
    flex-shrink: 0;
}
.ai-analysis-head strong {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}
.ai-analysis-badge {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6d3bff;
    background: rgba(109, 59, 255, .1);
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(109, 59, 255, .25);
}
.ai-analysis-body {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink);
}
.ai-analysis-body br + br { content: ""; display: block; margin-top: 6px; }
@media (max-width: 600px) {
    .ai-analysis-card { padding: 14px 16px; }
    .ai-analysis-head strong { font-size: 13px; }
    .ai-analysis-badge { font-size: 10px; }
}

/* Check failed hint */
.check-failed-hint {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 8px 0 18px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.check-failed-hint code {
    background: rgba(13, 76, 211, .08);
    color: #0d4cd3;
    padding: 1px 6px;
    border-radius: 5px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
}
.cloak-mail{cursor:pointer}
.footer-mail{margin-top:10px;font-size:14px;opacity:.85}
.footer-mail .cloak-at{white-space:nowrap}

/* ===== Онлайн-чат ===== */
.chat-launcher{
    position:fixed; right:22px; bottom:22px; z-index:1200;
    width:60px; height:60px; border:0; border-radius:50%;
    background:linear-gradient(180deg, var(--blue-2), var(--blue));
    color:#fff; font-size:26px; cursor:pointer;
    box-shadow:0 14px 30px rgba(13,76,211,.34);
    display:flex; align-items:center; justify-content:center;
    transition:transform .15s ease, box-shadow .15s ease;
}
.chat-launcher:hover{ transform:translateY(-2px); box-shadow:0 18px 38px rgba(13,76,211,.42); }
.chat-launcher-dot{
    position:absolute; top:10px; right:10px; width:13px; height:13px;
    background:var(--red); border:2px solid #fff; border-radius:50%;
}
.chat-widget{
    position:fixed; right:22px; bottom:22px; left:auto; top:auto; z-index:1201;
    width:min(380px, calc(100vw - 32px)) !important;
    max-width:380px !important;
    height:min(560px, calc(100vh - 110px));
    margin:0 !important; padding:0 !important; box-sizing:border-box;
    display:flex; flex-direction:column; overflow:hidden;
    background:#fff; border:1px solid var(--line);
    border-radius:18px; box-shadow:0 24px 60px rgba(22,32,51,.22);
}
.chat-head{
    display:flex; align-items:center; gap:10px;
    padding:14px 16px; color:#fff;
    background:linear-gradient(180deg, var(--blue-2), var(--blue));
}
.chat-head-info{ display:flex; flex-direction:column; min-width:0; flex:1; }
.chat-head-title{ font-weight:800; font-size:15px; }
.chat-head-sub{ font-size:11px; opacity:.85; margin-top:2px; }
.chat-close{ background:transparent; border:0; color:#fff; font-size:16px; cursor:pointer; opacity:.85; padding:4px; }
.chat-close:hover{ opacity:1; }
.chat-body{
    flex:1; overflow-y:auto; padding:16px;
    display:flex; flex-direction:column; gap:10px;
    background:#f7fafc;
}
.chat-msg{ max-width:82%; padding:9px 13px; border-radius:14px; font-size:14px; line-height:1.45; overflow-wrap:anywhere; }
.chat-msg a{ color:inherit; text-decoration:underline; }
.chat-msg-me{ align-self:flex-end; background:var(--blue); color:#fff; border-bottom-right-radius:4px; }
.chat-msg-op{ align-self:flex-start; background:#fff; color:#1a2433; border:1px solid var(--line); border-bottom-left-radius:4px; }
.chat-msg-system{ align-self:center; background:#eaf1ff; color:#33507e; font-size:13px; text-align:center; max-width:94%; }
/* Карточка «оператор молчит >5 мин» с контактами */
.chat-fallback{
    align-self:stretch; max-width:100%;
    border:1px solid var(--line); border-radius:14px;
    background:linear-gradient(180deg,#fff,#f4f8ff);
    box-shadow:0 6px 18px rgba(13,76,211,.08);
    padding:13px 14px; margin:2px 0;
    animation:rise .26s ease both;
}
.chat-fb-head{ display:flex; align-items:center; gap:7px; font-weight:700; font-size:14px; color:var(--ink); }
.chat-fb-head i{ color:var(--blue); font-size:15px; flex:none; }
.chat-fb-text{ margin:6px 0 11px; font-size:13px; line-height:1.45; color:var(--muted); }
.chat-fb-btns{ display:flex; flex-wrap:wrap; gap:8px; }
.chat-fb-btn{
    flex:1 1 calc(50% - 4px); min-width:104px;
    display:inline-flex; align-items:center; justify-content:center; gap:7px;
    padding:10px 12px; border-radius:11px;
    font-size:13.5px; font-weight:600; line-height:1; text-decoration:none; color:#fff;
    border:1px solid transparent; cursor:pointer;
    transition:transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.chat-fb-btn i{ font-size:15px; flex:none; }
.chat-fb-btn:hover{ transform:translateY(-1px); filter:brightness(1.05); }
.chat-fb-btn:active{ transform:translateY(0); }
.chat-fb-btn:focus-visible{ outline:2px solid var(--blue-2); outline-offset:2px; }
.chat-fb-tg{ background:#2aabee; box-shadow:0 5px 14px rgba(42,171,238,.32); }
.chat-fb-wa{ background:#22b35e; box-shadow:0 5px 14px rgba(34,179,94,.30); }
.chat-fb-mail{ background:#fff; color:var(--ink); border-color:var(--line-strong); box-shadow:0 4px 12px rgba(22,32,51,.08); }
.chat-fb-mail i{ color:var(--blue); }
@media (max-width:480px){
    .chat-fb-btn{ flex:1 1 100%; padding:12px; font-size:14px; }
}
.chat-name-row{ padding:8px 12px 0; background:#fff; }
.chat-name-input{ width:100%; box-sizing:border-box; border:1px solid var(--line); border-radius:10px; padding:7px 11px; font:inherit; font-size:13px; outline:none; }
.chat-name-input:focus{ border-color:var(--blue-2); }
.chat-form{ display:flex; align-items:flex-end; gap:8px; padding:10px 12px; border-top:1px solid var(--line); background:#fff; }
.chat-input{
    flex:1; resize:none; border:1px solid var(--line); border-radius:12px;
    padding:9px 12px; font:inherit; font-size:14px; line-height:1.4; max-height:110px; outline:none;
}
.chat-input:focus{ border-color:var(--blue-2); }
.chat-send{
    flex-shrink:0; width:40px; height:40px; border:0; border-radius:12px;
    background:var(--blue); color:#fff; font-size:16px; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
}
.chat-send:hover{ background:var(--blue-2); }
.chat-consent{ margin:0; padding:8px 14px 12px; font-size:11px; color:var(--muted); text-align:center; background:#fff; }
.chat-consent a{ color:var(--blue); }
@media (max-width:480px){
    .chat-widget{ right:10px; bottom:10px; width:calc(100vw - 20px); height:calc(100vh - 90px); }
    .chat-launcher{ right:16px; bottom:16px; }
}

/* ===== SEO: breadcrumb, seo-text, related checks, checks-hub ===== */

/* Хлебные крошки на странице отчёта */
.breadcrumb{
    display:flex; flex-wrap:wrap; align-items:center; gap:6px;
    font-size:13px; color:var(--muted); margin-bottom:18px;
}
.breadcrumb a{ color:var(--muted); text-decoration:none; transition:color .15s ease; }
.breadcrumb a:hover{ color:var(--blue); }
.breadcrumb .breadcrumb-sep{ color:var(--line-strong); }

/* SEO-текст отчёта («Что показала проверка …») */
/* SEO-интро на главной: объединенный блок проверки и аудита */
.audit-merge-section{
    padding-top:82px;
}
.audit-merge-grid{
    display:grid;
    grid-template-columns:.94fr 1.06fr;
    gap:22px;
    align-items:stretch;
}
.audit-map-panel,
.audit-copy-panel{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(200, 211, 223, .88);
    border-radius:22px;
    background:rgba(255, 255, 255, .8);
    box-shadow:0 26px 70px rgba(22, 32, 51, .08);
    backdrop-filter:blur(18px);
}
.audit-map-panel{
    padding:26px;
}
.audit-map-panel::after{
    content:"";
    position:absolute;
    inset:auto 28px 0 28px;
    height:4px;
    border-radius:999px 999px 0 0;
    background:linear-gradient(90deg, var(--green), var(--blue), #d94841);
    opacity:.78;
    pointer-events:none;
}
.audit-map-panel .eyebrow{
    margin-bottom:16px;
}
.audit-map-panel h2{
    margin:0;
    max-width:520px;
    color:var(--ink);
    font-size:clamp(25px, 2.6vw, 34px);
    line-height:1.12;
    font-weight:800;
}
.audit-map-panel p{
    max-width:560px;
    margin:18px 0 0;
    color:var(--muted);
    font-size:16px;
    line-height:1.65;
    font-weight:600;
}
.audit-zone-list{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
    margin-top:24px;
}
.audit-zone{
    min-height:132px;
    padding:16px;
    border:1px solid rgba(213, 222, 232, .92);
    border-radius:16px;
    background:rgba(248, 251, 255, .92);
}
.audit-zone span{
    display:flex;
    width:38px;
    height:38px;
    align-items:center;
    justify-content:center;
    margin-bottom:14px;
    border-radius:12px;
    background:#eef5ff;
    color:var(--blue);
    font-size:18px;
}
.audit-zone strong{
    display:block;
    color:var(--ink);
    font-size:15px;
    line-height:1.2;
    font-weight:800;
}
.audit-zone small{
    display:block;
    margin-top:7px;
    color:#667085;
    font-size:12.5px;
    line-height:1.45;
    font-weight:700;
}
.audit-copy-panel{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:34px 38px;
    background:linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(244, 249, 255, .84));
}
.audit-pill{
    display:inline-flex;
    width:max-content;
    align-items:center;
    min-height:32px;
    padding:0 12px;
    border:1px solid rgba(13, 76, 211, .16);
    border-radius:999px;
    background:#eef5ff;
    color:var(--blue);
    font-size:12px;
    line-height:1;
    font-weight:800;
}
.audit-copy-panel h2{
    max-width:660px;
    margin:20px 0 0;
    color:var(--ink);
    font-size:clamp(30px, 3vw, 42px);
    line-height:1.08;
    font-weight:800;
}
.audit-copy-panel p{
    margin:18px 0 0;
    color:var(--ink-2);
    font-size:16.5px;
    line-height:1.68;
    font-weight:500;
}
.audit-copy-panel p.lead{
    color:var(--ink);
    font-size:18px;
    line-height:1.62;
    font-weight:650;
}
.audit-step-row{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
    margin-top:24px;
}
.audit-step-row div{
    min-height:86px;
    padding:14px;
    border:1px solid rgba(213, 222, 232, .9);
    border-radius:14px;
    background:#fff;
}
.audit-step-row b{
    display:block;
    margin-bottom:8px;
    color:var(--green);
    font-family:"IBM Plex Mono", monospace;
    font-size:13px;
    font-weight:800;
}
.audit-step-row span{
    display:block;
    color:var(--ink);
    font-size:13.5px;
    line-height:1.35;
    font-weight:800;
}
.audit-actions{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    align-items:center;
    margin-top:26px;
}
.audit-actions .btn{
    display:inline-flex;
}
.audit-text-link{
    color:var(--blue);
    font-size:15px;
    font-weight:800;
    text-decoration:none;
}
.audit-text-link:hover{
    text-decoration:underline;
}

@media (max-width:1020px){
    .audit-merge-grid{
        grid-template-columns:1fr;
    }
    .audit-copy-panel{
        order:-1;
    }
}

@media (max-width:640px){
    .audit-merge-section{
        padding-top:58px;
    }
    .audit-map-panel,
    .audit-copy-panel{
        border-radius:16px;
    }
    .audit-map-panel,
    .audit-copy-panel{
        padding:20px;
    }
    .audit-map-panel h2,
    .audit-copy-panel h2{
        font-size:26px;
        line-height:1.1;
        overflow-wrap:anywhere;
    }
    .audit-copy-panel p,
    .audit-copy-panel p.lead,
    .audit-map-panel p{
        font-size:15px;
        line-height:1.62;
    }
    .audit-zone-list,
    .audit-step-row{
        grid-template-columns:1fr;
    }
    .audit-zone{
        min-height:0;
    }
    .audit-step-row div{
        min-height:0;
    }
    .audit-actions{
        display:grid;
        grid-template-columns:1fr;
        gap:12px;
    }
    .audit-text-link{
        text-align:center;
    }
}

.seo-text-section{
    margin-top:36px; padding-top:32px; border-top:1px solid var(--line);
}
.seo-text-section h2{
    font-size:24px; font-weight:800; line-height:1.25; margin:0 0 18px; color:var(--ink);
}
.seo-text-body{
    font-size:16px; line-height:1.75; color:var(--ink-2);
}
.seo-text-body br + br{ display:block; content:""; margin-top:14px; }

/* Блок «Похожие проверки» */
.related-checks-section{
    margin-top:36px; padding-top:32px; border-top:1px solid var(--line);
}
.related-checks-section h2{
    font-size:22px; font-weight:800; line-height:1.25; margin:0 0 18px; color:var(--ink);
}
.related-checks-list{
    list-style:none; margin:0; padding:0;
    display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:14px;
}
.related-checks-list li{
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    padding:14px 16px; background:var(--white);
    border:1px solid var(--line); border-radius:var(--radius);
    box-shadow:var(--shadow-sm); transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.related-checks-list li:hover{
    border-color:var(--line-strong); transform:translateY(-2px); box-shadow:var(--shadow);
}
.related-checks-list a{
    color:var(--ink); font-weight:600; font-size:14px; text-decoration:none;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.related-checks-list a:hover{ color:var(--blue); }

/* Risk-бейдж (переиспользует палитру risk-score) */
.risk-badge{
    flex-shrink:0; display:inline-block; padding:3px 9px; border-radius:999px;
    font-size:12px; font-weight:700; font-variant-numeric:tabular-nums;
    background:var(--soft); color:var(--muted);
}
.risk-badge-good    { background:rgba(11, 143, 106, .1); color:var(--green); }
.risk-badge-warning { background:rgba(214, 149, 36, .1); color:var(--amber); }
.risk-badge-problem { background:rgba(217, 72, 65, .1);  color:var(--red); }

/* ===== Хаб /checks ===== */
.checks-hub-page{
    max-width:1080px; margin:0 auto; padding:60px 24px 80px;
}
.checks-hub-hero{ margin-bottom:36px; }
.checks-hub-hero .eyebrow{
    display:inline-block; font-size:12px; font-weight:700; letter-spacing:.08em;
    text-transform:uppercase; color:var(--green-2); margin-bottom:8px;
}
.checks-hub-hero h1{
    font-size:34px; font-weight:800; line-height:1.2; margin:0 0 14px; color:var(--ink);
}
.checks-hub-intro{
    font-size:16px; line-height:1.7; color:var(--ink-2); max-width:760px; margin:0;
}
.checks-hub-intro + .checks-hub-intro{ margin-top:12px; }
.checks-hub-empty{
    font-size:16px; color:var(--muted); padding:40px 0;
}
.checks-hub-empty a{ color:var(--blue); }

.checks-hub-grid{
    list-style:none; margin:0; padding:0;
    display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:16px;
}
.checks-hub-item{ display:flex; }
.checks-hub-link{
    display:flex; align-items:center; flex-wrap:wrap; gap:10px;
    width:100%; padding:16px 18px; background:var(--white);
    border:1px solid var(--line); border-radius:var(--radius);
    box-shadow:var(--shadow-sm); text-decoration:none;
    transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.checks-hub-link:hover{
    border-color:var(--line-strong); transform:translateY(-2px); box-shadow:var(--shadow);
}
.checks-hub-host{
    flex:1 1 100%; min-width:0; color:var(--ink); font-weight:700; font-size:15px;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.checks-hub-link:hover .checks-hub-host{ color:var(--blue); }
.checks-hub-date{
    font-size:12px; color:var(--muted); margin-left:auto;
}

/* Пагинация хаба */
.checks-hub-pagination{
    display:flex; flex-wrap:wrap; align-items:center; gap:8px;
    margin-top:36px; justify-content:center;
}
.checks-hub-pagination .pagination-link{
    display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px;
    padding:0 12px; border:1px solid var(--line); border-radius:var(--radius);
    background:var(--white); color:var(--ink-2); font-weight:600; font-size:14px;
    text-decoration:none; transition:border-color .15s ease, background .15s ease, color .15s ease;
}
.checks-hub-pagination .pagination-link:hover{
    border-color:var(--blue); color:var(--blue);
}
.checks-hub-pagination .pagination-link.active{
    background:var(--blue); border-color:var(--blue); color:#fff;
}

@media (max-width:600px){
    .seo-text-section h2{ font-size:21px; }
    .related-checks-list{ grid-template-columns:1fr; }
    .checks-hub-page{ padding:44px 18px 60px; }
    .checks-hub-hero h1{ font-size:27px; }
    .checks-hub-grid{ grid-template-columns:1fr; }
}

/* ===== Превью каталога проверок на главной (.checks-preview) ===== */

.checks-preview {
    padding: 92px 0;
}

.checks-preview-head {
    max-width: 790px;
    margin: 0 auto 38px;
    text-align: center;
}

.checks-preview-head .eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
}

.checks-preview-head h2 {
    color: var(--ink);
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
}

.checks-preview-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.checks-preview-item {
    display: flex;
}

.checks-preview-link {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.checks-preview-link:hover {
    border-color: rgba(13, 76, 211, .28);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.checks-preview-host {
    flex: 1 1 100%;
    min-width: 0;
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checks-preview-link:hover .checks-preview-host {
    color: var(--blue);
}

.checks-preview-date {
    font-size: 12px;
    color: var(--muted);
    margin-left: auto;
}

.checks-preview-more {
    display: block;
    width: fit-content;
    min-height: 46px;
    margin: 28px auto 0;
    padding: 0 24px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 10px 26px rgba(22, 32, 51, .08);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.checks-preview-more:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 76, 211, .32);
    box-shadow: 0 14px 34px rgba(22, 32, 51, .12);
}

/* ===== Модалка каталога проверок (.checks-modal) ===== */

.checks-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    place-items: center;
    padding: 20px;
}

.checks-modal:not([hidden]) {
    display: grid;
}

.checks-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 36, .48);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.checks-modal-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px 32px 28px;
    border: 1px solid rgba(208, 220, 235, .86);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 250, 255, .96)),
        var(--white);
    box-shadow: 0 36px 100px rgba(12, 35, 71, .28);
    animation: rise .26s ease both;
}

.checks-modal-x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(198, 212, 229, .9);
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(31, 70, 128, .1);
    transition: transform .18s ease, box-shadow .18s ease;
}

.checks-modal-x:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(31, 70, 128, .16);
}

.checks-modal-dialog h2 {
    margin: 0 0 20px;
    padding-right: 44px;
    color: var(--ink);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.1;
}

.checks-modal-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.checks-modal-grid li {
    display: flex;
}

.checks-modal-grid a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 6px 16px rgba(22, 32, 51, .05);
    text-decoration: none;
    font-size: 14px;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.checks-modal-grid a:hover {
    border-color: rgba(13, 76, 211, .28);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.checks-modal-grid a span:first-child {
    flex: 1 1 100%;
    min-width: 0;
    color: var(--ink);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checks-modal-grid a:hover span:first-child {
    color: var(--blue);
}

.checks-modal-grid a span:last-child {
    font-size: 11px;
    color: var(--muted);
    margin-left: auto;
}

.checks-modal-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 22px;
    padding: 0 22px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(22, 32, 51, .07);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.checks-modal-all:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 76, 211, .32);
    box-shadow: 0 12px 28px rgba(22, 32, 51, .1);
}

@media (max-width: 640px) {
    .checks-preview { padding: 68px 0; }
    .checks-preview-grid { grid-template-columns: 1fr; }
    .checks-modal { padding: 10px; }
    .checks-modal-dialog {
        padding: 24px 16px 20px;
        border-radius: 14px;
        max-height: calc(100svh - 20px);
    }
    .checks-modal-grid { grid-template-columns: 1fr; }
}
