/* The demo: a film of the real setup and settings (Windows Sandbox), folded under the steps. */
.demo { margin-top: 1.6rem; }
.demo summary {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 1.4rem 0.65rem 1.1rem;
  border-radius: 999px;
  background: #e8f4ff; color: var(--deep);
  font-weight: 600; cursor: pointer; list-style: none;
}
.demo summary::-webkit-details-marker { display: none; }
.demo summary::before {          /* a play triangle; a down chevron once open */
  content: ""; width: 0; height: 0;
  border-style: solid; border-width: 0.42em 0 0.42em 0.7em;
  border-color: transparent transparent transparent var(--water);
}
.demo[open] summary { margin-bottom: 1rem; }
.demo .len { font-weight: 400; color: var(--mist); }
@media (min-width: 60rem) { .demo[open] summary { display: none; } }
.screen {
  position: relative; overflow: hidden;
  border-radius: 14px;
  background: #0b1a2a;
  box-shadow: 0 0.6rem 2rem rgba(11, 74, 130, 0.18);
}
.screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.demo-bar { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.7rem; }
.demo-play {
  flex: none; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%;
  background: var(--water); cursor: pointer; position: relative;
}
.demo-play::before {             /* pause bars; a triangle when paused */
  content: ""; position: absolute; left: 50%; top: 50%; width: 0.7rem; height: 0.8rem;
  transform: translate(-50%, -50%);
  border-left: 0.22rem solid #fff; border-right: 0.22rem solid #fff;
}
.demo-play.paused::before {
  width: 0; height: 0; margin-left: 0.1rem; border-style: solid; border-width: 0.42rem 0 0.42rem 0.7rem;
  border-color: transparent transparent transparent #fff;
}
.demo-chapters { flex: 1; display: flex; gap: 4px; }
.demo-chapters button {
  position: relative; overflow: hidden; height: 0.45rem; padding: 0; border: 0; border-radius: 0.25rem;
  background: var(--line); cursor: pointer;
}
.demo-chapters button i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--water); }
.demo-cap { min-height: 1.6em; margin: 0.55rem 0 0; color: var(--mist); }
@media (forced-colors: active) { .demo-chapters button i { background: Highlight; } }
