/* CalmWave: black & white, Courier mono, square pixels, red as the rare NOW accent. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: #000000;
  --text: #ffffff;
  --border: #333333;
  --now: #ff2d2d;
}

html {
  background: var(--background);
  color: var(--text);
}

body {
  font-family: "Courier New", Courier, ui-monospace, monospace;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--now);
  color: #000000;
}

.navbar {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
  padding: 0 5%;
  border-bottom: 1px solid var(--border);
}

.navbar .wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text);
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 85vh;
  flex-direction: column;
  align-items: center;
  padding: 7rem 5% 10rem;
}

.hero-copy {
  width: 100%;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 4vw + 1rem, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.hero-copy p {
  font-size: 1.125rem;
  line-height: 1.5;
}

/* Waitlist form — the site's button/input language: sharp corners,
   mono type, white-on-black with an inverted submit. */
.waitlist {
  margin-top: 2rem;
  width: 100%;
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.waitlist-tagline {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text);
}

.form-container {
  display: flex;
  width: 100%;
  gap: 1rem;
}

.form-container .field {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1.25rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: border-color 200ms ease-in-out;
}

.form-container .field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-container .field:focus {
  border-color: var(--text);
}

.form-container input[type="submit"] {
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--background);
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 200ms ease-in-out;
}

.form-container input[type="submit"]:hover {
  background: transparent;
  color: var(--text);
}

.waitlist-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.back-link {
  color: var(--text);
  text-underline-offset: 0.2em;
}

@media (max-width: 640px) {
  .hero-content {
    padding-top: 4rem;
  }

  .form-container {
    flex-direction: column;
  }
}

.phase-label {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.phase-label .dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--now);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
