:root {
    --ivory: #F6F1EA;
    --plum: #3B2534;
    --wine: #6F465D;
    --gold: #B89B67;
    --text: #2B2528;

    --white: #FFFFFF;
    --soft-white: #FCFAF7;
    --line: rgba(59, 37, 52, 0.13);
    --muted: rgba(43, 37, 40, 0.66);

    --radius-small: 14px;
    --radius: 22px;
    --radius-large: 30px;

    --shadow:
        0 20px 60px rgba(59, 37, 52, 0.09);
}


/* ========================= */
/* БАЗА */
/* ========================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--ivory);
}

body {
    margin: 0;
    min-height: 100vh;

    color: var(--text);
    background:
        radial-gradient(circle at 50% -10%,
            rgba(184, 155, 103, 0.12),
            transparent 38%),
        var(--ivory);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}


/* ========================= */
/* ЭКРАНЫ */
/* ========================= */

.app {
    min-height: 100vh;
}

.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: flex;
    animation: screenFade 0.45s ease;
}

@keyframes screenFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================= */
/* КНОПКИ */
/* ========================= */

.button {
    width: 100%;
    min-height: 58px;

    padding: 16px 20px;

    border: 0;
    border-radius: 18px;

    font-weight: 700;
    font-size: 15px;

    letter-spacing: 0.015em;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        box-shadow 0.18s ease;
}

.button:active:not(:disabled) {
    transform: scale(0.985);
}

.button:disabled {
    opacity: 0.35;
    cursor: default;
}

.button-primary {
    color: var(--white);
    background: var(--plum);

    box-shadow:
        0 12px 30px rgba(59, 37, 52, 0.17);
}

.button-gold {
    color: var(--plum);
    background: var(--gold);

    box-shadow:
        0 14px 34px rgba(184, 155, 103, 0.24);
}

.text-button {
    width: 100%;

    margin-top: 28px;
    padding: 14px;

    color: var(--wine);
    background: transparent;

    border: 0;

    font-weight: 600;

    cursor: pointer;
}


/* ========================= */
/* ОБЩИЕ ТЕКСТЫ */
/* ========================= */

.eyebrow,
.result-label {
    margin: 0 0 10px;

    color: var(--wine);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-description {
    margin: 14px 0 28px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.55;
}


/* ========================= */
/* ГЛАВНАЯ */
/* ========================= */

#home-screen {
    align-items: center;
    justify-content: center;

    padding: 32px 22px;
}

.hero {
    width: 100%;
    max-width: 540px;

    text-align: center;
}

.brand {
    margin-bottom: 34px;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 16px;
    font-weight: 700;

    letter-spacing: 0.17em;
}

.hero-symbol {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin: 0 auto 26px;

    color: var(--gold);

    border: 1px solid rgba(184, 155, 103, 0.35);
    border-radius: 50%;

    font-size: 22px;
}

.hero h1 {
    margin: 0 0 20px;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(38px, 11vw, 58px);
    font-weight: 500;

    line-height: 1.02;
    letter-spacing: -0.035em;
}

.hero-text {
    max-width: 460px;

    margin: 0 auto 24px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.6;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 7px;

    margin-bottom: 30px;
}

.hero-facts span {
    padding: 7px 10px;

    color: var(--wine);
    background: rgba(111, 70, 93, 0.07);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 600;
}

.hero .button {
    max-width: 390px;
}

.small-note {
    max-width: 390px;

    margin: 16px auto 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}


/* ========================= */
/* ВОПРОСЫ */
/* ========================= */

#question-screen {
    justify-content: center;
}

.question-layout {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 620px;

    min-height: 100vh;

    padding:
        max(20px, env(safe-area-inset-top)) 20px max(22px, env(safe-area-inset-bottom));
}

.question-header {
    display: flex;
    align-items: center;

    gap: 12px;
}

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    padding: 0;

    color: var(--plum);
    background: transparent;

    border: 1px solid var(--line);
    border-radius: 50%;

    font-size: 20px;

    cursor: pointer;
}

.progress-info {
    flex: 1;
}

#question-counter {
    margin-bottom: 8px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
}

.progress-track {
    width: 100%;
    height: 4px;

    overflow: hidden;

    background: rgba(59, 37, 52, 0.1);

    border-radius: 999px;
}

.progress-fill {
    width: 0;
    height: 100%;

    background: var(--gold);

    border-radius: inherit;

    transition: width 0.3s ease;
}

.question-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;

    padding: 38px 2px;
}

.question-number-decoration {
    margin-bottom: 20px;

    color: var(--gold);

    font-size: 21px;
}

.question-content h2 {
    margin: 0;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(28px, 8vw, 39px);
    font-weight: 500;

    line-height: 1.18;
    letter-spacing: -0.025em;
}

.slider-block {
    margin-top: 54px;
}


/* ========================= */
/* RANGE */
/* ========================= */

.answer-slider {
    --slider-percent: 50%;

    width: 100%;
    height: 40px;

    margin: 0;

    appearance: none;
    -webkit-appearance: none;

    background: transparent;

    cursor: pointer;
}

.answer-slider::-webkit-slider-runnable-track {
    height: 6px;

    background:
        linear-gradient(to right,
            var(--gold) 0,
            var(--gold) var(--slider-percent),
            rgba(59, 37, 52, 0.13) var(--slider-percent),
            rgba(59, 37, 52, 0.13) 100%);

    border-radius: 999px;
}

.answer-slider::-moz-range-track {
    height: 6px;

    background: rgba(59, 37, 52, 0.13);

    border-radius: 999px;
}

.answer-slider::-moz-range-progress {
    height: 6px;

    background: var(--gold);

    border-radius: 999px;
}

.answer-slider::-webkit-slider-thumb {
    width: 26px;
    height: 26px;

    margin-top: -10px;

    appearance: none;
    -webkit-appearance: none;

    background: var(--plum);

    border: 5px solid var(--ivory);
    border-radius: 50%;

    box-shadow:
        0 0 0 2px var(--plum),
        0 5px 14px rgba(59, 37, 52, 0.22);

    transition:
        opacity 0.2s ease,
        transform 0.15s ease;
}

.answer-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;

    background: var(--plum);

    border: 5px solid var(--ivory);
    border-radius: 50%;

    box-shadow:
        0 0 0 2px var(--plum);
}

.answer-slider.untouched::-webkit-slider-thumb {
    opacity: 0;
}

.answer-slider.untouched::-moz-range-thumb {
    opacity: 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.3;
}

.slider-labels span:last-child {
    text-align: right;
}

.slider-answer-text {
    min-height: 23px;

    margin-top: 20px;

    color: var(--wine);

    font-size: 14px;
    font-weight: 600;

    text-align: center;
}


/* ========================= */
/* ТЕМА */
/* ========================= */

#topic-screen,
#error-screen {
    align-items: center;
    justify-content: center;

    padding: 28px 20px;
}

.simple-screen {
    width: 100%;
    max-width: 560px;
}

.simple-screen h2 {
    margin: 0;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(32px, 9vw, 46px);
    font-weight: 500;

    line-height: 1.1;
}

.topic-list {
    display: grid;

    gap: 10px;

    margin-bottom: 26px;
}

.topic-button {
    width: 100%;

    padding: 17px 18px;

    color: var(--text);
    background: rgba(255, 255, 255, 0.5);

    border: 1px solid var(--line);
    border-radius: 17px;

    font-size: 15px;
    font-weight: 600;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.18s ease,
        border 0.18s ease,
        transform 0.18s ease;
}

.topic-button:active {
    transform: scale(0.985);
}

.topic-button.selected {
    color: var(--plum);
    background: rgba(184, 155, 103, 0.14);

    border-color: var(--gold);
}


/* ========================= */
/* АНАЛИЗ */
/* ========================= */

#analysis-screen {
    align-items: center;
    justify-content: center;

    padding: 30px 22px;

    text-align: center;
}

.analysis-layout {
    width: 100%;
    max-width: 500px;
}

.analysis-orbit {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 150px;

    margin: 0 auto 32px;

    border:
        1px solid rgba(184, 155, 103, 0.42);

    border-radius: 50%;

    animation: orbitPulse 2.3s ease-in-out infinite;
}

.analysis-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    width: 106px;
    height: 106px;

    color: var(--plum);
    background: var(--soft-white);

    border-radius: 50%;

    box-shadow: var(--shadow);
}

.analysis-center span {
    font-size: 11px;

    letter-spacing: 0.2em;
}

.analysis-center strong {
    margin-top: 2px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;
}

@keyframes orbitPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.045);
    }
}

.analysis-layout h2 {
    margin: 0 0 28px;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 34px;
    font-weight: 500;
}

.analysis-steps {
    display: grid;

    gap: 9px;

    text-align: left;
}

.analysis-step {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 10px 12px;

    color: rgba(43, 37, 40, 0.38);

    border-radius: 12px;

    font-size: 14px;

    transition:
        color 0.3s ease,
        background 0.3s ease;
}

.analysis-dot {
    flex: 0 0 8px;

    width: 8px;
    height: 8px;

    background: rgba(59, 37, 52, 0.15);

    border-radius: 50%;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.analysis-step.active {
    color: var(--plum);
    background: rgba(184, 155, 103, 0.09);

    font-weight: 600;
}

.analysis-step.active .analysis-dot {
    background: var(--gold);

    transform: scale(1.3);
}

.analysis-step.done {
    color: var(--muted);
}

.analysis-step.done .analysis-dot {
    background: var(--wine);
}


/* ========================= */
/* RESULT */
/* ========================= */

#result-screen {
    justify-content: center;

    padding: 0 18px 50px;
}

.result-page {
    width: 100%;
    max-width: 650px;
}

.result-complete {
    padding: 48px 0 30px;

    text-align: center;
}

