/* Accmaa 20260818c — kill homepage pixelation / render craziness
   Root causes observed on live guest home:
   - hero-floating-terms animating over hero (scattered pills)
   - backdrop-filter blur(12px) on large dash-zone / reveal sections
   - orbit / term float transforms causing soft/GPU jank
   - ghost logo watermark competing with content
   Mobile ≤1100: reinforce 11c rule — no blur/scale on large containers
*/

/* 1) Kill floating keyword pills that litter the hero */
html body .hero-floating-terms,
html body #heroGuest .hero-floating-terms,
html body .hero-premium .hero-floating-terms {
    display: none !important;
    animation: none !important;
    visibility: hidden !important;
}

/* 2) Soften / contain watermark so it cannot ghost-stack */
html body .hero-logo-watermark,
html body #heroGuest .hero-logo-watermark {
    opacity: 0.06 !important;
    filter: none !important;
    transform: none !important;
    mix-blend-mode: normal !important;
    pointer-events: none !important;
}

/* 3) Stop orbit spin / term float on guest first paint */
html body.guest-mode .hero-orbit-wrap,
html body.guest-mode .hero-orbit-ring,
html body.guest-mode .hero-orbit-node,
html body.guest-mode .accmaa-orbit-ring,
html body.guest-mode .accmaa-orbit-sat {
    animation: none !important;
}
html body.guest-mode .hero-orbit-node,
html body.guest-mode .hero-orbit-core,
html body.guest-mode .hero-orbit-core-logo,
html body.guest-mode .accmaa-orbit-core-logo {
    filter: none !important;
    transform: none !important;
}
html body.guest-mode .hero-orbit-wrap {
    transform: none !important;
}

/* 4) Remove expensive blur on LARGE containers (pixelation / hang) */
html body .dash-zone,
html body .dash-flow__zone,
html body .reveal-section,
html body .section-block,
html body #platformPowers,
html body #accmaaProStudio,
html body #jobMarket,
html body #learningSpotlight,
html body #platformGuide,
html body #landingReasons,
html body #landingFaq,
html body #accmaa-contact-zone,
html body .dash-zone--tools,
html body .dash-zone--studio,
html body .topbar-tools-glass,
html body .topbar-acct-insights,
html body .accmaa-org-steps {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

/* 5) Contain accounting cinema marquee — no runaway overlays */
html body .accmaa-accounting-cinema,
html body .acc-cinema-inner,
html body .acc-cinema-viewport,
html body .acc-cinema-terms {
    overflow: hidden !important;
    contain: layout paint !important;
}
html body .acc-cinema-track,
html body .acc-cinema-terms-track {
    will-change: auto !important;
    filter: none !important;
}

/* 6) Hero photo cinema: stable, sharp, no scale/blur */
html body #heroGuest,
html body .hero-premium.hero-photo-cinema,
html body .hero-premium--revamp {
    filter: none !important;
    transform: none !important;
    perspective: none !important;
}
html body #heroGuest .hero-photo-slider,
html body #heroGuest .hero-photo-overlay,
html body #heroGuest .hero-premium-inner,
html body #heroGuest .hero-premium-content {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
html body #heroGuest .hero-premium-content h1,
html body #heroGuest .hero-premium-content p,
html body #heroGuest .hero-premium-actions {
    transform: none !important;
    filter: none !important;
    writing-mode: horizontal-tb !important;
    unicode-bidi: plaintext;
}

/* 7) Never flip / invert text blocks */
html body .hero-premium-content,
html body .hero-premium-content *,
html body .accmaa-accounting-cinema,
html body .accmaa-accounting-cinema *,
html body .topbar,
html body .topbar * {
    scale: none;
}
html body .hero-premium-content,
html body .acc-cinema-term,
html body .acc-cinema-head {
    transform: none !important;
}

/* 8) Reduce simultaneous motion on guest home */
html body.guest-mode .reveal-section {
    transition: none !important;
    transform: none !important;
}
html body.guest-mode.ultra-premium .hero-floating-terms span {
    animation: none !important;
}

/* 9) Mobile ≤1100 — 11c lesson: no blur/scale that pixelates */
@media (max-width: 1100px) {
    html body #heroGuest,
    html body .hero-premium,
    html body .hero-premium-inner,
    html body .hero-photo-slider,
    html body .hero-orbit-stage,
    html body .hero-orbit-wrap,
    html body .dash-zone,
    html body .section-block,
    html body .reveal-section,
    html body .pillar-card,
    html body .power-card,
    html body img,
    html body video {
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: none !important;
        scale: none !important;
    }
    html body .hero-floating-terms {
        display: none !important;
    }
    html body .hero-orbit-ring,
    html body .hero-orbit-node {
        animation: none !important;
    }
}

/* 10) Keep classic photo hero — no platform video layer */
html body #heroGuest .hero-platform-video,
html body .hero-premium .hero-platform-video {
    display: none !important;
}

/* 11) Accounting insights ticker — static upright Arabic (no marquee ghost/mojibake) */
html body .topbar-acct-insights__marquee,
html body .topbar-acct-insights__track,
html body .topbar-acct-insights__text {
    transform: none !important;
    filter: none !important;
    animation: none !important;
    writing-mode: horizontal-tb !important;
}
html body .topbar-acct-insights__marquee.is-scroll {
    animation: none !important;
}
html body .topbar-acct-insights__text--dup {
    display: none !important;
}
html body .topbar-acct-insights__marquee.is-scroll {
    justify-content: flex-start !important;
}
html body .topbar-acct-insights__text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}
