/* Shared foundation for the six fictional demo sites.
   Brand design lives in each page's own <style> block; this file carries
   the reset, the reveal system and the fictional-demo badge. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-300%);
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .2s;
}
.skip:focus { transform: none; }

/* Scroll reveal. Hidden only when JS is on, so no-JS visitors see all. */
html.js [data-rv] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
html.js [data-rv].in { opacity: 1; transform: none; }
html.js [data-rv="left"] { transform: translateX(-30px); }
html.js [data-rv="scale"] { transform: scale(.94); }
html.js [data-rv].in[data-rv="left"], html.js [data-rv].in[data-rv="scale"] { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-rv] { opacity: 1; transform: none; transition: none; }
}

/* Fictional demo badge: bottom-left on every demo page. */
.demo-badge {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 79;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px 9px 11px;
  border-radius: 100px;
  background: rgba(12, 12, 12, .82);
  color: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font: 500 .72rem/1.3 'Instrument Sans', system-ui, sans-serif;
  letter-spacing: .03em;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.demo-badge:hover { background: rgba(12, 12, 12, .95); transform: translateY(-1px); }
.demo-badge .db-mark {
  width: 17px;
  height: 17px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(from 20deg, #FFBC94, #FFACD3, #CBADFF, #93C9FF, #86EBC7, #FFE19A, #FFBC94);
}
.demo-badge .db-tag {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .62rem;
  color: #FFBC94;
}
@media (max-width: 560px) {
  .demo-badge .db-full { display: none; }
}
