* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; min-height: 100%; margin: 0; }
body {
  display: grid;
  place-items: center;
  background: #0d2a32;
  color: #f1f5f6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.gate {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(360px, calc(100% - 40px));
  margin-top: -2px;
  transform: translate(-50%, -50%);
}
.gate h1 {
  margin: 0 0 9px;
  color: #f1f5f6;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.gate p {
  margin: 0 0 11px;
  color: #9baeb2;
  font-size: 14px;
  line-height: 1.45;
}
.gate label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.gate input {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0 0 11px;
  padding: 10px 12px;
  border: 2px solid #a7c6ff;
  border-radius: 8px;
  outline: none;
  background: #143641;
  color: #f1f5f6;
  font: inherit;
  font-size: 16px;
}
.gate input:focus { box-shadow: 0 0 0 2px rgba(167, 198, 255, .26); }
.gate button {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #ffb82e;
  color: #172329;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.gate button:hover { background: #ffc143; }
.gate .error { margin: -2px 0 11px; color: #ffb4ab; font-size: 13px; }
