.home-footer {
    --band-color: #0f3f3f;
    width: 100%;
    box-sizing: border-box;
    margin-top: 50px;
    padding: clamp(20px, 5.5vw, 36px) 0 clamp(18px, 5vw, 34px);
    text-align: center;
    background: var(--band-color);
    color: #fff;
}
/* Reuse the category row, container gutters and .mode-box border-box. */
.container.home-footer__layout { padding-block: 0; }
.home-footer__actions {
    height: clamp(46px, 14.1vw, 80px);
    align-content: center;
}
.home-footer__action {
    position: relative;
    flex: none;
    border-color: transparent;
    border-radius: .92em;
    background: transparent;
    box-shadow: none;
    color: var(--band-color);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    line-height: normal;
}
/* The invisible line retains the category font metrics, even while fonts load. */
.home-footer__action::before { content: "\00a0"; }
.home-footer__action::after {
    content: "";
    pointer-events: none;
    position: absolute;
    /* One continuous surface extends over the transparent sizing border. */
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(180deg, #e7edeb 0%, #dae1de 12%,
                                #d1d6d2 34%, #d1d6d2 62%,
                                #cbd3cf 81%, #c1cdc8 93%, #b4c4be 100%);
    box-shadow: inset 0 3px 8px -2px rgba(255,255,255,.65),
                inset 0 -4px 8px -3px rgba(48,83,73,.28),
                0 .31em .55em -.13em rgba(0,25,23,.50);
}
.home-footer__action span {
    z-index: 1;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding-bottom: .18em;
    font-size: 110%;
}
@media (width < 376px) {
    /* Where the category pair wraps, use the existing space above the cookie link. */
    .home-footer { margin-top: 0; padding-top: calc(50px + clamp(20px, 5.5vw, 36px)); }
    .home-footer__actions { align-content: end; row-gap: 6px; }
}
.home-footer__action:active { transform: translateY(1px); }
.home-footer .home-footer__cookies {
    display: block;
    margin: clamp(15px, 4.9vw, 30px) auto 0;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    font: 700 clamp(17px, 4.8vw, 23px)/1.25 'Nunito', sans-serif;
    text-decoration: underline;
    text-underline-offset: .19em;
}
.home-footer__slogan {
    margin: clamp(9px, 2.9vw, 20px) auto 0;
    padding-inline: 2px;
    color: #fff;
    font-weight: 400;
    line-height: normal;
}
.home-footer__slogan strong,
.home-footer__slogan span { display: block; white-space: nowrap; }
.home-footer__slogan strong { font-weight: 700; }
@media (max-width: 345px) {
    /* Keep the header's typeface and glyph size while fitting the longer wording. */
    .home-footer__slogan.brand-right {
        letter-spacing: clamp(0px, calc(3.4px + (100vw - 345px) / 38), 3.4px);
    }
}
.home-footer :is(button, a):focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.home-footer__action:focus-visible { outline-color: #fff !important; }
.home-footer__dialog {
    box-sizing: border-box;
    width: min(360px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow: auto;
    padding: 20px 24px 24px;
    border: 1px solid #c5ceca;
    border-radius: 18px;
    background: #fff;
    color: var(--band-color);
    text-align: left;
    box-shadow: 0 12px 36px rgba(0,22,22,.24);
}
.home-footer__dialog::backdrop { background: rgba(5,30,30,.52); }
.home-footer__dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-footer__dialog h2 { margin: 0; }
.home-footer__dialog button {
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: #edf1ee; color: inherit; font: inherit; font-size: 24px; cursor: pointer;
}
.home-footer__dialog dl { margin: 0; }
.home-footer__dialog dt { margin: 14px 0 3px; font-weight: 700; }
.home-footer__dialog dd { margin: 0; overflow-wrap: anywhere; }
.home-footer__dialog a { color: inherit; text-underline-offset: .15em; }
