.waitlist { display: grid; gap: 0.875rem; width: min(100%, 31rem); scroll-margin-top: calc(var(--header) + 1.5rem); }

.waitlist-title { font-weight: 700; }

.waitlist-fields { display: grid; gap: 0.75rem; }

.waitlist-fields > label { font-size: var(--step-small); font-weight: 600; }

.waitlist-row { display: flex; gap: 0.5rem; padding: 0.3125rem; border: 1.5px solid var(--ink); border-radius: var(--pill); background: var(--surface); transition: box-shadow 180ms ease; }

.waitlist-row:focus-within { box-shadow: 0 0 0 3px var(--gold); }

.waitlist-row input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 1rem; border: 0; border-radius: var(--pill); background: transparent; color: var(--ink); font: inherit; }

.waitlist-row input:focus-visible { outline: 0; }

.waitlist-row input::placeholder { color: var(--soft); }

.waitlist-row .button { border: 0; font: inherit; font-weight: 700; cursor: pointer; }

.waitlist-row .button[disabled] { opacity: 0.6; cursor: progress; }

.waitlist-store { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0; padding: 0; border: 0; }

.waitlist-store legend { float: left; margin-right: 0.25rem; padding: 0; font-size: var(--step-small); font-weight: 600; }

.waitlist-store label { position: relative; display: inline-flex; }

.waitlist-store input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }

.waitlist-store span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.125rem; border: 1.5px solid var(--ink); border-radius: var(--pill); font-size: var(--step-small); font-weight: 600; transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); }

.waitlist-store input:checked + span { background: var(--ink); color: var(--bg); }

.waitlist-store input:active + span { transform: scale(0.97); }

.waitlist-store input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.waitlist-trap { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }

.waitlist-problem { font-size: var(--step-small); font-weight: 600; }

.waitlist-done { position: relative; padding: 1rem 1.25rem 1rem 3.25rem; border-radius: 1rem; background: var(--surface); font-weight: 600; }

.waitlist-done::before { content: ''; position: absolute; left: 1.125rem; top: 1.125rem; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: var(--green) no-repeat center / 0.8125rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5'/%3E%3C/svg%3E"); }

.waitlist-done:focus-visible { outline-offset: 4px; }

.masthead .masthead-join { padding: 0 1rem; border-radius: var(--pill); background: var(--gold); color: var(--navy); white-space: nowrap; transition: transform 140ms var(--ease-out), background-color 180ms ease; }

.masthead .masthead-join:active { transform: scale(0.97); }

.hero-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.free p a { font-weight: 700; white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .hero-words > :nth-child(4) { animation-delay: 440ms; }
  .waitlist-done:not([hidden]) { animation: waitlist-landed 520ms var(--ease-out) both; }
  .waitlist-done:not([hidden])::before { animation: waitlist-stamp 420ms var(--ease-out) 180ms both; }
}

@media (hover: hover) and (pointer: fine) {
  .masthead .masthead-join:hover { background: #FFD65C; text-decoration-color: transparent; }
}

@keyframes waitlist-landed { from { opacity: 0; transform: translateY(12px); } }

@keyframes waitlist-stamp { from { opacity: 0; transform: scale(0.4) rotate(-20deg); } }

@media (max-width: 520px) {
  .waitlist-row { flex-direction: column; padding: 0.375rem; border-radius: 1.75rem; }
  .waitlist-row .button { width: 100%; }
}

.waitlist [hidden] { display: none; }

@media (max-width: 360px) {
  .masthead .wordmark { font-size: 0; }
  .masthead .masthead-join { padding: 0 0.75rem; }
}
