/* ═══════════════════════════════════════════
   ОДНОСТРАНИЧНЫЙ КРОСС — style.css
   Variables (randomized on generation):
   --bg-dark   --bg-card   --bg-card-hover
   --accent-primary   --accent-secondary
═══════════════════════════════════════════ */

:root {
    --bg-dark: hsl(274, 43%, 8%);
    --bg-card: hsl(274, 37%, 16%);
    --bg-card-hover: hsl(274, 32%, 20%);
    --accent-primary: hsl(283, 84%, 50%);
    --accent-secondary: hsl(262, 78%, 45%);

    --text-primary: #f0f2ff;
    --text-secondary: #9ba3c2;
    --text-muted: #6b7394;
    --border: rgba(255, 255, 255, 0.07);
    --radius: 10px;
    --radius-lg: 18px;
    --transition: 0.22s ease;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.75;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-primary); text-decoration: none; }
a:hover { opacity: 0.85; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ─── Container ─── */
.wra-lbjnda {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn-qyliwg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--accent-primary);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 12px 26px;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-qyliwg:hover {
    opacity: 1;
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.btn-tcwsoo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 11px 26px;
    border-radius: var(--radius);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-tcwsoo:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}
.btn-uqpd63 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 30px;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-uqpd63:hover {
    opacity: 1;
    transform: translateY(-1px);
    filter: brightness(1.08);
}
.btn-5k3alp { padding: 14px 32px; font-size: 1rem; }
.btn-xopysh { display: flex; width: 100%; }

/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */
.hdr-0ru59n {
    position: relative;
    z-index: 100;
    transition: background var(--transition), box-shadow var(--transition);
}
.hdr-yizjwi {
    background: var(--bg-dark);
    box-shadow: 0 1px 0 var(--border);
}
.hdr-aprg0b {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 64px;
}
.log-1qpulz {
    flex-shrink: 0;
    text-decoration: none;
}
.log-lrwhbp {
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--accent-primary);
    line-height: 1;
}
.nav-l3t9om {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav-dhiegx {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: var(--transition);
    text-decoration: none;
}
.nav-dhiegx:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    opacity: 1;
}
.nav-c640hn { margin-left: 8px; }
.bur-q0r2ng {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    margin-left: 8px;
}
.bur-q0r2ng span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}
.bur-q0r2ng.iso-tdamc0 span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bur-q0r2ng.iso-tdamc0 span:nth-child(2) { opacity: 0; }
.bur-q0r2ng.iso-tdamc0 span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Auxiliary pages compatibility (privacy/cookie/404) ─── */
.top-bar {
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg-card) 55%, transparent);
}
.top-bar .wra-lbjnda {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 42px;
}
.top-bar-text {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.top-bar-links {
    display: flex;
    align-items: center;
    gap: 14px;
}
.top-bar-links a {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
}
.top-bar-links a:hover {
    color: var(--text-primary);
    opacity: 1;
}

.article-block {
    padding: 56px 0;
}
.article-content {
    max-width: 920px;
}
.article-content h1,
.article-content h2,
.article-content h3 {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.article-content h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 18px; line-height: 1.2; }
.article-content h2 { font-size: clamp(1.2rem, 3.2vw, 1.7rem); margin: 26px 0 12px; line-height: 1.25; }
.article-content h3 { font-size: clamp(1.05rem, 2.6vw, 1.25rem); margin: 20px 0 8px; line-height: 1.3; }
.article-content p,
.article-content li {
    color: var(--text-secondary);
}
.article-content ul {
    list-style: disc;
    margin-left: 18px;
}

.ftr {
    border-top: 1px solid var(--border);
    padding: 36px 0 26px;
    background: color-mix(in srgb, var(--bg-card) 35%, transparent);
}
.ftr-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}
.ftr-heading {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 10px;
}
.ftr-text,
.ftr-list a,
.ftr-bottom {
    font-size: 0.86rem;
    color: var(--text-muted);
}
.ftr-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ftr-list a:hover {
    color: var(--text-primary);
    opacity: 1;
}
.ftr-bottom {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.cta-main,
.cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
}
.cta-main {
    background: var(--accent-primary);
    color: var(--bg-dark);
}
.cta-ghost {
    border: 1px solid rgba(255,255,255,.25);
    color: var(--text-primary);
}

