/* The one footer on every marketing page, written by scripts/build-footer.mjs.
   Its own classes, so it looks the same on the legal pages, which do not load
   marketing-layout.css. */

.site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #08151d;
    color: rgba(156, 163, 175, 0.95);
    font-size: 0.875rem;
}

.site-footer__inner {
    display: grid;
    gap: 2.5rem;
    max-width: 80rem;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2.5rem;
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) {
    .site-footer__inner { grid-template-columns: minmax(14rem, 1fr) minmax(0, 3fr); }
}

.site-footer__brand img { display: block; height: 2rem; width: auto; opacity: 0.8; }
.site-footer__brand p { max-width: 18rem; margin: 1rem 0 1.25rem; line-height: 1.6; }
.site-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    color: rgba(209, 213, 219, 0.9);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__social:hover,
.site-footer__social:focus-visible { color: #05c7bb; border-color: rgba(5, 199, 187, 0.5); }
.site-footer__social svg { width: 1rem; height: 1rem; }

.site-footer__cols {
    display: grid;
    gap: 2rem 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
    .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.site-footer__heading {
    margin: 0 0 0.85rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(229, 231, 235, 0.95);
}
.site-footer__cols ul { margin: 0; padding: 0; list-style: none; }
.site-footer__cols li { padding: 0.3rem 0; line-height: 1.4; }
.site-footer a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.site-footer__cols a:hover,
.site-footer__cols a:focus-visible { color: #fff; }
.site-footer__cols a[aria-current="page"] { color: #05c7bb; }

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    line-height: 1.7;
    color: rgba(156, 163, 175, 0.9);
}
