/* People's Doctor — Pre-Visit demo
   Fully self-contained: this :root block declares every token this demo uses,
   so the demo renders standalone with no external stylesheet dependency.
   Values are colour-true to the real People's Doctor patient app
   (Pre-Visit/Design System/platform.css) — do NOT shift to marketing navy.
   Phone mockup on a transparent canvas, nominal 380x780, scales to fit. */

:root {
  /* Navy scale — primary brand (matches the patient app) */
  --color-navy-900: #13102C;
  --color-navy-700: #323E63;
  --color-navy-600: #38456D;
  --color-navy-500: #5669A4;
  --color-navy-400: #7A8ABD;
  --color-navy-300: #BFC9E3;
  --color-navy-200: #D8DEEE;
  --color-navy-100: #EDF0F7;

  /* Semantic + neutral */
  --color-text: #13102C;
  --color-text-inverse: #FFFFFF;
  --color-white: #FFFFFF;
  --color-success: #22C55E;
  --color-gray-100: #F8F8FD;

  /* Gradients */
  --gradient-page-bg: linear-gradient(135deg, #EBEBF4 0%, #FFFFFF 100%);
  --gradient-button-primary: linear-gradient(135deg, #38456D 0%, #5669A4 100%);
  --gradient-navy-deep: linear-gradient(160deg, #1B1B3A 0%, #13102C 60%, #26304F 100%);

  /* Shadows */
  --shadow-soft: 0 2px 12px rgba(38, 48, 79, 0.06);
  --shadow-card: 0 2px 30px rgba(38, 48, 79, 0.10);
  --shadow-button: 0 4px 15px rgba(56, 69, 109, 0.20);
  --shadow-float: 0 18px 44px rgba(19, 16, 44, 0.24);

  /* Radius */
  --radius-md: 8px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Motion */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset — formerly inherited from the shared tokens.css */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: transparent;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-family);
  color: var(--color-text);
}

/* ====== Stage — centres + scales the phone ====== */
.stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* fit a 380x780 phone (+~40px breathing room) into the viewport */
  --scale: min(calc(100vw / 420), calc(100vh / 820));
}

/* ====== Phone hardware ====== */
.phone {
  position: relative;
  width: 380px;
  height: 780px;
  flex: 0 0 auto;
  /* Fixed numeric scale. The old min(calc(100vw/420)...) resolved to a
     LENGTH, which scale() rejects — so the phone never scaled and filled
     the iframe, clipping its shadow. A unitless scale leaves shadow room. */
  transform: scale(0.74);
  transform-origin: center;
  border-radius: 54px;
  background: #000000;
  padding: 9px;
  box-shadow:
    var(--shadow-float),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
  outline: none;
}

.phone:focus-visible {
  box-shadow:
    var(--shadow-float),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.06),
    0 0 0 4px rgba(86, 105, 164, 0.55);
}

.phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 122px;
  height: 26px;
  background: #13102C;
  border-radius: 0 0 16px 16px;
  z-index: 30;
}

/* ====== Screen ====== */
.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: var(--gradient-page-bg);
  isolation: isolate;
}

/* Status bar */
.statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-navy-900);
  transition: color 0.5s var(--ease-smooth);
  z-index: 25;
  pointer-events: none;
}

.statusbar__icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.statusbar__icons svg {
  width: 15px;
  height: 15px;
}

/* Lock-screen (scene 1) — status bar text reads white on the dark screen */
.screen.screen--dark .statusbar {
  color: var(--color-white);
  transition: color 0.5s var(--ease-smooth);
}

/* ====== Scenes ====== */
.scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(26px);
  transition:
    opacity 0.5s var(--ease-smooth),
    transform 0.5s var(--ease-smooth),
    visibility 0s linear 0.5s;
}

.scene.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition:
    opacity 0.5s var(--ease-smooth),
    transform 0.5s var(--ease-smooth),
    visibility 0s linear 0s;
  z-index: 2;
}

