article.policy-content {
    max-width: 900px;
    margin: 6rem auto;
    padding: 3rem;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

article.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

article.policy-content .content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--bma-green-bright);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 128, 55, 0.22);
}

article.policy-content .content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--bma-yellow);
}

article.policy-content .content {
    overflow-wrap: break-word;
    word-break: break-word;
}

article.policy-content .content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

article.policy-content .content ul,
article.policy-content .content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

article.policy-content .content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

article.policy-content .content strong {
    color: var(--bma-white);
    font-weight: 700;
}

article.policy-content .content a {
    color: var(--bma-green-bright);
    text-decoration: underline;
    transition: color 0.3s ease;
}

article.policy-content .content a:hover {
    color: var(--bma-yellow);
}

/* Content Pages - Mobile Responsive */
@media (max-width: 768px) {
    article.policy-content {
        margin: 4rem auto 2rem;
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    article.policy-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    article.policy-content .content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    article.policy-content .content h3 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }

    article.policy-content .content p {
        font-size: 1rem;
    }

    article.policy-content .content ul,
    article.policy-content .content ol {
        margin-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    article.policy-content {
        margin: 3rem auto 1.5rem;
        padding: 1.5rem 1rem;
    }

    article.policy-content h1 {
        font-size: 1.75rem;
    }

    article.policy-content .content h2 {
        font-size: 1.3rem;
    }

    article.policy-content .content h3 {
        font-size: 1.1rem;
    }

    article.policy-content .content p {
        font-size: 0.95rem;
    }

    article.policy-content .content ul,
    article.policy-content .content ol {
        margin-left: 1.25rem;
    }
}
.contact-slot.contact-email {min-height:0;display:grid;justify-items:center;gap:1rem;padding:2.5rem 1rem;text-align:center}
.contact-email p {margin:0;color:var(--bma-gray-300,#c8c8c8)}
.get-page {min-height:68svh}
.get-web.hero-pill-btn {min-height:48px}
.qr-code-placeholder{display:block}
.htp-step-body li,.htp-glossary dd {overflow-wrap:break-word}
body main .pools-phones .pools-phone-screen-img {height:100%;width:100%;object-fit:contain;background:#111}
.htp-other-modes .home-modes-title-accent {font-style:italic}
@media(prefers-reduced-motion:reduce){.pools-modes-track,.pools-sports-track{animation:none!important}.pools-modes-row,.pools-sports-row{overflow-x:auto}.pools-modes-row [aria-hidden="true"],.pools-sports-row [aria-hidden="true"]{display:none}}
.phone-mockup:has(.screenshot-device) {
    container-type: inline-size;
}
.screenshot-device {
    height: auto;
    padding: 3cqw;
    border-radius: 13.5cqw;
    transform: none;
}
.screenshot-device .hero-device-screen {
    height: auto;
    aspect-ratio: auto;
    border-radius: 10.5cqw;
    container-type: inline-size;
}
.screenshot-device .hero-device-status {
    flex: none;
    aspect-ratio: 390 / 54;
}
.screenshot-device .device-capture {
    display: block;
    width: 100%;
    height: auto;
    flex: none;
    border-radius: 0;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}
.screenshot-device .hero-device-island {
    top: 4cqw;
    height: 5cqw;
}

/* The sticky header and ticker already occupy space above the mobile page. */
@media (max-width: 768px) {
    .htp-hero,.pools-hero { margin-top:-72px; --hero-marquee-height:0px; }
    .support-hero,.contact-page { padding-top:2rem; }
    .get-page { min-height:calc(100svh - 86px); }
}
.htp-hero-bg,.pools-hero-overlay { background:linear-gradient(110deg,rgba(12,12,12,.80),rgba(18,14,12,.64)); }
.htp-hero-bg { position:absolute;inset:0;display:block;pointer-events:none; }
.htp-hero .htp-hero-copy,.pools-hero .pools-hero-copy { color:#fafafa; }
.htp-hero .td-currency {color:#ffa36a;}
.htp-hero .hero-pill-cta,.pools-hero .hero-pill-cta {color:#17120f;}
.policy-content h1 { line-height:1.15; }

/* Keep the playback control outside the capture so it never conceals app content. */
.pools-hero-visual:has(video),
.htp-step-visual:has(video) {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:1rem;
}
body main .pools-phone .pools-phone-screen-img { inset:0; }

article.policy-content .policy-version { color:#bdbdbd; font-size:.92rem; margin:0 0 2rem; }

.policy-sections {
    padding: 0 1rem;
    border: 1px solid #5a534e;
    border-radius: .6rem;
    background: #25221f;
    color: #fff;
}
.policy-sections summary { padding: .85rem 0; font-weight: 700; cursor: pointer; }
.policy-sections ul { margin: 0 0 .8rem; padding-left: 1.3rem; }
.policy-sections a { display: inline-block; padding: .35rem 0; color: #ffb07c; text-underline-offset: .2em; }
.policy-content h2[id] { scroll-margin-top: 7rem; }

.error-page {
    padding: clamp(2.5rem, 6vw, 6rem) 0;
    background: linear-gradient(0deg, #0d0d0d, rgba(12,12,12,.83)), url("../brand/backgrounds/black-960.webp") center / cover;
    color: #fafafa;
    text-align: center;
}
.error-page .container { max-width: 38rem; }
.error-page .error-code { font-size: clamp(5.5rem, 12vw, 11rem); font-weight: 950; letter-spacing: -.065em; line-height: .95; color: #ff8538; }
.error-label { margin: 1.25rem 0; color: #c4c0bc; text-transform: uppercase; font-weight: 700; font-size: .8rem; letter-spacing: .16em; }
.error-page h1 { font-size: clamp(2rem, 3.8vw, 3.5rem); letter-spacing: -.045em; line-height: 1.1; }
.error-description { max-width: 33rem; margin: 1.4rem auto 0; color: #d4d0cd; line-height: 1.65; }
.error-actions { display: flex; justify-content: center; gap: .75rem; margin: 2rem auto 1.5rem; }
.error-actions a { display: inline-flex; justify-content: center; align-items: center; gap: 1rem; min-height: 3.25rem; padding: .65rem 1.5rem; background: #22201e; border: 1px solid #57524f; border-radius: .75rem; color: #fff; font-weight: 700; text-decoration: none; }
.error-actions .error-primary { background: #ff8538; border-color: #ff8538; color: #19120e; }
.error-actions a:hover { filter: brightness(1.12); }
.error-help { color: #bdb7b1; font-size: .9rem; }
.error-help a { display: inline-flex; align-items: center; min-height: 44px; color: #fafafa; text-underline-offset: .2em; }
@media (max-width: 540px) {
    .error-actions { flex-direction: column; }
}
