/* Shared chrome for every client demo page. Everything brand-specific comes
   from --accent and the backdrop image; nothing here should need editing to
   add a client. */
:root {
  --accent: #333;
  --ink: #14100f;
  --paper: #f7f7f7;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* The client's storefront, frozen. It is scenery, not a document - nothing
   here should invite a click that cannot resolve. */
.backdrop {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Tells the visitor the page is a snapshot before they try to use it, which
   is the difference between "static demo" and "broken site". */
.notice {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 9px 12px 9px 14px;
  border-radius: 999px;
  background: rgba(20, 16, 15, 0.86);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.notice[hidden] { display: none; }
.notice.is-leaving { opacity: 0; transform: translateX(-50%) translateY(-8px); }
.notice b { font-weight: 600; }
.notice span { opacity: 0.72; }
.notice button {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.notice button:hover { background: rgba(255, 255, 255, 0.26); }

.credit {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 30;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(20, 16, 15, 0.08);
  color: rgba(20, 16, 15, 0.62);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.credit b { color: var(--ink); font-weight: 600; }
.credit:hover { color: var(--accent); }

@media (max-width: 640px) {
  .notice { font-size: 12px; padding: 8px 10px 8px 12px; }
  .notice span { display: none; }
  .credit { font-size: 10.5px; left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .notice { transition: none; }
}