/* ─── Lang switcher ─── */
.lan-n1tk8g {
    display: flex;
    gap: 2px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
.lan-1f58yw {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.03em;
}
.lan-1f58yw:hover { color: var(--text-primary); opacity: 1; }
.lan-5efxgz {
    background: var(--accent-primary);
    color: var(--bg-dark);
}
.lan-5efxgz:hover { color: var(--bg-dark); }

/* ═══════════════════════════════
   HERO — split layout
═══════════════════════════════ */
.her-zayzzr {
    padding: 48px 0 70px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.hero-text { }
.hero-visual img {
    width: 100%;
    display: block;
    border-radius: 20px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.bre-zw62xi {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}
.bch-v05qgc { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.bch-v05qgc:hover { color: rgba(255, 255, 255, 0.85); opacity: 1; }
.bcs-cv2rea { color: rgba(255, 255, 255, 0.3); }
.bcc-2kukrf { color: rgba(255, 255, 255, 0.7); }

.her-r6mli6 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 700px;
    margin-bottom: 18px;
}
.her-wj09cm {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.65;
}
.her-h51c7m {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.her-qmsavm {
    display: flex;
    align-items: center;
    gap: 0;
}
.hst-39p5e2 {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 24px;
}
.hst-39p5e2:first-child { padding-left: 0; }
.hst-39p5e2 strong {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-primary);
}
.hst-39p5e2 span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.hdi-lal9i3 {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* ═══════════════════════════════
   PAGE LAYOUT (Article + Sidebar)
═══════════════════════════════ */
.pag-9u1bem {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
    align-items: start;
}

/* ─── TOC ─── */
.toc-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 32px;
    overflow: hidden;
}
.toc-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color var(--transition);
}
.toc-toggle:hover { color: var(--accent-primary); }
.toc-toggle-icon {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: transform var(--transition);
    line-height: 1;
}
.toc-box.toc-open .toc-toggle-icon { transform: rotate(180deg); }
.toc-list {
    display: none;
    flex-direction: column;
    padding: 0 18px 14px;
    gap: 2px;
    border-top: 1px solid var(--border);
}
.toc-box.toc-open .toc-list { display: flex; }
.toc-item {
    display: block;
    padding: 7px 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-radius: 6px;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
    line-height: 1.4;
}
.toc-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-primary);
    opacity: 1;
}
.toc-item-sub {
    padding-left: 22px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ─── Article ─── */
.art-aget7p {}

.pro-6ckyr8 {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.pro-6ckyr8 h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-top: 8px;
    border-top: 2px solid var(--accent-primary);
    padding-left: 0;
}
.pro-6ckyr8 h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 12px;
}
.pro-6ckyr8 p { margin-bottom: 18px; }
.pro-6ckyr8 ul, .pro-6ckyr8 ol {
    margin-bottom: 18px;
    padding-left: 20px;
}
.pro-6ckyr8 ul { list-style: disc; }
.pro-6ckyr8 ol { list-style: decimal; }
.pro-6ckyr8 li { margin-bottom: 6px; }
.pro-6ckyr8 blockquote {
    border-left: 3px solid var(--accent-primary);
    padding: 12px 20px;
    margin: 24px 0;
    background: var(--bg-card);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-primary);
    font-style: italic;
}
.pro-6ckyr8 strong { color: var(--text-primary); font-weight: 700; }
.pro-6ckyr8 a { color: var(--accent-primary); }
.pro-6ckyr8 img {
    border-radius: var(--radius);
    margin: 28px 0;
    width: 100%;
    height: auto;
}

/* ─── Sidebar ─── */
.sid-v7etj4 {}

