/* Home-specific mobile refinements; never restyle other pages' headings. */
@media (max-width: 768px) {
  body.page-home #main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 100px - env(safe-area-inset-bottom, 0px)) !important;
  }
  body.page-home .mobile-app-header {
    flex: 0 0 auto;
    align-items: flex-start !important;
    padding: 0.85rem 1rem 0.4rem !important;
    margin-top: env(safe-area-inset-top, 0px) !important;
  }
  body.page-home .mobile-app-header .brand-title {
    font-size: 1.7rem !important;
    line-height: 1.15 !important;
  }
  body.page-home .mobile-app-header .brand-suffix {
    display: none;
  }
  body.page-home .mobile-app-header .home-intro {
    margin-top: 0.25rem;
    font-size: 0.9rem;
  }
  body.page-home .mobile-app-header .brand-highlight {
    color: #ff2d55 !important;
  }
  body.page-home.dark .mobile-app-header .brand-highlight {
    color: #ff6484 !important;
  }
  body.page-home #home-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 0.15rem !important;
    padding-bottom: 0.25rem !important;
    margin: 0 !important;
  }
  body.page-home .app-store-badge {
    margin: 0.7rem auto 0.35rem;
  }
}
