/* =============================================================
   Homepage hero
   ============================================================= */

.bs-hero {
  padding: 2.5rem 0 1.75rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.bs-hero__kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 0.75rem;
}

.bs-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  background: linear-gradient(135deg, #0047cc 0%, #5500d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bs-hero__lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 2rem;
}

.bs-hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.md-typeset .bs-hero__btn,
.bs-hero__btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.md-typeset .bs-hero__btn:hover,
.bs-hero__btn:hover {
  text-decoration: none;
}

.md-typeset .bs-hero__btn--primary,
.bs-hero__btn--primary {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.35);
}

.md-typeset .bs-hero__btn--primary:hover,
.bs-hero__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(13, 110, 253, 0.5);
  color: #fff;
}

.md-typeset .bs-hero__btn--ghost,
.bs-hero__btn--ghost {
  background: transparent;
  color: #374151;
  border: 1px solid #d1d5db;
}

.md-typeset .bs-hero__btn--ghost:hover,
.bs-hero__btn--ghost:hover {
  background: #f3f4f6;
  color: #374151;
}

/* =============================================================
   App window chrome
   Usage: <div class="app-window"><img src="..." alt="..."></div>
   ============================================================= */

.app-window {
  display: inline-block;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.10),
    0 32px 72px rgba(0, 0, 0, 0.08);
}

.app-window p {
  margin: 0;
  line-height: 0;
}

.app-window img {
  display: block;
  max-width: 100%;
  height: auto;
}

[data-md-color-scheme="slate"] .app-window {
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.20),
    0 8px 24px rgba(0, 0, 0, 0.30),
    0 32px 72px rgba(0, 0, 0, 0.25);
}

/* =============================================================
   Homepage showcase screenshot
   ============================================================= */

.bs-showcase {
  margin: 0 0 2rem;
}

.bs-showcase img {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.06);
}

.bs-showcase--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 720px) {
  .bs-showcase--pair {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   Standalone CTA row (post-showcase)
   ============================================================= */

.bs-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 4rem;
}

/* =============================================================
   Feature strip
   ============================================================= */

.bs-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 4rem;
}

.bs-feature {
  padding: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafafb;
}

.md-typeset .bs-feature__title,
.bs-feature__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #111827;
}

.md-typeset .bs-feature__desc,
.bs-feature__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #4b5563;
  margin: 0;
}

.md-typeset .bs-feature__desc code,
.bs-feature__desc code {
  font-size: 0.8125rem;
  padding: 0.05rem 0.3rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0.2rem;
}

.md-typeset .bs-feature__code,
.bs-feature__code {
  display: block;
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.75rem;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 0.3rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #1f2937;
  overflow-x: auto;
  white-space: pre;
}

.md-typeset .bs-feature__code code,
.bs-feature__code code {
  background: transparent;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

@media (max-width: 1100px) {
  .bs-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .bs-features {
    grid-template-columns: 1fr;
  }
}

