:root {
  --bg-start: #fff3e9;
  --bg-end: #ffe4d6;
  --card-bg: #ffffff;
  --text: #2b2320;
  --text-muted: #6b5f57;
  --accent: #c9483a;
  --accent-hover: #a83a2f;
  --border: #f0e4da;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--bg-start), var(--bg-end));
  min-height: 100vh;
}

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

.card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(43, 35, 32, 0.08);
}

.wordmark {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

h1 {
  font-size: 1.9rem;
  line-height: 1.3;
  margin: 0 0 16px;
  font-weight: 700;
}

.subtext {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 32px;
}

.signup {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.signup input[type="email"]:focus {
  border-color: var(--accent);
}

.signup button {
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

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

.signup button:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-message {
  min-height: 1.2em;
  font-size: 0.9rem;
  margin: 0 0 20px;
}

.form-message.success {
  color: #2f7a4f;
}

.form-message.error {
  color: var(--accent);
}

.badge {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin: 0;
  width: 100%;
}

@media (max-width: 420px) {
  .card {
    padding: 36px 24px;
  }

  .signup {
    flex-direction: column;
  }

  h1 {
    font-size: 1.6rem;
  }
}