.result-check {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin: 0 auto 14px;

    color: var(--plum);
    background: rgba(184, 155, 103, 0.16);

    border-radius: 50%;

    font-size: 22px;
    font-weight: 700;
}

.result-complete p {
    margin: 0 0 6px;

    color: var(--wine);

    font-weight: 700;
}

#result-stats {
    color: var(--muted);

    font-size: 13px;
}

.result-hero-card,
.result-section,
.paywall-box {
    margin-bottom: 16px;
    padding: 24px 20px;

    background:
        rgba(255, 255, 255, 0.55);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow:
        0 10px 36px rgba(59, 37, 52, 0.035);
}

.result-hero-card {
    padding: 30px 22px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.72),
            rgba(184, 155, 103, 0.09));
}

.result-hero-card h1 {
    margin: 0 0 20px;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(34px, 9vw, 49px);
    font-weight: 500;

    line-height: 1.05;
    letter-spacing: -0.025em;
}

.result-main-text p {
    margin: 0 0 14px;

    font-size: 16px;
    line-height: 1.65;
}

.result-main-text p:last-child {
    margin-bottom: 0;
}

.result-section h2 {
    margin: 0;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;
    font-weight: 500;
}

.section-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 14px;
}

.free-badge {
    padding: 6px 9px;

    color: var(--wine);
    background: rgba(111, 70, 93, 0.08);

    border-radius: 999px;

    font-size: 10px;
    font-weight: 700;

    white-space: nowrap;
}

.why-result {
    display: grid;

    gap: 12px;

    margin-top: 12px;
}

.why-item {
    display: flex;

    gap: 10px;

    font-size: 15px;
    line-height: 1.5;
}

.why-item::before {
    content: "✦";

    flex: 0 0 auto;

    color: var(--gold);
}


/* ========================= */
/* TRAITS */
/* ========================= */

.traits-list {
    display: grid;

    gap: 24px;

    margin-top: 24px;
}

.trait-item {
    display: grid;

    gap: 8px;
}

.trait-header {
    display: flex;
    justify-content: space-between;

    gap: 14px;
}

.trait-name {
    color: var(--text);

    font-size: 14px;
    font-weight: 700;
}

.trait-level {
    color: var(--wine);

    font-size: 12px;
    font-weight: 600;

    text-align: right;
}

.trait-track {
    width: 100%;
    height: 7px;

    overflow: hidden;

    background: rgba(59, 37, 52, 0.09);

    border-radius: 999px;
}

.trait-fill {
    height: 100%;

    background:
        linear-gradient(to right,
            var(--wine),
            var(--gold));

    border-radius: inherit;
}


/* ========================= */
/* PATTERN */
/* ========================= */

.pattern-card {
    padding: 20px;

    background: rgba(184, 155, 103, 0.1);

    border-radius: 17px;
}

.pattern-card h3 {
    margin: 0 0 10px;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;
    font-weight: 500;
}

.pattern-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.6;
}


/* ========================= */
/* LOCKED */
/* ========================= */

.locked-list {
    display: grid;

    gap: 9px;

    margin-top: 19px;
}

.locked-card {
    display: grid;
    align-items: center;
    grid-template-columns:
        24px minmax(0, 1fr) 22px;

    gap: 12px;

    padding: 14px;

    background:
        rgba(59, 37, 52, 0.035);

    border-radius: 14px;
}

.locked-card>span:first-child {
    color: var(--gold);
}

.locked-card strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
}

.locked-card p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.4;
}

.lock {
    color: var(--wine);
}


/* ========================= */
/* PAYWALL */
/* ========================= */

.paywall-box {
    margin-top: 26px;
    padding: 28px 21px;

    color: var(--white);
    background: var(--plum);

    text-align: center;
}

.paywall-small {
    margin: 0 0 8px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.paywall-box h2 {
    margin: 0 0 10px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 31px;
    font-weight: 500;
}

.paywall-box>p:not(.paywall-small):not(.paywall-note) {
    max-width: 390px;

    margin: 0 auto 22px;

    color: rgba(255, 255, 255, 0.73);

    font-size: 14px;
    line-height: 1.5;
}

.paywall-note {
    margin: 12px 0 0;

    color: rgba(255, 255, 255, 0.48);

    font-size: 10px;
}


/* ========================= */
/* ERROR */
/* ========================= */

.error-message {
    padding: 18px;

    color: #7B3941;
    background: rgba(123, 57, 65, 0.08);

    border-radius: 15px;

    font-size: 14px;
    line-height: 1.55;

    white-space: pre-wrap;
}


/* ========================= */
/* DESKTOP */
/* ========================= */

@media (min-width: 760px) {

    #home-screen {
        padding: 60px 30px;
    }

    .question-layout {
        min-height: 760px;

        padding: 32px;
    }

    #question-screen {
        align-items: center;
    }

    .question-content {
        padding-left: 28px;
        padding-right: 28px;
    }

    #result-screen {
        padding-top: 20px;
    }

    .result-hero-card,
    .result-section,
    .paywall-box {
        padding-left: 30px;
        padding-right: 30px;
    }

}

/* =========================================================
   НОВЫЙ ТИЗЕР ПРОДУКТОВОЙ ЭКОСИСТЕМЫ
   ========================================================= */


/* ========================= */
/* ПРОГНОЗ 3 МЕСЯЦА */
/* ========================= */

.forecast-teaser {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.78),
            rgba(184, 155, 103, 0.12));
}

.forecast-teaser::after {
    content: "";

    position: absolute;
    top: -70px;
    right: -70px;

    width: 180px;
    height: 180px;

    border:
        1px solid rgba(184, 155, 103, 0.14);

    border-radius: 50%;

    pointer-events: none;
}

.forecast-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}

.forecast-head h2 {
    max-width: 420px;
}

.forecast-symbol {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    color: var(--gold);

    border:
        1px solid rgba(184, 155, 103, 0.35);

    border-radius: 50%;

    font-size: 18px;
}

.forecast-intro {
    margin: 12px 0 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.5;
}

.forecast-main-name {
    display: grid;

    gap: 7px;

    margin-top: 25px;
    padding: 20px;

    background: var(--plum);

    border-radius: 18px;
}

.forecast-main-name span {
    color:
        rgba(255, 255, 255, 0.55);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.forecast-main-name strong {
    color: var(--white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;
    font-weight: 500;

    line-height: 1.15;
}

.forecast-spheres {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin-top: 14px;
}

.forecast-sphere {
    display: grid;

    gap: 6px;

    padding: 14px;

    background:
        rgba(59, 37, 52, 0.045);

    border-radius: 14px;
}

.forecast-sphere span {
    font-size: 12px;
    font-weight: 700;
}

.forecast-sphere strong {
    color: var(--wine);

    font-size: 10px;
    font-weight: 600;

    opacity: 0.65;
}

.forecast-note {
    margin:
        15px 0 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}


/* ========================= */
/* PAYWALL */
/* ========================= */

.main-paywall {
    position: relative;

    overflow: hidden;
}

.main-paywall::after {
    content: "✦";

    position: absolute;
    top: 14px;
    right: 18px;

    color:
        rgba(184, 155, 103, 0.3);

    font-size: 30px;
}

.paywall-features {
    display: grid;

    gap: 9px;

    max-width: 390px;

    margin:
        0 auto 24px;

    text-align: left;
}

.paywall-features span {
    color:
        rgba(255, 255, 255, 0.82);

    font-size: 13px;
}


/* ========================= */
/* БУДУЩИЕ ВОЗМОЖНОСТИ */
/* ========================= */

.future-section {
    padding-top: 29px;
}

.future-description {
    margin:
        12px 0 22px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.55;
}

.future-grid {
    display: grid;

    gap: 11px;
}

.future-card {
    position: relative;

    padding: 19px;

    overflow: hidden;

    background:
        rgba(59, 37, 52, 0.035);

    border:
        1px solid rgba(59, 37, 52, 0.07);

    border-radius: 17px;
}

.future-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.future-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    color: var(--gold);

    background:
        rgba(184, 155, 103, 0.11);

    border-radius: 50%;

    font-size: 17px;
}

.status-pill {
    padding: 6px 9px;

    color: var(--wine);
    background:
        rgba(111, 70, 93, 0.07);

    border-radius: 999px;

    font-size: 9px;
    font-weight: 700;
}

.future-kicker {
    margin:
        0 0 5px;

    color: var(--wine);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.future-card h3 {
    margin:
        0 0 9px;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;
    font-weight: 500;

    line-height: 1.15;
}

.future-card>p:not(.future-kicker) {
    margin:
        0 0 15px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.5;
}

.future-locked {
    display: inline-flex;

    padding:
        7px 10px;

    color:
        rgba(43, 37, 40, 0.48);

    background:
        rgba(59, 37, 52, 0.05);

    border-radius: 9px;

    font-size: 10px;
    font-weight: 600;
}


/* ========================= */
/* КАРТЫ */
/* ========================= */

.cards-preview {
    display: flex;

    gap: 7px;

    margin-top: 17px;
}

.mini-card-back {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;

    height: 72px;

    color:
        rgba(184, 155, 103, 0.7);

    background:
        linear-gradient(145deg,
            #3B2534,
            #543548);

    border:
        1px solid rgba(184, 155, 103, 0.3);

    border-radius: 10px;

    font-size: 14px;

    box-shadow:
        0 7px 18px rgba(59, 37, 52, 0.12);
}

.mini-card-back:nth-child(2) {
    transform:
        translateY(-3px);
}

.mini-card-back:nth-child(3) {
    transform:
        translateY(2px);
}


/* ========================= */
/* Я + Н. */
/* ========================= */

.compatibility-section {
    background:
        linear-gradient(145deg,
            rgba(111, 70, 93, 0.08),
            rgba(255, 255, 255, 0.7));
}

.compatibility-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 16px;
}

.compatibility-header h2 {
    max-width: 390px;
}

.compat-price {
    flex: 0 0 auto;

    padding:
        8px 10px;

    color: var(--plum);
    background:
        rgba(184, 155, 103, 0.17);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
}

.compatibility-text {
    margin:
        13px 0 23px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.55;
}

.compat-visual {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    margin:
        10px 0 23px;
}

.person-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    width: 96px;
    height: 96px;

    color: var(--white);
    background: var(--plum);

    border-radius: 50%;

    box-shadow:
        0 10px 25px rgba(59, 37, 52, 0.14);
}

.person-bubble.second {
    color: var(--plum);
    background:
        rgba(184, 155, 103, 0.2);

    border:
        1px solid rgba(184, 155, 103, 0.3);
}

.person-bubble span {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;
}

.person-bubble small {
    margin-top: 4px;

    font-size: 9px;

    opacity: 0.7;
}

.plus-symbol {
    color: var(--gold);

    font-size: 25px;
    font-weight: 300;
}

.compat-points {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}

.compat-points span {
    padding:
        7px 9px;

    color: var(--wine);
    background:
        rgba(111, 70, 93, 0.07);

    border-radius: 999px;

    font-size: 10px;
    font-weight: 600;
}

.available-later {
    margin-top: 19px;
    padding: 12px;

    color: var(--plum);
    background:
        rgba(184, 155, 103, 0.11);

    border-radius: 12px;

    font-size: 11px;
    font-weight: 700;

    text-align: center;
}


/* ========================= */
/* РУЧНЫЕ УСЛУГИ */
/* ========================= */

.manual-grid {
    display: grid;

    gap: 9px;
}

.manual-card {
    display: grid;
    grid-template-columns:
        40px minmax(0, 1fr);

    gap: 13px;

    padding: 15px;

    background:
        rgba(59, 37, 52, 0.035);

    border-radius: 14px;
}

.manual-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    color: var(--gold);

    background:
        rgba(184, 155, 103, 0.1);

    border-radius: 50%;
}

