.site-footer {
    padding: 4rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.6rem;
}

.footer-links a {
    color: var(--text-2);
    font-size: 1.8rem;
    transition: color 0.2s, transform 0.2s;
}

.footer-links a:hover {
    color: var(--blue);
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 1.15rem;
    color: var(--text-2);
    font-family: var(--mono);
}

.footer-copy a { color: var(--blue); }

@media (max-width: 640px) {
    .site-footer { padding: 3rem 0; }
    .footer-links { gap: 1.6rem; }
}

/* legacy footer compat (writeups pages) */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer .footer-content {
    text-align: center;
}

.footer .footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.6rem;
}

.footer .footer-social a {
    color: var(--text-2);
    font-size: 1.8rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.footer .footer-social a:hover {
    color: var(--blue);
    transform: translateY(-2px);
}

.footer .footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.6rem;
}

.footer .footer-nav a {
    color: var(--text-1);
    font-size: 1.2rem;
    font-weight: 500;
}

.footer .footer-nav a:hover {
    color: var(--blue);
}

.footer .footer-copyright {
    color: var(--text-2);
    font-size: 1.15rem;
}

.footer .footer-copyright a {
    color: var(--blue);
}
