/* Front door: the public site full screen, and a black Resend-style PIN box that opens from the site's logo. */
html, body { margin: 0; height: 100%; background: #0b0b0c; }
#site { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
#door { position: relative; width: min(380px, calc(100vw - 32px)); padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: #0b0b0c; color: #f5f5f4; font-family: Figtree, system-ui, sans-serif; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
#door::backdrop { background: rgba(5,5,6,.72); backdrop-filter: blur(6px); }
#door[open] { animation: rise .22s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.98); } }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.inner { position: relative; padding: 28px 28px 22px; display: grid; justify-items: center; }
video { mix-blend-mode: lighten; width: 120px; height: auto; margin-bottom: 6px; }
h1 { font: 600 20px/1.3 Figtree, system-ui, sans-serif; margin: 0 0 18px; }
form { width: 100%; display: grid; gap: 8px; }
label { font-size: 13px; color: #c9c9c7; }
input { height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.42); background: #0b0b0c; color: #fff; font-size: 16px; letter-spacing: 4px; }
input::placeholder { color: #8a8f92; letter-spacing: 0; }
input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
input[aria-invalid="true"] { border-color: #ff6b6b; }
.go { height: 44px; margin-top: 6px; border: 0; border-radius: 8px; background: #fff; color: #0b0b0c; font: 600 15px Figtree, system-ui, sans-serif; cursor: pointer; }
.go:disabled { opacity: .6; cursor: progress; }
.go:focus-visible, .x:focus-visible, .fine a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.err { min-height: 1.3em; margin: 10px 0 0; color: #ff8a8a; font-size: 13px; text-align: center; }
.fine { margin: 6px 0 0; font-size: 13px; }
.fine a { color: #c9c9c7; }
.x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; color: #c9c9c7; font-size: 24px; cursor: pointer; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { #door[open] { animation: none; } }
