.demo-hero{position:relative;overflow:hidden;color:#fff;padding-block:104px;background:radial-gradient(1200px 520px at 85% -10%,#2f7bf0 0%,transparent 60%),radial-gradient(900px 480px at -10% 110%,#6e5dc6 0%,transparent 55%),linear-gradient(135deg,#0b1f45 0%,#0c3a8a 55%,#0c66e4 100%)}
.demo-glow{position:absolute;inset:0;background-image:linear-gradient(#ffffff0d 1px,transparent 1px),linear-gradient(90deg,#ffffff0d 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(ellipse at 30% 40%,#000 0%,transparent 70%);pointer-events:none}
.demo-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:56px;align-items:center}
.demo-badge{display:inline-flex;align-items:center;gap:9px;padding:6px 13px;border:1px solid #ffffff38;background:#ffffff14;border-radius:30px;color:#e6efff;font-size:12px;font-weight:650;letter-spacing:.02em;margin-bottom:26px}
.demo-badge .status-dot{background:#4bce97;box-shadow:0 0 0 3px #4bce9740;animation:demo-pulse 2s ease-in-out infinite}
@keyframes demo-pulse{50%{box-shadow:0 0 0 7px #4bce9700}}
.demo-hero h2{font-size:clamp(34px,3.6vw,54px);font-weight:720;color:#fff}
.demo-hero h2 span{background:linear-gradient(90deg,#9fc6ff,#d7c9ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.demo-hero-lead{color:#d3e2ff;font-size:18px;line-height:1.6;margin-top:22px;max-width:580px}
.demo-try{list-style:none;padding:0;margin:34px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.demo-try li{display:flex;gap:12px;padding:14px;border:1px solid #ffffff24;background:#ffffff0f;border-radius:12px}
.demo-try b{font-size:11px;font-weight:750;color:#9fc6ff;letter-spacing:.08em;padding-top:2px}
.demo-try span{font-size:13px;line-height:1.5;color:#c4d5f5}
.demo-try strong{display:block;color:#fff;font-size:14px;margin-bottom:2px}
.demo-cta{margin-top:28px}
.demo-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.button-large{font-size:17px;padding:18px 30px;border-radius:10px;background:#fff;color:#0c3a8a;border-color:#fff;box-shadow:0 12px 30px #04153b55,0 0 0 6px #ffffff1f}
.button-large:hover{background:#e9f2ff;border-color:#e9f2ff;color:#0c3a8a;transform:translateY(-2px)}
.demo-actions .button[disabled]{opacity:.7;cursor:not-allowed;transform:none}
.demo-again{background:none;border:0;font:inherit;cursor:pointer;padding:0;color:#fff;text-decoration:underline}
.demo-note{color:var(--muted);font-size:14px;margin:14px 0 0}
.demo-hero-copy .demo-note{color:#b7c9ea}
.demo-status{min-height:1.6em;margin-top:12px;font-weight:650;color:#fff}
.demo-progress{height:10px;border-radius:99px;background:#ffffff26;overflow:hidden;margin-top:10px;max-width:520px}
.demo-progress>div{height:100%;width:0;background:linear-gradient(90deg,#4bce97,#9fc6ff);transition:width .4s ease}
.demo-card{background:#fff;color:var(--ink);border-radius:18px;padding:0 26px 22px;box-shadow:0 30px 70px #04153b66;border:1px solid #ffffff55}
.demo-card-head{display:flex;align-items:center;gap:14px;margin:0 -26px 20px;padding:12px 18px;border-bottom:1px solid var(--line);background:var(--soft);border-radius:18px 18px 0 0;font-size:12px;font-weight:650;color:#44546f}
.demo-card .window-dots{display:inline-flex;gap:6px}
.demo-card .window-dots i{display:block;width:9px;height:9px;border-radius:50%;background:#dcdfe4}
.demo-card .window-dots i:first-child{background:#f87168}.demo-card .window-dots i:nth-child(2){background:#f5cd47}.demo-card .window-dots i:last-child{background:#4bce97}
.demo-how{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.demo-how li{display:flex;gap:14px;align-items:flex-start}
.demo-how li>span{flex:0 0 30px;height:30px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-weight:750;font-size:14px}
.demo-how strong{display:block;font-size:15px;line-height:1.4}
.demo-how p{font-size:14px;line-height:1.5;margin-top:2px}
.demo-result:not([hidden])~.demo-how{display:none}
.demo-result{margin:0 0 4px}
.demo-result h3{margin:0 0 14px;color:var(--green)}
.demo-result h3:focus{outline:3px solid var(--blue);outline-offset:4px}
.demo-creds{display:grid;gap:10px;margin:0}
.demo-creds>div{display:grid;grid-template-columns:110px 1fr;gap:10px;align-items:center}
.demo-creds dt{color:var(--muted);font-size:14px;line-height:1.35}
.demo-creds dd{margin:0;overflow-wrap:anywhere}
.demo-creds a{color:var(--blue);font-weight:650;text-decoration:underline;text-underline-offset:3px}
.demo-creds code{background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:2px 8px;font-size:15px}
.demo-mini{font:inherit;font-size:13px;border:1px solid var(--line);background:#fff;border-radius:6px;padding:3px 10px;cursor:pointer;color:var(--ink)}
.demo-mini:hover{border-color:var(--blue)}
.demo-mini:focus-visible,.demo-again:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.demo-steps{margin:14px 0 0;padding-left:20px;color:var(--ink)}
.demo-pool{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.demo-meter{padding:0 0 12px}
.demo-cells{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.demo-cell{height:14px;border-radius:99px;background:var(--line)}
.demo-cell.on{background:var(--blue)}
.demo-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}
.demo-counts>div{display:flex;flex-direction:column}
.demo-counts dt{color:var(--muted);font-size:12px}
.demo-counts dd{margin:0;font-weight:750;font-size:22px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.demo-fine{font-size:12px;line-height:1.5;margin-top:14px}
@media(max-width:1000px){.demo-hero-grid{grid-template-columns:1fr;gap:40px}}
@media(max-width:620px){.demo-hero{padding-block:64px}.demo-try{grid-template-columns:1fr}.demo-hero-lead{font-size:16px}.button-large{width:100%}.demo-card{padding:0 18px 18px}.demo-card-head{margin:0 -18px 18px}.demo-creds>div{grid-template-columns:1fr;gap:2px}}
@media(prefers-reduced-motion:reduce){.demo-progress>div{transition:none}.demo-badge .status-dot{animation:none}}
.demo-hero [hidden]{display:none!important}
.idp-list{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 30px}
.idp-list span{font-size:12px;font-weight:650;color:#e6efff;padding:6px 11px;border:1px solid #ffffff2e;background:#ffffff12;border-radius:30px}
.pilot-ctas{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.contact-tip a{color:var(--blue);font-weight:650;text-decoration:underline;text-underline-offset:3px}
.pilot-ctas .text-link{font-size:12px}

/* Launch estimate, a continuously moving fill, and fields that never wrap controls. */
.demo-estimate{color:#c6d8fa;font-size:13px;margin-top:10px}
.demo-loading{max-width:520px;margin-top:20px;padding:16px 18px;border:1px solid #ffffff30;border-radius:12px;background:#071d4740}
.demo-loading-label{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:13px;font-weight:650}
#demo-eta{flex-shrink:0;font-variant-numeric:tabular-nums;color:#b8f3db}
.demo-progress{height:12px;margin-top:12px;position:relative;isolation:isolate}
.demo-progress>div{position:relative;min-width:3%;border-radius:inherit;transition:width .3s linear;overflow:hidden;background:linear-gradient(90deg,#4bce97,#a9d7ff)}
.demo-progress>div::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(110deg,transparent 0 12px,#ffffff65 12px 24px,transparent 24px 36px);background-size:72px 100%;animation:demo-progress-flow 1.4s linear infinite}
@keyframes demo-progress-flow{to{background-position:72px 0}}
#demo-loading-note{margin-top:10px;color:#c6d8fa;font-size:12px;line-height:1.5}
.demo-result h3:focus{outline:none}
.demo-result h3{font-size:21px;letter-spacing:-.025em;display:flex;align-items:center;gap:10px}
.demo-result h3::before{content:"✓";display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;background:#dcfce7;border-radius:50%;font-size:17px}
.demo-creds>div{grid-template-columns:100px minmax(0,1fr);gap:12px}
.demo-creds dd.demo-value-row{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:nowrap}
.demo-value-row>a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.demo-creds .demo-credential{box-sizing:border-box;display:block;min-width:0;width:0;flex:1;height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#f7f9fc;color:var(--ink);font:13px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;text-overflow:ellipsis}
.demo-creds .demo-credential:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-color:var(--blue)}
.demo-icon-button{box-sizing:border-box;flex:0 0 38px;width:38px;height:40px;display:inline-flex;align-items:center;justify-content:center;gap:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:#526581;cursor:pointer;padding:0;transition:background .15s,color .15s,border-color .15s}
.demo-icon-button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.demo-icon-button:hover{background:#eaf2ff;color:var(--blue);border-color:#a9c7f5}
.demo-icon-button:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.demo-icon-button:disabled{opacity:.5;cursor:default}
.demo-icon-button .icon-check,.demo-icon-button .icon-eye-off{display:none}
.demo-icon-button.is-copied{color:#16815c;background:#edfcf5;border-color:#a8e9cd}
.demo-icon-button.is-copied .icon-check{display:block}
.demo-icon-button.is-copied .icon-copy{display:none}
#demo-toggle[aria-pressed=true] .icon-eye{display:none}
#demo-toggle[aria-pressed=true] .icon-eye-off{display:block}
.demo-copy-feedback{font-size:12px;line-height:1.5;color:#16815c;min-height:0;margin:0}
.demo-copy-feedback:not(:empty){margin-top:12px}
/* Native dialog gives keyboard trapping, Escape, and a separate backdrop. */
dialog.demo-ready-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);padding:38px 32px 32px;border:1px solid #dce7f4;border-radius:24px;background:radial-gradient(ellipse at 50% 0,#e8f6ff,transparent 62%),#fff;color:#172b4d;text-align:center;box-shadow:0 32px 100px #04153b70;overflow:auto}
.demo-ready-dialog::backdrop{background:#061a3c99;backdrop-filter:blur(8px)}
.demo-ready-dialog[open]{animation:demo-dialog-in .3s cubic-bezier(.2,.9,.3,1)}
@keyframes demo-dialog-in{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
.demo-dialog-close{position:absolute;right:12px;top:12px;border:0;background:transparent;width:36px;height:36px}
.demo-ready-art{position:relative;width:88px;height:88px;margin:0 auto 22px;border-radius:26px;background:linear-gradient(145deg,#0c66e4,#3746b9);box-shadow:0 12px 28px #0c66e436;transform:rotate(-6deg);display:grid;place-items:center}
.demo-ready-art svg{width:52px;height:52px;stroke:#fff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;fill:none;transform:rotate(6deg)}
.demo-ready-art>span{position:absolute;border-radius:50%;background:#4bce97;width:13px;height:13px;top:-10px;right:-15px;box-shadow:0 0 0 5px #4bce9720}
.demo-ready-art>span:nth-child(2){width:8px;height:8px;top:auto;right:auto;bottom:0;left:-18px;background:#9b8afb;box-shadow:none}
.demo-ready-dialog .demo-ready-kicker{padding:0;background:none;color:#3365a4;font-size:10px;letter-spacing:.12em;font-weight:750;margin:0 0 10px}
.demo-ready-dialog h2{font-size:32px;line-height:1.12;letter-spacing:-.04em;margin:0 0 14px;color:#172b4d}
.demo-ready-dialog #demo-ready-description{background:none;padding:0;font-size:15px;color:#596c86;line-height:1.6;margin:0}
.demo-ready-detail{font-size:12px;color:#526581;margin:18px 0 24px;display:flex;gap:8px;align-items:center;justify-content:center}
.demo-ready-detail>span{color:#16815c;font-size:16px}
.demo-ready-dialog>.button{width:100%;justify-content:space-between;border-radius:10px;padding:13px 16px;font-size:14px}
@media(max-width:620px){.demo-creds>div{grid-template-columns:1fr;gap:5px}.demo-creds{gap:15px}.demo-credential{font-size:14px}.demo-icon-button{flex-basis:42px;width:42px;height:42px}.demo-creds .demo-credential{height:42px}.demo-loading{padding:14px}.demo-loading-label{font-size:12px;gap:8px}.demo-ready-dialog{padding:34px 22px 24px}.demo-ready-dialog h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){.demo-progress>div::after,.demo-ready-dialog[open]{animation:none}.demo-progress>div{transition:none}.demo-icon-button{transition:none}}
