/* Hero-only dark/light — page stays light; dots live inside the hero box */

.ms1001-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
}

.ms1001-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 22px 22px;
}

.ms1001-hero > * {
  position: relative;
  z-index: 1;
}

.ms1001-hero-theme-toggle {
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 5;
  appearance: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.ms1001-hero[data-hero-theme="dark"] .ms1001-hero-theme-toggle {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Light/dark colors & backgrounds — each site defines in its own CSS.
   Shared file only provides structure, dot grid, and toggle button. */

.ms1001-hero[data-hero-theme="light"]::before {
  color: rgba(15, 23, 42, 0.14);
}

.ms1001-hero[data-hero-theme="dark"]::before {
  color: rgba(255, 255, 255, 0.22);
}
