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

body {
  background: #0f1117;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Hero */

header {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
}

header .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #f8fafc;
}

.subtitle {
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 600px;
}

.cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: #6366f1;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  align-self: flex-start;
  transition: background 0.2s;
}

.cta:hover {
  background: #4f46e5;
}

/* Sections */

section {
  padding: 4rem 0;
  border-top: 1px solid #1e2233;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 2rem;
}

/* For Whom */

#for-whom ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#for-whom li {
  font-size: 1.1rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#for-whom li::before {
  content: "✓";
  color: #6366f1;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* How It Works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  background: #1e2233;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: #6366f1;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f1f5f9;
}

.step p {
  font-size: 0.95rem;
  color: #94a3b8;
}

.step code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: #0f1117;
  color: #a5b4fc;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* Code Example */

#example pre {
  background: #1e2233;
  padding: 1.5rem;
  border-radius: 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
  color: #e2e8f0;
}

/* Footer */

footer {
  border-top: 1px solid #1e2233;
  padding: 2rem 0;
}

footer .container {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

footer a {
  color: #6366f1;
  text-decoration: none;
  font-size: 0.95rem;
}

footer a:hover {
  text-decoration: underline;
}

footer .sep {
  color: #334155;
}

/* Mobile */

@media (max-width: 640px) {
  h1 {
    font-size: 1.75rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .steps {
    grid-template-columns: repeat(1, 1fr);
  }
}
