/* ═══════════════════════════════════════════════════════════════════
   mobile.html — page styles.
   The scrollytelling phone (.mobile-showcase, .iphone-bezel, .app-*)
   lives in styles.css because it predates the per-page convention;
   everything added since — the real-screenshot screens, feature grid,
   FAQ, and closing CTA — lives here.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Real screenshot screens ────────────────────────────────────────
   Dashboard, Contacts, Scrape and Profile are actual captures of the
   app (rendered at the bezel's exact 1:2 aspect). The capture's own
   tab bar sits under the mock .app-bottom-nav, which is opaque and
   drives the scroll-step highlighting; Map and Scan stay as themed
   mockups (neither renders in the capture pipeline). */
.app-screen--img {
  padding: 0;
}

.app-screen--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── Section heading + feature grid ─────────────────────────────────
   Same shape as webapp.html's features-grid-4 (icon beside the title,
   description spanning below) at three tracks for six cards. */

.m-h2 {
  font-size: 32px;
  margin: 0 auto 20px;
}

.m-sub {
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.m-features {
  margin: 0 auto 120px;
  text-align: center;
}

.m-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
  text-align: left;
}

.m-features-grid .panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding: 28px;
}

.m-features-grid .feature-icon-box {
  grid-column: 1;
  grid-row: 1;
  width: 30px;
  height: 30px;
  margin: 0;
  background: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--muted);
}

.m-features-grid .feature-icon-box svg {
  width: 22px;
  height: 22px;
}

.m-features-grid .f-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.m-features-grid .f-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 14px 0 0;
  font-size: 15px;
}

@media (max-width: 900px) {
  .m-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .m-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Mini FAQ ───────────────────────────────────────────────────────
   Mirrors webapp.html's .faq-item block; duplicated here because that
   one lives in webapp.css, which this page doesn't load. */

.mobile-faq {
  margin: 0 auto 120px;
  max-width: 700px;
  text-align: center;
}

.faq-item {
  text-align: left;
  border-top: 1px solid #1e1e1e;
  padding: 20px 0;
}

.faq-item h3 {
  font-size: 16px;
  color: var(--fg);
  margin: 0 0 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: var(--measure);
}

.faq-item p a {
  color: var(--accent);
}

.mobile-faq-more {
  text-align: center;
  margin-top: 24px;
}

.mobile-faq-more a {
  color: var(--accent);
  font-weight: 600;
}

/* ── Closing CTA ────────────────────────────────────────────────────
   Same treatment as webapp.html's closing panel. */

.mobile-cta-end {
  margin: 0 0 40px;
  text-align: center;
  padding: 60px 32px;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 24px;
}
