/* Visande snabbstart: the demo pointer, its click ripple and speech bubble.
   The layer never takes clicks; the visitor's own pointer works throughout. */
.quickstart-demo {
  position: fixed;
  inset: 0;
  z-index: 10100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
}
.quickstart-demo[hidden] { display: none; }
.quickstart-demo.is-visible { opacity: 1; }

.quickstart-demo__pointer {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 52px;
  margin: -2px 0 0 -3px;
  will-change: transform;
  filter: drop-shadow(0 6px 10px rgba(30, 22, 15, 0.32)) drop-shadow(0 1px 2px rgba(30, 22, 15, 0.25));
  transition: opacity 400ms ease;
}
.quickstart-demo__pointer svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #fff;
  stroke: #2b2520;
  stroke-width: 2;
  stroke-linejoin: round;
  transform-origin: 3px 2px;
  transition: transform 120ms ease;
}
.quickstart-demo__pointer.is-hand {
  width: 46px;
  height: 46px;
  margin: -6px 0 0 -16px;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: #fff;
  -webkit-text-stroke: 2px #2b2520;
}
.quickstart-demo__pointer.is-hand i { transform-origin: 40% 10%; transition: transform 120ms ease; }
.quickstart-demo__pointer.is-pressing svg,
.quickstart-demo__pointer.is-pressing i { transform: scale(0.86); }
.quickstart-demo__pointer.is-leaving { opacity: 0; transition-delay: 600ms; }

.quickstart-demo__ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}
.quickstart-demo__ripple::before,
.quickstart-demo__ripple::after {
  content: "";
  position: absolute;
  left: -24px;
  top: -24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #5c4a37;
  opacity: 0;
  transform: scale(0.2);
}
.quickstart-demo__ripple.is-active::before { animation: quickstart-ripple 520ms ease-out forwards; }
.quickstart-demo__ripple.is-active::after { animation: quickstart-ripple 520ms 120ms ease-out forwards; }
@keyframes quickstart-ripple {
  0% { opacity: 0.85; transform: scale(0.2); }
  100% { opacity: 0; transform: scale(1.25); }
}

.quickstart-demo__bubble {
  position: absolute;
  top: 0;
  left: 0;
  max-width: min(300px, calc(100vw - 24px));
  padding: 10px 14px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid rgba(105, 91, 74, 0.2);
  box-shadow: 0 12px 30px rgba(43, 37, 32, 0.18), 0 2px 6px rgba(43, 37, 32, 0.08);
  color: #2b2520;
  font-family: var(--mui-font, inherit);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  transition: opacity 220ms ease;
  will-change: transform;
}
.quickstart-demo__bubble[hidden] { display: none; }
.quickstart-demo__bubble.is-visible { opacity: 1; }
.quickstart-demo__live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 680px) {
  .quickstart-demo__bubble { font-size: 14px; padding: 9px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .quickstart-demo, .quickstart-demo__bubble, .quickstart-demo__pointer { transition: none; }
  .quickstart-demo__ripple.is-active::before,
  .quickstart-demo__ripple.is-active::after { animation: none; }
}
