.demo-main { padding-block: 52px 60px; }
.demo-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.demo-heading .eyebrow { justify-content: center; }
.demo-heading h1 { font-size: clamp(38px, 4.5vw, 58px); letter-spacing: -2.8px; }
.demo-heading h1 > span { color: var(--teal); font-family: Georgia, serif; font-weight: 400; font-style: italic; }
.demo-heading > p { max-width: 610px; margin: 20px auto 0; font-size: 14px; line-height: 1.85; }
.demo-meta { display: flex; justify-content: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 19px; color: var(--muted); font-size: 11px; }
.demo-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.demo-meta > span::before { content: ''; width: 4px; height: 4px; background: #83ad96; border-radius: 50%; }
.demo-video-frame { overflow: hidden; border: 1px solid #d8e5d9; border-radius: 18px; background: #183f38; box-shadow: 0 16px 50px #233e2810; }
.demo-video-frame video { display: block; width: 100%; aspect-ratio: 8 / 5; height: auto; object-fit: contain; background: #183f38; }
.demo-player-caption { display: flex; justify-content: space-between; gap: 16px; padding: 14px 3px; font-size: 10px; line-height: 1.8; color: var(--muted); }
.demo-feedback { font-size: 12px; line-height: 1.8; padding: 12px 15px; background: #f4f0e2; border: 1px solid #e6dec8; border-radius: 8px; color: #816d3e; }
.demo-chapters { display: grid; grid-template-columns: 1fr 1.2fr; gap: 65px; padding-block: 46px 38px; }
.demo-chapters h2 { font-size: 36px; letter-spacing: -1.8px; }
.demo-chapters > div > p { font-size: 13px; line-height: 1.85; margin-top: 16px; }
.demo-chapter-list { display: grid; gap: 8px; }
.demo-chapter { display: flex; align-items: center; gap: 14px; width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; color: var(--ink); background: #fff; text-align: left; font-size: 12px; line-height: 1.65; }
.demo-chapter:hover, .demo-chapter[aria-current="true"] { border-color: #8eb7a2; background: #f0f7ee; }
.demo-chapter-time { color: var(--teal); font-size: 11px; font-variant-numeric: tabular-nums; flex: 0 0 37px; }
.demo-chapter > span:last-child { margin-left: auto; color: #669783; }
.demo-transcript { border: 1px solid var(--line); background: #fff; border-radius: 13px; padding: 18px 22px; }
.demo-transcript > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--teal); list-style: none; }
.demo-transcript > summary::-webkit-details-marker { display: none; }
.demo-transcript > summary > span { font-size: 20px; font-weight: 400; }
.demo-transcript[open] > summary > span { transform: rotate(45deg); }
.demo-transcript > div { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; padding-top: 22px; }
.demo-transcript article h3 { font-size: 14px; letter-spacing: -.2px; }
.demo-transcript article p { font-size: 12px; line-height: 1.9; margin-top: 8px; }
.demo-next { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 45px; padding: 31px; border: 1px solid #dce8de; border-radius: 18px; background: #e7f1e9; }
.demo-next .eyebrow { margin-bottom: 12px; }
.demo-next h2 { font-size: 31px; letter-spacing: -1.2px; }
.demo-next p { font-size: 12px; line-height: 1.85; margin-top: 13px; }
.demo-next > div:last-child { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.demo-page .site-footer nav { flex-wrap: wrap; }
@media (max-width: 900px) { .demo-chapters { gap: 30px; } .demo-next { align-items: flex-start; flex-direction: column; } }
@media (max-width: 760px) {
    .demo-main { padding-block: 35px 40px; }
    .demo-heading h1 { font-size: 43px; letter-spacing: -2px; }
    .demo-heading .eyebrow { font-size: 8px; }
    .demo-heading > p { font-size: 13px; }
    .demo-meta { font-size: 10px; gap: 8px 14px; }
    .demo-player-caption { flex-direction: column; gap: 3px; font-size: 10px; }
    .demo-video-frame { border-radius: 12px; }
    .demo-chapters { grid-template-columns: 1fr; gap: 25px; padding-block: 32px; }
    .demo-chapters h2 { font-size: 30px; }
    .demo-transcript { padding: 16px; }
    .demo-transcript > div { grid-template-columns: 1fr; }
    .demo-next { padding: 24px; }
    .demo-next h2 { font-size: 29px; }
}
@media (max-width: 380px) { .demo-heading h1 { font-size: 36px; } .demo-next > div:last-child { gap: 16px; } }
