/*
 * Site footer — shared by every public page except 404.html.
 * Markup is duplicated per page (no build step); keep it identical everywhere.
 * All selectors are scoped under .site-footer so page-level styles (and Tailwind's
 * preflight on index/event) can't leak in, and nothing here leaks out.
 */
.site-footer {
    width: 100%;
    max-width: 760px;
    margin: 56px auto 0;
    padding: 32px 20px 24px;
    border-top: 1px solid #e3e3e3;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    box-sizing: border-box;
}

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

.site-footer p {
    margin: 0;
    color: inherit;
}

/* Logo + tagline */
.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.site-footer__brand img {
    display: block;
    width: 32px;
    height: 32px;
}

/* Link row: About | Method | FAQ | Contact | Terms & Privacy */
.site-footer__links {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
}

.site-footer__links li {
    display: flex;
    align-items: center;
}

.site-footer__links li + li::before {
    content: "|";
    margin: 0 12px;
    color: #c4c4c4;
}

.site-footer__links a {
    color: #1a1a1a;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__links a:hover {
    color: #1a7a3f;
}

.site-footer a:focus-visible {
    outline: 2px solid #4CAF4F;
    outline-offset: 2px;
    border-radius: 2px;
}

.site-footer .site-footer__copy {
    margin-top: 18px;
}

/* Disclaimer */
.site-footer .site-footer__disclaimer {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.5;
    color: #767676; /* lightest gray that still passes WCAG AA on white */
}

@media (max-width: 480px) {
    .site-footer {
        margin-top: 40px;
        padding-top: 28px;
    }
    /* Links wrap on phones; drop the pipes so no row starts with a stray "|" */
    .site-footer__links {
        column-gap: 20px;
    }
    .site-footer__links li + li::before {
        content: none;
    }
}