.scene.is-prev {
  opacity: 0;
  transform: translateX(-26px);
  z-index: 1;
}

/* ====== App chrome ====== */
.appbar {
  flex: 0 0 auto;
  margin-top: 46px;
  padding: 11px 18px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-navy-100);
}

.appbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy-900);
  letter-spacing: -0.01em;
}

.appbar__logo {
  display: flex;
  color: var(--color-navy-600);
}

.appbar__logo svg {
  width: 17px;
  height: 17px;
}

.appbar__auth {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: rgba(34, 197, 94, 0.12);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #15803D;
}

.appbar__auth svg {
  width: 12px;
  height: 12px;
}

.progress-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--color-navy-400);
}

.appbody {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.appbody--pad {
  padding: 20px 18px 58px;   /* bottom clears the floating dots pill */
  gap: 13px;
  overflow: hidden;
}

.appbody--center {
  padding: 22px 18px 56px;
  align-items: center;
  justify-content: space-between;
}

/* ====== Shared atoms ====== */
.chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--color-navy-100);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--color-navy-700);
}

.chip svg {
  width: 12px;
  height: 12px;
}

.lead {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--color-navy-900);
}

.lead--sm {
  font-size: 18px;
}

.lead__sub {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-navy-500);
  margin-top: -4px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

/* Appointment */
.appt {
  padding: 15px 17px;
}

.appt__when {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-navy-900);
}

.appt__who {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--color-navy-500);
}

.appt__name {
  color: var(--color-navy-700);
  font-weight: 500;
}

/* Echo card */
.echo {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 15px;
}

.echo--quiet {
  background: var(--color-gray-100);
  box-shadow: none;
}

.echo__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-md);
  background: var(--color-navy-100);
  color: var(--color-navy-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.echo--quiet .echo__icon {
  background: var(--color-white);
}

.echo__icon svg {
  width: 15px;
  height: 15px;
}

.echo__body {
  min-width: 0;
}

.echo__label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy-400);
  margin-bottom: 3px;
}

.echo__quote {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-navy-900);
}

/* Steps */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.steps__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 2px;
  font-size: 13px;
  color: var(--color-navy-700);
  line-height: 1.35;
}

.steps__item svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--color-navy-500);
}

/* Primary button (display only — non-interactive in demo) */
.primary-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 22px;
  background: var(--gradient-button-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-button);
}

.primary-btn svg {
  width: 15px;
  height: 15px;
}

.primary-btn--demo {
  position: relative;
  overflow: hidden;
}

/* soft sheen sweep when its scene is active */
.scene.is-active .primary-btn--demo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.32) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: sheen 2.6s var(--ease-smooth) 0.7s infinite;
}

@keyframes sheen {
  0% { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}

/* ====== Scene 1 — Lock screen ====== */
.scene--lock {
  background:
    radial-gradient(120% 80% at 50% 0%, #2C3257 0%, transparent 60%),
    var(--gradient-navy-deep);
}

.lock {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 92px 22px 0;
}

.lock__time {
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-white);
  line-height: 1;
}

.lock__date {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
}

.notif {
  margin-top: 54px;
  width: 100%;
  padding: 14px 15px;
  background: rgba(248, 248, 253, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(-16px) scale(0.97);
}

.scene--lock.is-active .notif {
  animation: notif-in 0.62s var(--ease-smooth) 0.35s both;
}

@keyframes notif-in {
  0% { opacity: 0; transform: translateY(-16px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.notif__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.notif__app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-navy-600);
  text-transform: uppercase;
}

.notif__logo {
  display: flex;
  color: var(--color-navy-600);
}

.notif__logo svg {
  width: 13px;
  height: 13px;
}

.notif__time {
  font-size: 11px;
  color: var(--color-navy-400);
}

.notif__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.32;
  color: var(--color-navy-900);
}

.notif__body {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-navy-600);
}

/* ====== Scene 3 — Mic ====== */
.mic-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 14px;
}

