/* Final Netlify deployment hardening for custodyproviders.com */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:hidden;}
body{overflow-x:hidden;}
img,svg,video,canvas,iframe{max-width:100%;height:auto;}
table{width:100%;max-width:100%;border-collapse:collapse;}
pre,code{white-space:pre-wrap;word-break:break-word;}
a{overflow-wrap:anywhere;}
.container,.site-container,.shell,.section-inner,.content-shell,.page-shell{width:min(1180px,100% - 32px);max-width:1180px;margin-left:auto;margin-right:auto;}
.hero,.section,main,footer,header{max-width:100%;}
.grid,.resource-grid,.provider-grid,.comparison-grid,.feature-grid,.card-grid{min-width:0;}
.card,.provider-card,.contact-card,.notice-card,.results-shell,.comparison-card,.feature-card,.pricing-card{min-width:0;overflow-wrap:break-word;}
.hero h1,h1{font-size:clamp(2.15rem,5.5vw,4.65rem);line-height:1.03;letter-spacing:-0.045em;}
h2{font-size:clamp(1.55rem,3.2vw,2.55rem);line-height:1.12;letter-spacing:-0.025em;}
h3{font-size:clamp(1.05rem,2vw,1.35rem);line-height:1.25;}
.hero .lead,.lead{max-width:880px;}
.nav,.desktop-nav{min-width:0;}
.btn,button,input,select,textarea{max-width:100%;}
.provider-bottom,.cta-row,.hero-actions,.quick-actions{flex-wrap:wrap;}
#search-results{scroll-margin-top:96px;}
@media(max-width:900px){
  .grid,.resource-grid,.provider-grid,.comparison-grid,.feature-grid,.pricing-grid,.contact-grid,.path-grid,.footer-shell{grid-template-columns:1fr!important;}
  .container,.site-container,.shell,.section-inner,.content-shell,.page-shell{width:min(100% - 28px,1180px);}
  .hero{padding-top:36px;padding-bottom:28px;}
  .section{padding-top:32px;padding-bottom:32px;}
  .results-shell,.card,.provider-card,.contact-card,.notice-card,.cta-band{padding:18px;border-radius:18px;}
  .hero-search-block,.search-panel{width:100%;}
  .search-panel{grid-template-columns:1fr!important;}
  .search-panel input,.search-panel .btn{width:100%;}
}
@media(max-width:600px){
  .container,.site-container,.shell,.section-inner,.content-shell,.page-shell{width:min(100% - 24px,1180px);}
  .hero h1,h1{font-size:clamp(2rem,10.5vw,3.1rem);line-height:1.05;letter-spacing:-0.035em;}
  h2{font-size:clamp(1.4rem,7vw,2.05rem);}
  .lead,p,li{font-size:1rem;line-height:1.62;}
  .provider-top,.provider-bottom,.section-head,.cta-band{display:grid!important;grid-template-columns:1fr!important;align-items:start;}
  .provider-bottom .btn,.cta-band .btn,.hero-actions .btn{width:100%;justify-content:center;}
  .mobile-panel{max-width:calc(100vw - 32px);}
}
