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

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --border: #1e1e2a;
  --text-primary: #e4e4e7;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --font-heading: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  overflow: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.overlay::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(10,10,15,0.6) 100%);
  z-index: -1;
  pointer-events: none;
}

.header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.logo {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.logo em {
  font-style: italic;
  color: var(--accent);
}

.nav {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text-secondary);
}

.nav-sep {
  margin: 0 0.35rem;
  color: var(--border);
}

.hero {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-heading em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
}

.bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  width: 100%;
  max-width: 580px;
  text-align: left;
  margin: 0.5rem 0;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.bullet-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}

.bullet-icon svg {
  width: 100%;
  height: 100%;
}

.bullet-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.bullet-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.05rem;
}

.form-section {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.email-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.email-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

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

.cta-button {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cta-button:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.25);
}

.cta-button:active {
  transform: scale(0.97);
}

.form-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: left;
  width: 100%;
}

.success-message {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  text-align: center;
}

@media (max-width: 768px) {
  .overlay {
    padding: 1.25rem;
  }

  .header {
    padding: 1rem 1.25rem;
  }

  .hero-heading {
    font-size: 3rem;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .bullets {
    grid-template-columns: 1fr;
    gap: 0.625rem;
    max-width: 400px;
  }

  .form {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .hero {
    gap: 1rem;
  }

  .form-section {
    margin-top: 0.25rem;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.25rem;
  }

  .nav {
    display: none;
  }

  .header {
    justify-content: center;
  }
}
