* { box-sizing: border-box; }
:root { color-scheme: light; font: 14px/1.6 -apple-system,"PingFang SC","Microsoft YaHei",sans-serif; color: #162229; background: #f4f9fa; }
body, h1, p { margin: 0; }
body { min-height: 100svh; display: grid; place-items: center; padding: 24px 20px 10vh; }
.gate { width: min(360px, 100%); }
h1 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.hint { margin-top: 6px; color: #5b6e78; font-size: 13px; line-height: 1.7; }
form { margin-top: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.field { display: flex; gap: 8px; }
input, button { font: inherit; min-height: 46px; border-radius: 11px; transition: border-color .16s, background-color .16s; }
input { flex: 1; min-width: 0; padding: 11px 14px; background: #fff; color: #162229; border: 1px solid #cbd9df; }
input::placeholder { color: #83959e; }
input:focus { outline: none; border-color: #0c85c9; }
input[aria-invalid="true"] { border-color: #c2392b; }
button { flex: 0 0 auto; padding: 0 20px; border: 0; background: #162229; color: #fff; font-weight: 600; white-space: nowrap; cursor: pointer; }
button:hover { background: #0c85c9; }
:focus-visible { outline: 2px solid #0c85c9; outline-offset: 2px; }
.feedback { margin-top: 10px; color: #b93124; font-size: 13px; line-height: 1.5; }
.feedback:empty { display: none; }
@media (prefers-reduced-motion: reduce) { input, button { transition: none; } }
