:root {
  color-scheme: dark;
  --black: #000;
  --ink: #080808;
  --panel: #0d0d0d;
  --line: #292929;
  --white: #f7f7f3;
  --muted: #969696;
  --volt: #ccff00;
  --page: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  background: var(--black);
}

button,
input,
select { font: inherit; }

button,
label,
select { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--volt);
  color: #000;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: none; }

.waitlist-header {
  width: min(var(--page), calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.waitlist-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 950;
  text-decoration: none;
}

.waitlist-brand span { color: var(--volt); }

.waitlist-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.waitlist-main {
  width: min(var(--page), calc(100% - 48px));
  min-height: calc(100vh - 164px);
  min-height: calc(100dvh - 164px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.waitlist-intro {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(54px, 6.5vw, 88px) clamp(34px, 5vw, 74px);
  border-right: 1px solid var(--line);
}

.waitlist-intro::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.waitlist-kicker,
.success-kicker {
  margin: 0;
  color: var(--volt);
  font-size: 9px;
  font-weight: 950;
}

.intro-copy h1 {
  margin: 25px 0 25px;
  font-size: clamp(60px, 6.1vw, 88px);
  font-weight: 950;
  line-height: 0.91;
}

.waitlist-lead {
  max-width: 510px;
  margin: 0;
  color: #aaa;
  font-size: 15px;
  line-height: 1.7;
}

.intro-copy {
  position: relative;
  z-index: 1;
}

.intro-word {
  position: absolute;
  right: -12px;
  bottom: 6px;
  color: transparent;
  font-size: clamp(90px, 11vw, 158px);
  font-weight: 950;
  line-height: 0.75;
  -webkit-text-stroke: 2px #181818;
  pointer-events: none;
}

.waitlist-panel {
  position: relative;
  min-width: 0;
  padding: clamp(36px, 4.6vw, 64px) clamp(26px, 4vw, 56px);
  background: var(--panel);
}

.panel-heading h2,
.success-state h2 {
  margin: 30px 0 8px;
  font-size: clamp(32px, 3.1vw, 44px);
  font-weight: 950;
  line-height: 1;
}

.panel-heading p,
.success-state > p:not(.success-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

#waitlist-form { margin-top: 28px; }

.field > span {
  display: block;
  margin-bottom: 9px;
  color: #888;
  font-size: 8px;
  font-weight: 950;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 10px;
}

.field-wide { grid-column: 1 / -1; }
.field { min-width: 0; }
.field > span b { color: #888; font-size: 7px; }

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  display: block;
  padding: 0 14px;
  border: 1px solid #343434;
  border-radius: 5px;
  background: #090909;
  color: var(--white);
  font-size: 13px;
  transition: border-color 160ms ease, background 160ms ease;
}

.field input::placeholder { color: #555; opacity: 1; }

.field select {
  padding-right: 34px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #777 50%),
    linear-gradient(135deg, #777 50%, transparent 50%);
  background-position: calc(100% - 17px) 22px, calc(100% - 12px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input:hover,
.field select:hover { border-color: #505050; }

.field.has-error input,
.field.has-error select { border-color: #ff7269; }

.field small,
.consent-error {
  min-height: 14px;
  display: block;
  margin-top: 4px;
  color: #ff8d86;
  font-size: 9px;
}

.consent-row {
  display: block;
  margin-top: 15px;
  cursor: pointer;
}

.consent-row > input {
  position: absolute;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.consent-row > span {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
}

.consent-row i {
  width: 20px;
  height: 20px;
  display: block;
  border: 1px solid #464646;
  border-radius: 4px;
  background: #080808;
}

.consent-row input:checked + span i {
  border-color: var(--volt);
  background: var(--volt);
  box-shadow: inset 0 0 0 5px #080808;
}

.consent-row input:focus-visible + span i {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

.consent-row b {
  color: #828282;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.55;
}

.consent-row a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  margin: -6px 0;
  color: #c4c4c4;
  vertical-align: middle;
}
.consent-error { margin: 2px 0 0 30px; }
.honey-field { position: fixed !important; left: -10000px !important; }
.turnstile-slot { min-height: 0; margin-top: 8px; overflow: hidden; }

.form-error {
  min-height: 17px;
  margin-top: 5px;
  color: #ff8d86;
  font-size: 10px;
  font-weight: 750;
}

.waitlist-submit {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid var(--volt);
  border-radius: 5px;
  background: var(--volt);
  color: #000;
  font-size: 10px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 220ms var(--ease), opacity 160ms ease;
}

.waitlist-submit:hover { transform: translateY(-2px); }
.waitlist-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }
.waitlist-submit b { font-size: 17px; }

.waitlist-submit i {
  position: absolute;
  width: 17px;
  height: 17px;
  top: 20px;
  right: 20px;
  display: none;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.waitlist-submit.is-loading b { visibility: hidden; }
.waitlist-submit.is-loading i { display: block; }

.success-state {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.success-state[hidden] { display: none; }

.success-state h2 { max-width: 420px; margin-top: 18px; }
.success-state > p:not(.success-kicker) { max-width: 380px; font-size: 13px; }

.success-state > a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
  padding: 0 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-size: 9px;
  font-weight: 950;
  text-decoration: none;
}

.success-state > a b { color: var(--volt); font-size: 16px; }

.waitlist-footer {
  width: min(var(--page), calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #7d7d7d;
  font-size: 8px;
  font-weight: 850;
}

.waitlist-footer p { margin: 0; text-align: center; }
.waitlist-footer nav { display: flex; justify-content: flex-end; gap: 20px; }
.waitlist-footer a { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 1px; color: #777; text-decoration: none; }
.waitlist-footer a:hover { color: var(--white); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .waitlist-main {
    grid-template-columns: minmax(0, 0.88fr) minmax(400px, 1.12fr);
  }

  .waitlist-intro { padding-right: 30px; padding-left: 30px; }
  .intro-copy h1 { font-size: 58px; }
  .waitlist-panel { padding-right: 32px; padding-left: 32px; }
}

@media (max-height: 900px) and (min-width: 761px) {
  .waitlist-panel {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .panel-heading h2 { margin-top: 22px; }
  #waitlist-form { margin-top: 20px; }
  .field-grid { row-gap: 10px; }
  .consent-row { margin-top: 9px; }
  .waitlist-submit { min-height: 54px; }
}

@media (max-height: 800px) and (min-width: 761px) {
  .waitlist-header,
  .waitlist-footer { min-height: 64px; }

  .waitlist-main {
    min-height: calc(100vh - 128px);
    min-height: calc(100dvh - 128px);
  }

  .waitlist-panel {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .panel-heading h2 {
    margin: 14px 0 6px;
    font-size: 36px;
  }

  .panel-heading p { font-size: 11px; }
  #waitlist-form { margin-top: 12px; }
  .field-grid { row-gap: 6px; }
  .field > span { margin-bottom: 4px; }

  .field input,
  .field select { min-height: 44px; }

  .field small {
    min-height: 8px;
    margin-top: 2px;
  }

  .consent-row { margin-top: 6px; }
  .consent-error { min-height: 8px; margin-top: 0; }
  .form-error { min-height: 13px; margin-top: 2px; }
  .waitlist-submit { min-height: 50px; }
  .waitlist-submit i { top: 16px; }
}

@media (max-width: 760px) {
  .waitlist-header,
  .waitlist-main,
  .waitlist-footer { width: calc(100% - 32px); }

  .waitlist-header { min-height: 72px; }
  .waitlist-main {
    display: block;
    min-height: 0;
    border-right: 1px solid var(--line);
  }

  .waitlist-intro {
    min-height: 0;
    justify-content: flex-start;
    padding: 44px 20px 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-copy h1 { font-size: clamp(54px, 17vw, 76px); }
  .waitlist-lead { font-size: 14px; }
  .intro-word { display: none; }

  .waitlist-panel { padding: 28px 20px 46px; }
  .panel-heading h2 {
    margin-top: 18px;
    font-size: 38px;
  }
  .success-state { min-height: 520px; }

  .waitlist-footer {
    min-height: 150px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .waitlist-footer p { text-align: left; }
  .waitlist-footer nav { gap: 18px; }
}

@media (max-width: 420px) {
  .waitlist-header,
  .waitlist-main,
  .waitlist-footer { width: calc(100% - 24px); }
  .waitlist-header-actions { gap: 8px; }
  .lang-toggle button { min-width: 38px; }
  .waitlist-intro { padding-right: 14px; padding-left: 14px; }
  .waitlist-panel { padding-right: 14px; padding-left: 14px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
}

@media (max-height: 650px) and (min-width: 761px) {
  .waitlist-header { min-height: 66px; }
  .waitlist-main { min-height: 650px; }
  .waitlist-intro { padding-top: 35px; }
  .intro-copy h1 { margin: 14px 0; font-size: 54px; }
  .waitlist-lead { font-size: 12px; }
  .waitlist-panel { padding-top: 25px; padding-bottom: 25px; }
  .panel-heading h2 { margin-top: 18px; font-size: 31px; }
  #waitlist-form { margin-top: 16px; }
  .field-grid { gap: 7px 9px; }
  .field > span { margin-bottom: 4px; }
  .field input,
  .field select { min-height: 42px; }
  .field small { min-height: 10px; }
  .consent-row { margin-top: 6px; }
  .waitlist-submit { min-height: 48px; }
  .waitlist-submit i { top: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
