.readiness-gate {
  background: #08120f;
  inset: 0;
  overflow: hidden;
  position: fixed;
  z-index: 9999;
}
.readiness-gate.hidden { display: none; }
.readiness-gate-backdrop {
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}
.readiness-gate-backdrop video {
  filter: saturate(1.05) contrast(1.04);
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  width: 100%;
}
.readiness-gate-backdrop .readiness-demo-motion {
  height: 100%;
  min-height: 100%;
  opacity: 0.36;
  transform: scale(1.08);
}
.readiness-gate-backdrop::after {
  background: linear-gradient(180deg, rgba(8, 18, 15, 0.35), rgba(8, 18, 15, 0.92));
  content: "";
  inset: 0;
  position: absolute;
}
.readiness-gate-layer {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  overflow-y: auto;
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px));
  place-items: center;
  position: absolute;
  z-index: 2;
}
.readiness-gate-layer.hidden { display: none !important; }
.readiness-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d5e3dc;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  max-width: 480px;
  overflow: hidden;
  width: calc(100% - 44px);
}
.readiness-panel.compact { padding: 22px; }
.readiness-panel.hidden { display: none; }
.readiness-hero {
  background: #08120f;
  border-bottom: 1px solid #d5e3dc;
  line-height: 0;
  position: relative;
}
.readiness-hero video,
.readiness-hero img {
  display: block;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  width: 100%;
}
.readiness-demo-motion {
  align-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(30, 132, 164, 0.26), transparent 24%),
    linear-gradient(180deg, #020605 0%, #000 62%, #020605 100%);
  color: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  justify-content: center;
  min-height: 214px;
  overflow: hidden;
  padding: 26px 18px;
  position: relative;
  width: 100%;
}
.readiness-demo-motion::before {
  animation: readinessPulse 3.8s ease-in-out infinite;
  background: radial-gradient(circle, rgba(61, 207, 230, 0.22), transparent 64%);
  content: "";
  height: 300px;
  left: 50%;
  position: absolute;
  top: 34%;
  transform: translate(-50%, -50%);
  width: 300px;
}
.readiness-demo-phone {
  align-items: stretch;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 38px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 48px rgba(0, 0, 0, 0.35);
  display: grid;
  height: min(36vw, 190px);
  max-height: 190px;
  max-width: 560px;
  min-height: 128px;
  overflow: hidden;
  padding: 10px 18px;
  position: relative;
  width: min(82%, 560px);
  z-index: 1;
}
.readiness-demo-bars {
  animation: readinessBars 2.8s linear infinite;
  background: repeating-linear-gradient(90deg, #ffffff 0 46px, #020605 46px 88px);
  border-radius: 28px;
  opacity: 0.98;
}
.readiness-demo-eye {
  animation: readinessEye 2.8s ease-in-out infinite;
  align-items: center;
  background: #eef8ff;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(105, 212, 255, 0.82);
  display: flex;
  height: 38px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  z-index: 2;
}
.readiness-demo-eye::before {
  background: #1e92d6;
  border: 4px solid #111a22;
  border-radius: 50%;
  content: "";
  height: 18px;
  width: 18px;
}
.readiness-demo-dots {
  align-items: center;
  display: flex;
  gap: 6px;
  left: calc(50% + 28px);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.readiness-demo-dots span {
  animation: readinessDot 1.8s ease-in-out infinite;
  background: #70d9ff;
  border-radius: 50%;
  height: 10px;
  opacity: 0.42;
  width: 10px;
}
.readiness-demo-dots span:nth-child(2) { animation-delay: 0.18s; }
.readiness-demo-dots span:nth-child(3) { animation-delay: 0.36s; }
.readiness-demo-copy {
  position: relative;
  text-align: center;
  z-index: 1;
}
.readiness-demo-copy strong,
.readiness-demo-copy span {
  display: block;
}
.readiness-demo-copy strong {
  color: #ffffff;
  font-size: clamp(1.02rem, 3vw, 1.78rem);
  font-weight: 850;
  line-height: 1.15;
}
.readiness-demo-copy span {
  color: #63d8ff;
  font-size: clamp(0.78rem, 1.75vw, 1.02rem);
  font-weight: 760;
  line-height: 1.3;
  margin-top: 5px;
}
@keyframes readinessPulse {
  0%, 100% { opacity: 0.48; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes readinessBars {
  0% { background-position-x: 0; }
  100% { background-position-x: 88px; }
}
@keyframes readinessEye {
  0%, 100% { margin-left: -72px; }
  50% { margin-left: 72px; }
}
@keyframes readinessDot {
  0%, 100% { opacity: 0.24; transform: scale(0.85); }
  50% { opacity: 0.85; transform: scale(1); }
}
.readiness-hero-badge {
  background: rgba(8, 18, 15, 0.78);
  border: 1px solid rgba(13, 110, 110, 0.35);
  border-radius: 999px;
  color: #9fe8d8;
  font-size: 0.66rem;
  font-weight: 700;
  left: 12px;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  position: absolute;
  top: 12px;
  text-transform: uppercase;
}
.readiness-body { padding: 20px 22px 22px; }
.readiness-body h2 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.readiness-body .lead-copy {
  color: #5a6b62;
  font-size: 0.86rem;
  margin: 0 0 14px;
}
.readiness-panel label {
  color: #5a6b62;
  display: grid;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 6px;
  margin-bottom: 10px;
}
.readiness-panel input,
.readiness-panel select {
  border: 1px solid #d5e3dc;
  border-radius: 6px;
  font: inherit;
  padding: 10px 11px;
  width: 100%;
}
.readiness-btn {
  background: #0d6e6e;
  border: 1px solid #0d6e6e;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 780;
  padding: 12px 16px;
  width: 100%;
}
.readiness-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.readiness-trust {
  color: #5a6b62;
  font-size: 0.72rem;
  margin-top: 12px;
}
.readiness-scan {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  height: 100%;
  inset: 0;
  justify-content: center;
  position: absolute;
  width: 100%;
}
.readiness-scan[hidden] { display: none !important; }
.readiness-scan-stage {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.readiness-scan-video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.readiness-scan-stage::after {
  background:
    linear-gradient(180deg, rgba(8, 18, 15, 0.82), rgba(8, 18, 15, 0.24) 34%, transparent 52%),
    linear-gradient(180deg, transparent 42%, rgba(8, 18, 15, 0.36) 72%, rgba(8, 18, 15, 0.84));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.readiness-scan-stage.running::before {
  animation: readinessSweep 2.1s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 110, 0.55), transparent);
  content: "";
  height: 100%;
  left: -45%;
  position: absolute;
  top: 0;
  width: 38%;
  z-index: 2;
}
@keyframes readinessSweep {
  0% { left: -45%; }
  100% { left: 105%; }
}
.readiness-scan-caption {
  color: #f8fafc;
  font-family: Arial, Helvetica, sans-serif;
  left: 0;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 22px 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  z-index: 3;
}
.readiness-scan-caption .readiness-scan-label {
  align-items: center;
  background: #e7fffb;
  border: 1px solid rgba(6, 63, 63, 0.18);
  border-radius: 999px;
  color: #063f3f;
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 8px;
  min-height: 32px;
  padding: 8px 18px;
  text-shadow: none;
  text-transform: none;
}
.readiness-scan-caption h2 {
  font-size: clamp(1.12rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0;
  margin: 6px 0 6px;
}
.readiness-scan-caption p {
  color: #b8d4c8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0 auto;
  max-width: 520px;
}
.readiness-scan-status {
  background: rgba(8, 18, 15, 0.78);
  border: 1px solid rgba(13, 110, 110, 0.35);
  border-radius: 999px;
  color: #9fe8d8;
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0;
  margin-top: 14px;
  padding: 8px 14px;
}
.readiness-scan-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
.readiness-scan-stage .eb-caption-rewrite { z-index: 4; }
@media (max-width: 560px) {
  .readiness-gate-layer {
    padding-left: 12px;
    padding-right: 12px;
  }
  .readiness-panel {
    width: calc(100% - 20px);
  }
  .readiness-scan-caption {
    padding-left: 16px;
    padding-right: 16px;
  }
  .readiness-scan-caption .readiness-scan-label {
    font-size: 0.82rem;
    min-height: 30px;
    padding: 7px 16px;
  }
  .readiness-scan-caption h2 { font-size: 1.08rem; }
  .readiness-scan-caption p { font-size: 0.76rem; }
  .readiness-scan-caption .readiness-trust { display: none; }
}
body.gate-locked { overflow: hidden; }
body.gate-locked .site-shell { filter: blur(6px); pointer-events: none; user-select: none; }
