/* Shared marketing header/footer — include on pages with site-chrome header */

/* App store badges (right side of main nav); visibility toggled by nav-stores.js */
.nav-store-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 12px;
    white-space: nowrap;
}

/* Separator only when both store links are visible */
.nav-store-sep {
    display: none;
    color: var(--text-secondary, #64748b);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    user-select: none;
    padding: 0 2px;
}

#nav-store-links:has(.nav-store-google:not([hidden])):has(.nav-store-apple:not([hidden])) .nav-store-sep {
    display: inline;
}

.nav-store-links .store-icon {
    display: flex;
    align-items: center;
    line-height: 0;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-store-links .store-icon:hover {
    opacity: 1;
}

.nav-store-links .store-icon img.play-badge {
    height: 40px;
    width: auto;
    display: block;
}

.nav-store-links .store-icon img.apple-badge {
    height: 30px;
    width: auto;
    display: block;
}

.nav-store-links a[hidden] {
    display: none !important;
}

@media (max-width: 1024px) {
    .nav-links .nav-store-links {
        width: 100%;
        margin-left: 0;
        padding: 16px 0 8px;
        justify-content: center;
        flex-wrap: nowrap;
        border-top: 1px solid var(--border, #e2e8f0);
        margin-top: 8px;
    }
}

/* Shared site footer (matches index.html marketing pages) */
footer#site-footer {
    border-top: 1px solid var(--border, #E2E8F0);
    padding: 40px 0;
}

/* Policy pages reuse .container for main copy (narrow + top offset); keep footer full width */
footer#site-footer .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

footer#site-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer#site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

footer#site-footer .footer-links a {
    color: var(--text-secondary, #64748B);
    text-decoration: none;
    font-size: 0.9rem;
}

footer#site-footer .footer-links a:hover {
    color: var(--primary, #1890FF);
}

footer#site-footer .footer-copy {
    color: var(--text-muted, #94A3B8);
    font-size: 0.85rem;
}
