/* Shared by the English and Arabic landing pages. */
.beta-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--hair);border-radius:28px;background:var(--surface);color:var(--ink);box-shadow:0 32px 96px -28px rgba(0,0,0,.4);overflow:auto;text-align:start}
.beta-dialog::backdrop{background:rgba(26,22,17,.4);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.beta-dialog[open]{animation:beta-enter .2s var(--ease)}
@keyframes beta-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.beta-dialog-inner{position:relative;padding:36px}
.beta-close{position:absolute;inset-inline-end:18px;top:18px;display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--hair);border-radius:50%;background:var(--ground);color:var(--muted)}
.beta-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.beta-app{display:flex;align-items:center;gap:10px;padding-inline-end:30px;margin-bottom:28px;font-size:13px;color:var(--muted)}
.beta-app img{width:42px;height:42px;border-radius:12px}
.beta-app strong{display:block;font-size:15px;font-weight:600;color:var(--ink)}
.beta-dialog h2{font-size:clamp(27px,5vw,32px);line-height:1.15;letter-spacing:-.04em}
:lang(ar) .beta-dialog h2{font-size:30px;line-height:1.4}
.beta-intro{font-size:14px;line-height:1.75;color:var(--muted);margin:14px 0 24px}
.beta-form label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}
.beta-email{display:block;box-sizing:border-box;width:100%;height:54px;padding:12px 16px;border:1px solid var(--hair);border-radius:14px;background:var(--ground);color:var(--ink);font:inherit;font-size:16px;text-align:start;direction:ltr;outline:none}
.beta-email:focus{border-color:var(--ring);box-shadow:0 0 0 3px color-mix(in srgb,var(--ring) 14%,transparent)}
.beta-email[aria-invalid="true"]{border-color:#b73925}
.beta-email::placeholder{color:var(--faint)}
.beta-submit{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:54px;padding:13px 18px;margin-top:14px;border:0;border-radius:14px;background:linear-gradient(105deg,var(--a1),var(--a2));color:var(--on-brand);font-weight:600;font-size:15px}
.beta-submit:disabled{opacity:.7;cursor:wait}
.beta-submit[aria-busy="true"]::before{content:"";width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:beta-spin .8s linear infinite}
@keyframes beta-spin{to{transform:rotate(360deg)}}
.beta-consent{font-size:11.5px;color:var(--muted);line-height:1.75;margin:16px 0 0}
.beta-consent a{text-underline-offset:3px}
.beta-note{font-size:12px;color:var(--muted);margin:24px 0 0;padding-top:18px;border-top:1px solid var(--hair)}
.beta-error{font-size:13px;line-height:1.65;color:#b73925;margin:12px 0 0}
[data-theme="dark"] .beta-error{color:#ffb3a6}
.beta-success-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:20px;border-radius:50%;background:var(--tint);color:var(--brand)}
.beta-success-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.beta-success-email{display:block;direction:ltr;overflow-wrap:anywhere;text-align:start;font-weight:600;color:var(--ink);margin-top:5px}
.beta-steps{padding-inline-start:22px;font-size:13px;line-height:1.75;color:var(--muted);margin:18px 0 24px}
.beta-steps li+li{margin-top:9px}
.beta-another{display:block;margin:16px auto 0;padding:4px;border:0;background:none;color:var(--muted);text-decoration:underline;text-underline-offset:4px;font-size:12px}
.beta-dialog [hidden]{display:none!important}
.beta-trap{position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.beta-modal-open{overflow:hidden;scrollbar-gutter:stable}
@media(max-width:480px){.beta-dialog-inner{padding:30px 24px}.beta-app{margin-bottom:24px}.beta-dialog{border-radius:24px}}
@media(prefers-reduced-motion:reduce){.beta-dialog[open],.beta-submit[aria-busy="true"]::before{animation:none}}
