/* Homepage visual rollback · preserves current content/functionality.
   Restores black canvas + subtle cursor-follow mint glow from the approved 19 Sep visual system. */
body.home-visual-rollback:not(.light-theme){
  --page-bg:#050505;
  --page-bg-2:#080808;
  --header-bg:#050505;
  --card-dark:#0a0a0a;
  --dark-audit-bg:#050505;
  --dark-audit-panel:#0a0a0a;
  --dark-audit-panel-2:#0d0d0d;
  background:#050505!important;
  color:#f7faf8;
}
body.home-visual-rollback:not(.light-theme) .site-header{
  background:#050505!important;
  border-bottom-color:rgba(255,255,255,.075)!important;
}
body.home-visual-rollback:not(.light-theme) .top-screen{
  background:linear-gradient(90deg,#050505 0%,#050505 55%,#080808 100%)!important;
}
body.home-visual-rollback:not(.light-theme) .ambient{
  display:none!important;
}
body.home-visual-rollback:not(.light-theme) .services-band{
  background:rgba(5,5,5,.86)!important;
}
body.home-visual-rollback:not(.light-theme) .process-section,
body.home-visual-rollback:not(.light-theme) .about-section,
body.home-visual-rollback:not(.light-theme) .faq-section,
body.home-visual-rollback:not(.light-theme) .audit-final-section,
body.home-visual-rollback:not(.light-theme) .after-audit-section,
body.home-visual-rollback:not(.light-theme) .audit-help-section,
body.home-visual-rollback:not(.light-theme) .topical-links-section{
  background:#050505!important;
  color:#f7faf8!important;
}
body.home-visual-rollback:not(.light-theme) .process-kicker,
body.home-visual-rollback:not(.light-theme) .process-head p{
  color:#aeb8b3!important;
}
body.home-visual-rollback:not(.light-theme) .process-card,
body.home-visual-rollback:not(.light-theme) .about-points>div,
body.home-visual-rollback:not(.light-theme) .after-audit-grid article{
  background:#0a0a0a!important;
  border:1px solid rgba(255,255,255,.09)!important;
  color:#f7faf8!important;
  box-shadow:none!important;
}
body.home-visual-rollback:not(.light-theme) .process-card:hover,
body.home-visual-rollback:not(.light-theme) .about-points>div:hover{
  background:#0d0d0d!important;
  border-color:rgba(126,231,173,.22)!important;
}
body.home-visual-rollback:not(.light-theme) .process-card p,
body.home-visual-rollback:not(.light-theme) .about-points p,
body.home-visual-rollback:not(.light-theme) .after-audit-grid p{
  color:#aeb8b3!important;
}
body.home-visual-rollback:not(.light-theme) .portrait-zone,
body.home-visual-rollback:not(.light-theme) .portrait-frame{
  background:transparent!important;
  box-shadow:none!important;
}
body.home-visual-rollback:not(.light-theme) .portrait-frame::before{
  content:none!important;
  display:none!important;
}
body.home-visual-rollback:not(.light-theme) .portrait-frame::after{
  content:""!important;
  display:block!important;
  position:absolute;
  inset:0;
  pointer-events:none;
  background:none!important;
  box-shadow:
    inset 32px 0 58px #050505,
    inset -20px 0 48px rgba(5,5,5,.80),
    inset 0 -54px 62px #050505!important;
}
body.home-visual-rollback:not(.light-theme) .audit-form-preview,
body.home-visual-rollback:not(.light-theme) .audit-final-card,
body.home-visual-rollback:not(.light-theme) .audit-final-pro-card{
  background:#0a0a0a!important;
  border-color:rgba(255,255,255,.10)!important;
  box-shadow:0 20px 64px rgba(0,0,0,.26)!important;
}
body.home-visual-rollback:not(.light-theme) .audit-form-preview::before,
body.home-visual-rollback:not(.light-theme) .audit-final-pro-card::before{
  content:none!important;
  display:none!important;
}
body.home-visual-rollback:not(.light-theme) .audit-preview-mode,
body.home-visual-rollback:not(.light-theme) .audit-preview-input,
body.home-visual-rollback:not(.light-theme) .audit-preview-client,
body.home-visual-rollback:not(.light-theme) .audit-preview-client-grid>div,
body.home-visual-rollback:not(.light-theme) .audit-final-preview{
  background:#0d0d0d!important;
  border-color:rgba(255,255,255,.095)!important;
}
body.home-visual-rollback:not(.light-theme) .audit-preview-mode.active{
  background:#101410!important;
  border-color:rgba(126,231,173,.42)!important;
}

/* Exact old homepage-wide cursor-glow treatment, restored from 19 Sep. */
#home-cursor-glow-layer{display:none}
body.home-visual-rollback.home-cursor-glow:not(.light-theme) #home-cursor-glow-layer{
  display:block;
  position:fixed;
  inset:0;
  z-index:2147483000;
  pointer-events:none;
  background:radial-gradient(
    circle 285px at var(--home-glow-x,50vw) var(--home-glow-y,35vh),
    rgba(90,235,160,.045),
    rgba(90,235,160,.010) 42%,
    transparent 72%
  );
  mix-blend-mode:screen;
}
body.home-visual-rollback.light-theme #home-cursor-glow-layer{display:none!important}

@media(max-width:1024px),(pointer:coarse){
  body.home-visual-rollback #home-cursor-glow-layer{display:none!important}
}
