/* /demo: the commercial, a Download button and chapter links. Loaded after home.css (tokens, .btn) and chrome.css. */
.demo-main { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(48px, 8vw, 96px); max-width: 1040px; }
.demo-main h1 { margin-top: 14px; font-size: clamp(40px, 7vw, 72px); line-height: 1; letter-spacing: -.04em; font-weight: 650; }
.demo-sub { margin-top: 16px; font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 52ch; }
.demo-frame { margin-top: clamp(24px, 4vw, 40px); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.demo-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.demo-frame { position: relative; }
.demo-sound { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 56px; padding: 0 28px; font-size: 17px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.demo-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.demo-note a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
.demo-note a:hover { color: var(--text); }
.demo-main .cta { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 24px; }
.demo-quiet { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 2px; }
.demo-quiet:hover { color: var(--text); }
.chapters { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
.chapters a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 500; transition: border-color .2s; }
.chapters a:hover, .chapters a.on { border-color: var(--signal); }
.chapters time { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--signal); }
.demo-files { margin-top: 28px; font-size: 14px; color: var(--muted); }
.demo-files a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) {
  .demo-main .cta .btn { width: 100%; justify-content: center; }
  .chapters { grid-template-columns: 1fr 1fr; }
}
