/* Membership page - mockup aligned Silver/Gold presentation */
.membership-page {
    --membership-gold: #d9a844;
    --membership-gold-soft: #f2ce76;
    --membership-silver: #d8d9dc;
    --membership-panel: rgba(7, 7, 7, .94);
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: 76px;
}

.membership-page-container {
    width: min(1440px, calc(100% - 48px));
    margin-inline: auto;
}

.membership-intro-copy .lead {
    max-width: 620px;
}

.membership-plan-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.membership-plan-card {
    position: relative;
    min-height: 510px;
    padding: 22px 30px 26px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(216, 217, 220, .66);
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .045), transparent 22rem),
        linear-gradient(145deg, rgba(18, 18, 18, .97), rgba(3, 3, 3, .98));
    box-shadow:
        inset 0 0 35px rgba(255, 255, 255, .018),
        0 20px 50px rgba(0, 0, 0, .34);
}

.membership-plan-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, .03), transparent 35%);
}

.membership-plan-card-gold {
    border-color: rgba(217, 168, 68, .94);
    box-shadow:
        inset 0 0 46px rgba(217, 168, 68, .055),
        0 0 20px rgba(217, 168, 68, .18),
        0 22px 60px rgba(0, 0, 0, .38);
}

.membership-plan-header {
    position: relative;
    z-index: 1;
    min-height: 100px;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 82px;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.membership-plan-symbol {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: var(--membership-silver);
    font-size: 2rem;
    line-height: 1;
    text-shadow: 0 0 12px currentColor;
    box-shadow:
        0 0 16px rgba(232, 232, 232, .28),
        inset 0 0 14px rgba(232, 232, 232, .14);
}

.membership-plan-card-gold .membership-plan-symbol {
    color: var(--membership-gold-soft);
    box-shadow:
        0 0 18px rgba(217, 168, 68, .43),
        inset 0 0 16px rgba(217, 168, 68, .18);
}

.membership-plan-tier {
    display: inline-block;
    margin: 0 0 4px;
    color: #d8d8d8;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1;
}

.membership-plan-card-gold .membership-plan-tier {
    color: var(--membership-gold-soft);
}

.membership-plan-name {
    margin: 0;
    color: var(--membership-silver);
    font: 400 clamp(1.3rem, 2vw, 1.75rem) / 1.2 Georgia, serif;
    letter-spacing: .01em;
}

.membership-plan-card-gold .membership-plan-name {
    color: var(--membership-gold-soft);
}

.membership-plan-card h2 {
    margin: 2px 0 0;
    color: #f4eee4;
    font: 400 clamp(2.2rem, 3.4vw, 3.1rem) / 1 Georgia, serif;
}

.membership-plan-price-note {
    margin: 7px 0 0;
    color: #aaa195;
    font-size: .7rem;
    line-height: 1.3;
}

.membership-plan-divider {
    position: relative;
    z-index: 1;
    height: 1px;
    margin: 5px 0 15px;
    background: linear-gradient(90deg, transparent, rgba(216, 217, 220, .35), transparent);
}

.membership-plan-card-gold .membership-plan-divider {
    background: linear-gradient(90deg, transparent, rgba(217, 168, 68, .45), transparent);
}

.membership-plan-description {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: #c6beb2;
    font-size: .82rem;
    line-height: 1.55;
    text-align: center;
}

.membership-feature-list {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
    color: #d4ccc0;
    font-size: .83rem;
    line-height: 1.45;
}

.membership-feature-list > li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.membership-check {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--membership-silver);
    font-size: .68rem;
    line-height: 1;
}

.membership-plan-card-gold .membership-check {
    color: var(--membership-gold-soft);
}

.membership-feature-with-sublist ul {
    margin: 4px 0 0;
    padding-left: 22px;
    color: #c9c0b4;
    list-style: disc;
}

.membership-feature-with-sublist ul li {
    margin: 2px 0;
}

.membership-plan-action {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 20px;
}

.membership-plan-action .button {
    width: 100%;
    min-height: 43px;
    padding: 9px 16px;
    border-radius: 0;
    font-size: .68rem;
}

.membership-comparison,
.membership-faq {
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid rgba(217, 168, 68, .58);
    border-radius: 10px;
    background: rgba(5, 5, 5, .82);
}

.membership-comparison-scroll {
    overflow-x: auto;
}

.membership-comparison-grid {
    min-width: 720px;
    display: grid;
    grid-template-columns: minmax(340px, 1fr) 30% 30%;
}

.membership-comparison-heading {
    min-height: 44px;
    align-items: center;
    background: linear-gradient(90deg, rgba(217, 168, 68, .10), rgba(217, 168, 68, .025));
}

