/* Demo video page (/demo/): the MVP demo from YouTube, its chapters and transcript, and the slide deck. The YouTube player loads
   only when the visitor presses play or a chapter time (demo.js); until then the page makes no request to YouTube.
   Page components only; tokens, type, links, section shells, and the footer come from /landing.css. */
.narrow > * {
  max-width: 820px;
}

.page-head {
  padding: clamp(32px, 5vw, 60px) 0 clamp(12px, 2vw, 20px);
}

.page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.page-head .lede {
  max-width: 820px;
}

.demo-video-section {
  padding-top: clamp(12px, 2vw, 20px);
}

.demo-player {
  position: relative;
  max-width: 1120px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  background: #000;
}

.demo-player iframe,
.demo-facade,
.demo-facade img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-facade {
  position: relative;
}

.demo-facade img {
  object-fit: cover;
}

.demo-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: rgba(25, 25, 24, 0.86);
  transition: background-color 150ms ease;
}

.demo-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -16px 0 0 -10px;
  border-style: solid;
  border-width: 16px 0 16px 28px;
  border-color: transparent transparent transparent #f6f5f1;
}

.demo-facade:hover .demo-play,
.demo-facade:focus-visible .demo-play {
  background: var(--accent);
}

.demo-facade:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.demo-transcript {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.demo-transcript li + li {
  margin-top: 1.75rem;
}

.demo-transcript h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.demo-transcript h3 a {
  margin-right: 0.5rem;
  font-family: var(--mono);
  font-weight: 400;
}

.demo-transcript p {
  margin: 0 0 0.6rem;
}

.deck-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.4rem 0 0;
}
