* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #10202b;
  --muted: #647782;
  --line: rgba(158, 190, 202, 0.45);
  --blue: #74bbff;
  --deep: #425566;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 58%, rgba(104, 184, 255, 0.3), transparent 30%),
    radial-gradient(circle at 70% 35%, rgba(172, 212, 255, 0.28), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #eef8ff 46%, #f9fbfd 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.waitlist-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 118px 20px 42px;
  isolation: isolate;
}

.waitlist-orbit {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.waitlist-orbit span {
  position: absolute;
  left: -18vw;
  top: 44%;
  width: 92vw;
  height: 18vh;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(83, 170, 255, 0.32), rgba(196, 226, 255, 0.16), transparent);
  filter: blur(18px);
  transform: rotate(-8deg);
  animation: beam 9s ease-in-out infinite alternate;
}

.waitlist-orbit span:nth-child(2) {
  top: 52%;
  left: -22vw;
  opacity: 0.75;
  transform: rotate(-2deg);
  animation-delay: -2s;
}

.waitlist-orbit span:nth-child(3) {
  top: 36%;
  opacity: 0.56;
  transform: rotate(6deg);
  animation-delay: -4s;
}

@keyframes beam {
  from {
    translate: -2vw 0;
  }
  to {
    translate: 8vw -3vh;
  }
}

.waitlist-nav {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(48, 80, 94, 0.12);
  backdrop-filter: blur(18px);
}

.waitlist-nav strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.waitlist-nav strong img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.waitlist-nav span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.waitlist-card {
  position: relative;
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 34px 95px rgba(33, 72, 89, 0.16);
  backdrop-filter: blur(24px);
  padding: clamp(24px, 4vw, 38px);
}

.waitlist-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent 46%, rgba(118, 190, 255, 0.12));
  pointer-events: none;
}

.waitlist-copy,
.waitlist-form,
.waitlist-success {
  position: relative;
  z-index: 1;
}

.waitlist-copy {
  text-align: center;
  margin-bottom: 28px;
}

.waitlist-copy p {
  margin: 0 0 12px;
  color: #497f9a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.waitlist-copy h1 {
  margin: 0;
  color: #243444;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.02em;
}

.waitlist-copy span {
  display: block;
  width: min(560px, 100%);
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.waitlist-form {
  display: grid;
  gap: 18px;
}

.waitlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.waitlist-wide {
  grid-column: 1 / -1;
}

.waitlist-form label {
  display: grid;
  gap: 8px;
  color: #263746;
  font-size: 14px;
  font-weight: 850;
}

.waitlist-form label b {
  color: #0b6f91;
}

.waitlist-form input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(142, 174, 187, 0.5);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  color: #162735;
  padding: 0 15px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.waitlist-form input:focus {
  border-color: rgba(91, 168, 224, 0.82);
  box-shadow: 0 0 0 4px rgba(100, 179, 235, 0.18);
}

.waitlist-error {
  min-height: 22px;
  margin: 0;
  color: #b3261e;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.waitlist-form button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, #596a76, #2f414f);
  color: #fff;
  box-shadow: 0 18px 42px rgba(60, 95, 115, 0.22);
  font-weight: 900;
  cursor: pointer;
}

.waitlist-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.waitlist-success {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: 16px 0 4px;
}

.waitlist-success div {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e7f8ee;
  color: #15924a;
  font-size: 34px;
  font-weight: 900;
}

.waitlist-success h2,
.waitlist-success p {
  margin: 0;
}

.waitlist-success p {
  color: var(--muted);
  line-height: 1.5;
}

.is-hidden {
  display: none !important;
}

.waitlist-footnote {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.waitlist-footnote div {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  padding: 16px 18px;
  backdrop-filter: blur(16px);
}

.waitlist-footnote strong {
  font-size: 22px;
}

.waitlist-footnote span {
  color: var(--muted);
  line-height: 1.35;
  font-weight: 720;
}

@media (max-width: 680px) {
  .waitlist-page {
    place-items: start center;
    padding-top: 96px;
  }

  .waitlist-nav {
    width: calc(100% - 28px);
    justify-content: space-between;
  }

  .waitlist-grid,
  .waitlist-footnote {
    grid-template-columns: 1fr;
  }

  .waitlist-copy {
    text-align: left;
  }

  .waitlist-copy span {
    margin-left: 0;
  }
}
