:root {
  color-scheme: dark;
  --bg: #000000;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.5);
  --accent: #e61919;
  --accent-strong: #ff3333;
  --surface: rgba(25, 5, 5, 0.5);
}

* {
  box-sizing: border-box;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 3rem);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(210, 11, 11, 0.18), transparent 60%),
    radial-gradient(90% 90% at 85% 80%, rgba(210, 11, 11, 0.10), transparent 75%),
    radial-gradient(110% 110% at 15% 80%, rgba(120, 0, 0, 0.12), transparent 70%),
    #000000;
  color: var(--text-primary);
  text-align: center;
}

main {
  width: clamp(20rem, 92vw, 52rem);
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  width: 100%;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.hero__backdrop {
  display: none;
}

.hero::before,
.hero::after,
.hero__backdrop::before,
.hero__backdrop::after {
  display: none;
}

.hero__logo {
  width: 100%;
  max-width: clamp(24rem, 85vw, 48rem);
  z-index: 1;
  display: block;
  height: auto;
  padding: 0;
  margin-bottom: clamp(1rem, 2vw, 2rem);
  animation: fadeIn 0.7s ease-out;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(230, 25, 25, 0.15));
}

.hero__logo:hover {
  transform: scale(1.015);
  filter: drop-shadow(0 0 30px rgba(230, 25, 25, 0.25));
}

.lede {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.5;
  font-weight: 400;
  color: #D20B0B;
  max-width: 48rem;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out 0.2s both;
  background: linear-gradient(135deg, rgba(210, 11, 11, 0.08), rgba(210, 11, 11, 0.12));
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  display: inline-block;
  border: 1.5px solid #D20B0B;
}

p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.6;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: clamp(0.5rem, 1vw, 1rem);
  animation: fadeInUp 0.6s ease-out 0.35s both;
}

.input-row {
  width: min(32rem, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(25, 5, 5, 0.4), rgba(25, 5, 5, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.3rem 0.3rem 0.3rem 1.25rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
}

.input-row:focus-within {
  border-color: rgba(230, 25, 25, 0.3);
  background: linear-gradient(135deg, rgba(30, 5, 5, 0.5), rgba(30, 5, 5, 0.7));
}

input[type="email"] {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.05rem;
  outline: none;
  min-width: 0;
  font-family: inherit;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

input[type="email"]:focus {
  color: var(--text-primary);
}

input::placeholder {
  color: var(--text-muted);
}

button {
  border: none;
  background: var(--accent);
  color: #110101;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  font-family: inherit;
}

button:hover {
  background: #cc0f0f;
}

button:active {
  transform: translateY(1px);
}

button:focus-visible {
  outline: 2px solid rgba(255, 77, 77, 0.75);
  outline-offset: 4px;
}

.form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@media (max-width: 48rem) {
  main {
    gap: clamp(2rem, 4vw, 3rem);
  }

  .hero__logo {
    margin-bottom: clamp(0.5rem, 2vw, 1.5rem);
    filter: drop-shadow(0 0 15px rgba(230, 25, 25, 0.12));
  }

  .lede {
    font-size: clamp(1rem, 2.8vw, 1.25rem);
    line-height: 1.45;
  }

  form {
    gap: 0.875rem;
    margin-top: clamp(0.25rem, 1vw, 0.75rem);
  }

  .input-row {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0.75rem;
    background: transparent;
    border: none;
  }

  input[type="email"] {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(25, 5, 5, 0.5), rgba(25, 5, 5, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 1.05rem;
    backdrop-filter: blur(20px);
  }

  input[type="email"]:focus {
    border-color: rgba(230, 25, 25, 0.3);
    background: linear-gradient(135deg, rgba(30, 5, 5, 0.6), rgba(30, 5, 5, 0.8));
  }

  button {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
  }

  .form-note {
    font-size: 0.825rem;
    margin-top: 0.125rem;
  }
}