.sbc-vsvane {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: sticky;
    top: 80px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.sbc-vsvane.isv-so6o6x {
    opacity: 1;
    transform: translateY(0);
}
.sbb-u865dw {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 20px;
    line-height: 1.15;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.btn-xopysh { margin-bottom: 24px; }
.sbc-hg5t3u {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sbc-hg5t3u li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.sbc-2p4xi2 {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: color-mix(in srgb, var(--accent-primary) 15%, transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

/* ═══════════════════════════════
   PROMO BAND
═══════════════════════════════ */
.pro-5r84cl {
    background: var(--accent-primary);
    padding: 56px 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.pro-5r84cl.isv-so6o6x { opacity: 1; }
.pro-cehhhp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.pro-uo8m8o {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--bg-dark) 60%, transparent);
    margin-bottom: 8px;
}
.pro-bim6jm {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--bg-dark);
    line-height: 1.2;
    max-width: 500px;
}

/* ═══════════════════════════════
   FAQ
═══════════════════════════════ */
.faq-h45h1r {
    padding: 64px 0;
}
.sec-5vc449 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 40px;
}
.faq-la0shw {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-bqrpy0 {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, border-color var(--transition);
}
.faq-bqrpy0.isv-so6o6x {
    opacity: 1;
    transform: translateY(0);
}
.faq-bqrpy0.faq-ptsmn8 {
    border-color: color-mix(in srgb, var(--accent-primary) 35%, transparent);
}
.faq-dunycp {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    transition: color var(--transition);
}
.faq-dunycp:hover { color: var(--accent-primary); }
.faq-bqrpy0.faq-ptsmn8 .faq-dunycp { color: var(--accent-primary); }
.faq-45fe5p {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: transform var(--transition), background var(--transition);
}
.faq-bqrpy0.faq-ptsmn8 .faq-45fe5p {
    transform: rotate(180deg);
    background: color-mix(in srgb, var(--accent-primary) 15%, transparent);
    color: var(--accent-primary);
}
.faq-irai8h {
    display: none;
    padding: 0 22px 20px;
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.75;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
.faq-bqrpy0.faq-ptsmn8 .faq-irai8h { display: block; }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.sit-y3amhp {
    background: color-mix(in srgb, var(--bg-card) 60%, var(--bg-dark));
    border-top: 1px solid var(--border);
    padding: 40px 0;
}
.foo-fom6nl {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 24px 40px;
    align-items: start;
}
.foo-zytgdd {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 8px;
}
.foo-taw7x4 {
    font-size: 0.82rem;
    color: var(--text-muted);
    max-width: 300px;
    line-height: 1.6;
}
.foo-z0f4gk {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.foo-z0f4gk a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}
.foo-z0f4gk a:hover { color: var(--accent-primary); opacity: 1; }
.foo-7dgquq {
    font-size: 0.8rem;
    color: var(--text-muted);
    align-self: end;
    white-space: nowrap;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 960px) {
    .pag-9u1bem {
        grid-template-columns: 1fr;
    }
    .sid-v7etj4 { order: -1; }
    .sbc-vsvane {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        align-items: flex-start;
    }
    .sbb-u865dw { width: 100%; margin-bottom: 0; }
    .btn-xopysh { width: auto; flex: 1; min-width: 180px; }
    .sbc-hg5t3u { flex-direction: row; flex-wrap: wrap; flex: 2; gap: 8px 20px; }
}

@media (max-width: 768px) {
    .bur-q0r2ng { display: flex; }
    .nav-l3t9om {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        gap: 4px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
    }
    .nav-l3t9om.nav-6mhzv8 {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-dhiegx { padding: 10px 12px; overflow-wrap: anywhere; }
    .nav-c640hn { display: none; }
    .btn-qyliwg,
    .btn-tcwsoo,
    .btn-uqpd63,
    .btn-5k3alp,
    .cta-main,
    .cta-ghost {
        white-space: normal;
        text-align: center;
    }

    /* Hero — мобильный: картинка сверху, контент под ней */
    .her-zayzzr { padding: 44px 0 48px; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-visual { order: -1; }
    .hero-visual img { aspect-ratio: 16 / 9; border-radius: 14px; }
    .bre-zw62xi { display: none; }
    .her-h51c7m { flex-direction: column; gap: 10px; }
    .her-h51c7m .btn-tcwsoo { display: inline-flex; }
    .her-h51c7m .btn-qyliwg,
    .her-h51c7m .btn-tcwsoo {
        width: 100%;
    }
    .her-qmsavm { flex-wrap: wrap; gap: 16px; }
    .hdi-lal9i3 { display: none; }
    .hst-39p5e2 { padding: 0; }

    .pro-cehhhp { flex-direction: column; gap: 24px; text-align: center; }
    .pro-bim6jm { max-width: 100%; }

    .foo-fom6nl { grid-template-columns: 1fr; gap: 20px; }
    .foo-z0f4gk { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
    .foo-7dgquq { order: 3; }

    .top-bar .wra-lbjnda {
        min-height: auto;
        padding: 8px 0;
        align-items: flex-start;
        flex-direction: column;
    }
    .top-bar-links {
        flex-wrap: wrap;
        gap: 8px 12px;
    }
    .ftr-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .her-r6mli6 { font-size: 1.55rem; line-height: 1.2; }
    .pag-9u1bem { padding-top: 40px; padding-bottom: 40px; }
    .sbc-vsvane { flex-direction: column; }
    .btn-xopysh { width: 100%; }
    .log-lrwhbp {
        font-size: 1.1rem;
        max-width: 68vw;
        overflow-wrap: anywhere;
    }
    .her-wj09cm,
    .pro-6ckyr8 p,
    .article-content p {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}
