.page-footer,
.ack-footer {
    background: #0b1b2e;
    color: #fff;
}

.ack-footer a {
    color: inherit;
    text-decoration: none;
}

.ack-footer a:hover {
    color: var(--ack-orange, #f97316);
}

.ack-footer__main {
    padding: 2rem 0 1.5rem;
}

.ack-footer__main-inner {
    display: grid;
    gap: 0;
}

.ack-footer__brand-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.65rem;
    color: #fff;
}

.ack-footer__brand-link:hover {
    color: #fff;
}
.ack-footer a.ack-footer__social-link:hover {
    color: inherit;
}

.ack-footer__wordmark {
    display: block;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ack-footer__logo {
    display: block;
    max-width: 250px;
    max-height: 100px;
    width: auto;
    height: auto;
}

.ack-footer__tagline {
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    line-height: 1.4;
}

.ack-footer__social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.ack-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ack-footer__social-link:hover {
    background: var(--ack-orange, #f97316);
    border-color: var(--ack-orange, #f97316);
    color: #fff;
}

.ack-footer__social-link svg {
    width: 1.05rem;
    height: 1.05rem;
}

.ack-footer__groups {
    display: flex;
    flex-direction: column;
}

.ack-footer__group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ack-footer__group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.ack-footer__chevron {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
}

.ack-footer__chevron.is-open {
    transform: rotate(180deg);
}

.ack-footer__links {
    margin: 0;
    padding: 0 0 0.85rem;
    list-style: none;
}

.ack-footer__links a {
    display: inline-block;
    padding: 0.3rem 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 400;
}

.ack-footer__app-panel {
    padding: 0 0 0.85rem;
}

.ack-footer__app-title,
.ack-footer__group-toggle span {
    letter-spacing: 0.01em;
}

.ack-footer__app-title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.ack-footer__app-text {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.ack-footer__app-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
}

.ack-footer__app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 11.5rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 0.45rem;
    background: #000;
    color: #fff !important;
}

.ack-footer__app-badge:hover {
    border-color: #fff;
    color: #fff !important;
}

.ack-footer__app-badge-icon {
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 auto;
}

.ack-footer__app-badge-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.ack-footer__app-badge-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
}

.ack-footer__app-badge-name {
    font-size: 1rem;
    font-weight: 600;
}

.ack-footer__app-soon {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    display: flex;
    flex-wrap: wrap;
}
.ack-footer__app-soon a:first-child .ack-footer__app {
    padding-left: 0;
}

.ack-footer__legal {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 0 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.ack-footer__legal-inner,
.ack-footer__copyright,
.ack-footer__legal-links {
    margin: 0;
}

.ack-footer__legal-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
}

.ack-footer__legal-links::before {
    content: "|";
    margin-right: 0.75rem;
}

.ack-back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: 999px;
    background: var(--ack-orange, #f97316);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.ack-back-to-top svg {
    width: 1.35rem;
    height: 1.35rem;
}

.ack-footer__app img {
    max-height: 50px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .ack-footer__main {
        padding: 2.75rem 0 2.25rem;
    }

    .ack-footer__main-inner {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
        gap: 2.5rem 2rem;
    }

    .ack-footer__groups {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .ack-footer__group {
        border-bottom: 0;
        padding-right: 1rem;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ack-footer__group:last-child {
        border-right: 0;
        padding-right: 0;
    }

    .ack-footer__group-toggle {
        padding: 0 0 0.85rem;
        cursor: default;
        pointer-events: none;
    }

    .ack-footer__chevron {
        display: none;
    }

    .ack-footer__links,
    .ack-footer__app-panel {
        padding: 0;
    }

    .ack-footer__app {
        margin-top: 0;
        border-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .ack-footer__main-inner {
        grid-template-columns: 1.15fr 1.7fr 0.95fr;
        gap: 2rem 2.25rem;
    }

    .ack-footer__groups {
        grid-column: auto;
        align-self: start;
    }

    .ack-footer__app {
        padding-left: 0.5rem;
    }
}
