:root {
    color-scheme: dark;
    --bg: #10171e;
    --bg-soft: #151e27;
    --panel: #1a232c;
    --panel-2: #202b35;
    --line: rgba(255, 255, 255, .12);
    --line-soft: rgba(255, 255, 255, .07);
    --ink: #f7ecdb;
    --muted: #b9b3a8;
    --muted-2: #8e8b84;
    --gold: #e4b77a;
    --gold-bright: #f6cc92;
    --gold-soft: rgba(228, 183, 122, .14);
    --warm: #e1ae78;
    --wisdom: #b4c6ac;
    --love: #d9a1a0;
    --newyear: #e5c07b;
    --christmas: #f0d69a;
    --scripture: #b7b0dc;
    --radius: 22px;
    --shadow: 0 24px 60px rgba(0, 0, 0, .38);
    --serif: Georgia, "Times New Roman", "Cormorant Garamond", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(ellipse 90% 60% at 50% -10%, #38404b 0%, rgba(31, 41, 50, .65) 34%, transparent 70%),
        radial-gradient(ellipse 70% 50% at 85% 25%, rgba(89, 68, 52, .28) 0%, transparent 65%),
        radial-gradient(ellipse 60% 45% at 8% 60%, rgba(49, 65, 70, .34) 0%, transparent 70%),
        var(--bg);
    color: var(--ink);
    font: 16px/1.6 var(--sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
p, h1, h2, h3, blockquote, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
fieldset { margin: 0; padding: 0; border: 0; }

:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 4px;
}

.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;
}

/* ---------- Фон ---------- */

.starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, #fff4d8 0.7px, transparent 1.1px),
        radial-gradient(circle, #fff4d8 0.55px, transparent 1px),
        radial-gradient(circle, #d8e3ff 0.6px, transparent 1px);
    background-size: 113px 127px, 179px 163px, 241px 211px;
    background-position: 13px 20px, 58px 73px, 90px 40px;
    opacity: .13;
    animation: drift 140s linear infinite;
}

@keyframes drift {
    to { background-position: 13px -1107px, 58px -1090px, 90px -1211px; }
}

/* ---------- Общие элементы ---------- */

.topbar,
main,
.footer {
    position: relative;
    z-index: 1;
}

.topbar {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 28px 10px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}

.orb {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    flex: none;
    background: radial-gradient(circle at 30% 25%, #fff5cd, #c09c7c 25%, #74758e 58%, #333647 80%);
    box-shadow: 0 0 20px rgba(226, 201, 158, .35), inset -3px -4px 8px rgba(0, 0, 0, .35);
}

.topnav {
    display: flex;
    gap: 26px;
    margin-left: auto;
    font-size: 13px;
    color: var(--muted);
}

.topnav a {
    position: relative;
    transition: color .2s;
}

.topnav a:hover { color: var(--ink); }

.topnav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -5px;
    height: 1px;
    background: var(--gold);
    transition: right .25s;
}

.topnav a:hover::after { right: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(180deg, #f3ca91, #dfa965);
    color: #2e2418;
    box-shadow: 0 10px 26px rgba(228, 183, 122, .22);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ffd9a6, #e8b371);
    box-shadow: 0 14px 32px rgba(228, 183, 122, .3);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .03);
    color: #e6dccd;
}

.btn-ghost:hover {
    border-color: rgba(228, 183, 122, .55);
    background: rgba(228, 183, 122, .08);
}

.btn-small {
    min-height: 38px;
    padding: 8px 17px;
    font-size: 12px;
}

.btn-wide { width: 100%; }

.btn-plan {
    width: 100%;
    min-height: 44px;
    margin-top: 18px;
    border-color: rgba(228, 183, 122, .38);
    background: rgba(228, 183, 122, .08);
    color: var(--gold-bright);
}

.btn-plan:hover { background: rgba(228, 183, 122, .16); }

.tg-icon {
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    background: #2aabee;
    position: relative;
}

.tg-icon::before {
    content: "";
    position: absolute;
    inset: 4px 3px 5px 4px;
    background: #fff;
    clip-path: polygon(0 42%, 100% 0, 78% 100%, 39% 70%, 20% 90%, 22% 58%);
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: #c9ae8c;
    margin-bottom: 10px;
}

h1, h2, h3, blockquote {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.02em;
}

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- Hero ---------- */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    align-items: center;
    gap: clamp(30px, 6vw, 84px);
    padding: clamp(48px, 8vh, 96px) 0 clamp(44px, 7vh, 78px);
}

.hero h1 {
    font-size: clamp(52px, 7.4vw, 98px);
    letter-spacing: -.05em;
    line-height: .98;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-bright);
    display: inline-block;
    position: relative;
}

