.legacy-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(56, 176, 157, 0.12), transparent 28%),
        linear-gradient(135deg, #f7fffd 0%, #ffffff 48%, #f2fbf8 100%);
}

.legacy-hero-section {
    position: relative;
    min-height: 285px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(56, 176, 157, 0.18), transparent 32%),
        linear-gradient(135deg, #ecfffb 0%, #ffffff 55%, #f5fffd 100%);
    overflow: hidden;
    border-bottom: 1px solid rgba(56, 176, 157, 0.08);
}

.legacy-hero-container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.legacy-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(56, 176, 157, 0.09);
    pointer-events: none;
}

.legacy-bg-circle.circle-one {
    width: 260px;
    height: 260px;
    right: -80px;
    top: 25px;
}

.legacy-bg-circle.circle-two {
    width: 170px;
    height: 170px;
    left: -60px;
    bottom: -60px;
}

.legacy-kicker {
    display: inline-block;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    background: rgba(56, 176, 157, 0.11);
    color: #2b9b8a;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.72rem;
    margin-bottom: 0.85rem;
}

.legacy-main-title {
    font-family: "Outfit", sans-serif;
    color: #172033;
    font-size: clamp(2.15rem, 3.4vw, 3.65rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.045em;
    margin-bottom: 0.75rem;
}

.legacy-hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: #697386;
    font-size: 0.98rem;
    line-height: 1.75;
    font-weight: 500;
}

.legacy-container {
    max-width: 930px;
    padding-top: 2.25rem;
    padding-bottom: 5rem;
}

.legacy-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.legacy-item {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(56, 176, 157, 0.12);
    border-radius: 1.05rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
}

.legacy-button {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: #172033;
}

.legacy-button:hover {
    background: rgba(56, 176, 157, 0.045);
}

.legacy-button-content h2 {
    font-family: "Outfit", sans-serif;
    color: #172033;
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 0.18rem;
}

.legacy-button-content p {
    color: #697386;
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0;
}

.legacy-button i {
    color: #38b09d;
    font-size: 0.95rem;
    transition: 0.25s ease;
    margin-left: 1rem;
}

.legacy-button:not(.collapsed) i {
    transform: rotate(180deg);
}

.legacy-body {
    padding: 0 1.2rem 1.2rem;
}

.legacy-member-list {
    background: #ffffff;
    border: 1px solid rgba(56, 176, 157, 0.10);
    border-radius: 0.9rem;
    overflow: hidden;
}

.legacy-member-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.055);
}

.legacy-member-row:last-child {
    border-bottom: 0;
}

.legacy-member-row:hover {
    background: rgba(56, 176, 157, 0.04);
}

.legacy-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(56, 176, 157, 0.10);
    color: #38b09d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.78rem;
}

.legacy-member-info h3 {
    font-family: "Outfit", sans-serif;
    color: #172033;
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: -0.015em;
    margin: 0 0 0.2rem;
}

.legacy-member-info span {
    display: inline-flex;
    background: rgba(56, 176, 157, 0.09);
    border: 1px solid rgba(56, 176, 157, 0.12);
    color: #2b9b8a;
    border-radius: 999px;
    padding: 0.25rem 0.62rem;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.legacy-empty {
    max-width: 620px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(56, 176, 157, 0.12);
    border-radius: 1.2rem;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.legacy-empty i {
    color: #38b09d;
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.legacy-empty h3 {
    font-family: "Outfit", sans-serif;
    color: #172033;
    font-weight: 900;
}

.legacy-empty p {
    color: #697386;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .legacy-hero-section {
        min-height: 255px;
    }

    .legacy-container {
        padding-top: 2rem;
    }
}

@media (max-width: 575px) {
    .legacy-hero-section {
        min-height: auto;
    }

    .legacy-hero-container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .legacy-main-title {
        letter-spacing: -0.035em;
    }

    .legacy-hero-subtitle {
        font-size: 0.95rem;
    }

    .legacy-button {
        padding: 0.9rem 1rem;
    }

    .legacy-body {
        padding: 0 1rem 1rem;
    }

    .legacy-member-row {
        grid-template-columns: 42px 1fr;
        padding: 0.82rem;
    }

    .legacy-member-info h3 {
        font-size: 0.92rem;
    }
}