.mic-stage__prompt {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-navy-900);
}

.mic-stage__hint {
  margin-top: 5px;
  max-width: 250px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-navy-500);
}

.mic {
  position: relative;
  margin-top: 30px;
  width: 116px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mic__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-navy-500);
  opacity: 0;
}

.scene.is-active .mic__ring--1 {
  animation: mic-ring 2.4s var(--ease-smooth) infinite;
}

.scene.is-active .mic__ring--2 {
  animation: mic-ring 2.4s var(--ease-smooth) 1.2s infinite;
}

@keyframes mic-ring {
  0% { opacity: 0.28; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}

.mic__btn {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--gradient-button-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(56, 69, 109, 0.32);
}

.scene.is-active .mic__btn {
  animation: mic-pulse 2.4s var(--ease-smooth) infinite;
}

@keyframes mic-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.mic__btn svg {
  width: 42px;
  height: 42px;
}

.mic__icon-stop {
  display: none;
}

.mic-status {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-navy-700);
  min-height: 19px;
}

.mic-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-navy-500);
}

.scene.is-active .mic-status__dot {
  animation: blink 1.3s var(--ease-smooth) infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.mic-timer {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--color-navy-900);
}

/* Soft waveform */
.wave {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
}

.wave span {
  width: 4px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-navy-300);
  transform-origin: center;
}

.scene.is-active .wave span {
  animation: wave 1.15s var(--ease-smooth) infinite;
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.35); background: var(--color-navy-300); }
  50% { transform: scaleY(1); background: var(--color-navy-500); }
}

.privacy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 400;
  color: var(--color-navy-400);
}

.privacy svg {
  width: 12px;
  height: 12px;
}

/* ====== Scene 4 — Transcript ====== */
.transcript {
  padding: 15px 16px;
  border: 1.5px solid var(--color-navy-200);
}

.transcript__head {
  margin-bottom: 8px;
}

.transcript__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-navy-500);
  transition: color 0.3s var(--ease-smooth);
}

.transcript__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-navy-500);
}

.scene.is-active .transcript__live-dot {
  animation: blink 1.3s var(--ease-smooth) infinite;
}

.transcript__live.is-done {
  color: var(--color-success);
}

.transcript__live.is-done .transcript__live-dot {
  background: var(--color-success);
  animation: none;
}

.transcript__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-navy-900);
  min-height: 66px;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 15px;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--color-navy-500);
  opacity: 0;
}

.caret.is-on {
  animation: caret 0.9s steps(1) infinite;
}

@keyframes caret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.transcript__meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-navy-100);
}

.transcript__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--color-navy-400);
}

.transcript__meta-item svg {
  width: 12px;
  height: 12px;
}

/* ====== Scene 5 — Sendt ====== */
.scene--done {
  background:
    radial-gradient(110% 70% at 50% 28%, rgba(34, 197, 94, 0.12) 0%, transparent 62%),
    var(--gradient-page-bg);
}

.done {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 30px;
}

.check {
  width: 96px;
  height: 96px;
}

.check svg {
  width: 100%;
  height: 100%;
}

.check__circle {
  stroke: var(--color-success);
  stroke-width: 2.5;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}

.check__mark {
  stroke: var(--color-success);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.scene--done.is-active .check__circle {
  animation: draw-circle 0.55s var(--ease-smooth) 0.15s forwards;
}

.scene--done.is-active .check__mark {
  animation: draw-mark 0.4s var(--ease-smooth) 0.6s forwards;
}

.scene--done.is-active .check {
  animation: check-pop 0.45s var(--ease-smooth) 0.6s;
}

@keyframes draw-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes draw-mark {
  to { stroke-dashoffset: 0; }
}

@keyframes check-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.done__title {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-navy-900);
  opacity: 0;
}

.done__sub {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-navy-500);
  opacity: 0;
}

