@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Source+Code+Pro:wght@400;500;600;700&display=swap");

body:has(.mf-home-hero--center) button.theme-switch-button,
body:has(.mf-home-hero--center) .theme-switch-button {
  display: none !important;
}

.mf-home-hero--center {
  --mf-home-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mf-home-heading: #061b31;
  --mf-home-muted: #64748d;
  display: block;
  font-family: var(--mf-home-sans);
}

html[data-theme="dark"] .mf-home-hero--center {
  --mf-home-heading: #f1f5f9;
  --mf-home-muted: #cbd5e1;
}

.mf-home-hero__center-shell {
  max-width: min(52rem, 100%);
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.35rem, 4vw, 3rem) 0.5rem clamp(1.1rem, 3vw, 2.2rem);
}

.mf-home-hero__eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mf-home-muted);
  font-weight: 600;
}

.mf-home-hero__title {
  margin: 0 0 1.2rem;
  font-size: clamp(2.45rem, 7vw, 4.9rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--mf-home-heading);
}

.mf-home-hero__lead {
  margin: 1.2rem auto 1.35rem;
  max-width: 44rem;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.62;
  color: var(--mf-home-muted);
}

.mf-home-hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.mf-home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  padding: 0.62rem 1.25rem;
  min-width: 9.5rem;
  background: #1f2e44;
  border: 1px solid #1f2e44;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 500;
}

.mf-home-hero__btn:hover {
  background: #162233;
  border-color: #162233;
}

.mf-home-hero__btn--ghost {
  background: #eceef1;
  border-color: #eceef1;
  color: #28384c !important;
}

.mf-home-hero__btn--ghost:hover {
  background: #e2e5ea;
  border-color: #e2e5ea;
  color: #1f2e44 !important;
}

/* ----- Home: strip Sphinx chrome (breadcrumb, footer nav, sidebar chrome) ----- */

body:has(.mf-home-hero--center) .bd-header-article {
  display: none !important;
}

body:has(.mf-home-hero--center) .prev-next-footer {
  display: none !important;
}

body:has(.mf-home-hero--center) .bd-article-container .bd-article {
  padding-top: 0;
}

body:has(.mf-home-hero--center) .bd-sidebar-secondary {
  display: none !important;
}
