
.demo-overlay[hidden] {
    display: none;
}

.demo-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.75);
}

.demo-modal {
    width: 100%;
    max-width: 520px;
    padding: clamp(24px, 5vw, 48px);
    border-radius: 12px;
    background: #fffaf3;
    color: #292522;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.demo-modal h2 {
    margin: 0 0 20px;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.demo-modal p {
    margin: 0 0 16px;
    line-height: 1.7;
}

.demo-modal__close {
    margin-top: 16px;
    padding: 12px 28px;
    border: 1px solid #292522;
    border-radius: 30px;
    background: #292522;
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.demo-modal__close:hover,
.demo-modal__close:focus-visible {
    background: transparent;
    color: #292522;
}
