/* VETTED — pre-launch gate. Self-contained: no dependency on v2.css or app.css
   internals, so the same two files drop into both Pages projects unchanged.
   Bright white on dark throughout — no grey text anywhere. */

.lg-bar {
  background: #0A1020;
  color: #FAFAF7;
  border-bottom: 1px solid rgba(250, 250, 247, .16);
  font: 800 13.5px/1.35 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.01em;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.lg-bar b { color: #C9FF45; font-weight: 900; }
.lg-bar button {
  font: 900 12.5px/1 Inter, -apple-system, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #C9FF45;
  color: #0A1020;
  border: 0;
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  white-space: nowrap;
}
.lg-bar button:hover { background: #d7ff6d; }

/* ---------- modal ---------- */
.lg-veil {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 17, .78);
  backdrop-filter: blur(3px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lg-veil[hidden] { display: none !important; }

.lg-box {
  background: #0A1020;
  color: #FAFAF7;
  border: 1px solid rgba(250, 250, 247, .18);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px 24px 22px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  text-wrap: pretty;
}
.lg-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(250, 250, 247, .22);
  background: transparent;
  color: #FAFAF7;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.lg-x:hover { background: rgba(250, 250, 247, .1); }

.lg-kick {
  display: inline-block;
  background: #FAFAF7;
  color: #0A1020;
  font: 900 10.5px/1 Inter, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 11px;
  margin-bottom: 13px;
}
.lg-box h2 {
  margin: 0 0 8px;
  font: 900 25px/1.12 Inter, sans-serif;
  letter-spacing: -.028em;
  color: #FAFAF7;
  text-wrap: balance;
}
.lg-box .lg-sub {
  margin: 0 0 17px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #FAFAF7;
}

.lg-roles { display: flex; gap: 8px; margin-bottom: 14px; }
.lg-roles button {
  flex: 1;
  font: 800 12.5px/1.25 Inter, sans-serif;
  letter-spacing: -.005em;
  padding: 10px 8px;
  border-radius: 11px;
  border: 1px solid rgba(250, 250, 247, .26);
  background: transparent;
  color: #FAFAF7;
  cursor: pointer;
}
.lg-roles button[aria-pressed="true"] {
  background: #C9FF45;
  border-color: #C9FF45;
  color: #0A1020;
  font-weight: 900;
}

.lg-box input {
  width: 100%;
  box-sizing: border-box;
  font: 500 15px/1.3 Inter, sans-serif;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(250, 250, 247, .3);
  background: rgba(250, 250, 247, .06);
  color: #FAFAF7;
  margin-bottom: 9px;
}
.lg-box input::placeholder { color: rgba(250, 250, 247, .62); }
.lg-box input:focus { outline: 2px solid #C9FF45; outline-offset: 1px; }

.lg-go {
  width: 100%;
  font: 900 13.5px/1 Inter, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #C9FF45;
  color: #0A1020;
  border: 0;
  border-radius: 999px;
  padding: 15px;
  cursor: pointer;
  margin-top: 5px;
}
.lg-go:hover { background: #d7ff6d; }
.lg-go[disabled] { opacity: .6; cursor: default; }

.lg-fine {
  margin: 11px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #FAFAF7;
  text-align: center;
}
.lg-err {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #FF9A8B;
  min-height: 1px;
}
.lg-done { text-align: center; padding: 8px 0 4px; }
.lg-done .lg-tick {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #C9FF45;
  color: #0A1020;
  font-size: 27px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

/* ---------- inline panel (used on /apply) ---------- */
.lg-panel {
  background: #0A1020;
  color: #FAFAF7;
  border: 1px solid rgba(250, 250, 247, .18);
  border-radius: 20px;
  padding: 30px 26px;
  max-width: 560px;
  margin: 0 auto;
  font-family: Inter, -apple-system, sans-serif;
  text-wrap: pretty;
}
.lg-panel h2 { font-size: 27px; }

@media (max-width: 520px) {
  .lg-box { padding: 22px 18px 18px; border-radius: 15px; }
  .lg-box h2 { font-size: 21px; }
  .lg-roles { flex-direction: column; }
  .lg-bar { font-size: 12.5px; padding: 9px 14px; gap: 9px; }
}

/* The apply page's progress rail and flow card are display:flex/block, which beat
   the bare [hidden] attribute — the gate has to win. Scoped, never global: a
   blanket [hidden] rule would reach every other component on both properties. */
#prog[hidden], .flowcard[hidden], [data-launch-hidden] { display: none !important; }
