/* Shared Brave Search dot field; no overlay over text, media or controls. */
.site-full {
  isolation: isolate;
  --dot-color: #5e5e62;
  --dot-density: 1;
  --dot-speed: 1;
}
.site-full::before,
.site-full::after,
.site-full .dot-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.site-full::before {
  content: '';
  background: var(--dot-color);
  /* Alpha mask from the resting canvas frame, available before/without JavaScript. */
  mask: url('./search-dots.webp') center top / max(100%, calc(1935px / var(--dot-density))) auto no-repeat;
}
.site-full .dot-background { color: var(--dot-color); }
.site-full::after {
  content: '';
  background: radial-gradient(ellipse 756px 337px at 50% 46%, var(--background) 54.01%, transparent 100%);
}
.site-full.dot-background-ready::before { display: none; }
/* Reading areas follow the content as it scrolls; the animated field remains
   visible in the gutters and between sections. No overlay intercepts input. */
.site-full :is(.hero-copy, .page-intro, .text-body, .section-heading, .experience-copy, .feature-copy, .steps-item) {
  position: relative;
  isolation: isolate;
}
.site-full :is(.hero-copy, .page-intro, .text-body, .section-heading, .experience-copy, .feature-copy, .steps-item)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--background);
  box-shadow: 0 0 24px 12px var(--background);
}
@media (max-width: 767px) {
  /* Content-sized black areas preserve breathing room on small screens. */
  .site-full::after { display: none; }
}
@media print, (forced-colors: active) {
  .site-full::before, .site-full::after, .site-full .dot-background { display: none; }
  .site-full :is(.hero-copy, .page-intro, .text-body, .section-heading, .experience-copy, .feature-copy, .steps-item)::before { display: none; }
}
