* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

@keyframes bob {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-4px); }
}

.page {
  min-height: 100vh;
  width: 100%;
  background: #F8FAFC;
  color: #111827;
  font-family: 'Work Sans', system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.card {
  max-width: 560px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.badge {
  background: #3B82F6;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  transform: rotate(-4deg);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
  animation: bob 3.2s ease-in-out infinite;
}

.heading-group h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 76px;
  line-height: 1;
  margin: 0 0 16px;
}

.heading-group .lede {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(17, 24, 39, .74);
  margin: 0;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.success-message[hidden] {
  display: none;
}

.success-message {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eafbf1;
  color: #1a7a44;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
}

.signup-form[hidden] {
  display: none;
}

.signup-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.signup-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(15, 23, 42, .22);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: inherit;
  outline: none;
}

.signup-form input:focus {
  border-color: #3B82F6;
}

.signup-form button {
  padding: 14px 24px;
  border-radius: 100px;
  border: none;
  background: #3B82F6;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.signup-form button:hover {
  background: #2563EB;
}

.footer-note {
  font-size: 13px;
  color: rgba(51, 65, 85, .68);
  margin: 8px 0 0;
}
