:root {
  --waitlist-page: #ffffff;
  --waitlist-ink: #111111;
  --waitlist-soft: #5f5f5f;
  --waitlist-muted: #777777;
  --waitlist-line: rgba(17, 17, 17, 0.14);
  --waitlist-mint: #80c9a7;
  --waitlist-yellow: #f4c94d;
  --waitlist-error: #9d302d;
  --waitlist-success: #226247;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--waitlist-page);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--waitlist-page);
  color: var(--waitlist-ink);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  touch-action: manipulation;
}

button:not(:disabled),
a[href] {
  cursor: pointer;
}

::selection {
  background: var(--waitlist-ink);
  color: #ffffff;
}

.waitlist-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--waitlist-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--waitlist-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease-out;
}

.waitlist-skip-link:focus {
  transform: translateY(0);
}

.waitlist-header {
  width: 100%;
  min-height: 72px;
  padding: 12px clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.waitlist-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--waitlist-ink);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.waitlist-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.waitlist-free-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--waitlist-ink);
  color: var(--waitlist-ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.waitlist-brand:focus-visible,
.waitlist-free-link:focus-visible {
  outline: 2px solid var(--waitlist-ink);
  outline-offset: 4px;
}

.waitlist-main {
  width: 100%;
  min-width: 0;
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
}

.waitlist-hero {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 72px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.waitlist-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.waitlist-kicker {
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  color: var(--waitlist-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

.waitlist-kicker span + span::before {
  content: '';
  width: 28px;
  height: 1px;
  margin: 0 14px;
  display: inline-block;
  vertical-align: middle;
  background: var(--waitlist-line);
}

.waitlist-copy h1 {
  margin: 0;
  max-width: 940px;
  font-family: 'Bricolage Grotesque', 'Noto Sans SC', sans-serif;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.waitlist-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--waitlist-soft);
  font-size: 17px;
  line-height: 1.75;
  text-wrap: balance;
}

.waitlist-facts {
  width: min(100%, 860px);
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--waitlist-line);
  border-bottom: 1px solid var(--waitlist-line);
}

.waitlist-facts div {
  min-width: 0;
  padding: 14px 20px;
  display: grid;
  gap: 3px;
}

.waitlist-facts div + div {
  border-left: 1px solid var(--waitlist-line);
}

.waitlist-facts dt,
.waitlist-facts dd {
  margin: 0;
}

.waitlist-facts dt {
  color: var(--waitlist-muted);
  font-size: 12px;
  text-align: center;
}

.waitlist-facts dd {
  color: var(--waitlist-ink);
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.waitlist-form {
  width: min(100%, 900px);
  margin-top: 56px;
  padding: 38px 0 40px;
  border-top: 1px solid var(--waitlist-line);
  border-bottom: 1px solid var(--waitlist-line);
  scroll-margin-top: 24px;
  text-align: left;
}

.waitlist-form-heading {
  margin-bottom: 30px;
}

.waitlist-form-heading p {
  margin: 0 0 8px;
  color: var(--waitlist-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
}

.waitlist-form-heading h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

.waitlist-form-heading span {
  margin-top: 10px;
  display: block;
  color: var(--waitlist-soft);
  font-size: 14px;
}

.waitlist-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.waitlist-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.waitlist-field label,
.waitlist-handoff label {
  color: var(--waitlist-soft);
  font-size: 12px;
  font-weight: 650;
}

.waitlist-field-full {
  grid-column: 1 / -1;
}

.waitlist-field input,
.waitlist-field select,
.waitlist-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--waitlist-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--waitlist-ink);
  font-size: 15px;
  line-height: 1.6;
  transition: border-color 160ms ease-out, background 160ms ease-out;
}

.waitlist-field input {
  padding-block: 0;
}

.waitlist-field select {
  padding-block: 0;
}

.waitlist-field textarea {
  min-height: 104px;
  resize: vertical;
}

.waitlist-field textarea[rows='5'] {
  min-height: 150px;
}

.waitlist-field input::placeholder,
.waitlist-field textarea::placeholder {
  color: #969696;
}

.waitlist-field input:hover,
.waitlist-field select:hover,
.waitlist-field textarea:hover {
  border-color: rgba(17, 17, 17, 0.34);
}

.waitlist-field input:invalid:not(:placeholder-shown),
.waitlist-field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--waitlist-error);
}

