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

:root {
  --bg: #0d0d0d;
  --bg-card: #141414;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f0;
  --text-muted: #666;
  --text-dim: #444;
  --accent: #00e676;
  --accent-dim: rgba(0, 230, 118, 0.12);
  --font-mono: 'Courier New', Courier, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

main {
  flex: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Header */
.header {
  margin-bottom: 5rem;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: 4px;
  display: inline-block;
}

/* Hero */
.hero {
  margin-bottom: 4rem;
}

.book-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.accent {
  color: var(--accent);
}

.subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #999;
  max-width: 520px;
}

/* Proof section */
.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 4rem;
}

.proof-item {
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.proof-icon {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.proof-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA */
.cta-section {
  margin-bottom: 5rem;
}

.cta-label {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 500;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.email-form:focus-within {
  border-color: rgba(0, 230, 118, 0.5);
}

.email-form input {
  flex: 1;
  background: var(--bg-card);
  border: none;
  outline: none;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  font-family: var(--font-sans);
}

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

.email-form button {
  background: var(--accent);
  color: #0d0d0d;
  border: none;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.email-form button:hover {
  opacity: 0.85;
}

.cta-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.6rem;
  font-family: var(--font-mono);
}

.success-msg {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

.success-msg.visible {
  display: block;
}

/* Topics */
.topics-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.topics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.topics-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.5;
}

.topics-list li:first-child {
  border-top: 1px solid var(--border);
}

.num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  min-width: 24px;
  flex-shrink: 0;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  border-top: 1px solid var(--border);
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 480px) {
  main {
    padding: 2.5rem 1.25rem 4rem;
  }

  .header {
    margin-bottom: 3rem;
  }

  .hero {
    margin-bottom: 2.5rem;
  }

  .email-form {
    flex-direction: column;
    border-radius: 6px;
  }

  .email-form button {
    border-radius: 0;
  }

  .proof {
    grid-template-columns: 1fr;
  }
}
