/* Global site footer (index.html) — load on public pages; owner dashboard excluded */
:root {
    --pb-site-footer-bg: #0c1222;
    --pb-site-footer-muted: #94a3b8;
    --pb-site-footer-accent: #2dd4bf;
    --pb-site-footer-max: 1140px;
}

.pb-footer {
    padding: 3.5rem 0 0;
    background: var(--pb-site-footer-bg);
    color: var(--pb-site-footer-muted);
    font-size: 0.875rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    clear: both;
}

body.pb-marketplace .pb-footer {
    position: relative;
    z-index: 5;
    margin-top: 0;
}

.pb-footer .pb-container {
    width: min(100% - 2.5rem, var(--pb-site-footer-max));
    margin-inline: auto;
}

.pb-footer__grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .pb-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

.pb-logo--footer {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: #f1f5f9;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.pb-logo--footer .hs-brand-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    line-height: 1.15;
}

.pb-logo--footer .hs-brand-name {
    display: block;
    font-weight: inherit;
    line-height: 1.2;
}

.pb-logo--footer .hs-brand-mark {
    color: var(--pb-site-footer-accent);
}

.pb-logo--footer .hs-tagline {
    display: block;
    color: rgba(241, 245, 249, 0.65);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.35;
    max-width: 10.5rem;
}

.pb-logo__mark {
    flex-shrink: 0;
    margin-top: 0.05rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, #14b8a6, #0e7490);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
}

.hs-brand-name--inline {
    display: inline;
    font-weight: 600;
}

.pb-footer__bottom .hs-brand-mark {
    color: var(--pb-site-footer-accent);
}

.pb-footer__brand p {
    margin: 0;
    max-width: 22rem;
    line-height: 1.6;
    color: #64748b;
}

.pb-footer__title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #cbd5e1;
    margin: 0 0 0.85rem;
}

.pb-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pb-footer__links li {
    margin-bottom: 0.45rem;
}

.pb-footer__links a {
    color: var(--pb-site-footer-muted);
    text-decoration: none;
}

.pb-footer__links a:hover {
    color: #e2e8f0;
}

.pb-footer__bottom {
    padding: 1.25rem 0 1.75rem;
}

.pb-footer__bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}
