/* Responsive presentation for the two linked App Directory prototypes. */
@media screen and (max-width: 860px) {
  html { scroll-padding-top: 140px; }
  body { padding-top: 132px; -webkit-text-size-adjust: 100%; }
  .header { padding: max(12px, env(safe-area-inset-top)) 16px 8px; flex-wrap: wrap; gap: 8px; }
  .header-main-nav { display: contents; }
  .logo { font-size: 16px; gap: 6px; }
  .nav { display: flex; order: 3; width: 100%; max-width: 100%; gap: 24px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
  .user-section { gap: 8px; margin-left: auto; }
  .content-prefs { min-height: 44px; }
  .content-prefs span { display: none; }
  .content-prefs .admin-icon { width: 22px; height: 22px; }
  .action-icon { max-width: 32px; height: 32px; object-fit: contain; }
  .hero { padding: 24px 20px 36px; }
  .hero-content { display: flex; flex-direction: column; gap: 24px; }
  .hero-text, .hero-visual { width: 100%; min-width: 0; flex: auto; }
  .hero h1 { margin: 12px 0 28px; font-size: clamp(28px, 6vw, 40px); line-height: 1.3; }
  .hero h1 br { display: none; }
  .search-box { width: 100%; min-width: 0; padding-inline: 14px; }
  .search-box input, .search-input { min-width: 0; width: 100%; font-size: 16px; }
  .search-box svg { flex-shrink: 0; }
  .app-grid-visual { width: 100%; max-width: 563px; height: 260px; margin: auto; gap: 20px; padding: 24px; }
  .visual-overlay-image { max-width: 85%; object-fit: contain; }
  .page-title-header { padding-inline: 20px; }
  .page-title-header .main-title { margin-top: 24px; font-size: clamp(28px, 6vw, 42px); overflow-wrap: anywhere; }
  .hover-svg { display: none; }
  [id^="center-image-container"] { display: none; }
  .page-title-header .title-highlight { display: inline; white-space: normal; }
  #application-text-wrapper, #solutions-text-wrapper { white-space: normal; }
  #title-solutions::before, #title-solutions::after,
  #solutions-text-wrapper::before, #solutions-text-wrapper::after { display: none; }
  .clicklark2-image { width: 100%; max-width: 100%; left: 0; }
  .search-container { width: 100%; max-width: 540px; margin-inline: auto; }
  .banner-container { display: grid; grid-template-columns: 1fr; width: 100%; gap: 20px; }
  .banner { min-width: 0; width: 100%; overflow: hidden; }
  .banner-text { width: 58%; position: relative; z-index: 1; }
  .banner-text h3 { font-size: 20px; }
  .banner-text p { font-size: 13px; }
  .banner-image { max-width: 56%; object-fit: contain; }
  .filter-container { justify-content: flex-start; flex-wrap: nowrap; width: 100%; padding: 8px 20px 16px; overflow-x: auto; overscroll-behavior-x: contain; }
  .filter-tag, .more-filters { flex-shrink: 0; min-height: 44px; }
  .main-content, .main-content-wrapper { width: 100%; padding-inline: 20px; }
  .section-title { flex-wrap: wrap; gap: 10px; font-size: 24px; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .app-card { min-width: 0; padding: 20px 16px; }
  .app-header { gap: 12px; min-width: 0; }
  .app-info { min-width: 0; }
  .app-info h3 { overflow-wrap: anywhere; }
  .app-description { overflow-wrap: anywhere; }
  .app-card .get-in-touch-btn { position: static; float: right; min-height: 36px; opacity: 1; margin: 0 0 12px 8px; }
  .app-meta { flex-wrap: wrap; gap: 8px; }
  .solution-grid { grid-template-columns: 1fr; gap: 20px; }
  .solution-card { padding: 24px 20px 0; }
  .solution-card-bg { max-width: 100%; object-fit: contain; }
  .business-future { padding: 52px 20px; }
  .business-future h2 { font-size: clamp(28px, 6vw, 40px); }
  .business-future p { font-size: 16px; }
  .cta-buttons { gap: 12px; }
  .cta-buttons .btn { min-height: 44px; }
  .ecosystem { padding-block: 48px; }
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ecosystem-item { padding: 24px 20px; min-width: 0; }
  .ecosystem-item h3, .ecosystem-item p { overflow-wrap: anywhere; }
  .growth-engines { padding: 48px 0; overflow: hidden; }
  .growth-engines h2 { font-size: 28px; line-height: 1.4; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .stat-number { font-size: 36px; }
  .stat-label { font-size: 13px; }
  .footer { padding: 40px 20px max(24px, env(safe-area-inset-bottom)); }
  .footer-container { flex-direction: column; gap: 28px; }
  .footer-content { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-section a { display: inline-block; padding-block: 6px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
}
@media screen and (max-width: 600px) {
  .app-grid, .ecosystem-grid { grid-template-columns: minmax(0, 1fr); }
  .app-grid-visual { height: 240px; }
  .section-title { font-size: 22px; }
}
