:root {
    --ink: #352634;
    --ink-soft: #66515e;
    --paper: #f8e9e2;
    --plum: #1b1722;
    --plum-card: #2a222e;
    --cream: #f8f0ec;
    --muted: #c7b9c3;
    --accent: #e8ad9c;
    --accent-strong: #a7637e;
    --line-light: rgba(86, 53, 76, 0.13);
    --line-dark: rgba(239, 201, 209, 0.16);
    --radius: 22px;
    --motion: 180ms ease;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body.layout-b {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 12% 8%, #423044, transparent 38%),
        radial-gradient(circle at 92% 90%, #332435, transparent 42%), #14111b;
    color: var(--cream);
    font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.shell-b {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.27fr);
    width: 100%;
    max-width: 1180px;
    margin: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 231, 222, 0.15);
    border-radius: 30px;
    background: var(--plum);
    box-shadow: 0 32px 90px rgba(7, 5, 12, 0.38);
}

.no-promo .shell-b {
    display: block;
    max-width: 760px;
}

.left-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding: 52px 44px;
    background: radial-gradient(circle at 92% 8%, rgba(255, 252, 243, 0.85), transparent 31%),
        linear-gradient(155deg, #f6e5dc 0%, #efd6db 50%, #e0c6d8 100%);
    color: var(--ink);
}

.left-panel::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: url("../images/boudoir-still-life.webp") center bottom / 100% auto no-repeat;
    content: "";
    mask-image: linear-gradient(to bottom, transparent 42%, #000 72%);
    opacity: 0.72;
    pointer-events: none;
}

.left-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 460px;
}

.badge-b {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 11px;
    margin: 0 0 14px;
    color: #805168;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.badge-b::before {
    width: 25px;
    height: 1px;
    background: #a7637e;
    content: "";
}

