/* Compact, touch-friendly PWA install affordance and typography guardrails. */
[data-nx-install-slot][hidden] { display: none !important; }
.nx-install-app-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 16px; border:1px solid rgba(22,163,74,.25); border-radius:12px; background:#166534; color:#fff; font:700 14px/1.2 Inter,-apple-system,BlinkMacSystemFont,sans-serif; cursor:pointer; box-shadow:0 6px 18px rgba(22,101,52,.2); }
.nx-install-app-btn:hover { background:#15803d; }
.nx-install-app-btn:disabled { opacity:.65; cursor:wait; }
.nx-install-app-btn i { font-size:17px; }
.nx-install-slot-home { margin-top:12px; }
.nx-install-slot-dashboard { margin:0 0 16px; }

/* Compact variant of the same button for tight header/topbar real estate
   (public nav bar and the dashboard top bar), so it sits inline with the
   other icons instead of taking a full-size CTA's worth of space. */
.nx-install-slot-nav, .nx-install-slot-topbar { display:inline-flex; }
.nx-install-slot-nav .nx-install-app-btn,
.nx-install-slot-topbar .nx-install-app-btn {
  min-height:38px; padding:8px 14px; font-size:13px; border-radius:10px;
}
.nx-install-slot-nav .nx-install-app-btn i,
.nx-install-slot-topbar .nx-install-app-btn i { font-size:15px; }
/* On very narrow screens (mobile topbar), keep it to an icon-only tap
   target so it never crowds the logo/menu/notification/avatar cluster. */
@media (max-width: 420px) {
  .nx-install-slot-topbar .nx-install-app-btn { padding:8px; width:38px; }
  .nx-install-slot-topbar .nx-install-app-btn span { display:none; }
}

/* ============================================================
   APP-LIKE TYPOGRAPHY
   Bigger, bolder text across the public site so it reads like a real
   mobile app rather than a marketing page -- most noticeable once the
   PWA is actually installed and running in standalone display-mode.
   ============================================================ */
.hp-hero-content h1, .hp-hero h1 { font-weight:900 !important; }
.hp-hero-content .subtitle, .hp-hero .subtitle {
  font-weight:600 !important; font-size:clamp(17px,2.4vw,20px) !important;
}
.hp-nav-links a { font-weight:700 !important; }
.hp-hero-stats .stat-number { font-weight:900 !important; }
.hp-hero-stats .stat-label { font-weight:700 !important; }
.hp-how-it-works h2, .section-header h2, .hp-hero-badge {
  font-weight:800 !important;
}
.nx-btn, .nx-btn-sm { font-weight:700 !important; }

@media (max-width: 767px) {
  .hp-hero-content h1, .hp-hero h1 { font-size:clamp(36px,9.5vw,48px) !important; }
  .hp-hero-content .subtitle, .hp-hero .subtitle { font-size:17px !important; }
  .hp-how-it-works h2, .section-header h2 { font-size:clamp(26px,7vw,32px) !important; }
}

/* Once launched as an installed app (standalone / fullscreen), push the
   scale and weight up further so it matches a native mobile-app feel. */
@media (display-mode: standalone), (display-mode: fullscreen) {
  body { font-weight:500; }
  .hp-hero-content h1, .hp-hero h1 { font-size:clamp(38px,10vw,52px) !important; }
  .hp-hero-content .subtitle, .hp-hero .subtitle { font-size:18px !important; font-weight:700 !important; }
  .nx-h3 { font-weight:800 !important; }
}
