/* ==========================================================================
   Example banner shown at the top of every demo site.
   Keeps the "this is an example" message and the call to action the same
   on every demo, while each demo keeps its own design below it.
   ========================================================================== */
.demo-bar {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 16px; min-height: 48px;
  background: #121212; color: #f2f2f2;
  font: 600 14px/1.3 "Public Sans", system-ui, sans-serif;
}
.demo-bar a { color: inherit; }
.demo-bar .demo-label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.demo-bar .demo-pill {
  flex: none; background: #ff5a1f; color: #fff; border-radius: 999px; padding: 3px 10px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.demo-bar .demo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-bar .demo-text small { color: #a8a8a8; font-weight: 500; }
.demo-bar .demo-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.demo-bar .demo-back { text-decoration: none; color: #cfcfcf; }
.demo-bar .demo-back:hover { color: #fff; }
.demo-bar .demo-cta {
  background: #ff5a1f; color: #fff; text-decoration: none; border-radius: 999px; padding: 8px 16px;
}
.demo-bar .demo-cta:hover { background: #d9440f; }
@media (max-width: 640px) {
  /* Phones: show only the "Example" pill and a short button, so nothing is cut off. */
  .demo-bar .demo-text, .demo-bar .demo-back { display: none; }
  .demo-bar .demo-pill::after { content: " site"; }
  .demo-bar .demo-cta { padding: 7px 12px; font-size: 13px; }
}

/* Bottom "Want something like this?" panel shown on every demo. */
.demo-end {
  background: #121212; color: #f2f2f2; text-align: center;
  padding: 56px 16px 64px; font-family: "Public Sans", system-ui, sans-serif;
}
.demo-end h2 { font: 800 clamp(1.6rem, 4vw, 2.4rem)/1.1 "Bricolage Grotesque", system-ui, sans-serif; margin: 0 0 10px; color: #fff; }
.demo-end p { margin: 0 auto 24px; max-width: 46ch; color: #bdbdbd; }
.demo-end a.demo-cta-lg {
  display: inline-block; background: #ff5a1f; color: #fff; text-decoration: none; font-weight: 700;
  padding: 16px 28px; border-radius: 999px;
}
.demo-end a.demo-cta-lg:hover { background: #d9440f; }
.demo-end .demo-note { margin-top: 18px; font-size: 13px; color: #8a8a8a; }
.demo-end .demo-note a { color: #bdbdbd; }
