/* Scoped to the opt-in form. The existing page is unchanged while it is off. */
.ar-waitlist {
  margin-top: 26px;
  scroll-margin-top: 28px;
  outline: none;
}
.ar-waitlist [hidden] { display: none !important; }
.ar-waitlist-fields {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.ar-waitlist-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font: 600 14px/1.5 var(--body);
  min-width: 0;
}
.ar-waitlist-field span {
  color: var(--muted);
  font-weight: 400;
}
.ar-waitlist-field input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #8b9c90;
  border-radius: 12px;
  padding: 12px 15px;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--body);
  transition: border-color .2s, box-shadow .2s;
}
.ar-waitlist-field input:focus-visible {
  outline: 2px solid #6550a0;
  outline-offset: 3px;
  border-color: #6550a0;
}
.ar-waitlist-field input[aria-invalid="true"] { border-color: #922f3e; }
.ar-waitlist-error {
  color: #922f3e;
  font: 400 14px/1.5 var(--body);
}
.ar-waitlist form .ar-waitlist-submit {
  width: 100%;
  margin-top: 24px;
  border: 0;
  font-family: var(--body);
  cursor: pointer;
}
.ar-waitlist-submit:focus-visible {
  outline: 2px solid #6550a0;
  outline-offset: 4px;
}
.ar-waitlist-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.ar-waitlist .ar-waitlist-note {
  margin-top: 13px;
  color: var(--muted);
  font: 400 13px/1.6 var(--body);
}
.ar-waitlist .ar-waitlist-feedback { margin-top: 16px; }
.ar-waitlist-trap {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ar-waitlist-thanks {
  border-radius: 20px;
  padding: clamp(24px, 4vw, 34px);
  background: var(--lilac);
  color: var(--forest);
}
.ar-waitlist-thanks:focus { outline: 2px solid #6550a0; outline-offset: 5px; }
.ar-waitlist-thanks h4 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
}
.ar-waitlist-thanks p { margin-top: 14px; font-size: 16px; }
