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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
}

main {
  text-align: center;
  padding: 2rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ccc;
}

form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

input[type="email"] {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  width: 280px;
  outline: none;
}

input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(100, 100, 255, 0.5);
}

button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  background: #6c63ff;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #5a52d5;
}

button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden {
  display: none;
}

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

#confirmation {
  color: #a5f3a5;
  margin-top: 1.5rem;
}

#error-msg {
  color: #f87171;
  margin-top: 1.5rem;
}

.consent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.consent label {
  font-size: 0.85rem;
  color: #aaa;
}

.consent a {
  color: #9b93ff;
  text-decoration: underline;
}

.consent a:hover {
  color: #c4bfff;
}
