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

:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --border: #262626;
  --border-hover: #404040;
  --text: #ededed;
  --muted: #737373;
  --accent: #22c55e;
  --accent-dark: #16a34a;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */

header {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #333 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 40px;
  max-width: 860px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.subheadline {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Terminal */

.terminal {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-hover);
}

.terminal-title {
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
}

.terminal-body {
  padding: 20px;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text);
  white-space: pre;
  overflow-x: auto;
}

.t-muted { color: var(--muted); }
.t-green  { color: var(--accent); font-weight: 600; }
.t-label  { color: #a3a3a3; font-weight: 500; }

/* Features */

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-card {
  background: var(--bg);
  padding: 40px;
  transition: background 0.15s;
}

.feature-card:hover {
  background: var(--surface);
}

.feature-icon {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--muted);
}

.feature-card h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* CTA */

.cta {
  text-align: center;
  padding: 100px 40px;
}

.cta h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--text);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

#email-input {
  width: 100%;
  max-width: 300px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid #404040;
  border-radius: 7px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

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

#email-input:focus {
  border-color: var(--accent);
}

#cta-button {
  padding: 10px 22px;
  background: var(--accent);
  color: #0d0d0d;
  border: none;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

#cta-button:hover {
  background: var(--accent-dark);
}

#cta-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

#cta-button:disabled {
  background: var(--border-hover);
  color: var(--muted);
  cursor: not-allowed;
}

.cta-note {
  font-size: 13px;
  color: var(--muted);
}

/* Footer */

footer {
  text-align: center;
  padding: 28px 40px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

/* Desktop */

@media (min-width: 768px) {
  header { padding: 20px 60px; }
  .hero-content { padding: 80px 60px; }

  .features {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .cta { padding: 100px 60px; }
  footer { padding: 28px 60px; }

  .cta-form {
    flex-direction: row;
    justify-content: center;
  }

  #email-input { width: 260px; }
}
