:root {
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --muted: #a3a3a3;
  --orange: #f7931a;
  --orange-dim: #c47414;
  --line: #262626;
  --danger: #f87171;
  --radius: 999px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  justify-content: center;
}

.page {
  width: min(100%, 28rem);
  min-height: 100dvh;
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  justify-content: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0;
}

.mark {
  width: 6.75rem;
  height: 6.75rem;
  object-fit: contain;
  margin-bottom: 0.35rem;
}

.tagline {
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 2rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.support {
  margin: 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.waitlist {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.waitlist .micro {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

#signup {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.micro {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.form input {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  background: #111;
  color: var(--fg);
  border-radius: var(--radius);
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.form input::placeholder { color: #666; }

.form input:focus {
  border-color: var(--orange);
}

.form button {
  appearance: none;
  border: none;
  border-radius: var(--radius);
  background: var(--orange);
  color: #111;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.25rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

.form button:hover { background: #ff9f2e; }
.form button:active { transform: scale(0.98); }
.form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.85rem;
}

.success {
  border: 1px solid var(--orange);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--orange);
}

.success p {
  margin: 0;
  color: #111;
  line-height: 1.45;
  font-size: 1rem;
  font-weight: 400;
}

.success p + p {
  margin-top: 0.45rem;
}

.social-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.social-block .micro {
  margin: 0;
  color: var(--fg);
  font-size: 0.9rem;
  line-height: 1.4;
}

.socials {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  align-items: center;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--orange);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.social svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.social:hover {
  color: #ff9f2e;
  border-color: var(--orange);
  background: #141414;
}

.footer {
  margin-top: 0.25rem;
  padding-top: 0.25rem;
  color: #555;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}


/* Ensure [hidden] wins over display:flex on .form */
[hidden] {
  display: none !important;
}
.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;
}

@media (min-width: 640px) {
  .page { padding: 2.5rem 1.5rem 1.5rem; gap: 1.5rem; }
  .mark { width: 7.5rem; height: 7.5rem; }
}
