/* Site footer — shared across all pages */
.site-footer {
    margin-top: 60px;
    text-align: center;
    padding: 30px 20px 40px;
    border-top: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.08));
    color: var(--muted, #3a3a4a);
    font-size: 0.9rem;
}

.footer-tagline {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary, #1a1a2e);
    margin: 0 0 18px;
    letter-spacing: 0.01em;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin-bottom: 16px;
}

.footer-link {
    color: var(--muted, #3a3a4a);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text, #0a0a12);
}

.footer-contact {
    margin-bottom: 14px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent, #ff7a5c);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.footer-email:hover {
    opacity: 0.85;
}

.footer-install {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--muted, #3a3a4a);
    background: var(--bg-alt, #fff);
    border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.08));
}

.footer-install[hidden] {
    display: none !important;
}

.footer-copy {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted, #3a3a4a);
}

body.theme-dark .footer-tagline {
    color: var(--text-secondary, #c8cad2);
}

body.theme-dark .footer-install {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 48px;
        padding-bottom: 32px;
    }

    .footer-tagline {
        font-size: 0.88rem;
    }
}