.hero h1 em::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: 2px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(246, 204, 146, .6), transparent);
}

.lead {
    max-width: 34rem;
    margin-top: 26px;
    color: var(--muted);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-note {
    margin-top: 22px;
    font-size: 12px;
    color: var(--muted-2);
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 460px;
}

.glow {
    position: absolute;
    width: 112%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 183, 122, .18) 0%, rgba(228, 183, 122, .05) 38%, transparent 66%);
    filter: blur(12px);
    animation: pulse 7s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(.94); opacity: .8; }
    50% { transform: scale(1.04); opacity: 1; }
}

.glass {
    position: relative;
    width: min(78%, 330px);
    aspect-ratio: .78;
    border: 1px solid rgba(228, 183, 122, .3);
    border-top: 2px solid rgba(228, 183, 122, .55);
    border-radius: 26px 26px 60px 60px / 12px 12px 42px 42px;
    background:
        radial-gradient(ellipse at 50% 70%, rgba(228, 183, 122, .1), transparent 72%),
        linear-gradient(90deg, rgba(255, 255, 255, .05), transparent 14%, transparent 86%, rgba(255, 255, 255, .06));
    box-shadow:
        inset 8px 0 16px rgba(255, 255, 255, .05),
        inset -8px 0 16px rgba(255, 255, 255, .05),
        inset 0 -16px 26px rgba(9, 14, 22, .45),
        0 30px 60px rgba(6, 10, 15, .5);
    overflow: hidden;
    transform: rotate(1.4deg);
    transition: transform .4s cubic-bezier(.2, .7, .3, 1);
}

.hero-visual:hover .glass { transform: rotate(0deg) translateY(-5px); }

.glass::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    border-left: 1px solid rgba(255, 255, 255, .15);
    border-right: 1px solid rgba(255, 255, 255, .1);
    pointer-events: none;
    z-index: 3;
}

.glass-shine {
    position: absolute;
    top: -30%;
    left: -50%;
    width: 45%;
    height: 170%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
    transform: rotate(14deg);
    animation: shine 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes shine {
    0%, 55% { left: -55%; }
    80%, 100% { left: 130%; }
}

.cookie {
    position: absolute;
    width: 38%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 240, 205, .55), transparent 22%),
        radial-gradient(circle at 62% 66%, #b97a42 0 5%, transparent 6%),
        radial-gradient(circle at 34% 62%, #a9692f 0 6%, transparent 7%),
        radial-gradient(circle at 70% 32%, #c4864f 0 4%, transparent 5%),
        radial-gradient(circle at 48% 44%, #dca567, #b87a41 58%, #87552b 100%);
    box-shadow:
        inset -7px -9px 14px rgba(92, 51, 21, .45),
        inset 4px 5px 10px rgba(255, 226, 180, .3),
        0 12px 20px rgba(8, 10, 14, .4);
    animation: float 6s ease-in-out infinite;
}

.cookie::before,
.cookie::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #f4d6a6, #b97c44 70%);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, .4);
}

.cookie::before { width: 19%; height: 19%; top: 22%; left: 26%; opacity: .65; }
.cookie::after { width: 12%; height: 12%; top: 56%; left: 44%; opacity: .4; }

.c1 { top: 14%; left: 12%; transform: rotate(-14deg); animation-delay: -1s; }
.c2 { top: 20%; right: 10%; width: 34%; transform: rotate(18deg); animation-delay: -3.2s; }
.c3 {
    top: 46%;
    left: 32%;
    width: 42%;
    z-index: 2;
    transform: rotate(-6deg);
    animation-delay: -2s;
    cursor: pointer;
    transition: transform .25s, filter .25s;
}

.c3:hover { filter: brightness(1.1); transform: rotate(0deg) scale(1.04); }
.c3:active { transform: rotate(0deg) scale(.97); }

.c4 { bottom: 12%; left: 14%; width: 36%; transform: rotate(9deg); animation-delay: -4.4s; }
.c5 { bottom: 9%; right: 12%; width: 30%; transform: rotate(-22deg); animation-delay: -5.1s; }

@keyframes float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
}

.hint {
    position: relative;
    z-index: 3;
    margin-top: 8px;
    padding: 9px 18px;
    border: 1px solid rgba(228, 183, 122, .3);
    border-radius: 999px;
    background: rgba(16, 23, 30, .55);
    backdrop-filter: blur(10px);
    color: #e9cfa9;
    font-size: 12px;
    letter-spacing: .02em;
    transition: border-color .2s, background .2s;
}

.hint:hover { border-color: rgba(228, 183, 122, .65); background: rgba(228, 183, 122, .1); }
.hint span { color: var(--gold-bright); margin-right: 4px; }

/* ---------- Полоса цифр ---------- */

.strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 26px 0;
}

