/* Concept preview note: a small floating pill at the bottom of every page.
   Only added to preview/ builds (tools/make_preview.py), never to site/. */
.preview-note {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 7px 7px 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(7, 26, 48, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 18px 40px -20px rgba(7, 26, 48, 0.6);
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transform: translateX(-50%);
  animation: preview-note-in 0.8s var(--ease) 0.8s backwards;
  transition: bottom 0.45s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.preview-note p { margin: 0; }
.preview-note strong { font-weight: 500; color: #fff; }
.preview-note__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sea-300); box-shadow: 0 0 0 4px rgba(140, 197, 234, 0.18); }
.preview-note__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.preview-note__close:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.preview-note__close svg { width: 14px; height: 14px; }
.preview-note.is-hidden { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }
@keyframes preview-note-in { from { opacity: 0; transform: translate(-50%, 14px); } }

/* Sit above the mobile call / quote bar when it slides in */
@media (max-width: 760px) {
  .preview-note { font-size: 0.8rem; }
  .preview-note.is-lifted { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .preview-note { animation: none; transition: none; } }
