@font-face {
  font-family: 'Turbeau';
  src: url('fonts/Turbeau-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Turbeau';
  src: url('fonts/Turbeau-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Turbeau';
  src: url('fonts/Turbeau-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0A0A0A;
  color: #FFFFFF;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  width: 100%;
  padding: 2rem 1rem;
}

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

.logo {
  color: #DC0000;
  margin-bottom: 1.5rem;
}

.logo svg {
  width: 48px;
  height: 48px;
}

h1 {
  font-family: 'Turbeau', 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.tagline {
  color: #9CA3AF;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.signup-form {
  width: 100%;
}

.form-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-group input {
  flex: 1;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background-color: #0F0F0F;
  border: 1px solid #27272a;
  border-radius: 0.5rem;
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input::placeholder {
  color: #6B7280;
}

.form-group input:focus {
  border-color: #DC0000;
}

.form-group button {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  background-color: #DC0000;
  color: #FFFFFF;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.form-group button:hover {
  background-color: #B00000;
}

.form-note {
  color: #6B7280;
  font-size: 0.875rem;
}

.newsletter-form-container {
  width: 100%;
}

.newsletter-loading-button {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  background-color: #DC0000;
  color: #FFFFFF;
  border: none;
  border-radius: 0.5rem;
  cursor: default;
  white-space: nowrap;
  opacity: 0.7;
}

.newsletter-success,
.newsletter-error {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 0;
}

.newsletter-success-message {
  color: #22c55e;
  font-size: 1rem;
}

.newsletter-error-message {
  color: #ef4444;
  font-size: 1rem;
}

.newsletter-back-button {
  color: #9CA3AF;
  font-size: 0.875rem;
  font-family: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
}

.newsletter-back-button:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

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

  .form-group button {
    width: 100%;
  }
}
