/* Broad, visible colour washes across every page; no outlined shapes or section seams.
   Native gradients avoid external artwork and large blur-filter surfaces. */
:root{
  --rz-page-base:#fff;
  --rz-ambient-violet:119,91,203;
  --rz-ambient-mint:53,158,112;
  --rz-ambient-blue:79,139,179;
  --rz-ambient-strength:.16;
  --rz-ambient-soft:.065;
  --rz-ambient-cycle:1800px;
  --rz-ambient-left-radius:74%;
  --rz-ambient-right-radius:70%;
  --rz-ambient-bottom-radius:72%;
}
html[data-theme=dark]{
  --rz-page-base:#0b0910;
  --rz-ambient-strength:.28;
  --rz-ambient-soft:.115;
}
html[data-theme=dark] body.rz-route-streamers{
  --rz-page-base:#000;
  --rz-ambient-mint:65,153,114;
  --rz-ambient-blue:112,79,162;
}
html body #main{
  background-color:var(--rz-page-base)!important;
  background-image:
    linear-gradient(to bottom,var(--rz-page-base),transparent 96px,transparent calc(100% - 160px),var(--rz-page-base)),
    radial-gradient(ellipse var(--rz-ambient-left-radius) 20% at var(--rz-ambient-left-x,-12%) 22%,rgba(var(--rz-ambient-violet),var(--rz-ambient-strength)) 0%,rgba(var(--rz-ambient-violet),var(--rz-ambient-soft)) 46%,rgba(var(--rz-ambient-violet),0) 100%),
    radial-gradient(ellipse var(--rz-ambient-right-radius) 24% at var(--rz-ambient-right-x,112%) 48%,rgba(var(--rz-ambient-mint),var(--rz-ambient-strength)) 0%,rgba(var(--rz-ambient-mint),var(--rz-ambient-soft)) 46%,rgba(var(--rz-ambient-mint),0) 100%),
    radial-gradient(ellipse var(--rz-ambient-bottom-radius) 21% at 36% 78%,rgba(var(--rz-ambient-blue),var(--rz-ambient-soft)) 0%,rgba(var(--rz-ambient-blue),0) 100%)!important;
  background-size:100% 100%,100% min(100%,var(--rz-ambient-cycle)),100% min(100%,var(--rz-ambient-cycle)),100% min(100%,var(--rz-ambient-cycle))!important;
  background-position:0 0!important;
  /* Clamp short pages so their colours are not below the content.
     Every colour reaches zero before the tile edge on long pages. */
  background-repeat:no-repeat,repeat-y,repeat-y,repeat-y!important;
}
/* Only marketing sections are transparent. Product previews and their nested
   screens, cards, tables and green CTA panels keep their own surfaces. */
html body #main>section,
html body #main>:is(.rz-comparison-page,.rz-streamers-page,.rz-product-support,.rz-onboarding,.rz-help,.rz-blog-article,.bc-page)>section:not(.bc-final),
html body #main>:is(.rz-product-support,.rz-onboarding,.rz-help,.rz-blog-article,.rz-guide-article)>header,
html body #main>.rz-blog-article>.rz-blog-content-wrap{
  background:transparent!important;
  border-block-color:transparent!important;
}
html body #main>:is(.rz-comparison-page,.rz-streamers-page,.rz-product-support,.rz-onboarding,.rz-help,.rz-blog-article,.rz-guide-article,.bc-page){background:transparent!important}
html body #main>section.rz-glow:before,
html body #main>section.rz-glow:after,
html body #main .rz-help-hero:after,
html body #main .rz-comparison-hero:after{display:none}
@media(max-width:620px){
  :root{
    --rz-ambient-cycle:1600px;
    --rz-ambient-left-radius:115%;
    --rz-ambient-right-radius:110%;
    --rz-ambient-bottom-radius:120%;
  }
  html[data-theme=dark]{--rz-ambient-strength:.24;--rz-ambient-soft:.10}
}

/* Menu panels use a much quieter tint than the page, in both themes.
   Replace the bright JPG artwork only in desktop dropdowns, never mobile navigation. */
:root{--rz-menu-surface:#fff;--rz-menu-wash:.035}
html[data-theme=dark]{--rz-menu-surface:#100d15}
@media(min-width:1281px){
  html body .rz-header .rz-nav-item>.rz-submenu{
    background:
      radial-gradient(ellipse at 0% 100%,rgba(53,158,112,var(--rz-menu-wash)),rgba(53,158,112,0) 72%),
      radial-gradient(ellipse at 100% 0%,rgba(119,91,203,var(--rz-menu-wash)),rgba(119,91,203,0) 72%),
      var(--rz-menu-surface)!important;
  }
}
