* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 20px; background: #FAFAFA; color: #111; font-family: 'Jost', sans-serif; }
.box { width: min(400px, 100%); padding: 36px 32px; background: #fff; border: 1px solid #EAEAEA; border-radius: 12px; }
h1 { margin: 0 0 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: 3px; }
p { margin: 0 0 20px; color: #666; font-size: .95rem; line-height: 1.5; }
label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 500; }
input { width: 100%; height: 44px; padding: 0 12px; margin-bottom: 14px; border: 1px solid #D4D4D8; border-radius: 8px; font: inherit; }
button { width: 100%; height: 46px; border: 0; border-radius: 8px; background: #111; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
button:hover { background: #333; }
button:disabled { opacity: .45; cursor: default; }
input:focus-visible, button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
#fail { margin: 14px 0 0; color: #B91C1C; }
#fail:empty { display: none; }
[hidden] { display: none !important; }
