/* Shared narrow-screen fixes. Desktop rules remain untouched. */
@media(max-width:750px){
 body.leaf-home{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 .leaf-home .lh-header{min-height:78px;padding-top:4px;padding-bottom:4px}
 .leaf-home .lh-brand img{height:66px}
 .leaf-home .lh-dialog{max-height:90vh;max-height:90dvh;overflow-y:auto;-webkit-overflow-scrolling:touch}
 .leaf-home .lh-dialog-links a,.leaf-home .lh-need,.leaf-home .lh-service{min-width:0}
 .leaf-home .lh-mobile-contact{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
 /* Pricing: never keep the desktop two/three-column text layouts on a phone. */
 .leaf-pricing .lr-wrap{width:calc(100% - 36px);margin:26px auto 34px}
 .leaf-pricing .lr-lead{grid-template-columns:minmax(0,1fr);gap:20px;margin-bottom:24px}
 .leaf-pricing .lr-lead h2{font-size:26px;line-height:1.6;margin:10px 0 16px}
 .leaf-pricing .lr-lead p{font-size:14px;line-height:1.9}
 .leaf-pricing .lr-lead .lr-eyebrow{font-size:12px;line-height:1.8}
 .leaf-pricing .lr-lead p br{display:inline}
 .leaf-pricing .lr-lead-card{padding:18px;gap:9px}
 .leaf-pricing .lr-lead-card .lh-icon{width:32px;height:32px}
 .leaf-pricing .lr-lead-card strong{font-size:20px;line-height:1.7}
 .leaf-pricing .lr-lead-card strong br{display:none}
 .leaf-pricing .lr-lead-card>span{font-size:13px}
 .leaf-pricing .lr-jump{grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:30px}
 .leaf-pricing .lr-jump a{font-size:14px;padding:12px;min-height:44px}
 .leaf-pricing .lr-wrap h2,.leaf-pricing #lr-rates{font-size:22px;line-height:1.65;overflow-wrap:break-word}
 .leaf-pricing .lr-table{table-layout:fixed;font-size:15px}
 .leaf-pricing .lr-table th,.leaf-pricing .lr-table td{padding:13px 14px}
 .leaf-pricing .lr-table td{font-size:20px}
 .leaf-pricing .lr-table thead th{font-size:14px}
 .leaf-pricing .lr-note{padding:19px 17px}
 .leaf-pricing .lr-note p{font-size:14px;line-height:1.95}
 .leaf-pricing .lr-section{margin-top:32px}
 .leaf-pricing .lr-section-heading{margin-bottom:19px}
 .leaf-pricing .lr-section-heading p{font-size:14px;line-height:1.9}
 .leaf-pricing .lr-check-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .leaf-pricing .lr-check-grid>div{padding:20px;min-width:0}
 .leaf-pricing .lr-check-grid .lh-icon{width:30px;height:30px;margin-bottom:8px}
 .leaf-pricing .lr-check-grid h3{font-size:18px;margin-bottom:9px}
 .leaf-pricing .lr-check-grid p{font-size:14px;line-height:1.9}
 .leaf-pricing .lr-buying{display:block;margin-top:24px;padding:21px}
 .leaf-pricing .lr-buying .lh-icon{width:34px;height:34px;margin-bottom:10px}
 .leaf-pricing .lr-buying h2{font-size:20px}
 .leaf-pricing .lr-buying p{font-size:14px;line-height:1.9}
 .leaf-pricing .lr-steps{grid-template-columns:minmax(0,1fr);gap:12px}
 .leaf-pricing .lr-steps li{padding:19px 16px;gap:13px;min-width:0}
 .leaf-pricing .lr-steps li>div{min-width:0;flex:1}
 .leaf-pricing .lr-steps h3{font-size:18px;margin-bottom:8px}
 .leaf-pricing .lr-steps p{font-size:14px;line-height:1.9}
 .leaf-pricing .lr-contact{margin-top:30px;padding:22px 17px}
 .leaf-pricing .lr-contact>div{flex-direction:column;gap:18px}
 .leaf-pricing .lr-contact p{font-size:14px}
 .leaf-pricing .lr-links{gap:12px;font-size:13px}
 /* The fixed phone/contact bar is the service-detail contact destination. */
 .leaf-cleanup .lu-consult{display:none}
 .leaf-cleanup .lu-pricing .leaf-mobile-obsolete-contact{display:none!important}
 .leaf-cleanup .lu-pricing .post_content{font-size:14px;line-height:1.9}
 .leaf-cleanup .lu-pricing .post_content p{margin-bottom:14px;line-height:1.9}
 .leaf-cleanup .lu-pricing .post_content a[class*="button"],.leaf-cleanup .lu-pricing .post_content .q_button{padding:11px 17px!important;min-height:44px;line-height:1.7}
 /* Company table: give the actual information most of the available width. */
 .leaf-about-page.leaf-detail #page_contents .post_content table{table-layout:fixed;width:100%;font-size:14px}
 .leaf-about-page.leaf-detail #page_contents .post_content table tr>th:first-child,.leaf-about-page.leaf-detail #page_contents .post_content table tr>td:first-child{width:28%;padding:13px 10px;text-align:left;vertical-align:top;font-size:13px;line-height:1.8}
 .leaf-about-page.leaf-detail #page_contents .post_content table tr>td:not(:first-child){width:72%;padding:13px 11px;font-size:14px;line-height:1.9;overflow-wrap:anywhere}
 .leaf-about-page #page_contents .post_content .leaf-office{white-space:normal}
 .leaf-about-page #page_contents .post_content .leaf-office strong,.leaf-about-page #page_contents .post_content .leaf-office span{display:block;font-size:14px;line-height:1.9}
 .leaf-about-page #page_contents .post_content .leaf-greeting-text p.leaf-about-message{font-size:14px;line-height:1.95;margin-bottom:22px}
 .leaf-about-page #page_contents .post_content .leaf-greeting-text p.leaf-company-signature{font-size:14px;line-height:1.9}
 /* Remove the legacy nested category borders, also on mobile. */
 .leaf-post-listing #archive_blog .category_list,.leaf-post-listing #archive_blog .category_list ul{position:static;height:auto;min-height:0;padding:0;margin:0 0 10px;white-space:normal;overflow:visible;border:0;background:none}
 .leaf-post-listing #archive_blog .category_list ul{display:flex;flex-wrap:wrap;gap:6px;margin:0}
 .leaf-post-listing #archive_blog .category_list ul li{display:block;width:auto;height:auto;border:0;background:none;padding:0;margin:0;box-shadow:none}
 .leaf-post-listing #archive_blog .category_list a{display:inline-block;width:auto;height:auto;padding:4px 11px;line-height:1.7;border:0;border-radius:18px;background:#e1eee5;font-size:12px}
 .leaf-post-listing #archive_blog .category_list a:before,.leaf-post-listing #archive_blog .category_list a:after,.leaf-post-listing #archive_blog .category_list li:before,.leaf-post-listing #archive_blog .category_list li:after{display:none}
 .leaf-post-listing #archive_blog .blog_list .title{font-size:17px;line-height:1.75;margin:10px 0 12px;max-height:none;overflow:visible}
 .leaf-post-listing #archive_blog .blog_list .date_list{font-size:12px;line-height:1.7;margin-top:12px}
 .leaf-post-listing #category_sort_button ol li{border:0;background:none}
}

@media(max-width:750px){
 .leaf-pricing .lr-lead-card strong{display:block;max-width:100%;white-space:nowrap;font-size:clamp(13px,3.7vw,19px);letter-spacing:0;line-height:1.8}
}

@media(max-width:750px){
 .leaf-pricing .lr-lead-card{padding-left:10px;padding-right:10px}
 .leaf-pricing .lr-lead-card strong{font-size:clamp(14px,4.1vw,21px);letter-spacing:-.025em}
}
