:root {
  color-scheme: dark;
  --bg: #031330;
  --bg-secondary: #05204f;
  --accent: #ffd447;
  --accent-strong: #ffb347;
  --text: #f6fbff;
  --muted: #98abd8;
  --outline: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 25%, rgba(15, 84, 193, 0.55), transparent 45%),
    radial-gradient(circle at 80% 12%, rgba(7, 150, 197, 0.35), transparent 50%),
    radial-gradient(circle at 40% 85%, rgba(255, 212, 71, 0.25), transparent 55%),
    var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  padding: clamp(2rem, 4vw, 4rem) 1.5rem 2rem;
}

main.page {
  width: min(960px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 1;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero__tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.launch-window {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 1.35rem;
  background: linear-gradient(135deg, rgba(255, 212, 71, 0.15), rgba(255, 179, 71, 0.15));
  color: var(--accent);
  border: 1px solid rgba(255, 212, 71, 0.45);
  border-radius: 999px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.signup,
.socials-callout {
  margin: 0;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  background: rgba(5, 32, 79, 0.65);
  border: 1px solid var(--outline);
  border-left: 4px solid var(--accent);
}

.signup h2,
.socials-callout h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.signup p,
.socials-callout p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 520px;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

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

input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1rem;
}

input[type="email"]::placeholder {
  color: rgba(246, 251, 255, 0.6);
}

button[type="submit"] {
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #052250;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(255, 212, 71, 0.35);
}

.signup__status {
  min-height: 1.25rem;
  font-size: 0.95rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-weight: 500;
}

.signup__status.is-success {
  color: var(--accent);
}

.signup__status.is-error {
  color: #ff8f82;
}

.privacy {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.brand-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.brand-link:hover {
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.socials a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--outline);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 150ms ease, transform 150ms ease;
}

.socials a:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.socials img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}

.socials--large {
  gap: 1rem;
}

.socials--large a {
  width: 48px;
  height: 48px;
}

.socials--large img {
  width: 24px;
  height: 24px;
}

.site-footer {
  margin-top: 1rem;
  border-top: 1px solid var(--outline);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  body {
    padding-top: 2rem;
  }
}
