/* Video-first pages: the player is the main content, before related reading. */
.demo-page main { overflow-wrap: anywhere; }
.demo-watch { width: min(89%, 1040px); margin-inline: auto; }
.demo-page .voice-crumbs { padding-top: 18px; }
.demo-screening { padding-block: 24px 38px; }
.demo-heading { max-width: 56rem; margin-bottom: 21px; }
.demo-page .demo-heading .voice-kicker { margin-bottom: .55rem; }
.demo-page h1 { font-size: clamp(2rem, 3.3vw, 3.2rem); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 .7rem; text-wrap: balance; }
.demo-intro { color: var(--vp-muted); font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.6; max-width: 74ch; margin: 0; }
.demo-player { margin: 0; }
.demo-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #082138; border: 1px solid #adc8d9; border-radius: 14px; object-fit: contain; box-shadow: 0 18px 50px -32px #0a3a5b88; }
.demo-player figcaption { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: .45rem 1rem; margin-top: .65rem; color: var(--vp-muted); font-size: .78rem; line-height: 1.5; }
.demo-player figcaption a, .demo-secondary-link, .demo-contact address a { color: var(--vp-blue); text-decoration: underline; text-underline-offset: .18em; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.35rem; margin-top: 1.25rem; }
.demo-actions .voice-primary, .demo-contact .voice-primary { justify-content: center; text-align: center; }
.demo-reading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: clamp(30px, 5vw, 68px); border-top: 1px solid #bbd4e3; padding-block: clamp(38px, 5vw, 66px); }
.demo-reading > *, .demo-contact > * { min-width: 0; }
.demo-page h2 { font-size: clamp(1.8rem, 2.55vw, 2.5rem); line-height: 1.14; text-wrap: balance; }
.demo-summary > p:not(.voice-kicker), .demo-contact p:not(.voice-kicker) { margin: 1rem 0 0; color: var(--vp-muted); line-height: 1.75; }
.demo-steps { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.3rem; counter-reset: demo-step; }
.demo-steps li { border-top: 1px solid #b9d1e1; padding-top: 1rem; counter-increment: demo-step; }
.demo-steps h3 { display: flex; align-items: baseline; gap: .6rem; font-size: 1.15rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.4; margin: 0 0 .45rem; }
.demo-steps h3::before { content: counter(demo-step, decimal-leading-zero); color: var(--vp-blue); font-size: .73rem; letter-spacing: .05em; }
.demo-steps p { color: var(--vp-muted); font-size: .95rem; line-height: 1.75; margin: 0; }
.demo-related { border: 1px solid #c7dce9; border-radius: 18px; background: #f7fbfecc; padding: clamp(22px, 3vw, 32px); }
.demo-page .demo-related h2 { font-size: clamp(1.55rem, 2vw, 1.95rem); }
.demo-related > p:not(.voice-kicker) { color: var(--vp-muted); font-size: .91rem; line-height: 1.7; margin: .9rem 0 0; }
.demo-related ul { list-style: none; padding: 0; margin: 1.35rem 0; display: grid; }
.demo-related li { border-top: 1px solid #c4d9e6; }
.demo-related li a { display: block; padding-block: .95rem; }
.demo-related li a strong { display: block; color: var(--vp-blue); font-size: .96rem; font-weight: 650; line-height: 1.4; }
.demo-related li a span { display: block; color: var(--vp-muted); font-size: .85rem; line-height: 1.65; margin-top: .3rem; }
.demo-related li a:hover strong { text-decoration: underline; text-underline-offset: .18em; }
.demo-secondary-link { display: inline-block; font-size: .88rem; font-weight: 620; line-height: 1.6; }
.demo-contact { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center; border-top: 1px solid #bbd4e3; padding-block: clamp(38px, 5vw, 60px) clamp(54px, 6vw, 88px); }
.demo-contact address { font-style: normal; color: var(--vp-muted); font-size: .95rem; line-height: 1.75; display: grid; justify-items: start; gap: .8rem; padding-left: 1.7rem; border-left: 1px solid #b9d1e1; }
.demo-contact address strong { color: var(--vp-navy); font-size: 1.1rem; }
.demo-page :is(a, video):focus-visible { outline: 3px solid #008bc9; outline-offset: 5px; }
@media (max-width: 760px) {
  .demo-watch { width: 89%; }
  .demo-screening { padding-top: 20px; }
  .demo-heading { margin-bottom: 18px; }
  .demo-reading, .demo-contact { grid-template-columns: minmax(0, 1fr); }
  .demo-related { max-width: 40rem; }
  .demo-contact address { border-left: 0; padding-left: 0; border-top: 1px solid #b9d1e1; padding-top: 1.2rem; }
}
@media (max-width: 420px) {
  .demo-watch { width: calc(100% - 34px); }
  .demo-page h1 { font-size: 2rem; }
  .demo-page .voice-crumbs { gap: .25rem .45rem; font-size: .7rem; }
  .demo-heading .voice-kicker { font-size: .63rem; }
  .demo-player video { border-radius: 9px; }
  .demo-player figcaption { font-size: .73rem; }
  .demo-actions .voice-primary { width: 100%; }
}
@media print {
  .demo-player video { box-shadow: none; }
  .demo-related { background: white; }
}