.done__card {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-navy-600);
  opacity: 0;
}

.done__card-icon {
  display: flex;
  color: var(--color-success);
}

.done__card-icon svg {
  width: 14px;
  height: 14px;
}

.scene--done.is-active .done__title {
  animation: fade-rise 0.5s var(--ease-smooth) 0.8s both;
}

.scene--done.is-active .done__sub {
  animation: fade-rise 0.5s var(--ease-smooth) 0.95s both;
}

.scene--done.is-active .done__card {
  animation: fade-rise 0.5s var(--ease-smooth) 1.15s both;
}

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== Controls — progress dots ====== */
.controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 28;
  pointer-events: none;
}

.dots {
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: auto;
}

.dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 50%;
  background: var(--color-navy-300);
  transition: width 0.4s var(--ease-smooth), background 0.4s var(--ease-smooth);
}

.dot:hover {
  background: var(--color-navy-500);
}

.dot.is-active {
  width: 20px;
  background: var(--color-navy-600);
}

.dot:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* ====== Replay affordance — quiet pill, bottom-right of the screen ====== */
.replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  padding: 7px 12px 7px 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy-600);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  z-index: 29;
  transition:
    opacity 0.4s var(--ease-smooth),
    transform 0.4s var(--ease-smooth),
    visibility 0s linear 0.4s;
}

.replay svg {
  width: 13px;
  height: 13px;
  color: var(--color-navy-500);
}

/* surfaced after the first full pass — quiet until hovered */
.replay.is-shown {
  opacity: 0.6;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.4s var(--ease-smooth),
    transform 0.4s var(--ease-smooth),
    visibility 0s linear 0s;
}

.replay.is-shown:hover {
  opacity: 1;
  box-shadow: var(--shadow-card);
}

.replay:focus-visible {
  opacity: 1;
  outline: 2px solid rgba(86, 105, 164, 0.7);
  outline-offset: 2px;
}

/* ====== Paused hint (hover) — sits clear, centred under the notch ====== */
.phone::after {
  content: "Pause";
  position: absolute;
  top: 56px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px 4px 9px;
  background: rgba(19, 16, 44, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
  z-index: 27;
  pointer-events: none;
}

.phone.is-paused::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ====== Reduced motion — stepped, no autoplay ====== */
@media (prefers-reduced-motion: reduce) {
  .scene {
    transition: opacity 0.01ms, visibility 0.01ms;
    transform: none;
  }

  .scene.is-active,
  .scene.is-prev {
    transform: none;
  }

  .notif,
  .done__title,
  .done__sub,
  .done__card {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .scene.is-active .primary-btn--demo::after,
  .scene.is-active .mic__ring--1,
  .scene.is-active .mic__ring--2,
  .scene.is-active .mic__btn,
  .scene.is-active .mic-status__dot,
  .scene.is-active .wave span,
  .scene.is-active .transcript__live-dot {
    animation: none;
  }

  .wave span {
    transform: scaleY(0.55);
    background: var(--color-navy-400);
  }

  .check__circle,
  .check__mark {
    stroke-dashoffset: 0;
  }

  .scene--done.is-active .check {
    animation: none;
  }

  .caret {
    display: none;
  }
}

/* ====== Tap cue — clear button telling the visitor the demo
   advances on tap. Sits at the bottom of the screen. ====== */
.step-cue {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 17px;
  border: none;
  border-radius: 999px;
  background: var(--color-navy-500);
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(86, 105, 164, 0.5);
  animation: stepCuePulse 2.6s ease-in-out infinite;
}

.step-cue:hover { background: var(--color-navy-600); }

.step-cue__icon { width: 16px; height: 16px; }

@keyframes stepCuePulse {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 6px 20px rgba(86, 105, 164, 0.5);
  }
  50% {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 26px rgba(86, 105, 164, 0.62);
  }
}

@media (prefers-reduced-motion: reduce) {
  .step-cue { animation: none; }
}
