footer.site-footer {
    padding: 48px;
    background: #111;
    color: #fff;
}
.site-footer .footer-layout {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    max-width: 1504px;
    margin-inline: auto;
}
.site-footer .footer-nav:nth-of-type(2) { justify-self: center; }
.site-footer .footer-layout h2 {
    margin: 0 0 16px;
    font: 500 16px/1.2 Figtree, sans-serif;
}
.site-footer .footer-links {
    display: grid;
    gap: 9px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer .footer-links a,
.site-footer .footer-social a { color: #fff; }
.site-footer .footer-links a {
    display: block;
    width: fit-content;
    font-size: 12px;
    letter-spacing: .075em;
    line-height: 21px;
    text-transform: uppercase;
    text-decoration: none;
}
.site-footer .footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-newsletter { width: min(100%, 312px); }
.site-footer .footer-newsletter p { margin: 0; }
.site-footer .newsletter-form {
    display: flex;
    align-items: center;
    margin: 16px 0 0;
    gap: 4px;
    border-bottom: 1px solid #ddd6da;
}
.site-footer .newsletter-form input[type=email] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 8px;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 14px;
}
.site-footer .newsletter-form input::placeholder { color: #fff; opacity: 1; }
.site-footer .newsletter-form button {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ddd6da;
}
.site-footer .newsletter-arrow {
    position: relative;
    width: 22px;
    border-top: 1px solid currentColor;
}
.site-footer .newsletter-arrow::after {
    position: absolute;
    right: 0;
    top: -5px;
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: "";
}
.site-footer .newsletter-delivery-note {
    display: block;
    margin-top: 5px;
    color: #bcb5b9;
    font-size: 11px;
}
.site-footer .newsletter-status { padding-top: 8px; }
.site-footer .footer-social { display: flex; gap: 2px; margin: 4px 0 0; }
.site-footer .footer-social a { display: grid; place-items: center; width: 26px; height: 29px; }
.site-footer .footer-social svg { width: 16px; height: 16px; stroke-width: 1.8; }
.site-footer .footer-copyright { justify-self: end; margin: 0; }
.site-footer :is(a, button, input):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (min-width: 768px) and (max-width: 1050px) {
    footer.site-footer { padding: 40px 32px; }
    .site-footer .footer-layout { gap: 24px; }
}
@media (max-width: 767px) {
    footer.site-footer { padding: 32px 16px; }
    .site-footer .footer-layout { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .site-footer .footer-layout h2 { font-size: 20px; }
    .site-footer .footer-links a { margin-inline: auto; }
    .site-footer .footer-newsletter { width: min(100%, 200px); }
    .site-footer .newsletter-form input[type=email] { font-size: 16px; }
    .site-footer .footer-social { justify-content: center; }
    .site-footer .footer-copyright { justify-self: center; }
}