.domain-b {
    margin: 0;
    color: #3d2937;
    font-family: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif;
    font-size: clamp(2.8rem, 4.4vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.domain-b .domain-word {
    display: inline-block;
}

.domain-b .domain-word::first-letter {
    text-transform: uppercase;
}

.domain-tld {
    color: #a4617c;
}

.lead-b {
    max-width: 43ch;
    margin: 2px 0 14px;
    color: #594654;
    font-size: 1rem;
    line-height: 1.7;
}

.price-block,
.term-block,
.bundle-block,
.available-block {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 21px 23px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    background: rgba(255, 251, 247, 0.62);
    box-shadow: 0 10px 26px rgba(91, 54, 79, 0.06);
}

div.price-block {
    margin-bottom: 3px;
    border-color: rgba(64, 39, 57, 0.2);
    background: #3b2a3b;
    box-shadow: 0 14px 30px rgba(70, 40, 62, 0.16);
}

div.price-block .price-label {
    color: #d4bac8;
}

.price-label,
.contract-label {
    color: #785a6b;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    max-width: 100%;
    color: #fff8f5;
    font-size: 1.02rem;
    font-weight: 650;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-email::after {
    color: var(--accent);
    content: "↗";
    font-size: 1.1em;
}

.contact-email:hover {
    color: #f6c3b3;
}

.price-value {
    color: var(--ink);
    font-family: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.price-currency {
    font-size: 0.8em;
}

.contract-label {
    margin-top: 15px;
}

.contract-options {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 3px 0 0;
    padding: 0;
    list-style: none;
}

.contract-options li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4e3d4a;
    font-size: 0.84rem;
    line-height: 1.4;
}

.contract-options li::before {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: #edd3db;
    color: #82465f;
    content: "✓";
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.contract-options li.unavailable {
    color: #917f89;
}

.contract-options li.unavailable::before {
    background: #ede5e6;
    color: #9b8992;
    content: "–";
}

.contract-options a,
.bundle-list a {
    color: inherit;
    text-decoration-color: #b7879a;
    text-underline-offset: 3px;
}

.term-title,
.bundle-title,
.available-title {
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.term-text,
.bundle-sub,
.available-sub,
.small-note {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.55;
}

.bundle-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 3px 0 0;
    padding-left: 18px;
    color: var(--ink);
    font-size: 0.88rem;
}

.bundle-list li::marker {
    color: var(--accent-strong);
}

.available-block {
    overflow: hidden;
}

.available-loading {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.available-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid #e8d4dc;
    border-top-color: var(--accent-strong);
    border-radius: 50%;
    animation: available-spin 700ms linear infinite;
}

.available-block.is-loaded .available-loading,
.available-block.is-empty .available-loading {
    display: none;
}

.available-list {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.available-block.is-loaded .available-list {
    display: flex;
}

.available-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px 9px 13px;
    border: 1px solid rgba(104, 64, 88, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.45);
}

.available-domain {
    min-width: 0;
    color: var(--ink);
    font-size: 0.84rem;
    overflow-wrap: anywhere;
}

.available-button {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid #c497a9;
    border-radius: 9px;
    background: #fff7f4;
    color: #65384e;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color var(--motion), transform var(--motion);
}

.available-button:hover {
    transform: translateY(-1px);
    background: #f7e5e8;
}

.available-empty {
    margin: 3px 0 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.right-panel {
    display: flex;
    justify-content: center;
    padding: 40px 38px;
    background: radial-gradient(circle at 85% 0%, #352534, transparent 42%), var(--plum);
}

.right-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 590px;
}

.timer-section-b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 17px;
    border: 1px solid var(--line-dark);
    border-radius: 16px;
    background: rgba(238, 189, 192, 0.06);
}

.timer-text-b {
    color: #e9dce3;
    font-size: 0.86rem;
    line-height: 1.45;
}

.timer-value-b {
    margin-left: 4px;
    color: #f0b5a4;
    font-feature-settings: "tnum" 1;
    font-weight: 750;
}

.toggle-b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 11px 4px 4px;
    border: 1px solid #705867;
    border-radius: 999px;
    background: #3b303c;
    color: #f4e5e6;
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    transition: border-color var(--motion), background-color var(--motion);
}

.toggle-knob-b {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
}

.toggle-off {
    border-color: #564952;
    background: #2d2731;
    color: #c4b4bd;
}

.toggle-off .toggle-knob-b {
    background: #8f8290;
}

.toggle-label-b {
    white-space: nowrap;
}

.partners-wrap-b {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.partners-title-b {
    max-width: 25ch;
    margin: 0;
    color: #fff5ef;
    font-family: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif;
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

.partners-sub-b {
    max-width: 57ch;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.partners-list-b {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.partner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 11px;
    min-width: 0;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    background: var(--plum-card);
    box-shadow: 0 10px 26px rgba(9, 7, 14, 0.11);
    transition: transform var(--motion), border-color var(--motion), background-color var(--motion);
}

.partner-card:hover {
    transform: translateY(-2px);
    border-color: rgba(238, 182, 189, 0.42);
    background: #302633;
}

.partner-card-primary {
    border-color: rgba(231, 173, 188, 0.58);
    background: linear-gradient(145deg, #432d3d, #302530 72%);
}

.partner-card-primary::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #e9ab9b, #b87894);
    content: "";
}

.partner-header {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.partner-title {
    margin: 0;
    color: #fff7f2;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.partner-brand {
    color: #bfa7b7;
    font-size: 0.76rem;
    letter-spacing: 0.03em;
}

.partner-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 2px 0 0;
    padding-left: 18px;
    color: #d8cbd2;
    font-size: 0.82rem;
    line-height: 1.45;
}

.partner-benefits li::marker {
    color: #d69a9e;
}

.partner-actions {
    display: flex;
    margin-top: auto;
    padding-top: 8px;
}

.partner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 13px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #382533;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: transform var(--motion), background-color var(--motion);
}

.partner-button::after {
    content: "↗";
    font-size: 1.1em;
}

.partner-button:hover {
    transform: translateY(-1px);
    background: #f4c5b4;
}

.partner-button:active {
    transform: translateY(0);
}

.disclaimer-b {
    margin: 5px 0 0;
    color: #a99ba6;
    font-size: 0.76rem;
    line-height: 1.55;
}

.footer-b {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--line-dark);
    color: #a99ba6;
    font-size: 0.76rem;
}

.footer-b a {
    color: var(--accent);
}

:is(.contact-email, .contract-options a, .bundle-list a, .available-button, .toggle-b, .partner-button, .footer-b a):focus-visible {
    outline: 3px solid #f5c9b6;
    outline-offset: 3px;
}

@keyframes available-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 920px) {
    .shell-b {
        grid-template-columns: minmax(0, 1fr);
        max-width: 720px;
    }

    .left-panel,
    .right-panel {
        padding: 38px;
    }
}

@media (max-width: 620px) {
    .shell-b {
        margin: 12px;
        border-radius: 24px;
    }

    .left-panel,
    .right-panel {
        padding: 30px 22px;
    }

    .left-panel {
        padding-bottom: 145px;
    }

    .left-panel::before {
        opacity: 0.4;
    }

    .left-inner,
    .right-inner {
        gap: 19px;
    }

    .domain-b {
        font-size: clamp(2.6rem, 12vw, 3.8rem);
    }

    .partners-list-b {
        grid-template-columns: minmax(0, 1fr);
    }

    .partner-card {
        padding: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