.manual-card h3 {
    margin:
        0 0 5px;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
    font-weight: 500;
}

.manual-card p {
    margin:
        0 0 7px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.45;
}

.manual-card strong {
    color: var(--wine);

    font-size: 10px;
}

.manual-note {
    margin:
        16px 0 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.5;
}


/* ========================= */
/* DESKTOP */
/* ========================= */

@media (min-width: 620px) {

    .future-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .map-preview-card {
        grid-column:
            1 / -1;
    }

    .forecast-spheres {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}

/* =========================================================
   ТАРИФЫ
   ========================================================= */

.pricing-section {
    width: 100%;

    margin: 26px 0 16px;
    padding: 28px 20px;

    background:
        rgba(255, 255, 255, 0.45);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow:
        0 12px 40px rgba(59, 37, 52, 0.04);
}


/* ========================= */
/* ЗАГОЛОВОК */
/* ========================= */

.pricing-header {
    max-width: 500px;

    margin:
        0 auto 26px;

    text-align: center;
}

.pricing-header h2 {
    margin:
        0 0 12px;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 31px;
    font-weight: 500;

    line-height: 1.1;
}

.pricing-header>p:last-child {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.55;
}


/* ========================= */
/* СЕТКА */
/* ========================= */

.pricing-grid {
    display: grid;

    gap: 14px;
}


/* ========================= */
/* ОБЫЧНАЯ КАРТОЧКА */
/* ========================= */

.pricing-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 23px 18px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.7);

    border:
        1px solid rgba(59, 37, 52, 0.1);

    border-radius: 20px;
}


/* ========================= */
/* ЗАГОЛОВКИ ТАРИФОВ */
/* ========================= */

.pricing-card-header {
    margin-bottom: 20px;
}

.pricing-kicker {
    margin:
        0 0 6px;

    color: var(--wine);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.pricing-card h3 {
    margin:
        0 0 9px;

    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;
    font-weight: 500;

    line-height: 1.1;
}

.pricing-description {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.5;
}


/* ========================= */
/* ЦЕНА */
/* ========================= */

.pricing-price {
    display: flex;
    align-items: baseline;

    gap: 9px;

    margin-bottom: 20px;
}

.pricing-price strong {
    color: var(--plum);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 39px;
    font-weight: 500;

    line-height: 1;
}

.pricing-price span {
    color: var(--muted);

    font-size: 11px;
}


/* ========================= */
/* СПИСОК */
/* ========================= */

.pricing-features {
    display: grid;

    gap: 11px;

    margin-bottom: 23px;
}

.pricing-features>div {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    color: var(--text);

    font-size: 12px;
    line-height: 1.4;
}

.pricing-features>div>span {
    flex: 0 0 auto;

    color: var(--gold);

    font-weight: 800;
}


/* ========================= */
/* КНОПКА */
/* ========================= */

.pricing-button {
    margin-top: auto;
}

.basic-button {
    color: var(--white);
    background: var(--plum);
}


/* =========================================================
   РАСШИРЕННЫЙ 690
   ========================================================= */

.pricing-card-featured {
    padding-top: 48px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.86),
            rgba(184, 155, 103, 0.14));

    border:
        2px solid rgba(184, 155, 103, 0.75);

    box-shadow:
        0 16px 38px rgba(184, 155, 103, 0.13);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    padding: 9px;

    color: var(--plum);
    background: var(--gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-align: center;
    text-transform: uppercase;
}

.pricing-includes {
    margin:
        -4px 0 15px;

    color: var(--wine);

    font-size: 10px;
    font-weight: 700;
}

.feature-highlight {
    font-weight: 700;
}


/* =========================================================
   ВСЁ ВКЛЮЧЕНО 2490
   ========================================================= */

.pricing-card-max {
    padding-top: 52px;

    color: var(--white);

    background:
        linear-gradient(150deg,
            #3B2534 0%,
            #4C3041 58%,
            #624054 100%);

    border:
        1px solid rgba(184, 155, 103, 0.48);

    box-shadow:
        0 18px 45px rgba(59, 37, 52, 0.18);
}

.max-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    padding: 10px;

    color: var(--gold);

    background:
        rgba(0, 0, 0, 0.13);

    border-bottom:
        1px solid rgba(184, 155, 103, 0.25);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-align: center;
    text-transform: uppercase;
}

.pricing-card-max .pricing-kicker {
    color: var(--gold);
}

.pricing-card-max h3 {
    color: var(--white);
}

.pricing-card-max .pricing-description {
    color:
        rgba(255, 255, 255, 0.65);
}

.pricing-price-max strong {
    color: var(--white);
}

.pricing-price-max span {
    color:
        rgba(255, 255, 255, 0.55);
}


/* ========================= */
/* ЭКОНОМИЯ */
/* ========================= */

.saving-badge {
    display: grid;

    gap: 3px;

    margin:
        -4px 0 20px;

    padding: 12px;

    color:
        rgba(255, 255, 255, 0.62);

    background:
        rgba(184, 155, 103, 0.11);

    border:
        1px solid rgba(184, 155, 103, 0.17);

    border-radius: 12px;

    font-size: 10px;
}

.saving-badge strong {
    color: var(--gold);

    font-size: 12px;
}


/* ========================= */
/* СПИСОК MAX */
/* ========================= */

.pricing-card-max .pricing-features>div {
    color:
        rgba(255, 255, 255, 0.88);
}

.pricing-card-max .pricing-features>div>span {
    color: var(--gold);
}


/* ========================= */
/* РУЧНЫЕ ПУНКТЫ */
/* ========================= */

.manual-feature {
    padding-top: 4px;
}

.manual-feature>div {
    display: grid;

    gap: 2px;
}

.manual-feature strong {
    color: var(--white);

    font-size: 12px;
}

.manual-feature small {
    color:
        rgba(255, 255, 255, 0.48);

    font-size: 9px;
    line-height: 1.35;
}


/* ========================= */
/* MAX КНОПКА */
/* ========================= */

.max-button {
    color: var(--plum);
    background: var(--gold);

    box-shadow:
        0 13px 32px rgba(184, 155, 103, 0.22);
}

.max-note {
    margin:
        13px 0 0;

    color:
        rgba(255, 255, 255, 0.45);

    font-size: 9px;
    line-height: 1.45;

    text-align: center;
}


/* ========================= */
/* ПРОТОТИП */
/* ========================= */

.pricing-prototype-note {
    margin:
        16px 0 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.4;

    text-align: center;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 900px) {

    .pricing-section {
        padding:
            34px 26px;
    }

    .pricing-grid {
        align-items: stretch;

        grid-template-columns:
            repeat(3,
                minmax(0, 1fr));
    }

    .pricing-card {
        min-height: 590px;
    }

    .pricing-card-featured {
        transform:
            translateY(-7px);
    }

}

/* =========================================================
   LANDING V2 — ВДОХНОВЛЁН МЕХАНИКОЙ ИНТЕРАКТИВНЫХ ONE-PAGE САЙТОВ
   ========================================================= */

html {
    scroll-behavior: smooth;
}

#home-screen {
    min-height: 100vh;
    padding: 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(184, 155, 103, 0.17), transparent 28%),
        radial-gradient(circle at 95% 18%, rgba(111, 70, 93, 0.13), transparent 32%),
        var(--ivory);
}

#home-screen.active {
    display: block;
}

.landing-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    overflow: hidden;
}

