/* AIready, coming soon holding page + passcode unlock */

/* Full-bleed: escape the shared .page/.wrap shell on the gate screens */
body.gate-page {
  background: #121212;
}
body.gate-page .page,
body.gate-page .wrap {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.soon-page {
  --soon-ink: #121212;
  --soon-lime: #dfff5c;
  --soon-paper: #f5f5f3;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 40px clamp(20px, 6vw, 72px) 36px;
  background: radial-gradient(120% 90% at 15% 0%, #1d1d1a 0%, var(--soon-ink) 58%);
  color: var(--soon-paper);
}

/* Static aerial backdrop + green/dark tint */
.soon-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--soon-ink);
}
.soon-bg-still {
  position: absolute;
  inset: 0;
  background-position: 50% 40%;
  background-size: cover;
  opacity: 0.55;
  filter: grayscale(0.35) contrast(1.05);
}
.soon-bg-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 16% 4%, rgba(223, 255, 92, 0.22) 0%, rgba(223, 255, 92, 0) 62%),
    radial-gradient(65% 55% at 88% 96%, rgba(120, 220, 150, 0.12) 0%, rgba(18, 18, 18, 0) 72%),
    linear-gradient(180deg, rgba(14, 18, 14, 0.78) 0%, rgba(16, 20, 16, 0.7) 45%, rgba(10, 12, 10, 0.88) 100%);
}

@media (max-width: 720px) {
  .soon-bg-still {
    background-position: 55% 45%;
    background-size: 180% auto;
    opacity: 0.42;
  }
  .soon-bg-wash {
    background:
      radial-gradient(90% 45% at 20% 2%, rgba(223, 255, 92, 0.2) 0%, rgba(223, 255, 92, 0) 60%),
      linear-gradient(180deg, rgba(14, 18, 14, 0.86) 0%, rgba(12, 15, 12, 0.8) 45%, rgba(10, 12, 10, 0.94) 100%);
  }
}

.soon-top,
.soon-main,
.soon-foot {
  position: relative;
  z-index: 1;
}

.soon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.soon-brand {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--soon-paper);
  text-decoration: none;
  font-weight: 500;
}
.soon-brand b {
  font-weight: 700;
  color: var(--soon-lime);
}

.soon-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245, 245, 243, 0.55);
}

.soon-main {
  max-width: 940px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.soon-eyebrow {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(223, 255, 92, 0.35);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soon-lime);
  margin-bottom: 26px;
}

.soon-main h1 {
  font-size: clamp(38px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 600;
}
.soon-main h1 em {
  font-style: normal;
  color: var(--soon-lime);
}

.soon-lede {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  color: rgba(245, 245, 243, 0.72);
  max-width: 620px;
  margin: 0 auto 42px;
}

.soon-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 18px);
  max-width: 720px;
  margin: 0 auto 40px;
}

.soon-unit {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  padding: clamp(16px, 3vw, 26px) 8px clamp(14px, 2vw, 20px);
}
.soon-unit strong {
  display: block;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.soon-unit span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 243, 0.5);
}
.soon-live .soon-unit strong {
  color: var(--soon-lime);
}

.soon-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.soon-form input {
  flex: 1 1 260px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--soon-paper);
  font: inherit;
  font-size: 15px;
}
.soon-form input::placeholder {
  color: rgba(245, 245, 243, 0.42);
}
.soon-form input:focus {
  outline: 2px solid rgba(223, 255, 92, 0.55);
  outline-offset: 2px;
}
.soon-form button {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  background: var(--soon-lime);
  color: #14160c;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.soon-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.soon-note {
  margin: 16px auto 0;
  font-size: 14px;
  color: rgba(245, 245, 243, 0.62);
  max-width: 520px;
}
.soon-note.is-good {
  color: var(--soon-lime);
}

.soon-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(245, 245, 243, 0.45);
}
.soon-foot a {
  color: rgba(245, 245, 243, 0.62);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 245, 243, 0.22);
  padding-bottom: 2px;
}
.soon-foot a:hover {
  color: var(--soon-lime);
  border-color: var(--soon-lime);
}

/* Unlock screen */
.footer-lock {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 12px;
  opacity: 0.45;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.footer-lock:hover {
  opacity: 0.85;
}

.unlock-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: #121212;
  color: #f5f5f3;
}
.unlock-card {
  width: min(420px, 100%);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  padding: 34px;
  text-align: center;
}
.unlock-card h1 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 18px 0 8px;
  font-weight: 600;
}
.unlock-card p {
  margin: 0 0 22px;
  font-size: 15px;
  color: rgba(245, 245, 243, 0.66);
}
.unlock-card form {
  display: grid;
  gap: 12px;
}
.unlock-card input {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f5f3;
  font: inherit;
  font-size: 15px;
}
.unlock-card button {
  min-height: 52px;
  border-radius: 16px;
  border: 0;
  background: #dfff5c;
  color: #14160c;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.unlock-error {
  margin-top: 16px;
  font-size: 14px;
  color: #ff9f9f;
}
.unlock-back {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(245, 245, 243, 0.5);
  text-decoration: none;
}

@media (max-width: 560px) {
  .soon-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .soon-tag {
    display: none;
  }
}