:root {
  --bg: #0e1a2e;
  --bg-raised: #16273f;
  --navy: #16294a;
  --accent: #e86e21;
  --silver: #9c9e9d;
  --text: #f4f5f4;
  --text-dim: #9aa4b2;
  --border: #223452;
}

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

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.logo {
  width: min(220px, 60vw);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.wordmark {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 9vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--silver);
}

.wordmark .accent {
  display: block;
  color: var(--accent);
}

.tagline {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

.copy {
  margin-top: 1.25rem;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.signup-form {
  margin-top: 2.5rem;
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.signup-form input[type="email"] {
  flex: 1 1 220px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s ease;
}

.signup-form input[type="email"]:focus {
  border-color: var(--accent);
}

.signup-form input[type="email"]::placeholder {
  color: var(--text-dim);
}

.signup-form button {
  flex: 0 0 auto;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.signup-form button:hover {
  filter: brightness(1.1);
}

.signup-form button:active {
  transform: scale(0.98);
}

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

.form-message {
  margin-top: 1rem;
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-message[data-state="success"] {
  color: #4ade80;
}

.form-message[data-state="error"] {
  color: var(--accent);
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  color: var(--text-dim);
  font-size: 0.8rem;
}

@media (max-width: 420px) {
  .signup-form {
    flex-direction: column;
  }
  .signup-form button {
    width: 100%;
  }
}
