body.grid-background::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(40, 92, 170, 0.2), transparent 48%),
    radial-gradient(ellipse at 82% 65%, rgba(72, 45, 130, 0.17), transparent 48%);
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.78) 72%, transparent 100%);
}

body.grid-background.grid-background--subtle::before {
  background:
    radial-gradient(ellipse at 18% 20%, rgba(40, 92, 170, 0.14), transparent 48%),
    radial-gradient(ellipse at 82% 65%, rgba(72, 45, 130, 0.12), transparent 48%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7) 72%, transparent 100%);
}

#grid-wave {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body.grid-background--subtle #grid-wave {
  opacity: 0.76;
}

body.grid-background .section,
body.grid-background .split-row,
body.grid-background .part,
body.grid-background .footnotes,
body.grid-background .page-footer,
body.grid-background .sq-footer,
body.grid-background .sq-footer-meta {
  border-top: 0 !important;
}

body.grid-background .page-footer,
body.grid-background .sq-footer-meta,
body.grid-background .footer-meta {
  border-bottom: 0 !important;
  border-top: 0 !important;
}

body.grid-background #waitlist .waitlist-card,
body.grid-background .site-footer,
body.grid-background .sq-footer {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.grid-background .divider-wide {
  display: none !important;
}

body.grid-background--subtle .section,
body.grid-background--subtle .split-row,
body.grid-background--subtle .part {
  border-color: rgba(255, 255, 255, 0.035);
}
