@font-face { font-family: "GateSans"; src: url("gate.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "GateSans", "Futura", "Avenir Next", system-ui, sans-serif;
  color: #F2EEE5;
  background-color: #2A1F2B;
  background-image:
    radial-gradient(120% 80% at 50% 0%, #3E2E40 0%, rgba(62, 46, 64, 0) 60%),
    radial-gradient(90% 70% at 50% 110%, #1E1620 0%, rgba(30, 22, 32, 0) 70%);
  -webkit-font-smoothing: antialiased;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gate { min-height: 100%; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.gate__form { width: min(100%, 400px); display: grid; grid-template-columns: 1fr auto; gap: 0; border: 1px solid rgba(242, 238, 229, .32); background: rgba(25, 18, 26, .45); }
.gate__form:focus-within { border-color: #B59A69; }
.gate__input {
  min-width: 0; height: 56px; padding: 0 18px;
  border: 0; background: transparent; color: #F2EEE5;
  font: inherit; font-size: 16px; letter-spacing: .12em;
}
.gate__input::placeholder { color: #BDB3A6; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; }
.gate__input:focus { outline: none; }
.gate__btn {
  height: 56px; padding: 0 22px; border: 0; cursor: pointer;
  background: #B59A69; color: #191918;
  font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  transition: background .2s;
}
.gate__btn:hover { background: #D3BE93; }
.gate__btn:focus-visible { outline: 2px solid #F2EEE5; outline-offset: -4px; }
.gate__btn:disabled { opacity: .6; cursor: progress; }
.gate__msg { grid-column: 1 / -1; margin: 0; min-height: 0; font-size: 14px; line-height: 1.4; color: #F4B7A8; text-align: center; }
.gate__msg:not(:empty) { padding: 12px 14px; border-top: 1px solid rgba(242, 238, 229, .16); }
.gate__msg.is-note { color: #E3D6BC; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .shake { animation: none; } }
