/* НейроНумеролог — общий стиль лендинга и юридических страниц. */

:root {
    --bg: #0b0719;
    --bg-2: #140d30;
    --surface: rgba(255, 255, 255, .045);
    --surface-2: rgba(255, 255, 255, .075);
    --line: rgba(255, 255, 255, .10);
    --line-2: rgba(255, 255, 255, .18);
    --text: #f4f0ff;
    --muted: #bdb4da;
    --dim: #8f87b0;
    --accent: #b197fc;

    --grad: linear-gradient(100deg, #a78bfa 0%, #f472b6 50%, #fbbf24 100%);
    --grad-btn: linear-gradient(100deg, #7c3aed 0%, #c026d3 55%, #db2777 100%);

    /* Цвета чисел 1–9: каждому разделу карты — свой. */
    --n1: #ff6b6b;
    --n2: #ff9f43;
    --n3: #ffd43b;
    --n4: #69db7c;
    --n5: #38d9a9;
    --n6: #4dabf7;
    --n7: #8c9eff;
    --n8: #b197fc;
    --n9: #f783ac;

    --radius: 22px;
    --font-display: "Unbounded", "Onest", system-ui, sans-serif;
    --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.6 var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Звёздное небо: три слоя точек с разным шагом дают «случайный» узор. */
body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
body::before {
    background-image:
        radial-gradient(1.2px 1.2px at 23px 37px, #fff 50%, transparent 52%),
        radial-gradient(1px 1px at 131px 91px, rgba(255, 255, 255, .8) 50%, transparent 52%),
        radial-gradient(1.4px 1.4px at 71px 163px, rgba(255, 236, 190, .9) 50%, transparent 52%),
        radial-gradient(1px 1px at 187px 13px, rgba(200, 190, 255, .9) 50%, transparent 52%);
    background-size: 211px 197px;
    opacity: .45;
}
body::after {
    background-image:
        radial-gradient(1px 1px at 41px 211px, #fff 50%, transparent 52%),
        radial-gradient(1.6px 1.6px at 257px 67px, rgba(255, 200, 240, .9) 50%, transparent 52%),
        radial-gradient(1px 1px at 173px 283px, rgba(255, 255, 255, .7) 50%, transparent 52%);
    background-size: 331px 317px;
    opacity: .35;
    animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .15; } to { opacity: .5; } }

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #d0bfff; }

:focus-visible { outline: 2px solid var(--n3); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Шапка ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 7, 25, .72);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font: 700 16px/1 var(--font-display);
    letter-spacing: -.01em;
    white-space: nowrap;
}
.logo:hover { color: var(--text); }
.logo svg { width: 34px; height: 34px; flex: none; }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }

.header-cta { padding: 10px 18px; font-size: 15px; }

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 999px;
    font: 600 16px/1.2 var(--font-body);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary {
    background: var(--grad-btn);
    color: #fff;
    box-shadow: 0 12px 32px -12px rgba(219, 39, 119, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(219, 39, 119, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { color: var(--text); background: var(--surface); border: 1px solid var(--line-2); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); transform: translateY(-2px); }

/* ---------- Герой ---------- */

.hero { position: relative; padding: 72px 0 40px; isolation: isolate; }
.hero::before {
    content: "";
    position: absolute;
    inset: -120px 0 auto;
    height: 760px;
    z-index: -1;
    background:
        radial-gradient(520px 380px at 12% 20%, rgba(124, 58, 237, .38), transparent 70%),
        radial-gradient(480px 420px at 88% 30%, rgba(219, 39, 119, .30), transparent 70%),
        radial-gradient(360px 260px at 60% 85%, rgba(251, 191, 36, .14), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}
.eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--n4);
    box-shadow: 0 0 0 4px rgba(105, 219, 124, .18);
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; margin: 0; }

/* Кегль от ширины колонки: «Нумерологическая» в Unbounded ≈ 12.5em и должна влезать целиком. */
.hero-copy { container-type: inline-size; }
.hero h1 {
    margin: 22px 0 20px;
    font-size: clamp(22px, 3.6vw, 48px);
    font-size: clamp(22px, 7.6cqi, 56px);
    line-height: 1.08;
    font-weight: 700;
    text-wrap: balance;
}
.lead { margin: 0; max-width: 560px; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 15px;
}
.hero-note svg { width: 20px; height: 20px; color: var(--n3); flex: none; }
.hero-note b { color: var(--text); font-weight: 600; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-left: auto; }
.hero-art::before {
    content: "";
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, .35), rgba(244, 114, 182, .12) 55%, transparent 72%);
    filter: blur(30px);
    z-index: -1;
}
.wheel { width: 100%; height: 100%; overflow: visible; }
.wheel .spin { transform-origin: 240px 240px; animation: spin 90s linear infinite; }
.wheel .spin-rev { transform-origin: 240px 240px; animation: spin 140s linear infinite reverse; }
.wheel .flow { stroke-dasharray: 5 9; animation: flow 3.2s linear infinite; }
.wheel .halo { animation: halo 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); opacity: 0; }
.wheel .node-num { font: 700 19px var(--font-display); }
.wheel .core { animation: breathe 6s ease-in-out infinite; transform-origin: 240px 240px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -28; } }
@keyframes halo { 0%, 100% { opacity: 0; } 50% { opacity: .55; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.facts {
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}
.facts li { padding: 22px 24px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts b { display: block; font: 700 28px/1.1 var(--font-display); margin-bottom: 6px; }
.facts span { color: var(--muted); font-size: 15px; }
.facts li:nth-child(1) b { color: var(--n8); }
.facts li:nth-child(2) b { color: var(--n4); }
.facts li:nth-child(3) b { color: var(--n3); }
.facts li:nth-child(4) b { color: var(--n9); }

/* ---------- Секции ---------- */

.section { padding: 96px 0 0; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; font-weight: 700; text-wrap: balance; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }

/* ---------- 9 разделов карты ---------- */

.tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.tile {
    position: relative;
    padding: 26px 26px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(260px 160px at 100% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%),
        var(--surface);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease;
}
.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.tile-num {
    display: block;
    font: 800 54px/1 var(--font-display);
    color: var(--c);
    text-shadow: 0 0 28px color-mix(in srgb, var(--c) 55%, transparent);
    margin-bottom: 18px;
}
.tile h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Как это работает ---------- */

.how-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 56px;
    align-items: center;
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
    position: relative;
    padding: 0 0 30px 72px;
    counter-increment: step;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -4px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--grad-btn);
    color: #fff;
    font: 700 19px/1 var(--font-display);
    box-shadow: 0 10px 26px -10px rgba(192, 38, 211, .8);
}
.steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 52px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(var(--line-2), transparent);
}
.steps h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Телефон с примером диалога */
.phone {
    position: relative;
    border-radius: 36px;
    padding: 12px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
    box-shadow: 0 40px 80px -30px rgba(124, 58, 237, .55), 0 0 0 1px var(--line);
}
.phone-screen { border-radius: 26px; overflow: hidden; background: #17122e; }
.chat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #211a3f;
    border-bottom: 1px solid var(--line);
}
.chat-head svg { width: 38px; height: 38px; flex: none; }
.chat-head b { display: block; font-size: 15px; font-weight: 600; }
.chat-head span { font-size: 13px; color: var(--dim); }

.chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 14px 18px;
    font-size: 14px;
    line-height: 1.45;
}
.msg {
    max-width: 86%;
    padding: 9px 13px;
    border-radius: 16px;
    background: #2a2250;
    border-bottom-left-radius: 6px;
}
.msg.me {
    align-self: flex-end;
    background: linear-gradient(135deg, #7c3aed, #a21caf);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 6px;
}
.msg-btn {
    margin-top: -2px;
    max-width: 86%;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(177, 151, 252, .16);
    color: #e1d8ff;
    text-align: center;
    font-weight: 500;
}
.msg.card { border-left: 3px solid var(--n3); }
.msg.card b { color: var(--n3); }
.msg small { display: block; margin-top: 6px; color: var(--dim); font-size: 12px; }
.phone-caption { margin: 16px 0 0; text-align: center; color: var(--dim); font-size: 14px; }

/* ---------- Канал ---------- */

.channel {
    position: relative;
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background:
        radial-gradient(600px 300px at 0% 0%, rgba(77, 171, 247, .18), transparent 70%),
        radial-gradient(500px 300px at 100% 100%, rgba(247, 131, 172, .18), transparent 70%),
        var(--bg-2);
    overflow: hidden;
}
.channel .section-head { margin-bottom: 36px; }
.rubrics {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.rubric {
    padding: 24px;
    border-radius: 20px;
    background: rgba(11, 7, 25, .55);
    border: 1px solid var(--line);
}
.rubric-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    margin-bottom: 16px;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 16%, transparent);
}
.rubric-icon svg { width: 24px; height: 24px; }
.rubric .when { display: block; margin-bottom: 6px; color: var(--c); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.rubric h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.rubric p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Цена ---------- */

.prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 880px;
}
.price {
    position: relative;
    padding: 32px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: var(--surface);
}
.price.featured {
    border-color: transparent;
    background:
        linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
        var(--grad) border-box;
    border: 1.5px solid transparent;
}
.price-label { color: var(--muted); font-weight: 500; }
.price-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 10px 0 4px; }
.price-value b { font: 800 52px/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.price-value span { color: var(--muted); font-size: 16px; }
.price p { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.price .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(105, 219, 124, .15);
    color: var(--n4);
    font-size: 13px;
    font-weight: 600;
}

.pay-methods {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
}
.pay-methods li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 15px;
}
.pay-methods svg { width: 18px; height: 18px; color: var(--accent); }
.pay-note { max-width: 880px; margin: 18px 0 0; color: var(--dim); font-size: 15px; }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; display: grid; gap: 12px; }
.faq details {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    transition: border-color .2s ease, background-color .2s ease;
}
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    flex: none;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- Важно знать ---------- */

