.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.site-footer {
    padding: 70px 0 24px;
    color: #fff;
    background: #050c16;
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", Arial, sans-serif;
    text-align: left;
}

.site-footer-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 0.65fr);
    gap: 70px;
    padding-bottom: 48px;
}

.site-footer .footer-lockup {
    display: flex;
    align-items: center;
}

.site-footer .footer-lockup img {
    display: block;
    width: 160px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.site-footer .footer-brand p {
    max-width: 290px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.38);
    font-size: 14px;
    line-height: 1.8;
}

.site-footer .footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer .footer-grid h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.site-footer .footer-grid a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 180ms ease;
}

.site-footer .footer-grid a:hover,
.site-footer .footer-grid a:focus-visible {
    color: #fff;
}

.site-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.26);
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .site-footer .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 0.7fr);
        gap: 34px;
    }
}

@media (max-width: 700px) {
    .site-footer-shell {
        width: min(100% - 32px, 1200px);
    }

    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 460px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-brand {
        grid-column: auto;
    }
}