.strip div {
    text-align: center;
    padding: 4px 16px;
    border-right: 1px solid var(--line-soft);
}

.strip div:last-child { border-right: 0; }

.strip strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 400;
    color: var(--gold-bright);
    line-height: 1.1;
}

.strip span {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted-2);
}

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

.section { padding: clamp(64px, 10vh, 118px) 0 0; }

.section-head {
    max-width: 620px;
    margin: 0 auto clamp(34px, 5vw, 54px);
    text-align: center;
}

.section-head h2 {
    font-size: clamp(34px, 4.6vw, 54px);
    letter-spacing: -.04em;
}

.section-head > p:last-child {
    margin-top: 14px;
    color: var(--muted);
    font-size: 15px;
}

/* ---------- Шаги ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step {
    position: relative;
    padding: 30px 28px 32px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
    overflow: hidden;
    transition: border-color .3s, transform .3s;
}

.step:hover { border-color: rgba(228, 183, 122, .3); transform: translateY(-3px); }

.step::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 183, 122, .12), transparent 65%);
}

.step-num {
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: .16em;
    color: var(--gold);
}

.step h3 {
    margin: 40px 0 10px;
    font-size: 26px;
}

.step p { color: var(--muted); font-size: 14px; }

/* ---------- Коллекции ---------- */

.collections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.collection {
    --tone: var(--warm);
    position: relative;
    padding: 32px 28px;
    min-height: 190px;
    border: 1px solid color-mix(in srgb, var(--tone) 26%, transparent);
    border-radius: var(--radius);
    background:
        radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--tone) 12%, transparent), transparent 68%),
        rgba(255, 255, 255, .022);
    transition: transform .3s, border-color .3s, background .3s;
    overflow: hidden;
}

.collection:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--tone) 55%, transparent);
    background:
        radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--tone) 18%, transparent), transparent 70%),
        rgba(255, 255, 255, .035);
}

.collection[data-tone="wisdom"] { --tone: var(--wisdom); }
.collection[data-tone="love"] { --tone: var(--love); }
.collection[data-tone="newyear"] { --tone: var(--newyear); }
.collection[data-tone="christmas"] { --tone: var(--christmas); }
.collection[data-tone="scripture"] { --tone: var(--scripture); }

.collection-icon {
    font-family: var(--serif);
    font-size: 38px;
    line-height: 1;
    color: var(--tone);
    filter: drop-shadow(0 0 18px color-mix(in srgb, var(--tone) 35%, transparent));
}

.collection h3 {
    margin: 26px 0 6px;
    font-size: 27px;
    color: var(--tone);
}

.collection p { font-size: 13px; color: var(--muted); }

/* ---------- Пополнение ---------- */

