/* Homepage recruitment card. Scoped, so the header, photos and motion stay as they are. */
.launch-recruit[hidden] { display: none !important; }

.launch-recruit {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain;
  font-family: Figtree, system-ui, sans-serif;
}

.launch-recruit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 44, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: launch-fade 0.28s ease-out both;
}

.launch-recruit-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  margin: auto;
  overflow: hidden;
  background: #fff;
  color: #0c1833;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(6, 18, 46, 0.42);
  animation: launch-rise 0.46s cubic-bezier(0.2, 0.9, 0.25, 1.1) both;
}

.launch-recruit-card:focus,
.launch-recruit .launch-recruit-card:focus-visible { outline: none; }

.launch-recruit-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}

.launch-recruit-close:hover { background: rgba(255, 255, 255, 0.3); }

.launch-recruit-hero {
  position: relative;
  padding: 34px 28px 26px;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(120, 170, 255, 0.55) 0%, rgba(120, 170, 255, 0) 60%),
    linear-gradient(160deg, #1b62e8 0%, #0f3fa8 100%);
  color: #fff;
}

.launch-recruit-kicker {
  display: inline-block;
  margin: 0 44px 14px 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.launch-recruit-hero h2 {
  margin: 0 0 22px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(1.75rem, 6.4vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.launch-clock-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 650;
}

.launch-clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.launch-clock-tile {
  min-width: 0;
  padding: 12px 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
}

.launch-clock-tile b {
  display: block;
  color: #fff;
  font-size: clamp(1.5rem, 6vw, 1.95rem);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.launch-clock-tile span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 600;
}

.launch-recruit-body { padding: 22px 28px 14px; }

.launch-recruit-body > p {
  margin: 0 0 16px;
  color: #46536b;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.launch-recruit-actions {
  display: grid;
  gap: 10px;
}

.launch-recruit-actions .btn {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  font-size: 1rem;
  text-decoration: none;
}

.launch-recruit-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 6px;
  color: #1b62e8;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.launch-recruit-preview:hover { text-decoration: underline; text-underline-offset: 3px; }

.launch-recruit-never {
  display: block;
  min-height: 44px;
  margin: 4px auto 0;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #5b6880;
  font: 550 0.85rem/1 Figtree, system-ui, sans-serif;
  cursor: pointer;
}

.launch-recruit-never:hover { color: #0c1833; text-decoration: underline; text-underline-offset: 3px; }

.launch-recruit :focus-visible {
  outline: 3px solid #8ab4ff;
  outline-offset: 3px;
}

html.launch-recruit-open { overflow: hidden; }

/* A short phone keeps the countdown and both buttons on screen together. */
@media (max-height: 680px) {
  .launch-recruit { padding: 10px; }
  .launch-recruit-hero { padding: 20px 20px 18px; }
  .launch-recruit-kicker { margin-bottom: 10px; }
  .launch-recruit-hero h2 { margin-bottom: 12px; font-size: 1.5rem; }
  .launch-clock-label { margin-bottom: 6px; }
  .launch-recruit-preview { margin-top: 2px; min-height: 40px; }
  .launch-clock-tile { padding: 9px 2px 7px; }
  .launch-clock-tile b { font-size: 1.35rem; }
  .launch-recruit-body { padding: 14px 20px 6px; }
  .launch-recruit-body > p { margin-bottom: 10px; font-size: 0.92rem; }
  .launch-recruit-actions { gap: 8px; }
  .launch-recruit-actions .btn { min-height: 44px; }
  .launch-recruit-never { margin-top: 0; }
}

@keyframes launch-fade { from { opacity: 0; } }
@keyframes launch-rise { from { opacity: 0; transform: translateY(26px) scale(0.96); } }

@media (prefers-reduced-motion: reduce) {
  .launch-recruit,
  .launch-recruit * {
    animation: none !important;
    transition: none !important;
  }
}
