/* ── Base: force dark mode ── */
[data-md-color-scheme="slate"] {
  --md-default-bg-color: #0a0e14;
  --md-default-bg-color--light: #111820;
  --md-default-fg-color: #c9d1d9;
  --md-primary-fg-color: #0a0e14;
  --md-primary-bg-color: #c9d1d9;
  --md-accent-fg-color: #3fb950;
  --md-typeset-a-color: #3fb950;
}

.md-main__inner {
  margin-top: 0;
}

/* ── Typography ── */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

/* ── Landing container ── */
.al-landing {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ── Hero ── */
.al-hero {
  text-align: center;
  padding: 4rem 0 2rem;
}

.al-logo-mark {
  display: inline-block;
  margin-bottom: 1.5rem;
  line-height: 0;
}

.al-hero h1 {
  font-size: 3rem;
  margin: 0.5rem 0;
  color: #e6edf3;
  letter-spacing: -0.02em;
}

.al-tagline {
  font-size: 1.35rem;
  color: #e6edf3;
  font-weight: 400;
}

.al-hero > p {
  font-size: 1.1rem;
  color: #8b949e;
  line-height: 1.7;
  max-width: 600px;
  margin: 1rem auto 2.5rem;
}

/* ── Divider ── */
.al-divider {
  width: 60px;
  height: 1px;
  background: #21262d;
  margin: 3rem auto;
}

/* ── Features grid ── */
.al-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.al-feature {
  padding: 1.5rem;
  background: #111820;
  border: 1px solid #1c2129;
  border-radius: 12px;
  transition: border-color 0.2s;
}

.al-feature:hover {
  border-color: #30363d;
}

.al-feature h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: #e6edf3;
}

.al-feature p {
  font-size: 0.9rem;
  color: #8b949e;
  line-height: 1.6;
  margin: 0;
}

.al-feature-icon {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: #3fb950;
  margin-bottom: 0.25rem;
}

/* ── Stats row ── */
.al-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.al-stat {
  padding: 1rem 0;
}

.al-stat-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #3fb950;
  display: block;
  margin-bottom: 0.25rem;
}

.al-stat p {
  font-size: 0.85rem;
  color: #8b949e;
  margin: 0;
}

/* ── How it works ── */
.al-how {
  text-align: center;
}

.al-how h3 {
  color: #e6edf3;
  margin-bottom: 1.5rem;
}

.al-how pre {
  text-align: left;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.al-how > p {
  color: #8b949e;
  font-size: 1rem;
}

/* ── Bottom CTA ── */
.al-bottom-cta {
  text-align: center;
  padding: 2rem 0;
}

.al-bottom-cta h3 {
  color: #e6edf3;
  margin-bottom: 1.5rem;
}

.al-bottom-cta pre {
  text-align: left;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.al-bottom-cta > p {
  color: #8b949e;
  margin-bottom: 1.5rem;
}

/* ── CTA buttons ── */
.al-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  background: #3fb950;
  color: #0a0e14 !important;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.1s;
  margin: 0.25rem;
}

.al-btn:hover {
  background: #56d364;
}

.al-btn--secondary {
  background: transparent;
  color: #c9d1d9 !important;
  border: 1px solid #30363d;
}

.al-btn--secondary:hover {
  background: #161b22;
  border-color: #8b949e;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .al-hero h1 {
    font-size: 2.2rem;
  }

  .al-tagline {
    font-size: 1.1rem;
  }

  .al-features {
    grid-template-columns: 1fr;
  }

  .al-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .al-hero h1 {
    font-size: 1.8rem;
  }

  .al-landing {
    padding: 1rem 1rem 3rem;
  }

  .al-hero {
    padding: 2rem 0 1rem;
  }
}
