@media (max-width: 1023px) {
    footer .content-shell > .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1.25rem;
    }

    footer .content-shell > .grid > section:first-child,
    footer .content-shell > .grid > section:last-child {
        grid-column: 1 / -1;
    }

    footer .content-shell > .grid > section:first-child p {
        max-width: none;
    }

    footer .content-shell > .grid nav {
        gap: .625rem;
    }

    footer .content-shell > .grid > section:last-child > div {
        display: grid;
        gap: .75rem;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    footer .content-shell > .grid > section:last-child > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
    }

    footer .content-shell > .grid > section:last-child > div > p:nth-child(3),
    footer .content-shell > .grid > section:last-child > div > p:nth-child(5) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 639px) {
    footer .content-shell > .grid > section:last-child > div {
        grid-template-columns: 1fr;
    }
}

footer .content-shell > .grid h2 {
    display: flex;
    align-items: center;
    gap: .5rem;
    letter-spacing: .02em;
}

footer .content-shell > .grid h2::before {
    content: "";
    width: 3px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #6a8bff, #8b5cf6);
    flex: 0 0 auto;
}

footer .content-shell > .grid nav a,
footer .content-shell > .grid > section:last-child a {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    transition: color .18s ease, transform .18s ease;
}

footer .content-shell > .grid nav a:hover {
    transform: translateX(2px);
}

footer .content-shell > .grid > section:first-child .flex.flex-wrap {
    gap: .625rem;
}

@media (min-width: 1024px) {
    footer .content-shell > .grid {
        align-items: start;
    }
}
