.waitlist-page {
  min-height: calc(100dvh - 64px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.waitlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .78fr);
  gap: 88px;
  align-items: center;
  padding-block: 72px;
}

.waitlist-copy h1 {
  max-width: 700px;
  margin: 22px 0;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: .98;
  letter-spacing: -.06em;
}

.waitlist-lede {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.waitlist-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 680px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.waitlist-notes p { margin: 0; }
.waitlist-notes strong { color: var(--white); }

.waitlist-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 0 55px rgba(125,255,214,.09);
  padding: 30px;
}

.waitlist-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 800; }
.field label span { color: var(--soft); font-weight: 500; float: right; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--black);
  color: var(--white);
  font: inherit;
  padding: 11px 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea { resize: vertical; min-height: 112px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(125,255,214,.12); }

.waitlist-submit { width: 100%; border: 0; cursor: pointer; font: inherit; }
.waitlist-submit:disabled { cursor: wait; opacity: .65; transform: none; }
.form-status { min-height: 24px; margin: -4px 0 0; font-size: 14px; font-weight: 700; }
.form-status[data-state="error"] { color: #ff9494; }
.form-status[data-state="success"] { color: var(--mint); }
.form-status[data-state="loading"] { color: var(--muted); }
.form-fineprint { margin: -8px 0 0; color: var(--soft); font-size: 12px; line-height: 1.6; }
.back-link { color: var(--muted); font-size: 14px; }

.waitlist-dialog {
  width: min(520px, calc(100% - 32px));
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .52);
}

.waitlist-dialog::backdrop {
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(4px);
}

.waitlist-dialog-content {
  display: grid;
  justify-items: start;
  padding: 40px;
}

.waitlist-dialog-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  background: rgba(125, 255, 214, .1);
  color: var(--mint);
  font-size: 20px;
  font-weight: 800;
}

.waitlist-dialog .eyebrow { margin: 0 0 12px; }

.waitlist-dialog h2 {
  margin: 0;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1;
  letter-spacing: -.045em;
}

.waitlist-dialog-content > p:not(.eyebrow) {
  max-width: 390px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.waitlist-dialog-close {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

@media (prefers-reduced-motion: no-preference) {
  .waitlist-dialog[open] { animation: waitlist-dialog-in .18s ease-out; }
  .waitlist-dialog[open]::backdrop { animation: waitlist-backdrop-in .18s ease-out; }
}

@keyframes waitlist-dialog-in {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes waitlist-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .waitlist-layout { grid-template-columns: 1fr; gap: 48px; padding-block: 64px; }
  .waitlist-panel { max-width: 620px; }
}

@media (max-width: 620px) {
  .waitlist-layout { padding-block: 48px; }
  .waitlist-copy h1 { font-size: 48px; }
  .waitlist-lede { font-size: 18px; }
  .waitlist-notes { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .waitlist-panel { padding: 22px; }
  .waitlist-dialog-content { padding: 28px 24px 24px; }
}
