html.demo-gate-pending body {
  overflow: hidden;
}

#demo-gate {
  position: fixed;
  inset: 0;
  z-index: 20000;
  overflow: auto;
  background: #07111f;
  color: #eaf2ff;
  font-family: Montserrat, Arial, sans-serif;
}

#demo-gate[hidden] {
  display: none;
}

.demo-gate-shell {
  width: min(1534px, calc(100% - 32px));
  min-height: 100%;
  margin: 0 auto;
  padding: 42px 0;
}

.demo-gate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.demo-gate-kicker {
  margin: 0 0 8px;
  color: #45d9d1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.demo-gate-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
}

.demo-gate-title img {
  display: block;
  width: min(364px, 75.4vw);
  height: auto;
}

.demo-gate-copy {
  max-width: 884px;
  margin: 21px 0 0;
  color: #a9bfdc;
  font-size: 20.8px;
  line-height: 1.6;
}

.demo-gate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: 26px;
  align-items: stretch;
}

.demo-gate-card {
  overflow: hidden;
  border: 1px solid #244160;
  border-radius: 8px;
  background: #0d1c30;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.demo-gate-card img {
  display: block;
  width: 100%;
  height: 390px;
  aspect-ratio: auto;
  object-fit: contain;
  background: #081525;
}

.demo-gate-card:nth-child(2) img {
  width: 100%;
  margin: 0 auto;
}

.demo-gate-card-body {
  padding: 21px 23px 23px;
}

.demo-gate-card h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 22px;
}

.demo-gate-card p {
  margin: 0;
  color: #9bb2cf;
  font-size: 16.9px;
  line-height: 1.5;
}

.demo-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 31px;
}

.demo-gate-button {
  border: 0;
  border-radius: 6px;
  padding: 16px 29px;
  background: #45d9d1;
  color: #06141f;
  cursor: pointer;
  font: inherit;
  font-size: 18.2px;
  font-weight: 700;
}

.demo-gate-button:hover {
  background: #74ece4;
}

.demo-gate-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.demo-gate-link {
  border: 0;
  padding: 10px 0;
  background: transparent;
  color: #8fd9ff;
  cursor: pointer;
  font: inherit;
  font-size: 16.9px;
  text-decoration: underline;
}

.demo-gate-message {
  min-height: 26px;
  margin: 18px 0 0;
  color: #ffcf8a;
  font-size: 16.9px;
}

.demo-gate-dialog {
  width: min(420px, calc(100% - 32px));
  border: 1px solid #315071;
  border-radius: 8px;
  padding: 0;
  background: #0d1c30;
  color: #eaf2ff;
}

.demo-gate-dialog::backdrop {
  background: rgba(2, 8, 18, 0.78);
}

.demo-gate-dialog-content {
  padding: 24px;
}

.demo-gate-dialog h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.demo-gate-dialog p {
  margin: 0 0 18px;
  color: #a9bfdc;
  font-size: 13px;
  line-height: 1.5;
}

.demo-gate-dialog input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #41617f;
  border-radius: 5px;
  padding: 11px 12px;
  background: #07111f;
  color: #ffffff;
  font: inherit;
}

.demo-gate-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: #a9bfdc;
  font-size: 13px;
  line-height: 1.45;
}

.demo-gate-consent input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
}

.demo-gate-inline-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #8fd9ff;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.demo-gate-policy-dialog {
  width: min(760px, calc(100% - 32px));
}

.demo-gate-policy-content {
  max-height: min(55vh, 520px);
  overflow-y: auto;
  border: 1px solid #315071;
  border-radius: 5px;
  padding: 16px;
  background: #07111f;
  color: #d7e5f5;
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 13px;
  line-height: 1.55;
}

.demo-gate-policy-hint {
  margin: 12px 0 0;
  color: #ffcf8a;
  font-size: 13px;
}

.demo-gate-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.demo-gate-secondary-button {
  border: 1px solid #41617f;
  border-radius: 5px;
  padding: 10px 14px;
  background: transparent;
  color: #c3d6ee;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

@media (max-width: 760px) {
  .demo-gate-shell {
    padding: 24px 0 32px;
  }

  .demo-gate-header {
    display: block;
  }

  .demo-gate-grid {
    grid-template-columns: 1fr;
  }

  .demo-gate-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