.notice {
    padding: 40px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
}
.notice .section-head { margin-bottom: 28px; }
.notice-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 36px;
}
.notice-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.notice-list svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--surface-2); color: var(--muted); }
.notice-list h3 { font: 600 17px/1.35 var(--font-body); letter-spacing: 0; margin: 0 0 4px; }
.notice-list p { margin: 0; color: var(--muted); font-size: 15px; }
.notice-more { margin: 28px 0 0; font-size: 15px; color: var(--dim); }

/* ---------- Финальный призыв ---------- */

.final {
    margin-top: 96px;
    padding: 64px 32px;
    border-radius: 32px;
    text-align: center;
    background:
        radial-gradient(500px 260px at 50% 0%, rgba(192, 38, 211, .35), transparent 70%),
        radial-gradient(400px 240px at 15% 100%, rgba(77, 171, 247, .22), transparent 70%),
        radial-gradient(400px 240px at 85% 100%, rgba(251, 191, 36, .18), transparent 70%),
        var(--bg-2);
    border: 1px solid var(--line);
}
.final h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.15; text-wrap: balance; }
.final p { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 18px; }
.final .cta-row { justify-content: center; }

/* ---------- Подвал ---------- */

.site-footer {
    margin-top: 96px;
    padding: 36px 0 44px;
    border-top: 1px solid var(--line);
    color: var(--dim);
    font-size: 14px;
    line-height: 1.6;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.legal { margin: 20px 0 0; font-size: 13px; color: var(--dim); }
.legal a { color: inherit; }
.legal p { margin: 4px 0; }

/* ---------- Юридические страницы ---------- */

.doc { max-width: 800px; padding-top: 56px; }
.back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
}
.back:hover { color: var(--text); }
.doc h1 { margin: 24px 0 8px; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.2; font-weight: 700; text-wrap: balance; }
.doc .subtitle { margin: 0 0 6px; color: var(--muted); font-size: 18px; }
.doc .meta { margin: 0 0 36px; color: var(--dim); font-size: 15px; }
.doc h2 {
    margin: 40px 0 14px;
    font: 600 20px/1.35 var(--font-display);
    letter-spacing: -.01em;
}
.doc p, .doc li { color: #ddd6f3; font-size: 16px; line-height: 1.7; }
.doc p { margin: 10px 0; }
.doc ul { margin: 8px 0 12px; padding-left: 24px; }
.doc li { margin: 4px 0; }
.doc .n { color: var(--dim); font-variant-numeric: tabular-nums; margin-right: 4px; }
.doc .sub { padding-left: 28px; }
.doc .lead-box {
    margin: 0 0 32px;
    padding: 20px 22px;
    border-radius: 16px;
    border: 1px solid var(--line-2);
    background: var(--surface);
}
.doc .lead-box p { margin: 6px 0; color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.doc th, .doc td {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 16px;
}
.doc th { width: 40%; padding-right: 16px; color: var(--dim); font-weight: 500; }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost b { display: block; font: 800 clamp(96px, 20vw, 180px)/1 var(--font-display); }
.lost p { color: var(--muted); font-size: 18px; margin: 12px 0 28px; }

/* ---------- Возврат из платёжного сервиса ---------- */

.result { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 56px 20px 72px; }
.result-card {
    width: 100%;
    max-width: 580px;
    padding: 48px 36px 40px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background:
        radial-gradient(420px 220px at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
        var(--bg-2);
    text-align: center;
}
.result-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--icon-bg);
    color: #fff;
    box-shadow: 0 18px 44px -14px var(--c);
}
.result-icon svg { width: 42px; height: 42px; }
.result h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; font-weight: 700; margin-bottom: 14px; }
.result-card > p { margin: 0 auto; max-width: 440px; color: var(--muted); font-size: 17px; }
.result .cta-row { justify-content: center; margin-top: 30px; }
.pay-details {
    margin: 26px auto 0;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(11, 7, 25, .5);
    text-align: left;
}
.pay-details div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 15px; }
.pay-details dt { color: var(--dim); }
.pay-details dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.test-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 212, 59, .14);
    color: var(--n3);
    font-size: 13px;
    font-weight: 600;
}
.result-card .result-help { margin: 28px auto 0; max-width: 440px; color: var(--dim); font-size: 14px; }

