/* One glass invitation, centered over the visitor's current place in the page. */
.beta-dialog{position:fixed;inset:auto;top:var(--beta-viewport-top,0px);left:0;width:100%;max-width:none;height:var(--beta-viewport-height,100dvh);max-height:none;margin:0;padding:24px;border:0;border-radius:0;overflow:hidden;background:transparent;box-shadow:none;color:#223e6c;overscroll-behavior:none}
.beta-dialog:not([open]){display:none}
.beta-dialog[open]{display:flex;align-items:center;justify-content:center}
.beta-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(15,35,66,.17);animation:beta-backdrop-in 200ms ease both}
.beta-dialog *{box-sizing:border-box}
.beta-dialog .beta-panel{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;width:800px;max-width:100%;max-height:calc(var(--beta-viewport-height,100dvh) - 48px);overflow:auto;overscroll-behavior:contain;padding:50px 36px 32px;border:1px solid rgba(255,255,255,.88);border-radius:30px;background:radial-gradient(ellipse at 0% 40%,rgba(0,116,232,.12),rgba(207,234,255,.07) 46%,transparent 72%),linear-gradient(118deg,rgba(242,249,255,.77),rgba(255,255,255,.68));-webkit-backdrop-filter:blur(24px) saturate(1.15);backdrop-filter:blur(24px) saturate(1.15);box-shadow:inset 0 1px 1px #fff,0 24px 72px -20px rgba(20,48,91,.22),0 3px 12px rgba(34,62,108,.05);outline:none;animation:beta-panel-in 200ms cubic-bezier(.2,.7,.3,1) both;scrollbar-width:thin}
.beta-dialog .beta-close{position:absolute;right:13px;top:12px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.5);color:#526882;font-family:inherit;font-size:27px;font-weight:400;line-height:1;cursor:pointer;transition:background 180ms,color 180ms}
.beta-dialog .beta-close:hover{background:#ffffffd9;color:#223e6c}
.beta-dialog .beta-close:focus-visible{outline:2px solid #006de5;outline-offset:2px}
.beta-dialog .beta-intro{min-width:0;text-align:center}
.beta-dialog h2{margin:0 0 10px;font-family:inherit;font-size:32px;line-height:1.2;letter-spacing:-.038em;font-weight:500;color:#223e6c;text-wrap:balance}
.beta-dialog .beta-title-visual{display:inline-flex;align-items:baseline;justify-content:center;gap:.34em;white-space:nowrap}
.beta-dialog .beta-title-brand{display:inline-flex;align-items:baseline;gap:.04em}
/* The official SVG includes transparent margins. Offset its image, without
   stretching or clipping it, so the visible letters share the text baseline. */
.beta-dialog .beta-wordmark{position:relative;display:inline-block;flex:none;width:2.83em;height:1em}
.beta-dialog .beta-wordmark img{position:absolute;left:-.25em;top:-.18em;display:block;width:3.33em;height:auto;max-width:none;filter:none}
.beta-dialog .beta-intro p{max-width:none;margin:0 auto;font-size:16px;line-height:1.55;letter-spacing:-.014em;color:#52657e}
.beta-dialog .beta-form-column{min-width:0}
.beta-dialog .beta-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;column-gap:16px;row-gap:12px;margin:0}
.beta-dialog .beta-field{display:grid;gap:8px;min-width:0}
.beta-dialog .beta-field label{margin:0;text-align:left;font-size:14px;font-weight:500;line-height:20px;letter-spacing:-.01em;color:#354c6c}
.beta-dialog .beta-field input{display:block;width:100%;min-width:0;height:48px;margin:0;padding:11px 14px;border:1px solid rgba(91,129,174,.23);border-radius:12px;background:rgba(255,255,255,.86);box-shadow:inset 0 1px 1px #fff,0 1px 3px #223e6c04;color:#223e6c;font-family:inherit;font-size:16px;font-weight:400;line-height:1.4;outline:none;transition:border-color 180ms,box-shadow 180ms;scroll-margin-block:18px}
.beta-dialog .beta-field input:focus{border-color:#458fea;box-shadow:0 0 0 3px #0074e81a,inset 0 1px 1px #fff;background:rgba(255,255,255,.96)}
.beta-dialog .beta-field input[aria-invalid="true"]{border-color:#b34b5a}
.beta-dialog .beta-field-error,.beta-dialog .beta-form-error{margin:0;font-size:13px;line-height:1.4;letter-spacing:0;color:#a33e50}
.beta-dialog .beta-form-error{grid-column:1/-1;text-align:center;font-size:14px;line-height:1.45}
.beta-dialog .beta-submit.button{display:flex;align-items:center;justify-content:center;grid-column:auto;align-self:start;width:100%;min-width:0;height:48px;min-height:48px;margin:28px 0 0;padding:12px 18px;border:1px solid #ffffff40;border-radius:999px;background:linear-gradient(165deg,#0074e8,#0064d9);color:#fff;box-shadow:inset 0 1px 1px #ffffff45,0 6px 16px #0074e823;font-family:inherit;font-size:16px;font-weight:500;line-height:1.3;cursor:pointer;scroll-margin-block:18px}
.beta-dialog .beta-submit.button:hover{background:linear-gradient(165deg,#087bed,#086ade);transform:translateY(-1px)}
.beta-dialog .beta-submit.button:active{transform:translateY(0)}
.beta-dialog .beta-submit.button:focus-visible{outline:2px solid #006de5;outline-offset:4px}
.beta-dialog .beta-submit.button:disabled{cursor:wait;opacity:.75;transform:none;box-shadow:inset 0 1px 1px #ffffff45,0 3px 8px #0074e818}
.beta-dialog .beta-success{max-width:48ch;margin:0 auto;padding:0 0 2px;text-align:center;outline:none}
.beta-dialog .beta-success-mark{display:grid;place-items:center;width:40px;height:40px;margin:0 auto 17px;border-radius:50%;background:#ddecff;color:#006de5;box-shadow:inset 0 1px 1px #fff}
.beta-dialog .beta-success-mark svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.beta-dialog .beta-success h3{margin:0 0 12px;font-size:23px;line-height:1.25;letter-spacing:-.025em;font-weight:500;color:#223e6c;overflow-wrap:anywhere}
.beta-dialog .beta-success p{margin:0;font-size:16px;line-height:1.5;color:#52657e}
.beta-dialog [hidden]{display:none!important}
.beta-dialog.is-closing .beta-panel{animation:beta-panel-out 180ms ease both;pointer-events:none}
.beta-dialog.is-closing::backdrop{animation:beta-backdrop-out 180ms ease both}
@keyframes beta-panel-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes beta-panel-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}
@keyframes beta-backdrop-in{from{background:rgba(15,35,66,0)}to{background:rgba(15,35,66,.17)}}
@keyframes beta-backdrop-out{from{background:rgba(15,35,66,.17)}to{background:rgba(15,35,66,0)}}
@media(max-width:700px){
 .beta-dialog{padding:16px}
 .beta-dialog .beta-panel{grid-template-columns:1fr;align-items:start;gap:24px;width:100%;max-width:398px;max-height:calc(var(--beta-viewport-height,100dvh) - 32px);padding:52px 24px 28px;border-radius:27px}
 .beta-dialog h2{font-size:26px;margin-bottom:11px;text-wrap:initial}
 .beta-dialog .beta-intro p{font-size:16px;line-height:1.5;max-width:32ch}
 .beta-dialog .beta-form{grid-template-columns:minmax(0,1fr);gap:16px}
 .beta-dialog .beta-field input{height:48px}
 .beta-dialog .beta-submit.button{width:100%;height:48px;min-height:48px;margin-top:0}
 .beta-dialog .beta-success{padding:0}
}
@media(max-width:359px){.beta-dialog{padding:12px}.beta-dialog .beta-panel{padding:50px 20px 24px;max-height:calc(var(--beta-viewport-height,100dvh) - 24px)}.beta-dialog h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.beta-dialog .beta-panel,.beta-dialog::backdrop,.beta-dialog.is-closing .beta-panel,.beta-dialog.is-closing::backdrop{animation:none}.beta-dialog .beta-close,.beta-dialog .beta-field input,.beta-dialog .beta-submit.button{transition:none;transform:none!important}}

/* Restore focus without inheriting the text-input focus ring after a click. */
[data-beta-open]:focus-visible,
[data-beta-open][data-beta-focus="keyboard"]:focus {
  outline: 2px solid #006de5;
  outline-offset: 4px;
}
[data-beta-open][data-beta-focus="pointer"]:focus { outline: none; }
