/* TAP-44 (site 96): every tap target on the phone is at least 44 x 44. Grows hit areas only (pseudo-element boxes and
   min sizes); no visible word, size, colour or line moves. Phone and small tablet only, so 1024 and 1440 are untouched.
   Loaded last on the public pages only (/, /websites/, /work/, /real-estate/, /about/, /pay/, /terms/, /privacy/,
   /google-listing/, /homes/sample-listing/, 404). */
@media (max-width:899px){
  /* phone tab bar: labels stay where they are, each tab's hit box is 44 wide (55 tall already), centred on its label */
  .tabbar__tabs a::before{left:50%;right:auto;width:max(100%,44px);transform:translateX(-50%)}

  /* footer: the 1XEV mark, contact, link rows, pay row and legal row all get a 44 x 44 box centred on the text */
  #hn-foot a{position:relative}
  #hn-foot a::before{content:"";position:absolute;z-index:1;left:50%;top:50%;width:max(100%,44px);height:44px;transform:translate(-50%,-50%)}

  /* header: the menu button and the 1XEV mark never drop under 44 */
  #hn-nav .hn-nav__burger{min-width:44px;min-height:44px}
  #hn-nav .hn-nav__mark{position:relative}
  #hn-nav .hn-nav__mark::before{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:44px;transform:translate(-50%,-50%)}
  #hn-nav .hn-nav__sheetcall{min-height:44px}

  /* inline links in running text and the home text-me number: 44 high box, centred on the line, the line itself does not move */
  section > ul > li > a[href="/pay/"],
  section > ul > li > a[href="/websites/#changes"],
  section#contact > p > a,
  section#texting > p > a,
  .nb-textme__num{position:relative}
  section > ul > li > a[href="/pay/"]::before,
  section > ul > li > a[href="/websites/#changes"]::before,
  section#contact > p > a::before,
  section#texting > p > a::before,
  .nb-textme__num::before{content:"";position:absolute;left:0;right:0;top:50%;min-width:44px;height:44px;transform:translateY(-50%)}

  /* footer legal row: Privacy and Terms are 44 x 44 boxes of their own (shell.css later resets them to min-width:0) */
  #hn-foot .hn-foot__legal a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}

  /* real bottom room: the fixed tab bar (56 px + safe area, phone only) covered the last footer rows because shell.css
     zeroes body padding on pages with no .sticky-cta; those pages get the bar's height back. Pages with .sticky-cta keep their 74 px. */
  @media (max-width:767px){
    body:has(.tabbar):not(:has(.sticky-cta)){padding-bottom:calc(var(--bar-h) + env(safe-area-inset-bottom))}
  }

}
