.gate {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.gate__wordmark {
  font-family: var(--font-sans);
  font-weight: var(--w-bold);
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 56px;
}

.gate__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}

.gate__input-wrap {
  width: 100%;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.gate__input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-serif);
  font-weight: var(--w-light);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-align: center;
  caret-color: var(--text);
}

.gate__input::placeholder {
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.gate__hint {
  font-family: var(--font-sans);
  font-weight: var(--w-bold);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gate__error {
  font-family: var(--font-sans);
  font-weight: var(--w-bold);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 28px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gate__error.is-visible {
  opacity: 1;
}
