/* Extras for the try-it demo, on top of the real guest page styles. */

.demo-bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.3rem 1rem;
  padding: 0.7rem 1rem;
  background: #26365c;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

.demo-bar p {
  margin: 0;
}

.demo-bar a {
  color: #fff;
  font-weight: 700;
}

button.btn {
  font-family: inherit;
}

.grid a.fresh {
  animation: fresh 0.7s cubic-bezier(0.2, 0.8, 0.25, 1.1) both;
}

@keyframes fresh {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#step-gallery > .btn {
  margin-top: 1.2rem;
}

.demo-end {
  margin-top: 1.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .grid a.fresh {
    animation: none;
  }
}
