.demo-main {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 64px;
}

.demo-header {
    max-width: 800px;
    margin: 0 auto 32px;
    text-align: center;
}

.demo-header h1 {
    margin: 18px 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
}

.demo-header .lead { color: var(--muted); }

.demo-player {
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.demo-player video { aspect-ratio: 16 / 9; }

.demo-player figcaption {
    padding: 14px 20px;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.demo-content { margin-top: 40px; }
.demo-content h2 { margin-bottom: 20px; font-size: 1.5rem; }

.demo-topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.demo-topic {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.demo-topic h3 { margin-bottom: 10px; font-size: 1.1rem; }
.demo-topic p { color: var(--muted); }

.demo-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .demo-main { padding-top: calc(var(--nav-h) + 32px); }
    .demo-topics { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .demo-actions .btn { width: 100%; }
}