/* ---------- Адаптив ---------- */

@media (max-width: 1000px) {
    .nav { display: none; }
    .header-cta { margin-left: auto; }
    .hero { padding-top: 48px; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-art { max-width: 400px; margin: 0 auto; order: -1; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts li:nth-child(3) { border-left: 0; }
    .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .how-grid { grid-template-columns: 1fr; gap: 48px; }
    .phone { max-width: 420px; width: 100%; margin: 0 auto; }
    .rubrics { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .header-row { height: 60px; gap: 12px; }
    .logo { font-size: 14px; }
    .logo svg { width: 30px; height: 30px; }
    .header-cta { padding: 9px 14px; font-size: 14px; }
    .hero { padding-top: 32px; }
    .hero-art { max-width: 300px; }
    .cta-row .btn { width: 100%; }
    .btn { white-space: normal; text-align: center; }
    .channel > .btn { width: 100%; }
    .facts li { padding: 18px 16px; }
    .facts b { font-size: 24px; }
    .facts span { font-size: 14px; }
    .section { padding-top: 72px; }
    .section-head { margin-bottom: 32px; }
    .section-head p { font-size: 17px; }
    .tiles { grid-template-columns: 1fr; }
    .tile { padding: 22px; }
    .tile-num { font-size: 44px; margin-bottom: 12px; }
    .steps li { padding-left: 64px; }
    .channel { padding: 28px 20px; border-radius: 24px; }
    .prices { grid-template-columns: 1fr; }
    .price { padding: 26px 22px; }
    .price-value b { font-size: 44px; }
    .faq summary { padding: 18px 20px; font-size: 17px; }
    .faq details p { padding: 0 20px 20px; }
    .notice { padding: 28px 20px; border-radius: 24px; }
    .notice-list { grid-template-columns: 1fr; }
    .final { margin-top: 72px; padding: 44px 20px; border-radius: 24px; }
    .site-footer { margin-top: 72px; }
    .doc { padding-top: 36px; }
    .result { padding: 32px 16px 56px; }
    .result-card { padding: 36px 20px 30px; border-radius: 24px; }
    .doc th, .doc td { display: block; width: auto; padding: 0; border: 0; }
    .doc th { padding-top: 12px; }
    .doc td { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
