/* "See how it works" demo pop-up (app/Views/partials/demo-gate.php). */
.dg { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dg[hidden] { display: none; }
.dg-backdrop { position: absolute; inset: 0; background: rgba(23, 15, 38, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.dg-card { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 28px 24px; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px rgba(23, 15, 38, 0.35); animation: dg-in .22s cubic-bezier(.2,.8,.2,1); }
@keyframes dg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.dg-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--color-ink-faint, #8d86a3); cursor: pointer; }
.dg-x:hover { background: var(--color-bg-inset, #f1eef8); color: var(--color-ink, #1c1530); }
.dg-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #e2823f; }
.dg-title { margin: 0 0 8px; font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: var(--color-ink, #1c1530); }
.dg-text { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--color-ink-soft, #564f6e); }
.dg-points { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 6px; }
.dg-points li { position: relative; padding-left: 24px; font-size: 14px; font-weight: 600; color: var(--color-ink, #1c1530); }
.dg-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: #e7f9f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a8f6a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.dg-form { display: flex; flex-direction: column; gap: 8px; }
.dg-label { font-size: 14px; font-weight: 700; color: var(--color-ink, #1c1530); }
.dg-input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--color-border-strong, #d9d4e8); border-radius: 12px; font: inherit; font-size: 16px; color: var(--color-ink, #1c1530); background: #fff; }
.dg-input:focus { outline: none; border-color: var(--color-primary, #40315f); box-shadow: 0 0 0 4px rgba(64, 49, 95, 0.14); }
.dg-input[aria-invalid="true"] { border-color: #c1443c; }
.dg-error { margin: 0; font-size: 13px; font-weight: 600; color: #c1443c; }
.dg-submit { width: 100%; margin-top: 6px; }
.dg-submit[disabled] { opacity: .7; cursor: wait; }
.dg-fine { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--color-ink-faint, #8d86a3); text-align: center; }
.dg-fine a { color: inherit; text-decoration: underline; }
.dg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.dg-open { overflow: hidden; }
@media (max-width: 480px) { .dg-card { padding: 26px 20px 20px; } .dg-title { font-size: 21px; } }
