/* Site footer — dark panel, rgb(33, 37, 41) */

.site-footer {
    --footer-bg: #042775;
    --footer-ink: rgba(255, 255, 255, 0.92);
    --footer-muted: rgba(255, 255, 255, 0.82);
    --footer-subtle: rgba(255, 255, 255, 0.72);
    --footer-faint: rgba(255, 255, 255, 0.12);
    --footer-hover: rgba(255, 255, 255, 0.1);
    background: var(--footer-bg);
    color: var(--footer-muted);
    margin-top: auto;
    border-top: 1px solid var(--footer-faint);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

.site-footer a {
    color: var(--footer-ink);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}

.site-footer a:hover {
    color: var(--footer-ink);
}

.site-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem clamp(16px, 4vw, 24px) 2rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
}

@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .site-footer__grid {
        grid-template-columns: 1.35fr 0.85fr 0.85fr 1fr;
        gap: 2rem;
        align-items: start;
    }
}

.site-footer__brand {
    max-width: 28rem;
}

.site-footer__logo-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--footer-ink);
}

.site-footer__logo:hover {
    color: #fff;
}

.site-footer__logo-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--footer-faint);
}

.site-footer__mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--footer-ink);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer__name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--footer-ink);
}

.site-footer__tagline {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--footer-muted);
}

.site-footer__heading {
    margin: 0 0 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--footer-subtle);
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.site-footer__list a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--footer-ink);
}

.site-footer__list a:hover {
    color: #fff;
}

.site-footer__contact-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.site-footer__contact-block a {
    word-break: break-word;
}

.site-footer__contact-line {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.site-footer__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--footer-subtle);
}

.site-footer__social {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--footer-faint);
}

.site-footer__social-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.site-footer__social-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--footer-muted);
    letter-spacing: 0.04em;
}

.site-footer__social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: var(--footer-muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--footer-faint);
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease,
        transform 0.15s ease;
}

.site-footer__social-link:hover {
    color: #fff;
    background: var(--footer-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.site-footer__social-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

.site-footer__bottom {
    margin-top: 1.75rem;
    padding: 1.25rem clamp(16px, 4vw, 24px);
    border-top: 1px solid var(--footer-faint);
    background: rgba(0, 0, 0, 0.2);
}

.site-footer__bottom-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--footer-subtle);
}

@media (min-width: 640px) {
    .site-footer__bottom-inner {
        flex-direction: row;
        text-align: left;
    }
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .site-footer__legal {
        justify-content: flex-end;
    }
}

.site-footer__legal a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--footer-muted);
}

.site-footer__legal a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.site-footer__cookie-settings {
    appearance: none;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--footer-muted);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer__cookie-settings:hover {
    color: rgba(255, 255, 255, 0.95);
}

.site-footer__list .site-footer__cookie-settings {
    font-size: 0.9375rem;
    color: var(--footer-ink);
    text-decoration: none;
}

.site-footer__list .site-footer__cookie-settings:hover {
    color: #fff;
}

.site-footer__copyright {
    margin: 0;
}

/* App store badges (shared by footer and homepage "Get the app" section) */
.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.4rem 0.95rem 0.4rem 0.75rem;
    color: #fff;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.app-badge:hover {
    color: #fff;
    background: #111827;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.app-badge__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.app-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.app-badge__text small {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.app-badge__text strong {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.app-badges--footer {
    margin-top: 1.25rem;
}

.site-footer .app-badge,
.site-footer .app-badge:hover {
    color: #fff;
}
