.demo-tour-button {
  position: static;
  border: 1px solid rgba(243, 108, 0, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--accent, #F36C00);
  padding: 8px 13px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  margin: 6px auto 0;
}

.demo-tour-button:hover {
  transform: translateY(-1px);
}

.demo-tour[hidden] {
  display: none;
}

.demo-tour {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.demo-tour-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(4px);
}

.demo-tour-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 34px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid #f4f4f5;
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.24);
  transform: translateY(0);
  opacity: 1;
  transition: opacity 180ms ease, transform 180ms ease;
}

.demo-tour-card.is-changing {
  opacity: 0;
  transform: translateY(10px);
}

.demo-tour-kicker {
  margin: 0 0 12px;
  color: var(--accent, #F36C00);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-tour-card h2 {
  margin: 0;
  color: #111;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.demo-tour-body {
  margin: 18px 0 24px;
  color: #586370;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.7;
}

.demo-tour-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}

.demo-tour-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
}

.demo-tour-dot.active {
  width: 28px;
  background: var(--accent, #F36C00);
}

.demo-tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-tour-actions-group {
  display: flex;
  gap: 10px;
}

.demo-tour-actions button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.demo-tour-secondary {
  background: #f5f6f7;
  color: #20242a;
}

.demo-tour-primary {
  background: var(--accent, #F36C00);
  color: #fff;
  box-shadow: 0 14px 30px rgba(243, 108, 0, 0.18);
}

.demo-tour-skip {
  background: transparent;
  color: #6b7280;
}

@media (max-width: 680px) {
  .demo-tour {
    padding: 14px;
  }

  .demo-tour-card {
    padding: 26px;
  }

  .demo-tour-actions,
  .demo-tour-actions-group {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
}