.section-topup .section-head { max-width: 680px; }

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 34px 24px 28px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    transition: transform .3s, border-color .3s;
}

.plan:hover { transform: translateY(-4px); border-color: rgba(228, 183, 122, .38); }

.plan-featured {
    border-color: rgba(228, 183, 122, .55);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(228, 183, 122, .16), transparent 60%),
        linear-gradient(180deg, rgba(228, 183, 122, .06), rgba(255, 255, 255, .015));
    box-shadow: 0 20px 50px rgba(228, 183, 122, .07);
}

.plan-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f3ca91, #dfa965);
    color: #2e2418;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-cookies {
    display: grid;
    place-items: center;
    height: 132px;
    margin-bottom: 8px;
}

.plan-art {
    display: block;
    width: min(100%, 190px);
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .18));
}

.plan h3 {
    font-size: 30px;
    color: #f4e3cc;
}

.plan-count {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted-2);
}

.plan-price {
    margin-top: 16px;
    font-size: 30px;
    font-weight: 650;
    letter-spacing: -.02em;
    color: var(--gold-bright);
}

.pay-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 26px;
}

.pay-method {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: rgba(255, 255, 255, .018);
}

.pay-method strong { font-size: 14px; }
.pay-method p { margin-top: 4px; font-size: 12px; color: var(--muted-2); line-height: 1.5; }

.pay-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 12px;
    font-size: 19px;
    line-height: 1;
}

.pay-icon.stars {
    background: rgba(246, 204, 146, .13);
    color: var(--gold-bright);
}

.pay-icon.card {
    position: relative;
    background: rgba(180, 198, 172, .12);
}

.pay-icon.card::before {
    content: "";
    width: 20px;
    height: 14px;
    border: 1.5px solid #b4c6ac;
    border-radius: 3px;
    background: linear-gradient(180deg, transparent 38%, #b4c6ac 38% 54%, transparent 54%);
}

.pay-icon.gift {
    background: rgba(217, 161, 160, .13);
    color: var(--love);
}

/* ---------- Цитата ---------- */

.quote-band { padding: clamp(64px, 10vh, 110px) 0 0; }

.paper {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(44px, 6vw, 66px) clamp(26px, 6vw, 72px) 40px;
    border-radius: 6px;
    background:
        radial-gradient(ellipse at 42% 34%, #fff5da, #ecd3a4 68%, #dfc08c);
    color: #4b3324;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .4), inset 0 0 22px rgba(163, 113, 58, .28);
    transform: rotate(-.35deg);
    overflow: hidden;
}

.paper::before,
.paper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 11px;
    background: linear-gradient(#ac8150, #f6dfb1 30%, #bb9058 85%);
    border-radius: 7px;
}

.paper::before { top: 0; }
.paper::after { bottom: 0; }

.paper .eyebrow { color: #9a744a; }

.paper blockquote {
    font-size: clamp(23px, 3.4vw, 36px);
    line-height: 1.35;
    text-wrap: balance;
    min-height: 2.7em;
    display: grid;
    place-items: center;
}

.linkish {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 26px;
    padding: 0;
    border: 0;
    background: none;
    color: #7d5d3c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    border-bottom: 1px solid rgba(125, 93, 60, .35);
    padding-bottom: 3px;
    transition: color .2s, border-color .2s;
}

.linkish:hover { color: #4b3324; border-color: #4b3324; }

@keyframes quoteIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.paper blockquote.is-changing { animation: quoteIn .45s ease both; }

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

.faq-section .section-head { margin-bottom: 30px; }

.faq {
    max-width: 780px;
    margin: 0 auto;
    border-top: 1px solid var(--line-soft);
}

.faq details {
    border-bottom: 1px solid var(--line-soft);
}

.faq summary {
    position: relative;
    padding: 22px 44px 22px 0;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 550;
    transition: color .2s;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--gold);
    transition: transform .25s;
}

.faq details[open] summary { color: var(--gold-bright); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details p {
    padding: 0 40px 24px 0;
    color: var(--muted);
    font-size: 14px;
    max-width: 62ch;
}

/* ---------- CTA ---------- */

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: clamp(64px, 10vh, 110px);
    padding: clamp(32px, 5vw, 52px);
    border: 1px solid rgba(228, 183, 122, .26);
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 12% 0%, rgba(228, 183, 122, .16), transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(183, 176, 220, .1), transparent 55%),
        rgba(255, 255, 255, .025);
}

.cta-band h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.035em; }
.cta-band p:last-child { margin-top: 10px; color: var(--muted); font-size: 14px; }
.cta-band .btn { flex: none; }

/* ---------- Footer ---------- */

.footer {
    max-width: 1180px;
    margin: clamp(56px, 8vh, 90px) auto 0;
    padding: 38px 28px 34px;
    border-top: 1px solid var(--line-soft);
    text-align: center;
    color: var(--muted-2);
    font-size: 12px;
}

.footer-brand { justify-content: center; color: var(--ink); }

.footer > p { margin-top: 14px; }

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
}