.waitlist-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--waitlist-soft);
  font-size: 13px;
  line-height: 1.7;
}

.waitlist-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--waitlist-ink);
}

.waitlist-form-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.waitlist-submit,
.waitlist-handoff-actions button {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--waitlist-ink);
  border-radius: 6px;
  background: var(--waitlist-ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
  transition: background 160ms ease-out, color 160ms ease-out, transform 120ms ease-out;
}

.waitlist-submit:hover,
.waitlist-handoff-actions button:hover {
  background: #2b2b2b;
}

.waitlist-submit:active,
.waitlist-handoff-actions button:active {
  transform: scale(0.98);
}

.waitlist-form-note {
  max-width: 570px;
  margin: 0;
  color: var(--waitlist-muted);
  font-size: 12px;
  line-height: 1.6;
}

.waitlist-handoff {
  width: min(100%, 900px);
  margin-top: 44px;
  padding-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 44px;
  align-items: center;
  border-top: 1px solid var(--waitlist-line);
  text-align: left;
  scroll-margin-top: 24px;
  animation: waitlist-handoff-in 240ms ease-out both;
}

.waitlist-handoff:focus {
  outline: none;
}

.waitlist-handoff[hidden] {
  display: none;
}

@keyframes waitlist-handoff-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.waitlist-handoff-kicker {
  margin: 0 0 8px;
  color: var(--waitlist-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
}

.waitlist-handoff h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.waitlist-handoff-copy > p:not(.waitlist-handoff-kicker):not(.waitlist-status) {
  margin: 12px 0 22px;
  color: var(--waitlist-soft);
  font-size: 14px;
  line-height: 1.7;
}

.waitlist-handoff textarea {
  width: 100%;
  min-height: 126px;
  max-height: 420px;
  margin-top: 7px;
  padding: 13px 14px;
  resize: vertical;
  border: 1px solid var(--waitlist-line);
  border-radius: 6px;
  background: #f7f7f7;
  color: var(--waitlist-ink);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

.waitlist-handoff-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.waitlist-handoff-actions button {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
}

.waitlist-handoff-actions button + button {
  background: #ffffff;
  color: var(--waitlist-ink);
}

.waitlist-handoff-actions button + button:hover {
  background: #f2f2f2;
}

.waitlist-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--waitlist-success);
  font-size: 12px;
}

.waitlist-status[data-state='manual'] {
  color: var(--waitlist-error);
}

.waitlist-qr {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--waitlist-line);
  border-radius: 6px;
  background: #ffffff;
}

.waitlist-qr img {
  width: 100%;
  height: auto;
  display: block;
}