.landing-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: rgba(246, 241, 234, 0.84);
    border-bottom: 1px solid rgba(59, 37, 52, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.landing-brand {
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.landing-top-cta {
    padding: 10px 16px;
    color: var(--white);
    background: var(--plum);
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.landing-block {
    position: relative;
    padding: 72px 20px;
}

.landing-kicker {
    margin: 0 0 12px;
    color: var(--wine);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.landing-index {
    margin: 0;
    color: rgba(184, 155, 103, 0.9);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    line-height: 1;
}

.landing-section-head {
    display: grid;
    gap: 18px;
    margin-bottom: 34px;
}

.landing-section-head h2,
.landing-couple h2,
.landing-price h2,
.landing-final h2 {
    max-width: 790px;
    margin: 0;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 8vw, 58px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

/* HERO */
.landing-hero {
    display: grid;
    align-items: center;
    min-height: calc(100vh - 64px);
    padding-top: 48px;
    padding-bottom: 72px;
}

.landing-copy {
    position: relative;
    z-index: 2;
}

.landing-copy h1 {
    max-width: 850px;
    margin: 0 0 22px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 11vw, 82px);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.landing-lead {
    max-width: 650px;
    margin: 0 0 24px;
    color: rgba(43, 37, 40, 0.72);
    font-size: clamp(16px, 4.4vw, 20px);
    line-height: 1.58;
}

.landing-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.landing-facts span {
    padding: 8px 12px;
    color: var(--plum);
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(59, 37, 52, 0.08);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 750;
}

.landing-main-cta {
    max-width: 390px;
}

.landing-scroll-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--wine);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.landing-hero-visual {
    position: relative;
    min-height: 330px;
    margin-top: 36px;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(184, 155, 103, 0.35);
    border-radius: 50%;
}

.visual-orbit-one {
    inset: 18px 8% 10px 8%;
    animation: landingSpin 22s linear infinite;
}

.visual-orbit-two {
    inset: 55px 18% 44px 18%;
    border-color: rgba(111, 70, 93, 0.22);
    animation: landingSpinReverse 16s linear infinite;
}

.visual-mirror {
    position: absolute;
    top: 44px;
    left: 50%;
    width: 180px;
    height: 240px;
    transform: translateX(-50%) rotate(-4deg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(184, 155, 103, 0.17));
    border: 7px solid var(--plum);
    border-radius: 86px 86px 28px 28px;
    box-shadow: 0 28px 60px rgba(59, 37, 52, 0.18);
}

.visual-face {
    position: absolute;
    width: 72px;
    height: 100px;
    border-radius: 48% 48% 42% 42%;
}

.visual-face-back {
    top: 64px;
    left: 32px;
    background: var(--gold);
    transform: rotate(10deg);
    opacity: 0.62;
}

.visual-face-front {
    top: 54px;
    right: 26px;
    background: linear-gradient(145deg, var(--wine), var(--plum));
    transform: rotate(-9deg);
}

.visual-star {
    position: absolute;
    right: 22px;
    bottom: 18px;
    color: var(--gold);
    font-size: 32px;
}

.visual-pill {
    position: absolute;
    padding: 9px 13px;
    color: var(--plum);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(59, 37, 52, 0.09);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(59, 37, 52, 0.08);
    font-size: 11px;
    font-weight: 800;
}

.visual-pill-left { left: 5%; top: 65%; transform: rotate(-7deg); }
.visual-pill-right { right: 4%; top: 24%; transform: rotate(6deg); }

@keyframes landingSpin { to { transform: rotate(360deg); } }
@keyframes landingSpinReverse { to { transform: rotate(-360deg); } }

/* PROFILE DEMO */
.landing-preview {
    background: rgba(255, 255, 255, 0.28);
    border-top: 1px solid rgba(59, 37, 52, 0.07);
    border-bottom: 1px solid rgba(59, 37, 52, 0.07);
}

.profile-demo-card {
    position: relative;
    max-width: 760px;
    padding: 30px 24px 34px;
    overflow: hidden;
    background: linear-gradient(145deg, #3B2534 0%, #543548 100%);
    border: 1px solid rgba(184, 155, 103, 0.36);
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(59, 37, 52, 0.2);
}

.profile-demo-card::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -58px;
    top: -58px;
    border: 1px solid rgba(184, 155, 103, 0.2);
    border-radius: 50%;
}

.profile-demo-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    color: var(--plum);
    background: var(--gold);
    border-radius: 50%;
}

.profile-demo-card > p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-demo-card h3 {
    max-width: 650px;
    margin: 0;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(35px, 9vw, 58px);
    font-weight: 500;
    line-height: 1.02;
}

.profile-demo-line {
    width: 76px;
    height: 2px;
    margin: 24px 0;
    background: var(--gold);
}

.profile-demo-card > span {
    display: block;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.73);
    font-size: 14px;
    line-height: 1.6;
}

/* BOLD RELATIONSHIP CARDS */
.landing-shock {
    background: var(--ivory);
}

.shock-grid {
    display: grid;
    gap: 12px;
}

.shock-card {
    min-height: 230px;
    padding: 22px;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(59, 37, 52, 0.06);
}

.shock-card > span {
    display: block;
    margin-bottom: 34px;
    font-size: 11px;
    font-weight: 800;
    opacity: 0.6;
}

.shock-card h3 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(31px, 8vw, 45px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
}

.shock-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    opacity: 0.72;
}

.shock-card-dark { color: var(--white); background: var(--plum); }
.shock-card-gold { color: var(--plum); background: var(--gold); }
.shock-card-wine { color: var(--white); background: var(--wine); }
.shock-card-light { color: var(--plum); background: rgba(255,255,255,0.72); border: 1px solid var(--line); }

.landing-legal-mini {
    max-width: 820px;
    margin: 18px 0 0;
    color: rgba(43, 37, 40, 0.5);
    font-size: 10px;
    line-height: 1.5;
}

/* CAROUSEL */
.landing-carousel-section {
    background: linear-gradient(180deg, rgba(111, 70, 93, 0.04), transparent);
}

.landing-section-head-carousel {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.carousel-buttons {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.carousel-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--plum);
    background: rgba(255,255,255,0.66);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
}

.landing-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 78vw);
    gap: 12px;
    overflow-x: auto;
    padding: 0 20px 14px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.landing-carousel::-webkit-scrollbar { display: none; }

.insight-slide {
    position: relative;
    min-height: 330px;
    padding: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.65);
    border: 1px solid var(--line);
    border-radius: 24px;
    scroll-snap-align: start;
}

.insight-slide > span {
    color: var(--wine);
    font-size: 11px;
    font-weight: 800;
}

