:root {
  --black: #000;
  --white: #fff;
  --soft-white: rgba(255, 255, 255, .72);
  --dim-white: rgba(255, 255, 255, .42);
  --faint-white: rgba(255, 255, 255, .16);
  --line: rgba(255, 255, 255, .2);
}

* { box-sizing: border-box; }

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--black);
}

body {
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
  overflow: hidden;
}

button,
input { font: inherit; }

button { color: inherit; }

.experience {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
}

.screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(32px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: #000;
}

.screen[hidden] { display: none; }

.screen-enter { animation: screen-enter .9s cubic-bezier(.2, .8, .2, 1) both; }

.intro-wordmark {
  margin: 0;
  color: #fff;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(30px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: .19em;
  line-height: 1;
  text-indent: .19em;
  text-align: center;
  animation: wordmark-cinematic 3.8s cubic-bezier(.4, 0, .2, 1) both;
}

.qr-content,
.waitlist-content,
.confirmation-content {
  width: min(100%, 470px);
  text-align: center;
}

.qr-content { display: flex; flex-direction: column; align-items: center; }

.qr-frame {
  display: grid;
  place-items: center;
  width: min(72vw, 280px);
  height: min(72vw, 280px);
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 70px rgba(255, 255, 255, .08);
}

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

.qr-fallback {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #000;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.2;
  text-align: center;
}

.qr-fallback strong { font-size: 15px; letter-spacing: .03em; }

.launch-label {
  margin: 28px 0 0;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .2em;
  line-height: 1.3;
  text-indent: .2em;
}

.join-here {
  display: none;
  margin-top: 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 7px;
  background: transparent;
  color: var(--soft-white);
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .16em;
}

.join-here:hover,
.join-here:focus-visible { color: #fff; border-color: #fff; }

.screen-kicker {
  margin: 0 0 28px;
  color: var(--dim-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .2em;
}

.waitlist-content { text-align: left; }

.waitlist-content h1 {
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(42px, 8vw, 70px);
  font-weight: 650;
  letter-spacing: -.07em;
  line-height: .9;
}

.waitlist-form { width: min(100%, 390px); }

.waitlist-form label:not(.consent-label) {
  display: block;
  margin-bottom: 16px;
}

.waitlist-form label > span:first-child {
  display: block;
  margin-bottom: 7px;
  color: var(--dim-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

input[type="email"],
input[type="tel"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  padding: 14px 13px;
  background: transparent;
  color: #fff;
  font-size: 15px;
}

input[type="email"]:focus,
input[type="tel"]:focus,
.terminal-line:focus-within {
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, .06);
}

input::placeholder { color: rgba(255, 255, 255, .3); }

.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 21px 0;
  color: var(--dim-white);
  font-size: 11px;
  line-height: 1.55;
}

.consent-label input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: #fff;
}

.consent-label a { color: #fff; }

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid #fff;
  border-radius: 0;
  padding: 15px 14px;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .15em;
}

.submit-button:hover,
.submit-button:focus-visible { background: #000; color: #fff; }
.submit-button:disabled { cursor: wait; opacity: .55; }

.form-message {
  min-height: 22px;
  margin: 13px 0 0;
  color: var(--dim-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.form-message.success { color: #fff; }
.form-message.error { color: #ffbaba; }

.confirmation-content { display: flex; flex-direction: column; align-items: center; }

.confirmation-title {
  margin: 0;
  color: #fff;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(30px, 6vw, 62px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .95;
  text-align: center;
}

.confirmation-logo {
  width: 76px;
  height: 76px;
  margin: 42px 0 46px;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, .48));
}

.faq-terminal { width: min(100%, 390px); text-align: left; }

.terminal-line {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 0 10px;
}

.terminal-prompt {
  margin-right: 9px;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
}

#faq-input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

#faq-input:focus { box-shadow: none; }

.faq-answer {
  min-height: 44px;
  margin: 16px 0 0;
  color: var(--soft-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.65;
}

.auth-confirmation-page {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow: auto;
  background: #000;
  color: #fff;
}

.auth-confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 560px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(42px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(42px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  text-align: center;
}

.auth-confirmation-logo {
  width: 88px;
  height: 88px;
  margin-bottom: 42px;
  filter: drop-shadow(0 0 11px rgba(255, 255, 255, .3)) drop-shadow(0 0 34px rgba(255, 255, 255, .22));
}

.auth-confirmation-title,
.auth-confirmation-message,
.auth-confirmation-detail,
.auth-launch-fallback p {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  line-height: 1.45;
  text-indent: .16em;
}

.auth-confirmation-title {
  color: #fff;
  font-size: clamp(22px, 5vw, 38px);
  font-weight: 500;
}

.auth-confirmation-message {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(15px, 3vw, 21px);
  font-weight: 500;
}

.auth-confirmation-detail {
  margin-top: 8px;
  color: var(--soft-white);
  font-size: clamp(12px, 2.5vw, 15px);
}

.auth-launch-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 46px;
}

.auth-launch-fallback p {
  color: var(--dim-white);
  font-size: 10px;
}

.auth-launch-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  border: 1px solid #fff;
  border-radius: 0;
  padding: 14px 16px;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .14em;
}

.auth-launch-button:hover,
.auth-launch-button:focus-visible {
  background: #000;
  color: #fff;
}

.auth-reset {
  justify-content: flex-start;
  padding-top: max(72px, env(safe-area-inset-top));
}

.auth-reset-form-wrap {
  width: min(100%, 390px);
  margin-top: 34px;
}

.auth-reset-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.auth-reset-form label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--dim-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.auth-reset-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  padding: 14px 13px;
  background: transparent;
  color: #fff;
  font-size: 15px;
}

.auth-reset-form input:focus {
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, .06);
}

.auth-reset-submit {
  width: 100%;
  margin-top: 2px;
}

.auth-reset-submit:disabled {
  cursor: wait;
  opacity: .55;
}

.auth-reset-form-message {
  min-height: 24px;
  margin: 0;
  color: var(--soft-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.auth-reset-form-message.error { color: #ff6b82; }

.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;
}

@keyframes wordmark-cinematic {
  0% { opacity: 0; filter: blur(8px); text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  30% { opacity: .38; filter: blur(2px); text-shadow: 0 0 18px rgba(255, 255, 255, .15); }
  50%, 73% { opacity: 1; filter: blur(0); text-shadow: 0 0 32px rgba(255, 255, 255, .38); }
  100% { opacity: 0; filter: blur(9px); text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes screen-enter {
  from { opacity: 0; transform: scale(1.015); filter: blur(5px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@media (max-width: 600px), (hover: none) and (pointer: coarse) {
  .join-here { display: inline-flex; }
  .screen { padding-left: 20px; padding-right: 20px; }
  .qr-frame { width: min(68vw, 245px); height: min(68vw, 245px); padding: 16px; }
  .launch-label { margin-top: 23px; font-size: 10px; }
  .waitlist-content h1 { margin-bottom: 28px; font-size: clamp(40px, 12vw, 58px); }
  .confirmation-logo { margin-top: 34px; margin-bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-wordmark { animation-duration: .01ms; animation-iteration-count: 1; }
  .screen-enter { animation: none; }
}