.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--gold-bright); }

.footer .footer-legal {
    margin-top: 26px;
    font-size: 11px;
    color: #777c80;
}

/* ---------- Модальные окна ---------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
    background: rgba(8, 13, 18, .78);
    backdrop-filter: blur(14px);
    overflow-y: auto;
}

.modal[hidden] { display: none; }

.modal-card {
    position: relative;
    width: min(100%, 460px);
    padding: 38px 32px 30px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 26px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(228, 183, 122, .1), transparent 60%),
        linear-gradient(180deg, #202b35, #151d25);
    box-shadow: var(--shadow);
    animation: modalIn .3s cubic-bezier(.2, .7, .3, 1) both;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.modal-card h2 {
    font-size: 36px;
    letter-spacing: -.03em;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    font-size: 22px;
    line-height: 1;
    color: #ddd4c6;
    transition: background .2s, border-color .2s;
}

.modal-close:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); }

.pay-summary {
    margin-top: 6px;
    color: var(--gold-bright);
    font-size: 15px;
}

.method-list {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.method { position: relative; display: block; }

.method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.method-body {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .02);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.method-body strong { display: block; font-size: 14px; }
.method-body small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted-2); }

.method:hover .method-body { border-color: rgba(255, 255, 255, .24); }

.method input:checked + .method-body {
    border-color: rgba(228, 183, 122, .65);
    background: rgba(228, 183, 122, .08);
}

.method-disabled .method-body {
    opacity: .55;
    cursor: not-allowed;
}

.method-disabled:hover .method-body { border-color: var(--line); }

.soon {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(228, 183, 122, .14);
    color: var(--gold);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    vertical-align: 1px;
}

.method input:focus-visible + .method-body {
    outline: 2px solid var(--gold-bright);
    outline-offset: 3px;
}

.pay-note {
    margin-top: 16px;
    font-size: 11px;
    line-height: 1.55;
    color: var(--muted-2);
    text-align: center;
}

.scroll-card {
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(228, 183, 122, .12), transparent 60%),
        linear-gradient(180deg, #202b35, #151d25);
}

.scroll-card .eyebrow { margin-bottom: 18px; }

.paper-inline {
    position: relative;
    margin: 0 auto 22px;
    padding: 34px 24px;
    border-radius: 4px;
    background: radial-gradient(ellipse at 42% 34%, #fff5da, #ecd3a4 68%, #dfc08c);
    color: #4b3324;
    box-shadow: inset 0 0 16px rgba(163, 113, 58, .3), 0 12px 30px rgba(0, 0, 0, .28);
    transform: rotate(-.4deg);
    overflow: hidden;
}

.paper-inline::before,
.paper-inline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 9px;
    background: linear-gradient(#ac8150, #f6dfb1 30%, #bb9058 85%);
    border-radius: 6px;
}

.paper-inline::before { top: 0; }
.paper-inline::after { bottom: 0; }

.paper-inline p {
    font-family: var(--serif);
    font-size: clamp(20px, 4vw, 25px);
    line-height: 1.4;
    text-wrap: balance;
    animation: quoteIn .45s ease both;
}

.scroll-card .btn { margin-bottom: 4px; }
.scroll-card .linkish { margin-top: 16px; color: #b9a68d; border-color: rgba(185, 166, 141, .3); font-size: 11px; }
.scroll-card .linkish:hover { color: var(--gold-bright); border-color: rgba(246, 204, 146, .5); }

body.no-scroll { overflow: hidden; }

/* ---------- Документы ---------- */

