        :root {
            --ink:        #2A241F;
            --ink-deep:   #0F0F0F;
            --gold:       #FBC81E;
            --amber:      #d18f24;
            --copper:     #934A0B;
            --cream:      #FFE9A6;
            --bone:       #E8DFCC;
            --stone:      #C4B8A8;
            --rust:       #B7591E;
            --line:       rgba(232, 223, 204, 0.12);
            --line-soft:  rgba(232, 223, 204, 0.06);
            --mono: ui-monospace, "SF Mono", "JetBrains Mono", "IBM Plex Mono", Menlo, Consolas, monospace;
        }

        /* ════════════════════════════════════════════════════════════════
           HEADER — Numbered SEO nav with sliding gold underline
        ════════════════════════════════════════════════════════════════ */

        .header { gap: 36px; }
        .header__nav {
            gap: 28px !important;
            padding-top: 0 !important;
            align-items: stretch !important;
        }

        /* Each nav link becomes a column: number on top, label below,
           underline rail at bottom. Keep .header__nav-link from prod CSS
           so font/color stay branded; layer extras via .seo-link wrapper. */
        .header__nav .seo-link {
            position: relative;
            display: flex; flex-direction: column;
            align-items: flex-start;
            padding: 6px 0 10px;
            text-decoration: none;
            color: #FFFFFF;
            font-family: 'Involve', sans-serif;
        }
        .header__nav .seo-link__num {
            font-family: var(--mono);
            font-size: 9px; line-height: 1;
            letter-spacing: 0.12em;
            color: var(--stone); opacity: 0.55;
            margin-bottom: 4px;
            transition: color .2s ease, opacity .2s ease, transform .35s ease;
        }
        .header__nav .seo-link__label {
            font-weight: 500; font-size: 16px; line-height: 1;
            white-space: nowrap;
            color: #FFFFFF;
        }
        .header__nav .seo-link__label .anim-text { height: 1em; }
        .header__nav .seo-link__label .anim-text .span-mother span,
        .header__nav .seo-link__label .anim-text .span-mother2 span {
            font: inherit; color: inherit;
        }
        /* Sliding gold underline — signature element. */
        .header__nav .seo-link::after {
            content: ""; position: absolute; left: 0; right: 0; bottom: 0;
            height: 2px; transform: scaleX(0); transform-origin: left center;
            background: linear-gradient(90deg, var(--gold) 0%, var(--amber) 60%, var(--rust) 100%);
            transition: transform .45s cubic-bezier(.65,.05,.36,1);
        }
        .header__nav .seo-link:hover::after { transform: scaleX(1); }
        .header__nav .seo-link:hover .seo-link__num { color: var(--gold); opacity: 1; transform: translateY(-1px); }

        /* CTA button in the right cluster — neat, dark, gold-bordered */
        .header__cluster {
            display: flex; align-items: center; gap: 22px;
            padding-top: 0;
            flex-shrink: 0;
        }
        .header__cluster .header__phone { padding-top: 0; }
        .header-cta {
            position: relative;
            display: inline-flex; align-items: center; gap: 9px;
            padding: 11px 20px 11px 22px;
            border-radius: 999px;
            background: rgba(15,15,15,0.4);
            border: 1px solid rgba(251,200,30,0.45);
            color: var(--cream);
            font-family: 'Involve', sans-serif;
            font-weight: 500; font-size: 14px; line-height: 1;
            letter-spacing: 0.01em;
            cursor: pointer;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
            white-space: nowrap;
        }
        .header-cta::before {
            content: ""; width: 5px; height: 5px; border-radius: 50%;
            background: var(--gold);
            box-shadow: 0 0 0 0 rgba(251,200,30,0.55);
            animation: pulseDot 1.8s ease-out infinite;
        }
        .header-cta:hover {
            background: var(--gold);
            border-color: var(--gold);
            color: var(--ink);
            transform: translateY(-1px);
        }
        .header-cta:hover::before { background: var(--ink); animation: none; box-shadow: none; }
        .header-cta__arrow {
            width: 14px; height: 14px;
            transition: transform .25s ease;
        }
        .header-cta:hover .header-cta__arrow { transform: translateX(3px); }

        @keyframes pulseDot {
            0%   { box-shadow: 0 0 0 0 rgba(251,200,30,0.55); }
            70%  { box-shadow: 0 0 0 8px rgba(251,200,30,0); }
            100% { box-shadow: 0 0 0 0 rgba(251,200,30,0); }
        }

        /* ─── In-page jumps: thin ribbon below header pointing to anchors
               the original landing had (Презентация / Конверсия / Гарантии). ─── */
        .header-jumps {
            display: flex; align-items: center; gap: 22px;
            padding: 14px 0 0;
            margin-top: 18px;
            border-top: 1px solid rgba(232,223,204,0.08);
            font-family: var(--mono);
            font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
            color: var(--stone);
            position: relative; z-index: 5;
            flex-wrap: wrap;
        }
        .header-jumps__label { color: var(--stone); opacity: 0.5; }
        .header-jumps__link {
            display: inline-flex; align-items: baseline; gap: 6px;
            color: var(--bone);
            text-decoration: none;
            transition: color .2s ease;
        }
        .header-jumps__link::before {
            content: "→"; color: var(--gold); opacity: 0.7;
            font-family: var(--mono);
            transition: transform .25s ease, opacity .2s ease;
        }
        .header-jumps__link:hover { color: var(--gold); }
        .header-jumps__link:hover::before { transform: translateX(2px); opacity: 1; }
        .header-jumps__sep { color: var(--stone); opacity: 0.3; }

        @media (max-width: 950px) {
            .header-jumps { display: none; }
        }

        /* Tighten spacing on medium screens so 6 nav items + CTA + phone fit */
        @media (max-width: 1500px) {
            .header { gap: 24px; }
            .header__nav { gap: 20px !important; }
            .header__cluster { gap: 16px; }
            .header-cta { padding: 10px 16px 10px 18px; font-size: 13px; }
        }
        @media (max-width: 1280px) {
            .header__nav { gap: 16px !important; }
            .header__nav .seo-link__label { font-size: 14px; }
            .header__nav .seo-link__num { font-size: 8px; }
            .header-cta { padding: 9px 14px 9px 16px; font-size: 12px; }
        }
        @media (max-width: 1100px) {
            .header-cta { display: none; }  /* CTA hides earlier than nav */
        }
        /* At 950px the existing CSS hides .header__nav and .header__phone
           and shows the burger. Our cluster wraps them — hide it too. */
        @media (max-width: 950px) {
            .header__cluster { display: none; }
        }

        /* ════════════════════════════════════════════════════════════════
           FOOTER — magazine masthead with hook panel + chapter columns
        ════════════════════════════════════════════════════════════════ */

        /* Override prod .footer__top — we replace its 3 anchor nav with
           a richer "dispatch hook" panel (left: title; right: contacts). */
        .footer .footer__top { display: none; }

        .footer-hook {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 60px;
            padding: 0 0 56px;
            margin-bottom: 0;
            border-bottom: 1px solid var(--line);
        }
        .footer-hook__left { display: flex; flex-direction: column; gap: 22px; }
        .footer-hook__eyebrow {
            display: inline-flex; align-items: center; gap: 10px;
            font-family: var(--mono);
            font-size: 11px; letter-spacing: 0.18em;
            text-transform: uppercase; color: var(--stone);
        }
        .footer-hook__eyebrow::before {
            content: ""; width: 28px; height: 1px; background: var(--gold);
        }
        .footer-hook__title {
            font-family: 'Involve', sans-serif;
            font-weight: 600;
            font-size: clamp(36px, 4.5vw, 64px);
            line-height: 0.98;
            color: var(--cream);
            letter-spacing: -0.015em;
            margin: 0;
        }
        .footer-hook__title em {
            font-style: normal;
            background: linear-gradient(90deg, var(--gold), var(--amber));
            -webkit-background-clip: text; background-clip: text;
            color: transparent;
            white-space: nowrap;
        }
        .footer-hook__sub {
            font-family: 'Involve', sans-serif;
            font-size: 16px; line-height: 1.45;
            color: rgba(232,223,204,0.65);
            max-width: 480px;
            margin: 0;
        }

        .footer-hook__right {
            display: flex; flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 28px;
            text-align: center;
        }
        /* Phone block — label-on-top with thin gold leader bars,
           large centered number below. */
        .footer-contact {
            display: flex; flex-direction: column;
            align-items: center; gap: 12px;
            font-family: 'Involve', sans-serif;
        }
        .footer-contact__label {
            font-family: var(--mono);
            font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
            color: var(--stone); opacity: 0.65;
            display: inline-flex; align-items: center; gap: 12px;
        }
        .footer-contact__label::before,
        .footer-contact__label::after {
            content: ""; width: 18px; height: 1px;
            background: var(--gold); opacity: 0.55;
        }
        .footer-contact__value {
            font-weight: 600; font-size: clamp(28px, 3.4vw, 44px);
            line-height: 1;
            color: #FFFFFF; text-decoration: none;
            white-space: nowrap;
            letter-spacing: -0.005em;
        }
        .footer-contact__value .anim-text { height: 1em; }
        .footer-contact__value .anim-text .span-mother span,
        .footer-contact__value .anim-text .span-mother2 span {
            font: inherit; color: inherit;
        }

        .footer-hook__cta {
            display: inline-flex; align-items: center; gap: 12px;
            padding: 16px 26px;
            border-radius: 999px;
            background: var(--gold);
            color: var(--ink);
            font-family: 'Involve', sans-serif;
            font-weight: 600; font-size: 16px; line-height: 1;
            border: none; cursor: pointer;
            text-decoration: none;
            transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
            box-shadow: 0 0 0 0 rgba(251,200,30,0);
        }
        .footer-hook__cta:hover {
            background: var(--cream);
            transform: translateY(-2px);
            box-shadow: 0 16px 40px -10px rgba(251,200,30,0.45);
        }
        .footer-hook__cta-arrow {
            width: 18px; height: 18px;
            transition: transform .25s ease;
        }
        .footer-hook__cta:hover .footer-hook__cta-arrow { transform: translate(3px, -3px); }

        /* ─── Chapter-numbered link columns ─── */
        .footer-index {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 48px 40px;
            padding: 56px 0 56px;
            border-bottom: 1px solid var(--line);
        }
        .footer-index__col { display: flex; flex-direction: column; gap: 20px; }
        .footer-index__head {
            display: flex; align-items: baseline; gap: 12px;
            padding-bottom: 14px;
            border-bottom: 1px solid var(--line-soft);
        }
        .footer-index__num {
            font-family: var(--mono);
            font-size: 11px; letter-spacing: 0.12em;
            color: var(--gold); opacity: 0.7;
        }
        .footer-index__name {
            font-family: 'Involve', sans-serif;
            font-weight: 500;
            font-size: 13px; letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--bone);
            margin: 0;
        }
        .footer-index__list {
            list-style: none; padding: 0; margin: 0;
            display: flex; flex-direction: column; gap: 11px;
        }
        .footer-index__list a {
            position: relative;
            display: inline-flex; align-items: baseline; gap: 8px;
            color: var(--stone);
            text-decoration: none;
            font-family: 'Involve', sans-serif;
            font-size: 15px; line-height: 1.35;
            transition: color .2s ease, padding-left .25s ease;
        }
        .footer-index__list a::before {
            content: ""; width: 0; height: 1px;
            background: var(--gold);
            transition: width .3s ease;
            display: inline-block; align-self: center;
        }
        .footer-index__list a:hover {
            color: var(--cream);
            padding-left: 4px;
        }
        .footer-index__list a:hover::before { width: 14px; }
        .footer-index__list a .anim-text { height: 1.25em; }
        .footer-index__list a .anim-text .span-mother span,
        .footer-index__list a .anim-text .span-mother2 span {
            font: inherit; color: inherit;
        }

        /* ─── Wordmark band + bottom strip ─── */
        .footer-wordmark {
            padding: 40px 0 32px;
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 32px;
            align-items: end;
            border-bottom: 1px solid var(--line-soft);
            overflow: hidden;  /* contain the brand mark from pushing layout */
        }
        .footer-wordmark__brand {
            display: flex; align-items: baseline; gap: 18px;
            font-family: 'Involve', sans-serif;
            font-weight: 600;
            /* Sized so 9 chars (mbk·agent) fit within available column width:
               at 1440px viewport ≈ 1320px - meta 240px = 1080px → 168px font.
               Lower bound keeps mobile readable but contained. */
            font-size: clamp(56px, 11vw, 168px);
            line-height: 0.78;
            letter-spacing: -0.045em;
            color: rgba(232,223,204,0.04);
            -webkit-text-stroke: 1px rgba(232,223,204,0.18);
            text-transform: uppercase;
            margin: 0;
            white-space: nowrap;
        }
        .footer-wordmark__brand-dot { color: var(--gold); -webkit-text-stroke: 0; }
        .footer-meta {
            display: grid;
            grid-template-columns: repeat(3, auto);
            gap: 22px 36px;
            justify-content: end;
            font-family: var(--mono);
            font-size: 11px; letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--stone);
        }
        .footer-meta__row { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
        .footer-meta__label { color: var(--stone); opacity: 0.55; font-size: 10px; }
        .footer-meta__val { color: var(--cream); }
        .footer-meta__sub { color: var(--stone); font-size: 10px; opacity: 0.65; letter-spacing: 0.08em; }

        /* Override prod .footer__bottom layout to keep our typography tone */
        .footer .footer__bottom {
            padding: 22px 0 0;
            border-top: 1px solid var(--line-soft);
        }
        .footer .footer__copy { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); opacity: 0.7; }
        .footer .footer__privacy { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); opacity: 0.7; border-bottom: 1px dotted var(--stone); padding-bottom: 1px; }
        .footer .footer__privacy:hover { color: var(--cream); opacity: 1; }

        /* Footer container — give it deeper padding + the warm dark backdrop.
           Prod CSS at min-width:769px turns .footer into a 3-col grid for
           the original 3-column structure (logo / phone / email). Reset it
           here so our hook/index/wordmark sections can span full width. */
        .footer {
            display: block !important;
            grid-template-columns: none !important;
            padding: 80px 60px 32px !important;
            background: radial-gradient(120% 90% at 30% 0%, rgba(147,74,11,0.18) 0%, rgba(15,15,15,0) 55%),
                        linear-gradient(180deg, #161210 0%, #0c0a09 100%);
            position: relative;
            overflow: hidden;
        }
        /* Same reset for the bottom row — prod CSS gives its children
           grid-column placement that breaks our flex layout. */
        .footer .footer__bottom {
            display: flex !important;
        }
        .footer .footer__copy,
        .footer .footer__privacy,
        .footer .footer__badge {
            grid-column: auto !important;
            grid-row: auto !important;
            align-self: auto !important;
            justify-self: auto !important;
        }
        .footer::before {
            content: "";
            position: absolute; top: 0; left: 0; right: 0; height: 1px;
            background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
            opacity: 0.35;
        }

        /* ─── Responsive ─── */
        @media (max-width: 1100px) {
            /* Hook stacks: title/sub on top, contacts panel below — keep
               contacts CENTERED so phone reads as the focal point. */
            .footer-hook { grid-template-columns: 1fr; gap: 36px; }
            .footer-index { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
            .footer { padding: 64px 40px 28px !important; }
        }
        @media (max-width: 720px) {
            .footer-hook { padding-bottom: 40px; }
            .footer-contact__value { font-size: 26px !important; }
            .footer-index { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
            .footer-wordmark { grid-template-columns: 1fr; gap: 18px; align-items: start; }
            .footer-meta { grid-template-columns: 1fr 1fr; justify-content: start; gap: 18px; }
            .footer { padding: 48px 24px 24px !important; }
            .footer .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
        }
        @media (max-width: 480px) {
            .footer-hook__cta { width: 100%; justify-content: center; }
            .footer-meta { grid-template-columns: 1fr; }
        }
