:root {
  color-scheme: dark;
  --black: #000;
  --white: #f8f8f5;
  --muted: rgba(248, 248, 245, 0.62);
  --line: rgba(255, 255, 255, 0.18);
  --cyan: #00e9f4;
  --yellow: #fff500;
  --pink: #ff35d3;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

#playfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
  padding: 30px 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    8px 0 0 rgba(255, 245, 0, 0.9),
    4px 7px 0 rgba(255, 53, 211, 0.86);
}

.beta-tag {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

main {
  display: grid;
  min-height: calc(100svh - 172px);
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
  align-items: center;
}

.hero {
  width: min(690px, 100%);
  padding: clamp(56px, 10vh, 120px) 0 100px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(64px, 10vw, 146px);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.intro {
  max-width: 540px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.signup-form {
  width: min(600px, 100%);
  margin-top: 38px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.signup-form > label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 650;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.78);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-row:focus-within {
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(0, 233, 244, 0.13);
}

input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 19px 24px;
  background: transparent;
  color: var(--white);
  font-size: 16px;
}

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

button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  margin: 4px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--white);
  color: #080808;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease;
}

button[type="submit"]:hover {
  transform: translateY(-1px);
  background: #fff;
}

button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button-arrow {
  font-size: 18px;
}

.form-status {
  min-height: 21px;
  margin: 12px 20px 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
}

.form-status[data-state="error"] {
  color: #ff726b;
}

.consent {
  max-width: 540px;
  margin: 5px 20px 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  line-height: 1.5;
}

.consent a {
  text-underline-offset: 2px;
}

.play-hint {
  position: absolute;
  right: 0;
  bottom: 92px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 11px;
}

.play-hint span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 10px 0 0 var(--cyan), 20px 0 0 var(--yellow);
  margin-right: 20px;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(100% - 48px, 1440px);
  margin: 0 auto;
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 11px;
}

.privacy {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  padding: 100px 0;
}

.privacy h1 {
  font-size: clamp(54px, 9vw, 98px);
}

.privacy h2 {
  margin-top: 44px;
  font-size: 20px;
}

.privacy p,
.privacy li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.privacy a {
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1440px);
  }

  .site-header {
    padding-top: 22px;
  }

  main {
    min-height: calc(100svh - 140px);
  }

  .hero {
    padding: 72px 0 72px;
  }

  h1 {
    font-size: clamp(62px, 20vw, 92px);
  }

  .intro {
    margin-top: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  input {
    padding: 18px 20px 10px;
  }

  button[type="submit"] {
    justify-content: space-between;
    margin: 4px;
  }

  .play-hint {
    display: none;
  }
}

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