#demo-dialog { width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 40px); overflow-y: auto; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 5vw, 36px); color: var(--ink); background: #fff; box-shadow: var(--shadow); }
#demo-dialog::backdrop { background: rgba(21,25,47,.6); backdrop-filter: blur(4px); }
.demo-dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.demo-dialog-heading h2 { margin: 0; font-size: 1.5rem; line-height: 1.3; }
.demo-dialog-heading button { border: 0; background: none; color: var(--muted); font-size: 28px; cursor: pointer; }
#demo-request-form label { display: block; margin: 20px 0 8px; font-weight: 650; }
#demo-request-form input, #demo-request-form textarea { width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #faf9fc; border: 1px solid #c8c5d2; border-radius: 10px; }
#demo-request-form textarea { resize: vertical; min-height: 120px; }
#demo-dialog :focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.demo-recipient, .demo-privacy { color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.demo-privacy { font-size: .85rem; }
.demo-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 16px; margin-top: 24px; }
.demo-actions button { cursor: pointer; font: inherit; }
.demo-cancel { border: 0; background: none; color: var(--muted); padding: 12px; }
#demo-dialog button:disabled { opacity: .6; cursor: wait; }
.demo-success { color: #176038; } .demo-error { color: #a32232; }
.privacy-document { max-width: 780px; margin: 0 auto 36px; line-height: 1.85; }
.privacy-document section { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px; }
.privacy-document h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.4; margin-bottom: 14px; }
.privacy-document p, .privacy-document li { color: var(--muted); }
.privacy-document ul { padding-left: 24px; } .privacy-document li { padding-left: 4px; margin-bottom: 6px; }
.privacy-document a { color: var(--purple-dark); overflow-wrap: anywhere; }
.privacy-company { font-style: normal; background: #f5effa; padding: 20px; border-radius: 12px; overflow-wrap: anywhere; }

#contact .demo-contact-highlight {
    animation: demo-contact-glow 2s ease-in-out;
}
@keyframes demo-contact-glow {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
        box-shadow: 0 16px 30px rgba(81, 21, 111, .25);
    }
    25%, 70% {
        transform: scale(1.045);
        filter: brightness(1.25);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, .95),
                    0 0 0 10px rgba(173, 128, 210, .55),
                    0 0 48px 16px rgba(140, 64, 193, .7);
    }
    48% {
        transform: scale(1.015);
        filter: brightness(1.08);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .7),
                    0 0 0 6px rgba(173, 128, 210, .3),
                    0 0 28px 8px rgba(140, 64, 193, .4);
    }
}
@media (prefers-reduced-motion: reduce) {
    #contact .demo-contact-highlight {
        animation: none;
        outline: 3px solid var(--purple);
        outline-offset: 5px;
    }
}
