.join-page-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 86px;
    color: #ffffff;
    background:
        radial-gradient(ellipse at 86% 14%, rgba(83, 157, 255, 0.26), transparent 34%),
        linear-gradient(125deg, #101d3b 0%, #123e85 58%, #1760b4 100%);
}

.join-page-hero::after {
    position: absolute;
    right: -170px;
    bottom: -330px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.join-page-hero-container {
    position: relative;
    z-index: 1;
}

.join-page-notifications .alert {
    margin: 0 0 24px;
}

.join-page-hero-content {
    min-height: 430px;
}

.join-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.join-page-eyebrow i {
    color: #9ac6ff;
}

.join-page-hero h1 {
    max-width: 670px;
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(42px, 5.6vw, 66px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.08;
}

.join-page-hero h1 span {
    color: #91c4ff;
}

.join-page-hero-copy {
    max-width: 590px;
    margin: 0 0 28px;
    color: #dbeafe;
    font-size: 17px;
    line-height: 1.75;
}

.join-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.join-page-primary-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 23px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: #ffffff;
    font-weight: 700;
    transition: transform 180ms ease, background-color 180ms ease;
}

.join-page-primary-button:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: #e8f2ff;
}

.join-page-primary-button i {
    transition: transform 180ms ease;
}

.join-page-primary-button:hover i {
    transform: translateX(4px);
}

.join-page-secondary-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.join-page-secondary-link:hover {
    color: #bfdbfe;
}

.join-page-hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: #c8dcf8;
    font-size: 13px;
}

.join-page-hero-note i {
    color: #80dfbc;
}

.join-page-hero-panel {
    max-width: 440px;
    margin-left: auto;
    padding: clamp(26px, 3.7vw, 40px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 70px rgba(5, 18, 44, 0.2);
    backdrop-filter: blur(10px);
}

.join-page-panel-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.join-page-panel-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 15px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 21px;
}

.join-page-panel-tag {
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.join-page-hero-panel h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 33px);
    font-weight: 700;
    line-height: 1.25;
}

.join-page-hero-panel>p {
    margin: 0;
    color: #dbeafe;
    font-size: 14px;
    line-height: 1.7;
}

.join-page-panel-divider {
    height: 1px;
    margin: 23px 0;
    background: rgba(255, 255, 255, 0.2);
}

.join-page-panel-points {
    display: grid;
    gap: 13px;
}

.join-page-panel-points span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #e6efff;
    font-size: 13px;
    line-height: 1.5;
}

.join-page-panel-points i {
    margin-top: 3px;
    color: #8ee2c0;
    font-size: 11px;
}

.join-page-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.join-page-panel-link:hover {
    color: #bfdbfe;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 991.98px) {
    .join-page-hero {
        padding: 34px 0 64px;
    }

    .join-page-hero-content {
        min-height: 0;
    }

    .join-page-hero-panel {
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 575.98px) {
    .join-page-hero {
        padding: 25px 0 48px;
    }

    .join-page-hero h1 {
        letter-spacing: -1.2px;
    }

    .join-page-hero-copy {
        font-size: 15px;
    }

    .join-page-hero-actions {
        gap: 18px;
    }

    .join-page-hero-note {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {

    .join-page-primary-button,
    .join-page-primary-button i {
        transition: none;
    }
}

.join-benefits-section {
    padding: 82px 0 88px;
    background: #f7f9fc;
}

.join-benefits-heading {
    max-width: 650px;
    margin: 0 auto 40px;
    text-align: center;
}

.join-benefits-heading>span {
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.join-benefits-heading h2 {
    margin: 10px 0 12px;
    color: #16233b;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -1px;
}

.join-benefits-heading p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.join-benefit-card {
    height: 100%;
    padding: 28px 24px;
    border: 1px solid #e6edf6;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(18, 42, 78, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.join-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(18, 42, 78, 0.11);
}

.join-benefit-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 21px;
    place-items: center;
    border-radius: 14px;
    background: #eef5ff;
}

.join-benefit-icon img {
    display: block;
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.join-benefit-card h3 {
    margin: 0 0 10px;
    color: #17243c;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.join-benefit-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .join-benefits-section {
        padding: 62px 0;
    }
}

@media (max-width: 575.98px) {
    .join-benefits-section {
        padding: 50px 0;
    }

    .join-benefits-heading {
        margin-bottom: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .join-benefit-card {
        transition: none;
    }
}

.join-family-cta {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 42px 0;
    color: #ffffff;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(83, 157, 255, 0.24), transparent 38%),
        linear-gradient(110deg, #123e85, #1760b4);
}

.join-family-cta::after {
    position: absolute;
    top: -130px;
    right: -70px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.join-family-cta>.container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.join-family-copy>span {
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.join-family-copy h2 {
    margin: 8px 0 7px;
    color: #ffffff;
    font-size: clamp(25px, 3.5vw, 35px);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.join-family-copy p {
    margin: 0;
    color: #dbeafe;
    font-size: 14px;
    line-height: 1.65;
}

.join-family-button {
    display: inline-flex;
    min-height: 50px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 21px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    color: #164b9b;
    background: #ffffff;
    font-weight: 700;
    transition: transform 180ms ease, background-color 180ms ease;
}

.join-family-button:hover {
    transform: translateY(-2px);
    border-color: #e8f2ff;
    color: #164b9b;
    background: #e8f2ff;
}

.join-family-button i {
    transition: transform 180ms ease;
}

.join-family-button:hover i {
    transform: translateX(4px);
}

.join-legacy-apply-column {
    align-self: flex-start;
}

@media (min-width: 992px) {
    .join-legacy-apply-column {
        position: sticky;
        top: 28px;
    }
}

@media (max-width: 575.98px) {
    .join-family-cta {
        padding: 34px 0;
    }

    .join-family-cta>.container {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .join-family-button,
    .join-family-button i {
        transition: none;
    }
}

.join-section-heading {
    max-width: 650px;
    margin: 0 auto 42px;
    text-align: center;
}

.join-section-heading>span {
    display: inline-block;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.join-section-heading h2 {
    margin: 10px 0 12px;
    color: #16233b;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -1px;
}

.join-section-heading p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.join-activity-section {
    padding: 82px 0 88px;
    background: #ffffff;
}

.join-activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.join-activity-card {
    overflow: hidden;
    height: 100%;
    border: 1px solid #e6edf6;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(18, 42, 78, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.join-activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(18, 42, 78, 0.12);
}

.join-activity-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.join-activity-card-body {
    padding: 18px 18px 20px;
}

.join-activity-card h3 {
    margin: 0 0 8px;
    color: #17243c;
    font-size: 17px;
    font-weight: 700;
}

.join-activity-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .join-activity-section {
        padding: 64px 0;
    }

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

@media (max-width: 575.98px) {
    .join-activity-section {
        padding: 52px 0;
    }

    .join-section-heading {
        margin-bottom: 30px;
    }

    .join-activity-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .join-activity-card {
        transition: none;
    }
}