.site-footer {
    background: var(--beige-deep);
    border-top: 1px solid var(--line);
    padding: 72px 0 36px;
}
.site-footer .grid {
    align-items: start;
}
.site-footer .brand {
    display: inline-block;
    font-size: 30px;
    margin: 16px 0 14px;
}
.site-footer p,
.site-footer li,
.site-footer a {
    font-size: 15px;
    color: var(--text-muted);
}
.site-footer ul {
    list-style: none;
}
.site-footer li {
    margin-bottom: 9px;
}
.site-footer a {
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer a:hover {
    color: var(--ink);
}
.key-small {
    width: 52px;
    height: auto;
    display: block;
}
.key-small * {
    fill: none;
    stroke: var(--khaki);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-bottom {
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 13px;
    color: var(--muted);
}
/* Legal links live in the bottom bar rather than a fourth column: the
   grid above is already full, and this is where people look for them. */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
}
.site-footer .footer-legal a {
    font-size: 13px;
    color: var(--muted);
}
.site-footer .footer-legal a:hover {
    color: var(--ink);
}

@media (max-width: 900px) {
    .site-footer {
        padding-top: 56px;
    }
}
