/* Preloaded fonts get the first paint; a slow download must not reflow visible text. */
@font-face {
  font-family: 'Polymath Waitlist';
  src: url('/fonts/PolymathTextDemo-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'Polymath Waitlist';
  src: url('/fonts/PolymathTextDemo-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
.page-waitlist {
  font-family: 'Polymath Waitlist', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
  background: #050505;
}
.page-waitlist::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,5,.3), #050505 94%), linear-gradient(90deg, rgba(5,5,5,.8), rgba(5,5,5,.5)), url('/pitch/amber-video-poster.jpg') center / cover;
  opacity: .7;
}
.waitlist-header {
  position: relative;
  padding: 30px 24px;
  text-align: center;
}
.waitlist-brand {
  color: #f4f0e8;
  font-size: .65rem;
  font-weight: 100;
  letter-spacing: .24em;
  text-decoration: none;
  text-transform: uppercase;
}
.waitlist-main {
  position: relative;
  width: min(100% - 48px, 460px);
  margin: clamp(36px, 8vh, 90px) auto 40px;
}
.waitlist-heading {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.18;
  font-weight: 100;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-wrap: balance;
}
.waitlist-copy {
  margin: 0 auto 36px;
  max-width: 410px;
  text-align: center;
  color: #b8b2a7;
  font-size: .85rem;
  font-weight: 100;
  line-height: 1.9;
}
.waitlist-form { display: grid; gap: 24px; }
.waitlist-field { display: grid; gap: 6px; }
.waitlist-field span {
  color: #b8b2a7;
  font-size: .62rem;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.waitlist-field input {
  appearance: none;
  width: 100%;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #49443a;
  background: transparent;
  color: #f4f0e8;
  font: inherit;
  font-weight: 100;
  outline: none;
  transition: border-color 180ms ease;
}
.waitlist-field input:focus { border-bottom-color: #c8943e; }
.waitlist-field input:-webkit-autofill {
  -webkit-text-fill-color: #f4f0e8;
  box-shadow: 0 0 0 100px #0b0a08 inset;
}
.waitlist-form .hero-cta { font-family: inherit; width: 100%; margin-top: 6px; padding: 17px 20px; font-size: .75rem; }
.waitlist-form .hero-cta:disabled { opacity: .5; cursor: wait; }
.waitlist-form[hidden] { display: none; }
.waitlist-result { color: #e0ad50; font-size: .85rem; line-height: 1.8; text-align: center; }
.waitlist-back { display: block; width: fit-content; margin: 28px auto 0; color: #938d82; font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; padding: 8px; }
.waitlist-back:hover { color: #f4f0e8; }
@media (max-width: 480px) {
  .waitlist-header { padding: 26px 20px; }
  .waitlist-main { margin-top: 35px; }
  .waitlist-copy { margin-bottom: 28px; }
  .waitlist-form { gap: 20px; }
}
.waitlist-copy, .waitlist-field span { font-weight: 400; }
.waitlist-form .hero-cta { font-weight: 400; }
.waitlist-brand, .waitlist-back { color: #b8b2a7; }
