:root {
  --navy: #2D3E83;
  --orange: #E8662A;
  --gray: #8E8E8E;
  --light-bg: #FFFFFF;
  --white: #FFFFFF;
  --text-dark: #333333;
  --input-border: #D4D4D4;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  text-align: center;
  max-width: 520px;
  width: 100%;
  animation: fadeInUp 0.8s ease-out both;
}

/* Logo */
.logo {
  max-width: 260px;
  height: auto;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

/* Heading */
h1 {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.25s both;
}

/* Orange accent line */
.accent-line {
  width: 60px;
  height: 3px;
  background-color: var(--orange);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
  animation: fadeInUp 0.8s ease-out 0.35s both;
}

/* Tagline */
.tagline {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Form */
.signup-form {
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid var(--input-border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.signup-form input[type="email"]::placeholder {
  color: #A0A0A0;
}

.signup-form input[type="email"]:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(45, 62, 131, 0.1);
}

.signup-form button[type="submit"] {
  padding: 0.875rem 2rem;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background-color: var(--orange);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.signup-form button[type="submit"]:hover {
  background-color: #D45A22;
}

.signup-form button[type="submit"]:active {
  transform: scale(0.98);
}

.signup-form button[type="submit"]:disabled {
  background-color: #B0B0B0;
  cursor: not-allowed;
  transform: none;
}

/* Honeypot - visually hidden */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* Status messages */
.status-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.5em;
  animation: fadeInUp 0.4s ease-out both;
}

.status-success {
  color: #2E7D32;
}

.status-error {
  color: #C62828;
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .logo {
    max-width: 200px;
  }

  h1 {
    font-size: 1.75rem;
  }

  .form-row {
    flex-direction: column;
  }

  .signup-form button[type="submit"] {
    width: 100%;
    padding: 0.875rem;
  }
}
