:root{
  --premium-topbar-height: 44px;
  --premium-header-height: 64px;
  --premium-domain-gap-desktop: 28px;
  --premium-domain-gap-mobile: 18px;
}

html,body{
  overflow-x:hidden;
}

#premium-topbar-v50{
  min-height: var(--premium-topbar-height);
}

/* exact nav offset under yellow bar */
nav.fixed.top-0.left-0.right-0.z-40,
nav[class*="fixed"][class*="top-0"]{
  top: var(--premium-topbar-height) !important;
  z-index: 10030 !important;
}

/* homepage and generic first section fallback */
#root > div > main,
#root main{
  padding-top: calc(var(--premium-topbar-height) + var(--premium-header-height) + 20px);
}

/* exact spacing for domain detail pages */
html.is-domain-page #root > div.min-h-screen.bg-background > div.pt-16,
body.is-domain-page #root > div.min-h-screen.bg-background > div.pt-16,
html.is-domain-page #root > div > div.pt-16,
body.is-domain-page #root > div > div.pt-16{
  padding-top: calc(var(--premium-topbar-height) + var(--premium-header-height) + var(--premium-domain-gap-desktop)) !important;
}

/* ensure first hero block is not visually glued to header */
html.is-domain-page #root > div.min-h-screen.bg-background > div.pt-16 > section:first-child,
body.is-domain-page #root > div.min-h-screen.bg-background > div.pt-16 > section:first-child{
  padding-top: 0 !important;
}

html.is-domain-page #root section:first-of-type,
body.is-domain-page #root section:first-of-type{
  scroll-margin-top: calc(var(--premium-topbar-height) + var(--premium-header-height) + 18px) !important;
}

#lead-form-v41{
  z-index: 10025 !important;
}

@media (max-width: 768px){
  :root{
    --premium-topbar-height: 52px;
    --premium-header-height: 64px;
  }

  #root > div > main,
  #root main{
    padding-top: calc(var(--premium-topbar-height) + var(--premium-header-height) + 12px);
  }

  html.is-domain-page #root > div.min-h-screen.bg-background > div.pt-16,
  body.is-domain-page #root > div.min-h-screen.bg-background > div.pt-16,
  html.is-domain-page #root > div > div.pt-16,
  body.is-domain-page #root > div > div.pt-16{
    padding-top: calc(var(--premium-topbar-height) + var(--premium-header-height) + var(--premium-domain-gap-mobile)) !important;
  }
}
