.member-body {
    min-height: 100vh;
}

.member-shell {
    position: relative;
    overflow: hidden;
    max-width: 1620px;
    margin: 0 auto;
    padding: 28px;
    display: grid;
    gap: 22px;
}

.member-hero,
.member-panel {
    position: relative;
    z-index: 1;
    padding: 26px;
}

.member-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.member-hero h1 {
    margin: 8px 0 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3rem);
}

.member-hero__lead {
    max-width: 860px;
    margin: 16px 0 0;
    color: rgba(225, 236, 255, 0.78);
    line-height: 1.7;
}

.member-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 460px);
    justify-content: end;
}

.member-hero__actions .button {
    width: 100%;
    min-height: 48px;
}

.member-grid {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 22px;
}

.member-grid--stacked {
    grid-template-columns: 1fr;
}

.member-register-card {
    width: min(640px, calc(100vw - 24px));
    max-width: 640px;
}

.member-register-form {
    margin-top: 10px;
}

.member-bot-card__visibility {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 1040px) {
    .member-grid {
        grid-template-columns: 1fr;
    }

    .member-hero {
        flex-direction: column;
    }

    .member-hero__actions {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .member-shell {
        padding: 16px;
    }

    .member-hero,
    .member-panel {
        padding: 18px;
    }

    .member-register-card {
        width: min(100%, calc(100vw - 18px));
    }
}
