html.professional-gate-pending,
html.professional-gate-pending body {
  min-height: 100%;
  overflow: hidden;
}

html.professional-gate-pending body > :not(.professional-gate) {
  visibility: hidden;
}

.professional-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: #f4f8fd;
  color: #12172f;
  padding: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.professional-gate::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(16, 48, 176, 0.1), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(244, 248, 253, 0.94));
  content: "";
}

.professional-gate-card {
  position: relative;
  width: min(680px, 100%);
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(18, 32, 78, 0.18);
  padding: 32px;
}

.professional-gate-logo {
  display: block;
  width: min(250px, 64vw);
  height: auto;
  margin-bottom: 28px;
}

.professional-gate-kicker {
  margin-bottom: 9px;
  color: #1030b0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.professional-gate h1 {
  margin: 0;
  color: #101030;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
}

.professional-gate p {
  margin: 14px 0 0;
  color: #58677e;
  font-size: 15px;
  line-height: 1.62;
}

.professional-gate-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin-top: 22px;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  background: #f4f8fd;
  padding: 15px;
  color: #12172f;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.5;
}

.professional-gate-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #1030b0;
}

.professional-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.professional-gate-button,
.professional-gate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
}

.professional-gate-button {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #1030b0, #2038c7);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(16, 48, 176, 0.23);
}

.professional-gate-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.professional-gate-link {
  border: 1px solid rgba(16, 48, 176, 0.28);
  background: #ffffff;
  color: #1030b0;
}

.professional-gate-note {
  margin-top: 18px;
  color: #58677e;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .professional-gate {
    padding: 14px;
  }

  .professional-gate-card {
    padding: 23px;
  }

  .professional-gate-actions {
    display: grid;
  }
}
