/* Let the real workspace carry the proof. No extra window chrome or autoplay. */
.product-demo { padding: 24px 0 88px; color: var(--ink); }
.product-demo__heading { max-width: 32ch; margin: 0 0 34px; font-size: clamp(30px, 3.6vw, 47px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.product-demo__figure { margin: 0; }
.product-demo__frame { position: relative; width: 100%; aspect-ratio: 8 / 5; background: var(--cream); border: 1px solid var(--line); }
.product-demo__poster, .product-demo__video { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-demo__poster { position: absolute; inset: 0; }
.product-demo__video { position: relative; z-index: 1; opacity: 0; background: var(--ink); }
.product-demo__frame[data-has-played] .product-demo__video { opacity: 1; }
.product-demo__frame[data-state="error"] .product-demo__video { opacity: 0; }
.product-demo__video:focus-visible { outline: 2px solid var(--brass); outline-offset: 5px; }
.product-demo__video::cue { color: #eef0ef; background-color: #1a2024e6; font-family: 'Archivo', sans-serif; font-size: clamp(12px, 1.7vw, 22px); line-height: 1.3; white-space: normal; }
.product-demo__play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 15px 24px 15px 18px; border: 1px solid var(--ink); background: var(--brass); color: var(--ink); font: 700 15px/1.2 'Archivo', sans-serif; white-space: nowrap; cursor: pointer; box-shadow: 0 3px 18px #1a202430; }
.product-demo__play svg { flex: none; width: 24px; height: 24px; }
.product-demo__play:hover { background: #dbaa4b; }
.product-demo__play:focus-visible { outline: 3px solid var(--paper); outline-offset: 4px; box-shadow: 0 0 0 7px var(--ink); }
.product-demo__play:disabled { cursor: progress; }
.product-demo__play[hidden], .product-demo__video[hidden], .product-demo__error[hidden] { display: none; }
.product-demo__caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 30px; padding-top: 16px; font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--steel); }
.product-demo__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.product-demo__sequence { display: flex; align-items: center; gap: 10px; color: var(--moss); }
.product-demo__sequence i { font-style: normal; color: var(--steel); }
.product-demo__error { margin-top: 16px; max-width: 60ch; color: var(--steel); font-size: 14px; line-height: 1.5; }
.product-demo__error a { color: var(--moss); text-decoration: underline; text-underline-offset: 3px; }
.product-demo__error a:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }
@media (max-width: 899px) {
  .product-demo { padding-top: 8px; padding-bottom: 60px; }
  .product-demo__heading { margin-bottom: 26px; font-size: clamp(29px, 5.2vw, 42px); }
}
@media (max-width: 599px) {
  .product-demo__heading { font-size: clamp(27px, 7.4vw, 38px); line-height: 1.12; }
  .product-demo__heading br { display: none; }
  .product-demo__play { min-height: 48px; padding: 11px 16px 11px 12px; gap: 6px; font-size: 13px; }
  .product-demo__play svg { width: 22px; height: 22px; }
  .product-demo__caption { align-items: flex-start; flex-direction: column; gap: 7px; padding-top: 12px; font-size: 11px; }
  .product-demo__sequence { gap: 8px; }
}