.doc-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(40px, 7vh, 76px) 0 0;
}

.doc-head {
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line-soft);
}

.doc-head h1 {
    font-size: clamp(38px, 6vw, 60px);
    letter-spacing: -.04em;
}

.doc-head p {
    margin-top: 12px;
    color: var(--muted-2);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.doc {
    padding-top: 26px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.doc h2 {
    margin: 32px 0 10px;
    font-size: 25px;
    color: var(--ink);
    letter-spacing: -.02em;
}

.doc p + p { margin-top: 10px; }
.doc ul { margin: 10px 0 0; padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--gold-bright); border-bottom: 1px solid rgba(246, 204, 146, .3); }
.doc a:hover { border-color: var(--gold-bright); }

.doc-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 34px;
    color: var(--gold);
    font-size: 13px;
}

.doc-back:hover { color: var(--gold-bright); }

@media (max-width: 560px) {
    .doc-wrap { padding-top: 30px; }
    .doc { font-size: 13px; }
}

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

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .lead { margin-left: auto; margin-right: auto; }
    .hero-visual { min-height: 390px; }
    .glass { width: min(66%, 280px); }
    .topnav { display: none; }
}

@media (max-width: 780px) {
    .steps,
    .collections,
    .plans,
    .pay-methods { grid-template-columns: 1fr; }

    .steps { gap: 12px; }
    .step h3 { margin-top: 22px; }

    .collections { grid-template-columns: repeat(2, 1fr); }
    .collection { min-height: 168px; padding: 26px 22px; }

    .strip { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
    .strip div:nth-child(2) { border-right: 0; }
    .strip div:nth-child(3),
    .strip div:nth-child(4) { padding-top: 20px; border-top: 1px solid var(--line-soft); }

    .cta-band { flex-direction: column; text-align: center; }
    .cta-band .btn { width: 100%; }
}

@media (max-width: 560px) {
    .topbar { padding: 16px 16px 6px; gap: 12px; }
    .brand { font-size: 11px; letter-spacing: .12em; }
    .topbar .btn-small { margin-left: auto; }
    main { padding: 0 16px; }

    .hero { padding: 34px 0 42px; gap: 30px; }
    .hero h1 { font-size: clamp(46px, 13.5vw, 64px); }
    .lead { font-size: 14px; margin-top: 20px; }
    .hero-actions { width: 100%; flex-direction: column; margin-top: 28px; }
    .hero-actions .btn { width: 100%; }
    .hero-visual { min-height: 330px; }
    .glass { width: min(70%, 240px); }
    .hint { font-size: 11px; }

    .strip { padding: 22px 0; }
    .strip strong { font-size: 26px; }
    .strip span { font-size: 10px; }

    .section { padding-top: 62px; }
    .section-head { margin-bottom: 30px; }
    .collections { grid-template-columns: 1fr 1fr; gap: 10px; }
    .collection { min-height: 152px; padding: 22px 18px; border-radius: 18px; }
    .collection-icon { font-size: 30px; }
    .collection h3 { font-size: 22px; margin-top: 20px; }
    .collection p { font-size: 11px; }

    .plan { padding: 30px 20px 24px; }
    .plan-price { margin-top: 10px; }

    .paper { padding: 42px 22px 34px; }
    .quote-band { padding-top: 62px; }

    .faq summary { font-size: 15px; padding: 19px 38px 19px 0; }
    .faq details p { padding-right: 20px; font-size: 13px; }

    .cta-band { padding: 30px 22px; border-radius: 22px; }
    .footer { padding: 32px 16px 28px; }

    .modal-card { padding: 34px 20px 26px; border-radius: 22px; }
    .modal-card h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
