:root {
  --bg: #0b0b0d;
  --fg: #f5f5f7;
  --muted: #a0a0a8;
  --accent: #f5f5f7;
  --accent-fg: #0b0b0d;
  --border: #2a2a2e;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.content {
  max-width: 720px;
  width: 100%;
  text-align: center;
}

.logo {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 0 16px;
}

.headline {
  font-size: clamp(1rem, 2.6vw, 1.75rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

@media (min-width: 480px) {
  .headline {
    white-space: nowrap;
  }
}

.subcopy {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 32px;
}

.signup-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

#email-input {
  flex: 1 1 260px;
  min-width: 0;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #17171a;
  color: var(--fg);
}

#email-input::placeholder {
  color: var(--muted);
}

#email-input:focus {
  outline: none;
  border-color: var(--fg);
}

#submit-button {
  flex: 0 0 auto;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: var(--accent-fg);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

#submit-button:hover {
  opacity: 0.85;
}

#submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-message {
  min-height: 1.25em;
  margin: 16px 0 0;
  font-size: 0.9375rem;
}

.form-message.success {
  color: #4ade80;
}

.form-message.error {
  color: #f87171;
}

.footer {
  position: absolute;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--fg);
  text-decoration: underline;
}

.footer .dot {
  opacity: 0.6;
}
