/* The public website on a phone (home, pricing, solution pages). Loaded after the page's own styles; every rule here is
   for small screens only, so the desktop look doesn't change. The menu button and its drawer come from assets/js/mobile-nav.js. */

.lp-burger { display: none; }
.lp-drawer { display: none; }

@media (max-width: 720px) {
  html { -webkit-text-size-adjust: 100%; }
  body.landing { font-size: 15px; }

  /* ---- top bar: logo, one main button, menu ---- */
  .lp-bar, body.lp-blue .lp-bar { padding: 8px 12px; gap: 8px; }
  .lp-brand { font-size: 16px; gap: 8px; white-space: nowrap; }
  .lp-brand .lp-mark { width: 32px; height: 32px; font-size: 12px; border-radius: 9px; }
  .lp-cta { gap: 6px; margin-left: auto; }
  .lp-cta .lp-btn { padding: 7px 13px; font-size: 13.5px; border-radius: 9px; }
  .lp-cta .lp-btn:not(.lp-btn-solid) { display: none; }
  .lp-cta .lp-btn:only-child { display: inline-block; }
  .lp-burger { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #dfe5f2; border-radius: 10px; background: #fff; color: #0b1f4d; font-size: 17px; cursor: pointer; flex: none; }
  .lp-drawer { display: block; position: fixed; inset: 55px 0 auto 0; z-index: 30; background: #fff; border-bottom: 1px solid #e3e9f6; box-shadow: 0 18px 30px rgba(11, 31, 77, .14);
    padding: 8px 16px 16px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
  .lp-drawer.open { transform: none; opacity: 1; pointer-events: auto; }
  .lp-drawer a.lp-dl { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid #eef1f7; color: #0b1f4d; text-decoration: none; font-size: 15.5px; font-weight: 600; }
  .lp-drawer a.lp-dl i { color: #9aa6c2; font-size: 12px; }
  .lp-drawer-cta { display: flex; gap: 10px; margin-top: 14px; }
  .lp-drawer-cta > * { flex: 1; text-align: center; padding: 11px 12px !important; font-size: 14.5px !important; display: block !important; }
  .lp-drawer-shade { position: fixed; inset: 55px 0 0 0; z-index: 25; background: rgba(8, 20, 50, .25); }

  /* ---- sideways-swiping rows instead of a tall stack of cards ---- */
  :is(.lp2-mod-grid, .lp2-sol-grid, .pr-tier-grid, .sl-grid) { display: flex !important; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    gap: 12px !important; margin: 0 -16px; padding: 4px 16px 14px; scroll-padding: 0 16px; scrollbar-width: none; }
  :is(.lp2-mod-grid, .lp2-sol-grid, .pr-tier-grid, .sl-grid)::-webkit-scrollbar { display: none; }
  :is(.lp2-mod-grid, .lp2-sol-grid, .pr-tier-grid, .sl-grid) > * { flex: 0 0 78%; scroll-snap-align: start; transform: none !important; }
  .m-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .m-dots i { width: 6px; height: 6px; border-radius: 50%; background: #cfd8ea; transition: width .15s ease, background .15s ease; }
  .m-dots i.on { width: 18px; border-radius: 3px; background: #1a6cf0; }

  /* ---- home ---- */
  .lp2-hero-in { padding: 24px 16px 28px; gap: 18px; }
  .lp2-kicker { font-size: 12.5px; }
  .lp2-hero h1 { font-size: 30px; margin-bottom: 6px; }
  .lp2-hero h2 { font-size: 17px; margin-bottom: 10px; }
  .lp2-hero p { font-size: 14.5px; line-height: 1.55; margin-bottom: 16px; }
  .lp2-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 4px; }
  .lp2-feat { align-items: center; text-align: center; }
  .lp2-feat .lp2-fi { width: 40px; height: 40px; font-size: 16px; }
  .lp2-feat b { font-size: 11.5px; line-height: 1.2; }
  .lp2-feat small { display: none; }
  .lp2-mock { width: 86%; margin: 0 auto; font-size: 7.2px; }
  .lp2-modules { padding-top: 30px; padding-bottom: 18px; }
  .lp2-solutions { padding-top: 12px; padding-bottom: 30px; }
  .lp2-sec-head { margin-bottom: 14px; }
  .lp2-sec-head h3 { font-size: 22px; }
  .lp2-sec-head p { font-size: 14px; }
  .lp2-mod-grid > * { flex-basis: 62%; }
  .lp2-sol { min-height: 210px; padding: 20px 18px; }
  .lp2-sol h4 { font-size: 18px; }
  .lp2-sol p { font-size: 13.5px; }
  .lp2-sol-ico { margin-bottom: 8px; }

  /* ---- contact form ---- */
  .lp-section#support { padding: 34px 16px; }
  .lp-head { margin-bottom: 18px; }
  .lp-head h2 { font-size: 24px; }
  .lp-support { padding: 16px; border-radius: 14px; gap: 10px; }
  .lp-support .lp-btn-lg { width: 100%; }

  /* ---- footer: shorter, the two link lists side by side ---- */
  .lp-footer-in { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 30px 16px 22px; }
  .lp-footer-in > div:first-child { grid-column: 1 / -1; }
  .lp-f-brand { font-size: 18px; margin-bottom: 8px; }
  .lp-f-brand .lp-mark { width: 38px; height: 38px; font-size: 14px; }
  .lp-footer p { font-size: 13.5px; margin-bottom: 12px; line-height: 1.5; }
  .lp-footer h4 { font-size: 17px; margin-bottom: 10px; font-family: inherit; font-weight: 700; }
  .lp-f-list { gap: 9px; }
  .lp-f-list a { font-size: 13.5px; gap: 8px; }
  .lp-f-list i { font-size: 11px; width: 12px; }
  .lp-f-mail { grid-column: 1 / -1; margin-top: 12px; font-size: 13px; word-break: break-word; }
  .lp-f-bottom { font-size: 12px; padding: 12px; }

  /* ---- pricing ---- */
  .pr-hero-in { padding: 24px 16px 10px !important; }
  .pr-hero h1 { font-size: 26px !important; }
  .pr-hero p { font-size: 14px; }
  .pr-mock { display: none !important; }
  .pr-badges { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; padding: 8px 16px 20px !important; }
  .pr-badges > div { display: flex !important; align-items: center; flex-direction: column !important; text-align: center; padding: 10px 6px !important; gap: 6px !important; }
  .pr-badges span { margin: 0 auto; width: 34px !important; height: 34px !important; font-size: 14px !important; }
  .pr-badges b { font-size: 12px !important; }
  .pr-badges small { display: none !important; }
  .pr-toggle-wrap { margin-top: 14px; }
  .pr-main { padding: 12px 12px 6px; gap: 14px; }
  .pr-sec { padding: 16px; border-radius: 16px; overflow: hidden; }
  .pr-title { margin-bottom: 12px; gap: 10px; }
  .pr-ico { width: 42px; height: 42px; font-size: 18px; border-radius: 12px; }
  .pr-title h2 { font-size: 19px; }
  .pr-sub { font-size: 12.5px; }
  .pr-tier-grid { padding-top: 16px; }
  .pr-tier-grid > * { flex-basis: 80%; }
  .pr-card-popular { transform: none; }
  .pr-why-in { padding: 24px 16px; gap: 14px; }
  .pr-why h3 { font-size: 19px; }
  .pr-stats b { font-size: 16px; }
  .pr-stats small { font-size: 12px; }
  .pr-motto { font-size: 18px; }
  .pr-cta { padding: 30px 16px 34px; }

  /* ---- a solution page ---- */
  .sl-hero-in { padding-top: 18px !important; padding-bottom: 22px !important; gap: 16px !important; }
  .sl-hero h1 { font-size: 26px !important; }
  .sl-hero-ico { width: 48px !important; height: 48px !important; font-size: 20px !important; }
  .sl-hero p { font-size: 14.5px !important; line-height: 1.55 !important; }
  .sl-photo { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; }
  .sl-body { padding-top: 26px !important; padding-bottom: 26px !important; }
  .sl-head h2 { font-size: 22px !important; }
  .sl-grid > * { flex-basis: 82%; }
}
