.site-footer {
    width: min(1120px, calc(100% - 2rem));
    margin: 1.5rem auto 0;
    padding: 1.25rem 0 1.6rem;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: left;
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    text-decoration: none;
    min-width: 0;
}

.site-footer-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex: 0 0 auto;
}

.site-footer-title {
    font-weight: 700;
    line-height: 1.2;
}

.site-footer-meta,
.site-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.site-footer-meta {
    color: var(--muted);
}

.site-footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.site-footer-links a:hover {
    color: var(--text);
}

@media (max-width: 640px) {
    .site-footer {
        width: min(100% - 1.6rem, 1120px);
        margin-top: 0.5rem;
        text-align: center;
    }

    .site-footer-inner,
    .site-footer-meta {
        flex-direction: column;
        justify-content: center;
    }

    .site-footer-links {
        justify-content: center;
    }
}
