:root {
  --bg: #09090b;
  --bg-card: #131316;
  --fg: #f0f0f3;
  --fg-muted: #8a8a99;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --border: #1e1e2a;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 12px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── HERO ─── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  min-height: calc(100vh - 60px);
}

.hero-inner {
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.logo-mark {
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0.9;
}
.logo-mark svg {
  width: 48px;
  height: 48px;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.tagline {
  font-size: 1.1rem;
  color: var(--fg-muted);
  font-weight: 400;
  margin-bottom: 3rem;
}

/* ─── SIGNUP CARD ─── */
.signup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
}

.signup-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup-form input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--fg);
  font-family: var(--font);
  outline: none;
  transition: border-color 0.15s;
}

.signup-form input::placeholder {
  color: #4a4a5a;
}

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

.signup-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 0.25rem;
}

.signup-form button:hover {
  background: var(--accent-hover);
}

.signup-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.signup-msg {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.3em;
}

.signup-msg.error {
  color: #ef4444;
}

.signup-success {
  text-align: center;
  color: var(--accent-hover);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 1rem 0;
}

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
}

.footer-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem; }
  .signup-card { padding: 1.5rem; }
  h1 { font-size: 2.4rem; }
}
