html.access-check {
  min-height: 100%;
  background: #f4f8fb;
}

html.access-check body > :not(#private-access-gate) {
  visibility: hidden !important;
}

#private-access-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  color: #0d2d4b;
  background:
    radial-gradient(circle at 18% 14%, rgba(61, 166, 203, 0.18), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(196, 119, 12, 0.13), transparent 32%),
    #f4f8fb;
  font-family: Inter, Arial, sans-serif;
}

.access-card {
  width: min(100%, 580px);
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid #bfd6e2;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(11, 45, 75, 0.14);
}

.access-card img {
  display: block;
  width: min(100%, 255px);
  height: auto;
  margin-bottom: 34px;
}

.access-card .access-eyebrow {
  margin: 0 0 12px;
  color: #b56400;
  font: 600 11px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-card h1 {
  margin: 0;
  color: #0a2d50;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 7vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.access-card p {
  margin: 20px 0 0;
  color: #405e75;
  font-size: 16px;
  line-height: 1.7;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.access-actions button,
.access-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid #0a416d;
  border-radius: 999px;
  color: #fff;
  background: #0a416d;
  font: 700 14px/1 Inter, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.access-actions .secondary {
  color: #0a416d;
  background: transparent;
}

.access-actions button:focus-visible,
.access-actions a:focus-visible {
  outline: 3px solid #f1aa36;
  outline-offset: 3px;
}

.access-spinner {
  width: 42px;
  height: 42px;
  margin: 0 0 28px;
  border: 4px solid #d8e8ef;
  border-top-color: #1680ad;
  border-radius: 50%;
  animation: access-spin 0.8s linear infinite;
}

@keyframes access-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .access-spinner { animation-duration: 1.8s; }
}
