/* Logged-out landing gate — shown instead of the app shell when there's no Auth0 session.
   Same screen serves both the pre-login landing and the post-logout landing (Auth0's
   logoutParams.returnTo points back at this origin). See gate.js. Prefixed --gate-* custom
   properties to avoid colliding with styles-v2.css's own --ink/--slate/--blue. */
:root {
  --gate-ink:   rgb(8, 24, 44);
  --gate-ink-2: rgb(12, 35, 64);
  --gate-slate: rgb(57, 70, 86);
  --gate-blue:  #0085ca;
}

#logged-out-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eef0f2;
  font-family: "Lexend", system-ui, sans-serif;
}

.gate-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 20%, rgba(0, 133, 202, 0.16) 0%, rgba(0, 133, 202, 0) 55%),
    linear-gradient(160deg, #dfe4ea 0%, #eef0f2 40%, #e4e8ec 100%);
  filter: blur(26px);
  transform: scale(1.06);
}

.gate-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(8, 24, 44, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(8, 24, 44, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}

.gate-bg-radar {
  position: absolute;
  top: -220px; right: -220px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(0, 133, 202, 0.28) 0 1px, transparent 1px 84px);
}
.gate-bg-radar.r2 {
  top: auto; right: auto;
  bottom: -260px; left: -260px;
  width: 560px; height: 560px;
  background: repeating-radial-gradient(circle, rgba(8, 24, 44, 0.16) 0 1px, transparent 1px 70px);
}

.gate-card {
  position: relative;
  z-index: 1;
  width: 420px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 40px 40px 36px;
  text-align: center;
  box-shadow: 0 40px 90px rgba(8, 24, 44, 0.16);
}

.gate-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.gate-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--gate-ink);
  color: #f3f5f8;
  display: grid;
  place-items: center;
}
.gate-mark svg { width: 18px; height: 18px; }

.gate-wordmark {
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--gate-ink);
}
.gate-wordmark em { font-style: normal; color: var(--gate-blue); }

.gate-product {
  font-size: 16px;
  font-weight: 600;
  color: var(--gate-slate);
  margin-bottom: 28px;
}

.gate-btn {
  width: 100%; height: 54px;
  border-radius: 27px;
  border: none;
  background: var(--gate-ink-2);
  color: #fff;
  font-family: "Lexend", sans-serif;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease;
}
.gate-btn:hover  { background: var(--gate-ink); transform: translateY(-1px); }
.gate-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.gate-btn svg { width: 17px; height: 17px; }
