/* Shared CuraX legacy-content footer. Scope all rules to avoid collisions with both page layouts. */
footer.legacy-footer {
    display: block;
    position: relative;
    max-width: none;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 24px;
    background: #061019;
    color: #a8becb;
    border-top: 1px solid rgba(171, 221, 241, .15);
    font-family: Poppins, Arial, sans-serif;
    font-size: 12px;
    letter-spacing: normal
}

.legacy-footer *,
.legacy-footer *::before,
.legacy-footer *::after {
    box-sizing: border-box
}

.legacy-footer-inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 52px 0 28px
}

.legacy-footer-primary {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start
}

.legacy-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.055em;
    color: #f4fbff
}

.legacy-footer-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain
}

.legacy-footer-x {
    color: #0eb4f6
}

.legacy-footer .legacy-footer-tagline {
    max-width: 460px;
    margin: 16px 0 0;
    color: #8fa7b6;
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: 0
}

.legacy-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
}

.legacy-footer-contact>a {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #b8cedb;
    font-size: 12px;
    line-height: 1.6;
    transition: color .2s
}

.legacy-footer a:hover {
    color: #82e0f6
}

.legacy-footer-icon {
    width: 17px;
    height: 17px;
    display: block;
    flex-shrink: 0
}

.legacy-footer-socials {
    display: flex;
    gap: 13px;
    margin-top: 7px;
    align-items: center
}

.legacy-footer-socials>a,
.legacy-footer-social-disabled {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #a3d6e826;
    border-radius: 9px;
    color: #b0c9d5
}

.legacy-footer-social-disabled {
    opacity: .4;
    cursor: default
}

.legacy-footer-socials .legacy-footer-icon {
    height: 18px;
    width: 18px
}

.legacy-footer-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 26px;
    padding: 29px 0;
    margin-top: 32px;
    border-top: 1px solid #a3d6e81c;
    border-bottom: 1px solid #a3d6e81c
}

.legacy-footer-navigation>a {
    font-size: 11px;
    color: #bbd0dc;
    text-decoration: none
}

.legacy-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    justify-content: space-between;
    padding-top: 25px;
    color: #7e98a8
}

.legacy-footer .legacy-footer-bottom p {
    max-width: none;
    margin: 0;
    font-size: 10px;
    line-height: 1.8;
    color: #7e98a8;
    letter-spacing: 0
}

.legacy-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 10px
}

.legacy-footer-legal a {
    color: #94b1c0
}

.legacy-footer-legal small {
    font-size: 9px
}

.legacy-footer-cursor {
    display: block;
    margin: 17px 0 0 auto;
    font-size: 10px;
    color: #809fac
}

.legacy-footer-cursor[hidden] {
    display: none !important
}

@media(max-width:700px) {
    .legacy-footer-inner {
        padding-top: 38px
    }

    .legacy-footer-primary {
        grid-template-columns: 1fr;
        gap: 26px
    }

    .legacy-footer-brand {
        font-size: 24px
    }

    .legacy-footer-navigation {
        margin-top: 29px;
        gap: 15px 20px;
        padding: 24px 0
    }

    .legacy-footer-bottom {
        display: block
    }

    .legacy-footer-bottom>* {
        margin-bottom: 12px !important
    }

    .legacy-footer-cursor {
        margin-left: 0
    }
}

.legacy-footer-partner {
    display: inline-flex;
    align-items: center;

    margin-left: 4px;
    padding-left: 13px;

    border-left: 1px solid rgba(189, 223, 235, 0.4);

    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.14em;

    color: #ccd8df;
    white-space: nowrap;
}

/* Shared narrow-screen footer safeguards. */
@media (max-width: 760px) {
    footer.legacy-footer { padding-inline: clamp(16px, 4vw, 24px); }
    .legacy-footer-inner { width: 100%; }
    .legacy-footer-primary { grid-template-columns: minmax(0, 1fr); }
    .legacy-footer-contact > a { max-width: 100%; overflow-wrap: anywhere; }
    .legacy-footer-navigation { gap: 12px 18px; }
}
@media (max-width: 390px) {
    .legacy-footer-brand { font-size: 22px; }
    .legacy-footer-partner { font-size: 10px; padding-left: 8px; }
}
