/* One quiet, full-width factory backdrop throughout the public homepage. */
:root {
  --sp-blue: #096DF2;
  --sp-ink: #102C49;
  --sp-line: #E6EDF6;
}
.sitepulse-public {
  position: relative;
  isolation: isolate;
  background: #fff;
}
.sitepulse-public::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("./sitepulse-factory-rag.webp") center center / cover no-repeat;
  opacity: .31;
}
/* Let the shared drawing continue behind every light section. Keep the
   existing solid cards, screenshots, video and dark sections legible. */
.sitepulse-public :is(.hero, .about-section) {
  background: transparent;
}
.sitepulse-public .implementation-section {
  background: rgba(233, 242, 255, .22);
}
.sitepulse-master-logo {
  display: block;
  height: auto;
  max-width: 100%;
  width: clamp(170px, 20vw, 260px);
  object-fit: contain;
}
.sitepulse-video-embed {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  background: #EDF3F9;
  border-radius: 16px;
  border: 1px solid var(--sp-line);
  box-shadow: 0 18px 52px rgba(16,44,73,.08);
  object-fit: contain;
}

.brand { flex-shrink: 0; }
.brand .sitepulse-master-logo { width: clamp(178px, 20vw, 260px); }
.footer-brand { display: inline-block; padding: 12px 16px; border-radius: 10px; background: #fff; }
.footer-brand .sitepulse-master-logo { width: 210px; }
@media (max-width: 720px) {
  .sitepulse-public::before {
    background-position: 38% center;
    opacity: .25;
  }
  .sitepulse-master-logo, .brand .sitepulse-master-logo { width: 178px; }
  .sitepulse-video-embed { border-radius: 10px; }
}
