/* Scoped, self-contained sample church. No live church data or services. */
.hero-visual.demo-visual { padding: 0; }
.demo-phone {
  position: relative;
  isolation: isolate;
  width: min(100%, 354px);
  height: 654px;
  padding: 8px;
  border: 2px solid #606664;
  border-radius: 48px;
  background: linear-gradient(130deg, #4e5451, #101312 22%, #080a09 75%, #4e5451);
  box-shadow: 0 0 0 2px #101311, 0 28px 65px #0005;
  color: #f3f4ef;
}
.demo-phone::after {
  content: '';
  position: absolute;
  bottom: 13px;
  left: 35%;
  width: 30%;
  height: 4px;
  border-radius: 4px;
  background: #dce5dc;
  pointer-events: none;
}
.demo-device-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 43px;
  padding: 9px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  border-radius: 37px 37px 0 0;
  background: #193b2f;
  font: 600 12px/1.5 'DM Sans', sans-serif;
  pointer-events: none;
}
.demo-island { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 20px; background: #070a08; }
.demo-device-icons { font-size: 10px; letter-spacing: 2px; }

/* The iframe renders the actual public-page styles without inheriting marketing CSS. */
.demo-phone { overflow: hidden; }
.demo-site-frame { display: block; margin-top: 42px; width: 100%; height: calc(100% - 42px); border: 0; border-radius: 0 0 36px 36px; background: #193b2f; }
.demo-site-frame:focus-visible { outline: 2px solid #ed8f42; outline-offset: -2px; }
.demo-hint { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 13px; max-width: 354px; margin-top: 18px; font-size: 11px; color: var(--muted); text-align: center; }
.demo-reset { min-height: 44px; padding: 6px 4px; background: none; border: 0; color: #e5ece1; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.demo-small { font-size: 11px; color: var(--muted); }
@media (max-width: 380px) { .demo-phone { height: 620px; border-radius: 43px; } }