.insight-slide > p {
    margin: 34px 0 8px;
    color: var(--wine);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.insight-slide h3 {
    max-width: 300px;
    margin: 0;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.05;
}

.slide-symbol {
    position: absolute;
    right: 18px;
    bottom: 8px;
    color: rgba(184,155,103,0.23);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 108px;
    line-height: 1;
}

/* ANALYSIS */
.landing-analysis {
    background: var(--plum);
}

.landing-analysis .landing-index,
.landing-analysis .landing-kicker { color: var(--gold); }
.landing-analysis .landing-section-head h2 { color: var(--white); }

.landing-analysis-grid {
    display: grid;
    gap: 9px;
}

.landing-analysis-grid article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 3px 12px;
    padding: 17px 16px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

.landing-analysis-grid b {
    grid-row: 1 / span 2;
    color: var(--gold);
    font-size: 13px;
}

.landing-analysis-grid span {
    color: var(--white);
    font-weight: 750;
}

.landing-analysis-grid p {
    margin: 0;
    color: rgba(255,255,255,0.54);
    font-size: 11px;
    line-height: 1.4;
}

/* PERIOD */
.period-track {
    display: grid;
    gap: 8px;
}

.period-point {
    position: relative;
    padding: 20px;
    background: rgba(255,255,255,0.64);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.period-point > span {
    display: block;
    margin-bottom: 7px;
    color: var(--wine);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.period-point strong {
    display: block;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 500;
}

.period-point p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.period-point-open {
    color: white;
    background: var(--wine);
    border-color: transparent;
}
.period-point-open > span { color: rgba(255,255,255,0.62); }
.period-point-open strong { color: white; }
.period-point-open p { color: rgba(255,255,255,0.67); }

.period-point-locked::after {
    content: "закрыто";
    position: absolute;
    top: 17px;
    right: 16px;
    padding: 5px 8px;
    color: var(--wine);
    background: rgba(111,70,93,0.07);
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
}

.period-line {
    width: 2px;
    height: 18px;
    margin-left: 24px;
    background: linear-gradient(var(--gold), rgba(184,155,103,0.18));
}

/* COUPLE */
.landing-couple {
    display: grid;
    gap: 34px;
    color: white;
    background: linear-gradient(150deg, #5c3b4e, #3b2534);
}

.landing-couple .landing-index,
.landing-couple .landing-kicker { color: var(--gold); }
.landing-couple h2 { color: white; }

.landing-couple-copy > p:not(.landing-index):not(.landing-kicker) {
    max-width: 650px;
    color: rgba(255,255,255,0.68);
    font-size: 15px;
    line-height: 1.6;
}

.couple-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.couple-tags span {
    padding: 8px 11px;
    color: rgba(255,255,255,0.82);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.couple-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 270px;
}

.couple-person {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 122px;
    height: 160px;
    border-radius: 62px 62px 42px 42px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.18);
}
.couple-person-a { color: var(--plum); background: var(--gold); transform: rotate(-6deg); }
.couple-person-b { color: var(--plum); background: var(--soft-white); transform: rotate(6deg); }
.couple-energy { position: relative; z-index: 3; margin: 0 -4px; color: var(--gold); font-size: 36px; }
.couple-wire {
    position: absolute;
    width: 300px;
    height: 150px;
    border: 1px solid rgba(184,155,103,0.35);
    border-radius: 50%;
    animation: landingSpin 18s linear infinite;
}

/* PRICE + FINAL */
.landing-price {
    background: rgba(255,255,255,0.28);
}

.landing-price-copy > p:not(.landing-index):not(.landing-kicker) {
    max-width: 620px;
    color: var(--muted);
    line-height: 1.6;
}

.landing-price-cards {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.landing-price-cards article {
    position: relative;
    padding: 20px;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.landing-price-cards span,
.landing-price-cards strong {
    display: block;
}

.landing-price-cards span {
    margin-bottom: 6px;
    color: var(--wine);
    font-size: 11px;
    font-weight: 800;
}

.landing-price-cards strong {
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 500;
}

.landing-price-cards p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.landing-price-featured {
    border: 2px solid rgba(184,155,103,0.72) !important;
    background: linear-gradient(145deg, white, rgba(184,155,103,0.16)) !important;
}

.landing-price-featured em {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 8px;
    color: var(--plum);
    background: var(--gold);
    border-radius: 999px;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.landing-bottom-cta {
    max-width: 430px;
    margin-top: 22px;
}

.landing-final {
    text-align: center;
}

.landing-final-symbol {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    color: var(--gold);
    border: 1px solid rgba(184,155,103,0.4);
    border-radius: 50%;
    font-size: 24px;
}

.landing-final h2 {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.landing-final .button {
    max-width: 390px;
    margin-top: 28px;
}

.landing-footer {
    padding: 28px 20px 42px;
    border-top: 1px solid rgba(59,37,52,0.08);
}

.landing-footer > div {
    margin-bottom: 10px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.landing-footer p {
    max-width: 900px;
    margin: 0;
    color: rgba(43,37,40,0.47);
    font-size: 9px;
    line-height: 1.55;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* SHARE RESULT */
.result-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 20px;
    padding: 12px 16px;
    color: var(--plum);
    background: rgba(184,155,103,0.14);
    border: 1px solid rgba(184,155,103,0.38);
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.result-share-note {
    min-height: 16px;
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 10px;
}

/* LANDING DESKTOP */
@media (min-width: 760px) {
    .landing-topbar { padding: 16px 30px; }
    .landing-block { padding: 100px 40px; }
    .landing-hero { grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr); gap: 30px; min-height: 760px; }
    .landing-hero-visual { margin-top: 0; min-height: 520px; }
    .visual-mirror { top: 110px; width: 225px; height: 310px; }
    .visual-face { width: 88px; height: 126px; }
    .visual-face-back { top: 80px; left: 38px; }
    .visual-face-front { top: 68px; right: 31px; }
    .landing-section-head { grid-template-columns: 90px minmax(0, 1fr); align-items: start; }
    .shock-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .landing-carousel { grid-auto-columns: minmax(300px, 34%); }
    .landing-analysis-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .period-track { grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr; align-items: center; }
    .period-line { width: 100%; height: 2px; margin: 0; }
    .landing-couple { grid-template-columns: minmax(0,1fr) minmax(320px,0.75fr); align-items: center; }
    .landing-price-cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (min-width: 1040px) {
    .shock-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .shock-card { min-height: 330px; }
    .landing-analysis-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .visual-orbit, .couple-wire { animation: none; }
}


/* =========================================================
   COMMERCIAL UX v1.3 — КОНСТРУКТОР И ЖИВАЯ КОРЗИНА
   ========================================================= */

.pricing-price-bundle .bundle-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.pricing-price-bundle s {
    color: rgba(43, 37, 40, 0.42);
    font-size: 20px;
    font-weight: 700;
    text-decoration-thickness: 2px;
}

.constructor-entry {
    margin-top: 18px;
}

.constructor-entry-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 17px 18px;
    color: var(--plum);
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(111, 70, 93, 0.18);
    border-radius: 16px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.constructor-entry-button span {
    color: var(--wine);
    font-size: 11px;
    font-weight: 700;
    text-align: right;
}

.constructor-section {
    margin-top: 18px;
    padding: 24px 18px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.constructor-section[hidden],
.constructor-live-cart[hidden],
.constructor-client-banner[hidden],
.constructor-bundle-note[hidden],
.subscription-consent[hidden],
#constructor-cart-recurring[hidden] {
    display: none !important;
}

.constructor-head h2 {
    margin: 0;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

.constructor-head > p:last-child {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.constructor-client-banner,
.constructor-bundle-note {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
}

.constructor-client-banner {
    display: grid;
    gap: 4px;
    color: var(--plum);
    background: rgba(184, 155, 103, 0.16);
    border: 1px solid rgba(184, 155, 103, 0.28);
}

.constructor-client-banner strong,
.constructor-bundle-note strong {
    font-size: 13px;
}

.constructor-client-banner span,
.constructor-bundle-note span {
    font-size: 11px;
    line-height: 1.45;
}

.constructor-bundle-note {
    color: var(--plum);
    background: rgba(111, 70, 93, 0.08);
    border: 1px solid rgba(111, 70, 93, 0.14);
}

.constructor-bundle-note s {
    margin-right: 6px;
    color: var(--muted);
}

.constructor-base-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    color: var(--white);
    background: var(--plum);
    border-radius: 16px;
}

.constructor-base-row > div:first-child {
    display: grid;
    gap: 3px;
}

.constructor-type {
    color: rgba(255, 255, 255, 0.58);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.constructor-base-row strong {
    font-size: 13px;
}

.constructor-base-row small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 9px;
}

.constructor-base-price {
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 18px;
    font-weight: 800;
}

.constructor-options {
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.constructor-option {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 14px;
    background: rgba(59, 37, 52, 0.035);
    border: 1px solid rgba(59, 37, 52, 0.07);
    border-radius: 14px;
    cursor: pointer;
}

.constructor-option:hover {
    border-color: rgba(184, 155, 103, 0.36);
}

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

.constructor-check {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(59, 37, 52, 0.25);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
}

.constructor-option input:checked + .constructor-check {
    color: var(--plum);
    background: var(--gold);
    border-color: var(--gold);
}

.constructor-option input:checked + .constructor-check::after {
    content: "✓";
    font-size: 13px;
    font-weight: 900;
}

.constructor-option input:disabled + .constructor-check {
    opacity: 0.75;
}

.constructor-copy {
    display: grid;
    gap: 3px;
}

.constructor-copy strong {
    color: var(--plum);
    font-size: 13px;
}

.constructor-copy small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.constructor-copy b {
    margin-top: 5px;
    color: var(--wine);
    font-size: 10px;
    line-height: 1.45;
}

.constructor-option-price {
    max-width: 92px;
    color: var(--wine);
    font-size: 11px;
    font-weight: 800;
    text-align: right;
}

.constructor-option-price s {
    display: block;
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
}

.constructor-option-manual::after {
    content: "ручная работа";
    grid-column: 2 / -1;
    color: rgba(43, 37, 40, 0.45);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.constructor-option-subscription {
    background: linear-gradient(145deg, rgba(184, 155, 103, 0.13), rgba(255, 255, 255, 0.62));
    border-color: rgba(184, 155, 103, 0.25);
}

.constructor-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 2px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.constructor-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.subscription-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 14px;
    color: var(--text);
    background: rgba(184, 155, 103, 0.1);
    border-radius: 12px;
    font-size: 10px;
    line-height: 1.45;
    cursor: pointer;
}

.subscription-consent input {
    flex: 0 0 auto;
    margin-top: 2px;
}

.constructor-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.5;
}

.constructor-live-cart {
    position: fixed;
    z-index: 120;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.75fr);
    align-items: center;
    gap: 12px;
    width: min(calc(100% - 24px), 620px);
    padding: 11px;
    background: rgba(59, 37, 52, 0.97);
    border: 1px solid rgba(184, 155, 103, 0.34);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(59, 37, 52, 0.32);
    backdrop-filter: blur(12px);
}

.live-cart-copy {
    display: grid;
    gap: 2px;
    padding-left: 5px;
}

.live-cart-copy span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 9px;
    font-weight: 700;
}

.live-cart-copy strong {
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;
}

.live-cart-copy small {
    color: var(--gold);
    font-size: 9px;
    font-weight: 700;
}

.constructor-live-cart .button {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 13px;
    font-size: 12px;
}

#result-screen.constructor-open .result-page {
    padding-bottom: 115px;
}

@media (max-width: 430px) {
    .constructor-option {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .constructor-option-price {
        grid-column: 2;
        max-width: none;
        text-align: left;
    }

    .constructor-option-manual::after {
        grid-column: 2;
    }

    .constructor-live-cart {
        grid-template-columns: minmax(0, 1fr) 142px;
    }

    .live-cart-copy strong {
        font-size: 21px;
    }
}


/* v1.3 — честная цена на Landing и карточка подписки */
.landing-bundle-price {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.landing-bundle-price s {
    color: rgba(43,37,40,0.42);
    font-size: 18px;
    font-weight: 700;
}

.landing-bundle-price strong {
    display: block;
}

.landing-subscription {
    background: linear-gradient(145deg, rgba(59,37,52,0.96), rgba(85,52,70,0.96));
}

.landing-subscription .landing-index,
.landing-subscription .landing-kicker {
    color: var(--gold);
}

.landing-subscription h2 {
    color: var(--white);
}

.landing-subscription-card {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    padding: 22px;
    color: var(--white);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(184,155,103,0.28);
    border-radius: 20px;
}

.landing-subscription-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.landing-subscription-card strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 500;
}

.landing-subscription-card p,
.landing-subscription-terms {
    color: rgba(255,255,255,.7);
    font-size: 12px;
    line-height: 1.55;
}

.landing-subscription-card p {
    margin: 8px 0 0;
}

.landing-subscription-terms {
    padding: 14px;
    background: rgba(184,155,103,.1);
    border-radius: 13px;
}

.compat-price-v13 {
    display: grid;
    gap: 2px;
    text-align: right;
}

.compat-price-v13 s {
    color: var(--muted);
    font-size: 9px;
}

.compat-price-v13 b {
    color: var(--plum);
    font-size: 11px;
}

@media (min-width:760px) {
    .landing-subscription-card {
        grid-template-columns: minmax(0,1fr) minmax(260px,.75fr);
        align-items: center;
    }
}

/* =========================================================
   v1.4 DRAFT — POST-PAYMENT / MANUAL ORDERS PROTOTYPE
   ========================================================= */

.post-purchase-section {
    margin: 26px 0 18px;
    padding: 22px;
    background: linear-gradient(145deg, rgba(59, 37, 52, 0.98), rgba(86, 53, 73, 0.98));
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(59, 37, 52, 0.18);
}

.post-purchase-section[hidden],
.prototype-modal[hidden],
#compatibility-workspace[hidden],
#manual-orders-workspace[hidden] {
    display: none !important;
}

.post-purchase-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 2px 20px;
}

.post-purchase-hero .result-label { color: rgba(255,255,255,.58); }

.post-purchase-hero h2 {
    margin: 0 0 8px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 8vw, 42px);
    font-weight: 500;
    line-height: 1.08;
}

.post-purchase-hero p:not(.result-label) {
    max-width: 470px;
    margin: 0;
    color: rgba(255,255,255,.72);
    line-height: 1.55;
}

.post-purchase-status {
    flex: 0 0 auto;
    padding: 8px 11px;
    color: var(--plum);
    background: var(--gold);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.prototype-warning {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
    padding: 14px 16px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.5;
}

.prototype-warning strong { color: #fff; }

.post-purchase-card {
    margin-top: 12px;
    padding: 20px;
    color: var(--text);
    background: var(--soft-white);
    border-radius: 20px;
}

.post-purchase-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.post-purchase-card-head h3 {
    margin: 0;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 500;
}

.access-badge,
.manual-workflow-badge,
.delivery-icon {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: var(--wine);
    background: rgba(111,70,93,.08);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.delivery-icon {
    color: var(--plum);
    background: rgba(184,155,103,.18);
}

.post-purchase-muted {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.paid-result-content { display: grid; gap: 14px; }

.paid-result-block {
    padding: 16px;
    background: rgba(59,37,52,.035);
    border: 1px solid rgba(59,37,52,.06);
    border-radius: 15px;
}

.paid-result-block h4 {
    margin: 0 0 8px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 500;
}

.paid-result-block p {
    margin: 0 0 9px;
    font-size: 13px;
    line-height: 1.6;
}

.paid-result-block p:last-child { margin-bottom: 0; }

.paid-traits-grid { display: grid; gap: 8px; }

.paid-trait-row {
    display: grid;
    gap: 6px;
    padding: 12px;
    background: rgba(255,255,255,.72);
    border-radius: 12px;
}

.paid-trait-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.paid-trait-top strong { font-size: 12px; }
.paid-trait-top span {
    color: var(--wine);
    font-size: 11px;
    font-weight: 700;
    text-align: right;
}

.paid-trait-row p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.paid-pattern-list { display: grid; gap: 8px; }

.paid-pattern-item {
    padding: 11px 12px;
    background: rgba(184,155,103,.1);
    border-radius: 11px;
}

.paid-pattern-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--plum);
    font-size: 12px;
}

.paid-pattern-item p {
    color: var(--muted);
    font-size: 11px;
}

.paid-forecast-spheres { display: grid; gap: 8px; }

.paid-forecast-sphere {
    padding: 12px;
    background: rgba(111,70,93,.06);
    border-radius: 12px;
}

.paid-forecast-sphere strong {
    display: block;
    margin-bottom: 5px;
    color: var(--wine);
    font-size: 11px;
}

.paid-forecast-sphere p {
    color: var(--text);
    font-size: 11px;
}

.delivery-actions { display: grid; gap: 12px; }

.delivery-email-box {
    display: grid;
    gap: 8px;
    padding: 15px;
    background: rgba(59,37,52,.04);
    border-radius: 15px;
}

.delivery-email-box label {
    color: var(--plum);
    font-size: 12px;
    font-weight: 800;
}

.delivery-email-box small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

.delivery-email-row { display: grid; gap: 8px; }

.delivery-email-row input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    outline: none;
}

.delivery-email-row input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,155,103,.12);
}

.delivery-email-row .button { min-height: 50px; }

.delivery-note {
    min-height: 18px;
    margin: 0;
    color: var(--wine);
    font-size: 11px;
    line-height: 1.45;
}

.secondary-action {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--plum);
    background: rgba(184,155,103,.16);
    border: 1px solid rgba(184,155,103,.25);
    border-radius: 13px;
    font-weight: 800;
    cursor: pointer;
}

.manual-orders-list { display: grid; gap: 10px; }

.manual-order-card {
    padding: 15px;
    background: rgba(59,37,52,.035);
    border: 1px solid rgba(59,37,52,.07);
    border-radius: 15px;
}

.manual-order-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.manual-order-head h4 {
    margin: 0 0 4px;
    color: var(--plum);
    font-size: 15px;
}

.manual-order-head small {
    color: var(--muted);
    font-size: 10px;
}

.order-status {
    flex: 0 0 auto;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
}

.order-status-waiting {
    color: #805D1D;
    background: rgba(184,155,103,.18);
}
.order-status-processing {
    color: #4A5873;
    background: rgba(74,88,115,.11);
}
.order-status-needs {
    color: #87434A;
    background: rgba(135,67,74,.11);
}
.order-status-ready,
.order-status-delivered {
    color: #35634E;
    background: rgba(53,99,78,.11);
}

.manual-upload-box { display: grid; gap: 8px; }

.manual-upload-box input[type="file"],
.manual-upload-box textarea {
    width: 100%;
    padding: 11px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.manual-upload-box textarea {
    min-height: 82px;
    resize: vertical;
}

.manual-upload-box small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

.manual-files-preview {
    display: grid;
    gap: 4px;
    margin-top: 6px;
}

.manual-file-chip {
    padding: 7px 9px;
    color: var(--wine);
    background: rgba(111,70,93,.06);
    border-radius: 9px;
    font-size: 10px;
}

.manual-order-message {
    margin-top: 10px;
    padding: 10px 11px;
    color: var(--wine);
    background: rgba(184,155,103,.11);
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.45;
}

.manual-ready-result {
    margin-top: 10px;
    padding: 12px;
    color: var(--text);
    background: rgba(53,99,78,.08);
    border-radius: 11px;
    font-size: 12px;
    line-height: 1.55;
}

.admin-prototype-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 15px;
    padding: 13px;
    background: rgba(59,37,52,.045);
    border-radius: 13px;
}

.admin-prototype-link div { display: grid; gap: 3px; }
.admin-prototype-link strong { font-size: 11px; }
.admin-prototype-link span {
    color: var(--muted);
    font-size: 10px;
}
.admin-prototype-link a {
    flex: 0 0 auto;
    color: var(--wine);
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.prototype-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.prototype-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(29,20,26,.68);
    backdrop-filter: blur(6px);
}

.prototype-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    padding: 24px;
    background: var(--soft-white);
    border-radius: 24px;
    box-shadow: 0 24px 90px rgba(0,0,0,.28);
}

.prototype-modal-card h2 {
    margin: 0 0 12px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

.prototype-modal-copy {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.prototype-payment-summary {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    padding: 14px;
    color: var(--text);
    background: rgba(59,37,52,.04);
    border-radius: 14px;
    font-size: 12px;
}

.prototype-payment-summary strong {
    color: var(--plum);
    font-size: 19px;
}

.prototype-modal-card > small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.4;
}

.prototype-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    color: var(--plum);
    background: rgba(59,37,52,.06);
    border: 0;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}

.admin-page {
    max-width: 1050px;
    margin: 0 auto;
    padding: 28px 18px 70px;
}

.admin-page h1 {
    margin: 0 0 8px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 7vw, 54px);
    font-weight: 500;
}

.admin-intro {
    max-width: 720px;
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.55;
}

.admin-order-list { display: grid; gap: 14px; }

.admin-order-card {
    padding: 18px;
    background: rgba(255,255,255,.62);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 10px 34px rgba(59,37,52,.04);
}

.admin-order-grid { display: grid; gap: 12px; }
.admin-field { display: grid; gap: 5px; }

.admin-field label {
    color: var(--wine);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.admin-field textarea,
.admin-field input,
.admin-field select {
    width: 100%;
    padding: 10px 11px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.admin-field textarea {
    min-height: 90px;
    resize: vertical;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.admin-actions button {
    padding: 9px 11px;
    color: var(--plum);
    background: rgba(184,155,103,.15);
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
}

.admin-empty {
    padding: 30px;
    color: var(--muted);
    background: rgba(255,255,255,.55);
    border: 1px solid var(--line);
    border-radius: 18px;
    text-align: center;
}

@media (min-width: 620px) {
    .delivery-email-row {
        grid-template-columns: minmax(0, 1fr) 150px;
    }
    .paid-traits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .paid-forecast-spheres {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-order-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .post-purchase-hero,
    .post-purchase-card-head,
    .manual-order-head,
    .admin-prototype-link {
        flex-direction: column;
    }
    .post-purchase-status,
    .access-badge,
    .manual-workflow-badge {
        align-self: flex-start;
    }
}


/* =========================================================
   v1.4.1 — ACCESSIBILITY / PERSONALIZED UPSELL / REAL FILE QA
   ========================================================= */

.post-purchase-section {
    font-size: 16px;
}

.post-purchase-hero p:not(.result-label) {
    font-size: 16px;
    line-height: 1.65;
}

.post-purchase-hero h2 {
    font-size: clamp(34px, 8vw, 46px);
}

.post-purchase-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.post-purchase-includes span {
    padding: 7px 10px;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.post-purchase-card {
    padding: 24px;
}

.post-purchase-card-head h3 {
    font-size: 28px;
    line-height: 1.14;
}

.post-purchase-muted {
    font-size: 15px;
    line-height: 1.65;
}

.paid-result-block {
    padding: 20px;
}

.paid-result-block h4 {
    font-size: 25px;
    line-height: 1.2;
}

.paid-result-block p {
    font-size: 16px;
    line-height: 1.7;
}

.paid-trait-row {
    padding: 16px;
}

.paid-trait-top strong {
    font-size: 15px;
}

.paid-trait-top span {
    font-size: 14px;
}

.paid-trait-row p,
.paid-pattern-item p,
.paid-forecast-sphere p {
    font-size: 14px;
    line-height: 1.65;
}

.paid-pattern-item strong,
.paid-forecast-sphere strong {
    font-size: 14px;
}

.delivery-email-box label {
    font-size: 15px;
}

.delivery-email-box small,
.manual-upload-box small,
.admin-prototype-link span {
    font-size: 12px;
    line-height: 1.55;
}

.delivery-note {
    font-size: 13px;
}

.client-price-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: var(--plum);
    background: rgba(184,155,103,.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.post-purchase-upsell-list {
    display: grid;
    gap: 10px;
}

.post-upsell-card {
    display: grid;
    gap: 12px;
    padding: 17px;
    background: rgba(59,37,52,.035);
    border: 1px solid rgba(59,37,52,.07);
    border-radius: 15px;
}

.post-upsell-card.featured {
    background: rgba(184,155,103,.12);
    border-color: rgba(184,155,103,.28);
}

.post-upsell-copy strong {
    display: block;
    margin-bottom: 5px;
    color: var(--plum);
    font-size: 17px;
}

.post-upsell-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.post-upsell-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.post-upsell-price s {
    color: var(--muted);
    font-size: 13px;
}

.post-upsell-price strong {
    color: var(--wine);
    font-size: 21px;
}

.post-upsell-card button {
    min-height: 47px;
    padding: 12px 14px;
    color: #fff;
    background: var(--plum);
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.manual-files-preview a,
.manual-ready-result a {
    color: var(--wine);
    font-weight: 800;
    text-decoration: none;
}

.manual-server-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
    background: rgba(111,70,93,.06);
    border-radius: 10px;
    font-size: 12px;
}

.manual-email-sent {
    margin-top: 10px;
    padding: 11px 12px;
    color: #35634E;
    background: rgba(53,99,78,.1);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.admin-material-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(59,37,52,.04);
    border-radius: 10px;
}

.admin-material-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.admin-material-actions a {
    padding: 7px 9px;
    color: var(--wine);
    background: rgba(111,70,93,.08);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.admin-result-upload {
    padding: 13px;
    background: rgba(184,155,103,.1);
    border-radius: 12px;
}

@media (min-width: 700px) {
    .post-upsell-card {
        grid-template-columns: minmax(0,1fr) auto 180px;
        align-items: center;
    }
}


/* =========================================================
   v1.5 — IDENTITY + SUBSCRIPTION DELIVERY
   ========================================================= */

.landing-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-account-button {
    min-height: 42px;
    padding: 9px 13px;
    color: var(--plum);
    background: rgba(255,255,255,.58);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.identity-buttons {
    display: grid;
    gap: 9px;
    margin: 18px 0 12px;
}

.identity-button {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 10px 13px;
    border: 0;
    border-radius: 15px;
    text-align: left;
    cursor: pointer;
}

.identity-button span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 900;
}

.identity-button strong { font-size: 14px; }
.identity-vk { color: #fff; background: #447BBA; }
.identity-vk span { background: rgba(255,255,255,.16); }
.identity-ok { color: #fff; background: #EE8208; }
.identity-ok span { background: rgba(255,255,255,.18); }

.qa-auth-box {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    padding: 13px;
    background: rgba(184,155,103,.11);
    border-radius: 13px;
}

.qa-auth-box strong { color: var(--plum); font-size: 11px; }
.qa-auth-box span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.qa-auth-box button {
    justify-self: start;
    padding: 8px 10px;
    color: var(--wine);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-weight: 800;
    cursor: pointer;
}

.account-profile-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.account-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    overflow: hidden;
    color: #fff;
    background: var(--plum);
    border-radius: 50%;
    font-weight: 900;
}
.account-avatar img { width:100%; height:100%; object-fit:cover; }
.account-profile-row strong { display:block; color:var(--plum); font-size:16px; }
.account-profile-row span { display:block; margin-top:3px; color:var(--muted); font-size:10px; }

.account-summary-card {
    margin-top: 10px;
    padding: 13px;
    background: rgba(59,37,52,.04);
    border-radius: 13px;
    font-size: 11px;
    line-height: 1.55;
}
.account-summary-card strong { display:block; margin-bottom:4px; color:var(--plum); }
.account-actions { margin-top: 13px; }

.subscription-channel-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
    margin: 16px 0;
}
.subscription-channel-card {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 12px 7px;
    background: rgba(59,37,52,.035);
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
}
.subscription-channel-card input { position:absolute; opacity:0; pointer-events:none; }
.subscription-channel-card:has(input:checked) {
    background: rgba(184,155,103,.15);
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(184,155,103,.08);
}
.channel-mark {
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    color:#fff;
    background:var(--plum);
    border-radius:13px;
    font-size:10px;
    font-weight:900;
}
.subscription-channel-card:nth-child(2) .channel-mark { background:#EE8208; }
.subscription-channel-card:nth-child(3) .channel-mark { background:#447BBA; }
.subscription-channel-card strong { color:var(--plum); font-size:11px; }
.subscription-channel-card small { color:var(--muted); font-size:8px; line-height:1.35; }

.subscription-time-grid {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:8px;
    margin-bottom:12px;
}
.subscription-time-grid label { display:grid; gap:5px; }
.subscription-time-grid span { color:var(--wine); font-size:10px; font-weight:800; }
.subscription-time-grid input,
.subscription-time-grid select {
    width:100%; min-height:44px; padding:9px 10px; color:var(--text); background:#fff;
    border:1px solid var(--line); border-radius:11px;
}

.subscription-explicit-consent {
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin:12px 0;
    padding:12px;
    background:rgba(111,70,93,.06);
    border-radius:12px;
    font-size:10px;
    line-height:1.45;
}
.subscription-explicit-consent input { margin-top:2px; }
.subscription-connected-view {
    display:grid;
    gap:8px;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid var(--line);
}
.subscription-connected-view h3 { margin:0; color:var(--plum); font-size:14px; }
.subscription-connected-view p { margin:0; color:var(--muted); font-size:11px; line-height:1.5; }
.subscription-connect-link { display:flex; align-items:center; justify-content:center; text-decoration:none; }

.account-bot-log {
    display:grid;
    gap:7px;
    margin-top:10px;
}
.bot-log-item {
    padding:10px;
    background:rgba(184,155,103,.09);
    border-radius:10px;
}
.bot-log-item strong { font-size:10px; color:var(--wine); }
.bot-log-item p { margin:4px 0 0; font-size:10px; line-height:1.45; }

/* subscription admin */
.subscription-admin-grid { display:grid; gap:14px; }
.subscription-admin-card {
    padding:16px;
    background:rgba(255,255,255,.62);
    border:1px solid var(--line);
    border-radius:17px;
}
.subscription-admin-card h3 { margin:0 0 7px; color:var(--plum); }
.subscription-admin-meta { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
.subscription-admin-meta span { padding:5px 7px; background:rgba(111,70,93,.06); border-radius:999px; font-size:9px; }

@media (max-width:520px){
    .subscription-channel-grid { grid-template-columns:1fr; }
    .subscription-channel-card { grid-template-columns:45px minmax(0,1fr); justify-items:start; text-align:left; }
    .subscription-channel-card small { grid-column:2; }
    .subscription-time-grid { grid-template-columns:1fr; }
    .landing-top-actions { gap:5px; }
    .landing-account-button { padding:8px 10px; }
}

/* =========================================================
   v1.6 — INTEGRATION SETUP PAGE
   ========================================================= */

.integration-setup-page {
    width: min(1080px, calc(100% - 28px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.integration-setup-page > h1 {
    margin: 0 0 12px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 7vw, 62px);
    font-weight: 500;
    line-height: 1;
}

.integration-lead {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.integration-global-note {
    margin-bottom: 16px;
    padding: 16px 18px;
    color: var(--plum);
    background: rgba(184, 155, 103, 0.14);
    border: 1px solid rgba(184, 155, 103, 0.26);
    border-radius: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.integration-card,
.integration-next-card {
    margin-top: 14px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 12px 38px rgba(59, 37, 52, 0.04);
}

.integration-card-accent {
    background:
        linear-gradient(145deg,
            rgba(255,255,255,.82),
            rgba(184,155,103,.11));
}

.integration-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.integration-card-head h2,
.integration-next-card h2 {
    margin: 3px 0 0;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 500;
}

.integration-number {
    color: var(--wine);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.integration-status {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: var(--muted);
    background: rgba(59,37,52,.06);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.integration-status.is-ready {
    color: #35634E;
    background: rgba(53,99,78,.12);
}

.integration-status.is-missing {
    color: #87434A;
    background: rgba(135,67,74,.10);
}

.integration-data-grid {
    display: grid;
    gap: 10px;
}

.integration-data-grid > div,
.provider-readiness-grid article {
    display: grid;
    gap: 6px;
    padding: 14px;
    background: rgba(59,37,52,.035);
    border-radius: 13px;
}

.integration-data-grid small,
.provider-readiness-grid small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.integration-data-grid strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--plum);
    font-size: 12px;
    line-height: 1.45;
}

.integration-help {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.integration-actions {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.integration-result {
    max-height: 280px;
    margin: 12px 0 0;
    padding: 14px;
    overflow: auto;
    color: #f7f0e8;
    background: var(--plum);
    border-radius: 13px;
    font: 12px/1.5 Consolas, "Courier New", monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.provider-readiness-grid {
    display: grid;
    gap: 10px;
}

.provider-readiness-grid article span {
    color: var(--wine);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.provider-readiness-grid article strong {
    color: var(--plum);
    font-size: 15px;
}

.provider-readiness-grid article strong.is-ready {
    color: #35634E;
}

.provider-readiness-grid article strong.is-missing {
    color: #87434A;
}

.integration-next-card {
    color: #fff;
    background: var(--plum);
}

.integration-next-card h2 {
    color: #fff;
}

.integration-next-card p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.74);
    line-height: 1.65;
}

.integration-next-card code {
    color: #fff;
}

@media (min-width: 680px) {
    .integration-data-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .integration-wide {
        grid-column: 1 / -1;
    }

    .provider-readiness-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .integration-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   v1.6.2 — LANDING POLISH + RESPONSIVE UPSELL + «Я + Н.»
   ========================================================= */

/* Relationship cards: long Russian words must stay inside the card. */
.shock-card {
    min-width: 0;
    overflow: hidden;
}

.shock-card h3 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}

@media (min-width: 1040px) {
    .shock-card h3 {
        font-size: clamp(31px, 3vw, 38px);
        line-height: 1.02;
        letter-spacing: -0.035em;
    }
}

/* Post-purchase offers: never let a long crossed-out price crush the copy. */
.post-upsell-copy {
    min-width: 0;
}

.post-upsell-price {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 5px;
    min-width: 0;
}

.post-upsell-price s {
    display: block;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.post-upsell-price strong {
    display: block;
    font-size: 20px;
    line-height: 1.12;
}

.post-upsell-card button {
    width: 100%;
    min-width: 0;
    line-height: 1.25;
}

@media (min-width: 700px) {
    .post-upsell-card {
        grid-template-columns: minmax(190px, 1fr) minmax(118px, 135px) 170px;
        gap: 12px;
        align-items: center;
    }
}

@media (max-width: 699px) {
    .post-upsell-price {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: baseline;
        column-gap: 8px;
    }

    .post-upsell-price s,
    .post-upsell-price strong {
        max-width: none;
    }
}

/* «Я + Н.» — real local deterministic module. */
.compatibility-app {
    display: grid;
    gap: 14px;
}

.compatibility-start-card,
.compatibility-question-card,
.compatibility-result-hero,
.compatibility-profile-note {
    padding: 18px;
    background: rgba(111, 70, 93, 0.055);
    border: 1px solid rgba(59, 37, 52, 0.08);
    border-radius: 16px;
}

.compatibility-start-card {
    display: grid;
    gap: 15px;
}

.compatibility-mini-label {
    margin: 0 0 6px;
    color: var(--wine);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.compatibility-start-card h4,
.compatibility-question-card h4,
.compatibility-result-hero h4 {
    margin: 0;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 6vw, 34px);
    font-weight: 500;
    line-height: 1.12;
}

.compatibility-start-card p:not(.compatibility-mini-label),
.compatibility-result-hero > p:not(.compatibility-mini-label),
.compatibility-profile-note p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.compatibility-alias-field {
    display: grid;
    gap: 7px;
}

.compatibility-alias-field span {
    color: var(--plum);
    font-size: 12px;
    font-weight: 800;
}

.compatibility-alias-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--text);
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(59,37,52,.14);
    border-radius: 12px;
    outline: none;
}

.compatibility-alias-field input:focus {
    border-color: rgba(184,155,103,.9);
    box-shadow: 0 0 0 3px rgba(184,155,103,.12);
}

.compatibility-saved-list {
    display: grid;
    gap: 8px;
}

.compatibility-saved-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 13px 14px;
    color: var(--text);
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(59,37,52,.08);
    border-radius: 13px;
    text-align: left;
    cursor: pointer;
}

.compatibility-saved-card span {
    min-width: 0;
}

.compatibility-saved-card strong,
.compatibility-saved-card small {
    display: block;
}

.compatibility-saved-card strong {
    color: var(--plum);
    font-size: 14px;
}

.compatibility-saved-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.compatibility-saved-card b {
    flex: 0 0 auto;
    color: var(--wine);
    font-size: 11px;
}

.compatibility-question-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.compatibility-question-top strong {
    color: var(--plum);
    font-size: 13px;
}

.compatibility-cancel-button {
    flex: 0 0 auto;
    padding: 6px 8px;
    color: var(--muted);
    background: transparent;
    border: 0;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.compatibility-progress-track {
    height: 5px;
    margin: 15px 0 22px;
    overflow: hidden;
    background: rgba(59,37,52,.09);
    border-radius: 999px;
}

.compatibility-progress-track span {
    display: block;
    height: 100%;
    background: var(--gold);
    border-radius: inherit;
    transition: width .25s ease;
}

.compatibility-question-hint {
    margin: 10px 0 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.compatibility-options {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.compatibility-option {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    color: var(--text);
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(59,37,52,.10);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.compatibility-option:active {
    transform: scale(.99);
}

.compatibility-option.selected {
    color: var(--plum);
    background: rgba(184,155,103,.18);
    border-color: rgba(184,155,103,.72);
}

.compatibility-question-actions {
    display: grid;
    grid-template-columns: minmax(110px, .7fr) minmax(0, 1.3fr);
    gap: 8px;
    margin-top: 18px;
}

.compatibility-question-actions .secondary-action,
.compatibility-question-actions .button {
    width: 100%;
    min-height: 50px;
}

.compatibility-question-actions button:disabled {
    opacity: .35;
    cursor: default;
}

.compatibility-result-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, var(--plum), #563649);
    border-color: rgba(184,155,103,.24);
}

.compatibility-result-hero::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -55px;
    top: -55px;
    border: 1px solid rgba(184,155,103,.22);
    border-radius: 50%;
}

.compatibility-result-symbol {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    color: var(--plum);
    background: var(--gold);
    border-radius: 50%;
}

.compatibility-result-hero .compatibility-mini-label {
    color: rgba(255,255,255,.58);
}

.compatibility-result-hero h4 {
    position: relative;
    z-index: 1;
    max-width: 470px;
    color: #fff;
}

.compatibility-result-hero > p:not(.compatibility-mini-label) {
    position: relative;
    z-index: 1;
    max-width: 500px;
    color: rgba(255,255,255,.76);
}

.compatibility-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
}

.compatibility-metric-card {
    min-width: 0;
    padding: 13px;
    background: rgba(255,255,255,.66);
    border: 1px solid rgba(59,37,52,.07);
    border-radius: 13px;
}

.compatibility-metric-card > span,
.compatibility-metric-card > strong {
    display: block;
}

.compatibility-metric-card > span {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.3;
}

.compatibility-metric-card > strong {
    margin-top: 3px;
    color: var(--plum);
    font-size: 13px;
}

.compatibility-meter {
    height: 5px;
    margin-top: 9px;
    overflow: hidden;
    background: rgba(59,37,52,.09);
    border-radius: 999px;
}

.compatibility-meter i {
    display: block;
    height: 100%;
    background: linear-gradient(to right, var(--wine), var(--gold));
    border-radius: inherit;
}

.compatibility-profile-note span {
    color: var(--wine);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.compatibility-bold-grid {
    display: grid;
    gap: 8px;
}

.compatibility-insight-card {
    padding: 15px;
    background: rgba(255,255,255,.66);
    border: 1px solid rgba(59,37,52,.07);
    border-radius: 13px;
}

.compatibility-insight-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--plum);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 500;
}

.compatibility-insight-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.58;
}

.compatibility-result-actions {
    display: grid;
    gap: 8px;
}

.compatibility-result-actions .secondary-action {
    width: 100%;
    min-height: 48px;
}

.compatibility-legal-note {
    margin: 0;
    color: rgba(43,37,40,.52);
    font-size: 10px;
    line-height: 1.5;
}

@media (min-width: 620px) {
    .compatibility-bold-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 430px) {
    .compatibility-metrics-grid {
        grid-template-columns: 1fr;
    }

    .compatibility-question-actions {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   v1.6.3 — RESULT SUBSCRIPTION OFFER + CONSTRUCTOR TOGGLE
   ========================================================= */

.constructor-entry-button[aria-expanded="true"] {
    background: rgba(184, 155, 103, 0.12);
    border-color: rgba(184, 155, 103, 0.48);
}

.result-subscription-offer {
    position: relative;
    margin: 0 0 22px;
    padding: 26px 22px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 90% -10%, rgba(184, 155, 103, 0.28), transparent 38%),
        linear-gradient(145deg, #3B2534, #55364A);
    border: 1px solid rgba(184, 155, 103, 0.26);
    border-radius: var(--radius);
    box-shadow: 0 18px 46px rgba(59, 37, 52, 0.16);
}

.result-subscription-offer::after {
    content: "✦";
    position: absolute;
    top: 14px;
    right: 18px;
    color: rgba(184, 155, 103, 0.28);
    font-size: 42px;
    pointer-events: none;
}

.result-subscription-offer .result-label {
    color: rgba(255, 255, 255, 0.62);
}

.result-subscription-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.result-subscription-top h2 {
    margin: 0;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.05;
}

.result-subscription-price {
    display: grid;
    flex: 0 0 auto;
    gap: 2px;
    min-width: 108px;
    padding: 10px 12px;
    color: var(--plum);
    background: var(--gold);
    border-radius: 14px;
    text-align: center;
}

.result-subscription-price strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
}

.result-subscription-price span {
    font-size: 9px;
    font-weight: 800;
}

.result-subscription-lead {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 18px 0 17px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.6;
}

.result-subscription-features {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.result-subscription-features span {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 11px 10px;
    color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 10px;
    line-height: 1.35;
}

.result-subscription-features b {
    color: var(--white);
    font-size: 11px;
}

.result-subscription-button {
    position: relative;
    z-index: 1;
}

.result-subscription-terms {
    position: relative;
    z-index: 1;
    margin: 11px 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 520px) {
    .result-subscription-offer {
        padding: 22px 18px;
    }

    .result-subscription-top {
        align-items: stretch;
        flex-direction: column;
    }

    .result-subscription-price {
        width: fit-content;
        min-width: 116px;
        text-align: left;
    }

    .result-subscription-features {
        grid-template-columns: 1fr;
    }
}