.waitlist-qr figcaption {
  margin-top: 9px;
  color: var(--waitlist-muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.waitlist-application {
  width: min(100%, 920px);
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  overflow: hidden;
  border: 1px solid var(--waitlist-ink);
  scroll-margin-top: 24px;
  text-align: left;
}

.waitlist-application-copy {
  padding: 52px 48px;
  background: var(--waitlist-ink);
  color: #ffffff;
}

.waitlist-application-kicker {
  margin: 0 0 12px;
  color: #9edcbe;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 650;
}

.waitlist-application-copy h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 650;
  line-height: 1.2;
  text-wrap: balance;
}

.waitlist-application-copy > p:not(.waitlist-application-kicker) {
  margin: 20px 0 0;
  color: #c8c8c8;
  font-size: 15px;
  line-height: 1.75;
}

.waitlist-application-steps {
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.waitlist-application-steps div {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.waitlist-application-steps dt,
.waitlist-application-steps dd {
  margin: 0;
}

.waitlist-application-steps dt {
  color: #9edcbe;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 650;
}

.waitlist-application-steps dd {
  color: #e0e0e0;
  font-size: 13px;
  line-height: 1.65;
}

.waitlist-questionnaire {
  margin: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--waitlist-ink);
  background: #f1f1ef;
}

.waitlist-questionnaire img {
  width: min(100%, 380px);
  height: auto;
  display: block;
  border: 1px solid var(--waitlist-line);
  border-radius: 8px;
  background: #ffffff;
}

.waitlist-questionnaire figcaption {
  max-width: 360px;
  margin-top: 12px;
  color: var(--waitlist-muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.waitlist-deco {
  width: 100%;
  min-width: 0;
  max-width: 100vw;
  min-height: 320px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.waitlist-coils {
  width: 100%;
  height: 48px;
  flex: 0 0 48px;
  color: rgba(17, 17, 17, 0.16);
}

.waitlist-stripe {
  width: 100%;
  height: 8px;
  flex: 0 0 8px;
  background: var(--waitlist-yellow);
}

.waitlist-floor {
  position: relative;
  min-height: 232px;
  flex: 1 1 auto;
  overflow: hidden;
  background: var(--waitlist-mint);
}

.waitlist-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(17, 17, 17, 0.16);
}

.waitlist-mascot {
  position: absolute;
  right: 10%;
  bottom: -20px;
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.waitlist-ticker {
  width: 100%;
  min-width: 0;
  max-width: 100vw;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  background: var(--waitlist-ink);
  color: #ffffff;
}

.waitlist-ticker-track {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  padding-left: 22px;
  animation: waitlist-ticker 28s linear infinite;
}

.waitlist-ticker span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.waitlist-ticker i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--waitlist-mint);
}

@keyframes waitlist-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 820px) {
  .waitlist-hero {
    padding-top: 56px;
  }

  .waitlist-copy h1 {
    font-size: 56px;
  }

  .waitlist-application {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  }

  .waitlist-application-copy {
    padding: 42px 36px;
  }

  .waitlist-application-copy h2 {
    font-size: 34px;
  }

  .waitlist-questionnaire {
    padding: 22px;
  }
}

@media (max-width: 620px) {
  .waitlist-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .waitlist-brand {
    font-size: 18px;
  }

  .waitlist-brand img {
    width: 34px;
    height: 34px;
  }

  .waitlist-free-link {
    font-size: 12px;
  }

  .waitlist-main {
    min-height: calc(100svh - 64px);
  }

  .waitlist-hero {
    width: min(100% - 32px, 1120px);
    min-height: 0;
    padding: 52px 0 44px;
  }

  .waitlist-kicker {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .waitlist-copy h1 {
    font-size: 40px;
    line-height: 1.12;
  }

  .waitlist-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
  }

  .waitlist-facts {
    width: 100%;
    margin-top: 26px;
    grid-template-columns: 1fr;
  }

  .waitlist-facts div {
    min-width: 0;
    padding: 12px 4px;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
  }

  .waitlist-facts dt,
  .waitlist-facts dd {
    text-align: left;
  }

  .waitlist-facts div + div {
    border-top: 1px solid var(--waitlist-line);
    border-left: 0;
  }

  .waitlist-facts dd {
    font-size: 13px;
  }

  .waitlist-application {
    margin-top: 30px;
    grid-template-columns: 1fr;
  }

  .waitlist-application-copy {
    padding: 36px 24px;
  }

  .waitlist-application-copy h2 {
    font-size: 30px;
  }

  .waitlist-application-copy > p:not(.waitlist-application-kicker) {
    font-size: 14px;
  }

  .waitlist-questionnaire {
    padding: 20px;
    border-top: 1px solid var(--waitlist-ink);
    border-left: 0;
  }

  .waitlist-form {
    margin-top: 30px;
    padding: 30px 0;
  }

  .waitlist-form-heading h2 {
    font-size: 26px;
  }

  .waitlist-form-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-field-full {
    grid-column: auto;
  }

  .waitlist-form-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .waitlist-submit {
    width: 100%;
  }

  .waitlist-handoff {
    margin-top: 34px;
    padding-top: 30px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .waitlist-handoff h2 {
    font-size: 26px;
  }

  .waitlist-qr {
    width: min(100%, 220px);
    justify-self: center;
  }

  .waitlist-deco {
    min-height: 240px;
  }

  .waitlist-coils {
    height: 36px;
    flex-basis: 36px;
  }

  .waitlist-floor {
    min-height: 154px;
  }

  .waitlist-mascot {
    right: 7%;
    width: 110px;
    height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .waitlist-ticker-track {
    transform: none;
  }
}
