:root {
  --paper: #f3f0e7;
  --ink: #2f3730;
  --muted: #6d756d;
  --rust: #b5573f;
  --green: #415044;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(53, 61, 53, .16) 1.5px, transparent 1.6px);
  background-size: 42px 42px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

body { min-height: 100vh; min-height: 100dvh; }
a, button, input, textarea { font: inherit; }

.waitlist-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 20px 28px 54px;
  overflow: hidden;
}

.waitlist-header { display: flex; align-items: center; justify-content: space-between; }
.waitlist-brand { color: var(--rust); font-size: 19px; line-height: 1; text-decoration: none; }
.waitlist-brand img { display: block; width: 96px; height: 34px; object-fit: contain; object-position: center; border-radius: 3px; }
.back-link { color: #4c574e; font-size: 13px; font-weight: 700; text-decoration: none; }
.back-link span { color: var(--rust); padding-left: 4px; }

.waitlist-panel {
  width: min(100%, 760px);
  margin: clamp(62px, 10vh, 104px) auto 0;
  text-align: center;
}

.waitlist-kicker {
  display: inline-block;
  margin: 0 0 13px;
  color: var(--rust);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 16px;
  font-weight: 700;
  transform: rotate(-2deg);
}

.waitlist-title {
  margin: 0;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(37px, 5.8vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.06em;
}
.waitlist-title em { position: relative; color: var(--rust); font-style: normal; }
.waitlist-title em::after {
  content: "";
  position: absolute;
  left: 3%;
  right: -2%;
  bottom: -5px;
  height: 5px;
  border-top: 3px solid var(--rust);
  border-radius: 50%;
  transform: rotate(-1deg);
  opacity: .72;
}

.waitlist-copy {
  max-width: 56ch;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.waitlist-form { width: min(100%, 650px); margin: 34px auto 0; }
.waitlist-inline-input {
  display: inline-flex;
  max-width: 86vw;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.waitlist-inline-input input {
  width: min(520px, 72vw);
  min-width: 0;
  padding: 7px 2px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.035em;
  text-align: center;
}
.waitlist-inline-input input::placeholder { color: rgba(58, 64, 58, .48); }
.waitlist-inline-input button {
  padding: 5px 0;
  border: 0;
  color: var(--rust);
  background: transparent;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 29px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease;
}
.waitlist-inline-input button:hover { transform: translateX(4px); }
.waitlist-skip {
  display: block;
  margin: 10px auto 0;
  padding: 4px;
  border: 0;
  color: #7c837c;
  background: transparent;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 12px;
  cursor: pointer;
}
.waitlist-field { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.waitlist-field > span {
  color: #566058;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .02em;
}
.waitlist-field small { color: #8b908a; font-size: inherit; font-weight: 500; }

.waitlist-field input, .waitlist-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(63, 78, 66, .3);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  transition: border-color 180ms ease;
}
.waitlist-field input:focus, .waitlist-field textarea:focus { border-color: var(--rust); }
.waitlist-field input::placeholder, .waitlist-field textarea::placeholder { color: rgba(69, 78, 70, .42); }
.waitlist-field input { min-height: 43px; padding: 5px 2px 8px; }

.waitlist-field--thought {
  align-items: center;
  padding: 8px 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.waitlist-field--thought > span {
  color: var(--green);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 16px;
  letter-spacing: -.035em;
  text-align: center;
}
.waitlist-field textarea {
  width: min(100%, 560px);
  min-height: 72px;
  padding: 8px 2px 4px;
  border-bottom: 0;
  resize: none;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 23px;
  line-height: 1.35;
  text-align: center;
}

.waitlist-person { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; }
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  padding: 9px 2px;
  border: 0;
  color: var(--green);
  background: transparent;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 19px;
  font-weight: 750;
  cursor: pointer;
}
.primary-button span { color: var(--rust); font-size: 25px; transition: transform 180ms ease; }
.primary-button:hover:not(:disabled) span { transform: translateX(5px); }
.primary-button:disabled { opacity: .55; cursor: wait; }

.waitlist-status { min-height: 20px; margin: 3px 0 0; color: #9b3f31; font-size: 13px; }
.waitlist-note { margin: 10px 0 0; color: #8a9089; font-size: 12px; }

.waitlist-success {
  display: flex;
  width: min(100%, 580px);
  margin: 54px auto 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-family: "Segoe Print", "Bradley Hand", cursive;
}
.waitlist-success strong { color: var(--rust); font-size: clamp(44px, 7vw, 68px); line-height: 1; }
.waitlist-success > span { color: var(--green); font-size: 18px; }
.waitlist-success a { margin-top: 23px; color: #4b574d; font-size: 15px; font-weight: 750; text-decoration: none; }
.waitlist-success a span { color: var(--rust); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 720px) {
  .waitlist-shell { padding: 16px 17px 38px; }
  .waitlist-brand { font-size: 17px; }
  .back-link { font-size: 11px; }
  .waitlist-panel { margin-top: clamp(54px, 9vh, 78px); }
  .waitlist-title { font-size: clamp(34px, 10.4vw, 48px); }
  .waitlist-copy { margin-top: 20px; font-size: 14px; }
  .waitlist-form { margin-top: 28px; }
  .waitlist-inline-input { max-width: 88vw; gap: 5px; }
  .waitlist-inline-input input { width: min(390px, 72vw); font-size: 19px; }
  .waitlist-inline-input button { font-size: 25px; }
  .waitlist-field--thought { padding: 7px 0 2px; }
  .waitlist-field textarea { min-height: 68px; font-size: 19px; }
  .waitlist-person { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
  .primary-button { margin-top: 22px; }
}
