/* ============================================================
   reset.css — conservative reset, scoped so it never fights the
   host theme. Global rules are intentionally minimal; everything
   heavier is confined to the .sr-stage subtree.
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Scoped box-model + margin reset — only inside the engine. */
.sr-stage,
.sr-stage *,
.sr-stage *::before,
.sr-stage *::after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-tap-highlight-color: transparent;
}

.sr-stage img {
  display: block;
  max-width: 100%;
}

.sr-stage a {
  color: inherit;
  text-decoration: none;
}

.sr-stage button {
  font: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
}

/* The engine mount must never leak horizontal scroll. */
.sr-stage {
  overflow: clip;
}

/* Demo-page-only reset (index.html / demo/*). Harmless in WP because
   the theme never adds the .sr-demo class to <body>. */
body.sr-demo {
  margin: 0;
  background: #0e0e0e;
  overflow-x: clip;
}
