html.access-locked body > :not(.access-gate) {
  visibility: hidden;
}

.access-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f3f6fa;
  color: #172b45;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.access-gate__card {
  width: min(100%, 420px);
  padding: 32px;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgb(23 43 69 / 12%);
}

.access-gate__eyebrow {
  margin: 0 0 10px;
  color: #24618b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.access-gate__card h1 {
  margin: 0;
  color: #172f49;
  font-size: clamp(26px, 4vw, 32px);
  letter-spacing: -.04em;
}

.access-gate__intro {
  margin: 10px 0 24px;
  color: #596b80;
  font-size: 14px;
  line-height: 1.5;
}

.access-gate__form {
  display: grid;
  gap: 10px;
}

.access-gate__form label {
  color: #2b415a;
  font-size: 14px;
  font-weight: 700;
}

.access-gate__form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cbd6e2;
  border-radius: 8px;
  background: #fff;
  color: #172b45;
  font: inherit;
}

.access-gate__form input:focus-visible,
.access-gate__form button:focus-visible {
  outline: 3px solid rgb(36 97 139 / 35%);
  outline-offset: 2px;
}

.access-gate__error {
  min-height: 22px;
  margin: 0;
  color: #b4232d;
  font-size: 13px;
}

.access-gate__form button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #24618b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.access-gate__form button:hover {
  background: #194b70;
}
