/* Main heading - prominent and readable */
.md-content h1,
.md-typeset h1 {
  color: #000 !important;
  margin-bottom: 0.25rem !important;
}

/* Product explainer - subtle subtitle */
.explainer {
  font-size: 1.1rem;
  font-weight: 400;
  color: #374151;
  margin: 0 0 0.5rem 0;
}

/* Supporting sentence - below subtitle */
.supporting {
  font-size: 1rem;
  font-weight: 400;
  color: #6b7280;
  margin: 0 0 1.5rem 0;
}

/* Hero - centered single column */
.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 4.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-img-centered {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

.hero-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: #000;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.hero-subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  color: #374151;
  margin: 0 0 0.15rem 0;
}

.hero-supporting {
  font-size: 1rem;
  font-weight: 400;
  color: #4b5563;
  margin: 0;
  max-width: 500px;
}

/* Hide permalink anchors (¶) - navigation sidebar is sufficient */
.md-typeset .headerlink,
.md-typeset a.headerlink {
  display: none !important;
}

/* === Why We Built Obra Section - Option 2 Accent Design === */

/* Accent color variable - matches tagline gradient start */
:root {
  --accent-color: #667eea;
  --accent-color-light: rgba(102, 126, 234, 0.1);
}

/* Section headers in Why We Built Obra - subtle accent underline */
.md-content h3 {
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
  margin-bottom: 1rem;
}


/* Closing section - matches explainer style for visual bookend */
.closing {
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  color: #374151;
  text-align: center;
}

.closing p {
  margin: 0.25rem 0;
}

/* Quick Start link styling */
.md-typeset a[href="quickstart.md"] {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-color);
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
}

.md-typeset a[href="quickstart.md"]:hover {
  background: #5a6fd6;
}

/* ==============================================
   HERO IMAGE RESPONSIVE SIZING
   ============================================== */

/* Desktop (>=1280px) - with sidebar */
@media (min-width: 1280px) {
  .hero-img-centered {
    max-width: 320px;
    max-height: 55vh;
  }
}

/* Mid-width (768px - 1279px) - hamburger nav */
@media (min-width: 768px) and (max-width: 1279px) {
  .hero-img-centered {
    max-width: 280px;
    max-height: 45vh;
  }

  .hero-centered {
    max-width: 720px;
  }
}

/* Mobile (<=767px) */
@media (max-width: 767px) {
  .hero-centered {
    margin-bottom: 3rem;
  }

  .hero-img-centered {
    max-width: 220px;
    max-height: 40vh;
    margin-bottom: 0.75rem;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-subheadline {
    font-size: 1.1rem;
  }

  .hero-supporting {
    font-size: 0.95rem;
  }
}
