/* phones: nothing may be wider than the screen (the shared page shell is a grid, so one wide child used to stretch the whole page) */
.contents{min-width:0}
html{overflow-x:clip}
main :where(p,li,h1,h2,h3,h4,a,td,th,dd,dt,span){overflow-wrap:anywhere}
@media(max-width:700px){.px-logobar{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
/* Company: white text sits on photos, so darken them on phones and tablets until it reads clearly */
@media(max-width:900px){.cd-pcard img{filter:brightness(.5) contrast(1.05)}.cd-pover{text-shadow:0 1px 14px rgba(0,0,0,.55)}}
/* footer, every screen: a closing line under the last row, and the mission block closer to it (same on the homepage and Products) */
footer .twist-grid>.grid-item:nth-child(4){border-bottom:1px solid rgba(255,255,255,.18)}
footer .grid-item:has(.legal-links){padding-top:clamp(1.5rem,3vw,2.5rem)!important}
/* footer links: a thumb-sized tap area (about 34px tall) with the same visual spacing */
html body footer .twist-grid>.grid-item:nth-child(n+2):nth-child(-n+4) .twist-stack>a[data-testid=footer-btn],html body footer .twist-grid>.grid-item:nth-child(n+2):nth-child(-n+4) a[data-testid=footer-btn].button{padding-top:7px!important;padding-bottom:7px!important;margin-top:-7px!important;margin-bottom:-7px!important}
