/* Page-local refinements for mobile-apps2-test.html */

.mobile-need-section {
  background: var(--light);
}

.mobile-need-card {
  padding: 28px 24px;
}

.mobile-need-card .feature-ico {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}

.mobile-need-card h4 {
  line-height: 1.45;
}

.mobile-experience-panel .hp-metric strong {
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.25;
}

.mobile-experience-panel .hp-row {
  grid-template-columns: minmax(92px, auto) 1fr;
}

.mobile-experience-panel .hp-pct {
  display: none;
}

.mobile-experience-panel .hp-bar-ease {
  width: 86%;
}

.mobile-experience-panel .hp-bar-data {
  width: 74%;
}

.mobile-experience-panel .hp-bar-access {
  width: 80%;
}

.alfa-experience-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 980px;
  margin: 28px auto 0;
  padding: 16px 20px;
  color: var(--text);
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.alfa-experience-note i {
  flex: 0 0 auto;
  color: var(--accent);
}

.alfa-experience-note p {
  margin: 0;
  line-height: 1.8;
}

html[data-theme="dark"] .mobile-need-section {
  background: var(--light);
}

html[data-theme="dark"] .alfa-experience-note {
  background: var(--card);
  border-color: var(--line);
}

@media (max-width: 1199.98px) {
  .site-nav .navbar-nav {
    row-gap: 4px;
  }
}

@media (max-width: 575.98px) {
  .top-bar .container > div:first-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    min-width: 0;
  }

  .top-bar a + a {
    margin-inline-start: 0;
  }

  .top-bar .meta {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .mobile-experience-panel .hp-metrics {
    gap: 7px;
  }

  .mobile-experience-panel .hp-metric {
    padding: 12px 6px;
  }

  .mobile-experience-panel .hp-metric strong {
    font-size: .82rem;
  }

  .mobile-experience-panel .hp-metric small,
  .mobile-experience-panel .hp-metric span {
    font-size: .62rem;
  }

  .mobile-experience-panel .hp-row {
    grid-template-columns: 88px 1fr;
    gap: 8px;
  }

  .mobile-experience-panel .hp-row .hp-label {
    font-size: .72rem;
  }

  .alfa-experience-note {
    align-items: flex-start;
    padding: 14px 16px;
  }
}
