/* PSS-PRICING 11-28 (Todd: "everything centered and balanced on mobile"). Public marketing pages only, phones <= 640 px.
   Owner: PSS-PRICING. Undo: delete the link tag marked PSS-HOMEMOB in src/parts.py (or this file). Desktop untouched. */
@media (max-width:640px){
  main > section:not(#sres):not(#sparcel) .eyebrow{display:flex;justify-content:center;text-align:center}
  main > section:not(#sres):not(#sparcel) .wrap > h1, main > section:not(#sres):not(#sparcel) .wrap > h2,
  main > section:not(#sres):not(#sparcel) .split > div > h2, main > section:not(#sres):not(#sparcel) .wrap > div > h2{text-align:center;text-wrap:balance}
  main > section:not(#sres):not(#sparcel) .wrap > p, main > section:not(#sres):not(#sparcel) .split > div > p,
  main > section:not(#sres):not(#sparcel) .wrap > .lead, main > section:not(#sres):not(#sparcel) .split > div > .lead{text-align:center;text-wrap:pretty;margin-left:auto;margin-right:auto}
  /* hero: centred too */
  .hero .hero-grid > div > h1, .hero .hero-grid > div > .lead{text-align:center;text-wrap:balance}
  /* stats: centred 2 x 2 grid of even tiles */
  main .grid.g4:has(> .stat){--c:2!important;gap:12px}
  .stat{align-items:center;text-align:center;justify-content:flex-start;padding:16px 10px;border:1px solid var(--line,#e3e8ef);border-radius:16px;background:rgba(255,255,255,.7)}
  .stat span{font-size:13.5px;line-height:1.35}
  .stat b{font-size:26px}
  /* feature cards: everything centred, links centred, same spacing */
  .card.feature{text-align:center;align-items:center}
  .card.feature .ic{margin-left:auto;margin-right:auto}
  .card.feature .more{justify-content:center;align-self:center}
  .card.feature img{margin-left:auto;margin-right:auto}
  /* chip rows: centred, even padding */
  div:has(> a.chip){display:flex!important;flex-wrap:wrap;justify-content:center;gap:10px}
  div:has(> a.chip) > a.chip{padding:10px 16px!important;font-size:15px!important;text-align:center}
  /* button rows: stacked, equal full width */
  main > section:not(#sres) .wrap > p:has(> .btn), main > section:not(#sres) .split > div > p:has(> .btn), main > section:not(#sres) .wrap > div:not(.card):not(form):has(> .btn):not(:has(> input)){display:flex!important;flex-direction:column;align-items:stretch;gap:12px}
  main > section:not(#sres) .wrap > p:has(> .btn) > .btn, main > section:not(#sres) .split > div > p:has(> .btn) > .btn{width:100%;justify-content:center;text-align:center}
}
