/* infra/gate/gate.css — gate + enter pages. Only layout here; every colour,
   font and radius comes from the site's theme.css tokens. */
[hidden] { display: none !important; }
.gate { margin: 0; min-height: 100vh; background: var(--c-brand); }
.gate__hero { min-height: 100vh; display: flex; align-items: center; }
.gate__hero .wrap { width: 100%; }
.gate__card {
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
  padding: 24px;
  background: var(--c-card);
  color: var(--c-ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
}
.gate__card h2 { margin: 0; font-size: 1.5rem; }
.gate__card p { margin: 0; }
.gate__card a { color: var(--c-brand-2); }
.gate__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .gate__pair { grid-template-columns: 1fr; } }
.gate__field { display: flex; min-width: 0; flex-direction: column; gap: 6px; font: 600 0.9rem/1.2 var(--f-body); }
.gate__field input {
  width: 100%;
  box-sizing: border-box;
  font: 500 1rem/1.4 var(--f-body);
  color: var(--c-ink);
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-paper);
}
.gate__field input:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 1px; }
.gate__card .btn { width: 100%; justify-content: center; }
.gate__card .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.gate__error { color: #b42318; font-weight: 600; }
.gate__by { color: rgba(255, 255, 255, 0.8); }
.gate__by a { color: inherit; }
