:root {
  --bg: #06070a;
  --ink: #eef3f8;
  --muted: #8e9aa7;
  --line: rgba(255, 255, 255, 0.09);
  --sky: #5cc8ff;
  --err: #ff7a7a;
  --radius: 18px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e9eef3 18%, #9aa6b2 42%, #2c333b 50%, #c9d3dc 58%, #ffffff 74%, #8b96a1 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { margin: 0; text-wrap: balance; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.kicker { margin-bottom: 14px; font: 500 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.chrome {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 13px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible, .join__email:focus-visible, .join__platform input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 3px; }
.btn--ghost { min-height: 42px; background: rgba(255, 255, 255, 0.06); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--chrome {
  color: #0a0d11;
  background: linear-gradient(180deg, #ffffff 0%, #dfe6ec 40%, #9ba7b3 52%, #e7edf2 78%, #ffffff 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 8px 28px rgba(92, 200, 255, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.btn--chrome:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 10px 36px rgba(92, 200, 255, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.5); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero__art { position: absolute; inset: 0; z-index: -2; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; animation: drift 24s ease-in-out infinite alternate; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 7, 10, 0.86) 0%, rgba(6, 7, 10, 0.55) 34%, rgba(6, 7, 10, 0) 62%),
    linear-gradient(180deg, rgba(6, 7, 10, 0.4) 0%, rgba(6, 7, 10, 0) 18%, rgba(6, 7, 10, 0) 70%, var(--bg) 100%);
}
.hero__copy { padding-block: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #cfe7f6; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(92, 200, 255, 0.6); animation: pulse 2s infinite; }
.logo {
  margin: 18px 0 20px;
  font-size: clamp(64px, 12.5vw, 172px); font-weight: 900; line-height: 0.86; letter-spacing: -0.035em;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}
.lede { max-width: 33ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #d7e0e8; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }

/* Join form */
.join { margin-top: 30px; max-width: 520px; }
.join__row {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(10, 13, 17, 0.72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.join__email {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); font: 500 16px/1 var(--body);
}
.join__email::placeholder { color: #75828f; }
.join__email:focus { outline: none; }
.join__platform { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; padding: 0 0 0 6px; border: 0; }
.join__platform legend { float: left; margin-right: 6px; font: 500 12px/32px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.join__platform label { position: relative; cursor: pointer; }
.join__platform input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.join__platform span {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  font: 500 13px/18px var(--body); color: #c3ced8;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.join__platform label:hover span { background: rgba(255, 255, 255, 0.1); }
.join__platform input:checked + span { color: #06070a; background: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); }
.join__msg { min-height: 22px; margin-top: 10px; padding-left: 6px; font-size: 14px; color: var(--muted); }
.join__msg.is-error { color: var(--err); }

.joined { margin-top: 30px; max-width: 520px; padding: 22px 24px; border-radius: var(--radius); background: rgba(10, 13, 17, 0.78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: land 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
.joined__rank { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.joined__rank b { display: block; margin-top: 8px; font: 900 44px/1 var(--display); letter-spacing: -0.02em; }
.joined__text { margin: 10px 0 18px; color: #d7e0e8; }

/* Last call */
.cta { padding-block: 110px 120px; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 70% at 50% 0%, rgba(92, 200, 255, 0.12), rgba(6, 7, 10, 0) 70%), var(--bg); }
.cta__icon { width: 128px; height: 128px; margin: 0 auto 28px; filter: drop-shadow(0 20px 40px rgba(92, 200, 255, 0.25)); }
.cta h2 { font-size: clamp(32px, 5vw, 60px); margin-bottom: 14px; }
.join--center { margin-inline: auto; }
.join--center .join__platform { justify-content: center; padding: 0; }
.join--center .join__platform legend { float: none; display: contents; }
.join--center .join__msg { text-align: center; padding: 0; }
.cta .joined { margin-inline: auto; text-align: center; }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; background: radial-gradient(60% 70% at 50% 0%, rgba(92, 200, 255, 0.12), rgba(6, 7, 10, 0) 70%), var(--bg); }

/* Motion */
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(92, 200, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 200, 255, 0); } }
@keyframes drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
@keyframes land { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

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

@media (max-width: 640px) {
  .hero { align-items: flex-end; }
  .hero__art { bottom: auto; height: 66svh; }
  .hero__art img { object-position: 82% 30%; }
  .hero__shade { background: linear-gradient(180deg, rgba(6, 7, 10, 0.45) 0%, rgba(6, 7, 10, 0) 16%, rgba(6, 7, 10, 0) 34%, rgba(6, 7, 10, 0.7) 52%, var(--bg) 66%); }
  .hero__copy { padding-block: 40svh 40px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.08em; }
  .join__row { flex-direction: column; border-radius: 22px; }
  .join__email { height: 52px; text-align: center; }
  .join .btn--chrome { width: 100%; min-height: 52px; }
  .join__platform { justify-content: center; padding: 0; }
  .join__platform legend { float: none; display: contents; }
  .join__msg { text-align: center; padding: 0; }
  .joined { text-align: center; }
  .cta { padding-block: 80px; }
}