.membership-comparison-heading h2 {
    margin: 0;
    padding: 9px 24px;
    color: var(--membership-gold-soft);
    font: 700 .88rem / 1.2 Arial, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.membership-comparison-heading strong {
    height: 100%;
    display: grid;
    place-items: center;
    border-left: 1px solid rgba(217, 168, 68, .23);
    color: #d9d1c5;
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.membership-comparison-heading strong:last-child {
    color: var(--membership-gold-soft);
}

.membership-comparison-row {
    min-height: 34px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.membership-comparison-row > span {
    padding: 6px 24px;
    color: #cfc7ba;
    font-size: .78rem;
}

.membership-comparison-row > b {
    height: 100%;
    min-height: 34px;
    display: grid;
    place-items: center;
    border-left: 1px solid rgba(217, 168, 68, .23);
    font-size: 1rem;
    font-weight: 500;
}

.membership-comparison-row .is-included {
    color: var(--membership-gold-soft);
}

.membership-comparison-row .is-not-included {
    color: #8a8277;
}

.membership-faq {
    margin-top: 12px;
}

.membership-faq > h2 {
    margin: 0;
    padding: 11px 24px;
    color: var(--membership-gold-soft);
    background: linear-gradient(90deg, rgba(217, 168, 68, .10), rgba(217, 168, 68, .025));
    font: 700 .88rem / 1.2 Arial, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.membership-faq details {
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.membership-faq summary {
    min-height: 42px;
    padding: 6px 20px;
    display: grid;
    grid-template-columns: 28px minmax(240px, .8fr) minmax(320px, 1.7fr) 18px;
    gap: 12px;
    align-items: center;
    color: #d6cec2;
    cursor: pointer;
    list-style: none;
}

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

.membership-faq-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid var(--membership-gold);
    border-radius: 50%;
    color: var(--membership-gold-soft);
    font: 700 .76rem Arial, sans-serif;
    box-shadow: 0 0 10px rgba(217, 168, 68, .2);
}

.membership-faq-question {
    color: #e1d9cd;
    font-size: .79rem;
}

.membership-faq-answer {
    padding-left: 14px;
    border-left: 1px solid rgba(217, 168, 68, .23);
    color: #a9a094;
    font-size: .76rem;
    line-height: 1.45;
}

.membership-faq-chevron {
    width: 9px;
    height: 9px;
    justify-self: end;
    border-right: 1px solid #d6cbbd;
    border-bottom: 1px solid #d6cbbd;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.membership-faq details:not([open]) .membership-faq-answer {
    display: none;
}

.membership-faq details:not([open]) summary {
    grid-template-columns: 28px minmax(0, 1fr) 18px;
}

.membership-faq details:not([open]) .membership-faq-chevron {
    transform: rotate(-45deg);
}

@media (max-width: 1000px) {
    .membership-plan-grid {
        grid-template-columns: 1fr;
    }

    .membership-plan-card {
        min-height: auto;
    }
}

@media (max-width: 900px) {
    .membership-page-container {
        width: min(100% - 32px, 760px);
    }

    .membership-plan-grid {
        margin-top: 30px;
    }

    .membership-faq summary,
    .membership-faq details:not([open]) summary {
        grid-template-columns: 28px minmax(0, 1fr) 18px;
        padding: 11px 16px;
    }

    .membership-faq-question {
        font-weight: 700;
    }

    .membership-faq-answer {
        grid-column: 2 / -1;
        padding: 6px 0 2px;
        border-left: 0;
    }
}

@media (max-width: 600px) {
    .membership-page {
        padding-top: 50px;
    }

    .membership-plan-card {
        padding: 20px 19px 22px;
        border-radius: 12px;
    }

    .membership-plan-header {
        grid-template-columns: 54px minmax(0, 1fr) 54px;
        gap: 5px;
    }

    .membership-plan-symbol {
        width: 48px;
        height: 48px;
        font-size: 1.45rem;
    }

    .membership-plan-card h2 {
        font-size: 2rem;
    }

    .membership-plan-name {
        font-size: 1.1rem;
    }

    .membership-comparison-grid {
        min-width: 620px;
        grid-template-columns: minmax(300px, 1fr) 145px 145px;
    }
}

/* 2026-08-07 staging UI correction: hero proportions aligned to approved mock-up. */
.membership-page {
    padding-top: 60px;
}

.membership-top-grid {
    grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
    gap: clamp(32px, 4vw, 72px);
    min-height: 360px;
    align-items: center;
}

.membership-intro-copy {
    align-self: center;
    padding: 18px 0 28px;
}

.membership-intro-copy h1 {
    max-width: 650px;
    margin: 10px 0 20px;
    font-size: clamp(2.6rem, 2.9vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -.02em;
}

.membership-intro-copy .lead {
    max-width: 590px;
    margin-bottom: 0;
    color: #c9c0b3;
    font-size: clamp(.95rem, 1.15vw, 1.08rem);
    line-height: 1.65;
}

.membership-visual {
    min-height: 340px;
    justify-content: flex-end;
}

.membership-visual > img {
    width: min(780px, 100%);
    max-width: none;
    filter: drop-shadow(0 0 28px rgba(217, 168, 68, .13));
}

.membership-plan-grid {
    margin-top: 28px;
}

@media (max-width: 1100px) {
    .membership-top-grid {
        grid-template-columns: minmax(0, .94fr) minmax(430px, 1.06fr);
        gap: 32px;
    }

    .membership-intro-copy h1 {
        font-size: clamp(2.5rem, 3.8vw, 3.05rem);
    }
}

@media (max-width: 900px) {
    .membership-top-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .membership-intro-copy {
        padding-bottom: 0;
    }

    .membership-intro-copy h1 {
        max-width: 680px;
    }

    .membership-visual {
        min-height: 0;
        justify-content: center;
    }

    .membership-visual > img {
        width: min(760px, 100%);
    }
}

@media (max-width: 600px) {
    .membership-page {
        padding-top: 44px;
    }

    .membership-intro-copy h1 {
        font-size: clamp(2.35rem, 12vw, 3rem);
    }
}
