/* Final layout layer: keep content readable as device size and text size change. */
:root{
  --page-gutter:clamp(14px,3vw,40px);
  --header-height:var(--measured-header-height,96px);
  --mobile-stack-height:0px;
  --compare-stack-height:0px;
  --call-control-height:var(--measured-call-height,68px);
  --available-viewport-height:100vh;
}
@supports(height:100dvh){:root{--available-viewport-height:100dvh}}
html{scroll-padding-top:calc(var(--header-height) + 18px);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{padding-bottom:calc(var(--mobile-stack-height) + var(--compare-stack-height) + var(--call-control-height) + 48px + env(safe-area-inset-bottom))}
.shell{width:min(1240px,calc(100% - 2 * var(--page-gutter)))}
:where(.hero-grid,.hub-layout,.journey-layout,.detail-grid,.request-layout,.finder-layout,.about-grid,.contact-grid,.footer-top,.featured-list,.directory-list,.principle-grid,.tools-grid,.verification-grid,.compare-grid)>*{min-width:0}
:where(h1,h2,h3,h4,p,li,legend,.field,.plan-question,.verification-entity,.verification-number,.verification-link,.footer-top a,.section-heading .text-link){overflow-wrap:anywhere}
:where(button,.button,.text-link){max-width:100%;white-space:normal}
.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea,.plan-question select,.plan-question input,.search-box input,.hero .search-box input{font-size:16px;min-width:0;max-width:100%}
.field textarea{min-height:140px}
.field-help,.field small,.draft-note,.form-status,.prepare-block>p,.request-aside ul,.detail-start-note{font-size:12px;line-height:2}
.text-button,.row-arrow,.compare-remove,.export-actions button,.finder-result-actions a,.compare-actions a,.verification-copy,.verification-link,.service-cases .text-link,.process-decisions .text-link,.service-peek .text-link,.cta-call,.hero-footline>a{min-height:44px}
.row-arrow{width:44px;height:44px}
.service-row{grid-template-columns:45px minmax(0,1fr) 44px}
.service-row p,.tools-grid p,.content-block>p,.scope-list li p,.scope-note p,.policy-content p,.contact-primary p,.request-aside p,.about-copy p,.draft-panel p{font-size:14px;line-height:2.1}
.hub-state button,.segmented button,.category-filters button,.compare-choice,.extra-services-grid label{min-height:44px}
.search-results{max-height:min(460px,calc(var(--available-viewport-height) - var(--header-height) - 40px));overscroll-behavior-y:contain}
.request-progress li,.request-progress button>span{min-width:0}
.request-progress button>span{flex-shrink:0}
.hub-detail-heading{flex-wrap:wrap}
.hub-detail-heading>div{min-width:0;flex:1 1 150px}
.hub-detail-count{display:inline-block}
.hub-state>div,.hub-actions,.hero-primary-actions,.scene-entry-head,.hero-footline{flex-wrap:wrap}
.toolbar-note{display:block}
.hub-all{display:inline-flex;min-height:44px}
.hero-footline>span[lang=en]{display:inline-block}
.detail-grid{grid-template-columns:minmax(0,1.6fr) minmax(260px,.85fr);gap:clamp(30px,5vw,70px)}
.request-layout{grid-template-columns:minmax(0,1.5fr) minmax(250px,.75fr);gap:clamp(30px,4vw,60px)}
.detail-start,.request-aside,.finder-form{top:calc(var(--header-height) + 24px)}
.contact-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(30px,5vw,60px)}
.about-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:clamp(30px,5vw,70px)}
.about-logo img{width:min(235px,100%);height:auto;aspect-ratio:1;object-fit:contain}
.footer-top>div>a:not(.brand),.footer-bottom>div>a{min-height:44px;align-items:center;line-height:1.8}
.footer-bottom>div{align-items:center}
.footer-bottom>div>a{display:inline-flex}
.compare-tray{bottom:var(--mobile-stack-height);padding:13px 0 calc(13px + env(safe-area-inset-bottom))}
.compare-tray>.shell{width:min(1240px,calc(100% - 2 * var(--page-gutter)));flex-wrap:wrap}
.compare-tray .shell>div{flex-wrap:wrap}
body:has([data-compare-tray]:not([hidden])){--compare-stack-height:var(--measured-compare-height,92px);padding-bottom:calc(var(--mobile-stack-height) + var(--compare-stack-height) + var(--call-control-height) + 48px + env(safe-area-inset-bottom))}
.floating-call,body:has([data-compare-tray]:not([hidden])) .floating-call{bottom:calc(var(--mobile-stack-height) + var(--compare-stack-height) + 24px + env(safe-area-inset-bottom));inset-inline-end:max(18px,env(safe-area-inset-left));max-width:calc(100% - 36px)}
@media(max-width:1080px){
  .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .footer-top{grid-template-columns:1.3fr 1fr 1fr;gap:30px}
  .hub-state>div{flex-wrap:wrap}
  .compare-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
}
@media(max-width:900px){
  .header nav{top:100%;max-height:calc(var(--available-viewport-height) - var(--header-height) - var(--mobile-stack-height) - var(--compare-stack-height) - 16px - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
  .header nav a{min-height:44px}
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .hero-copy{max-width:720px}
  .hero h1{font-size:clamp(34px,5.3vw,49px)}
  .hero-description{font-size:15px;max-width:650px}
  .hero-bottom{flex-direction:row;align-items:center;gap:20px}
  .detail-grid,.request-layout,.finder-layout,.contact-grid,.about-grid,.journey-layout,.faq-grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .detail-start,.request-aside,.finder-form{position:static}
  .detail-content{order:0}
  .detail-start{order:1}
  .request-aside{border-inline-start:0;padding-inline-start:0;border-top:1px solid var(--line);padding-top:25px}
  .detail-start .button{font-size:13px}
  .detail-start h2{font-size:27px}
  .request-form{padding:28px}
  .about-logo{width:min(100%,560px);justify-self:center}
  .journey-detail{padding:34px;min-height:260px}
  .journey-detail h3{max-width:none}
  .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
  .footer-brand{grid-column:1/-1;max-width:700px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .section-heading{flex-wrap:wrap;align-items:flex-start;gap:18px}
  .section-heading>.text-link{white-space:normal;min-height:44px;margin-top:0}
  .verification-grid{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:701px) and (max-width:900px){
  .brand-scene{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr);gap:12px 22px;max-width:760px;width:100%;margin-inline:auto}
  .scene-coordinate{grid-column:1/-1}
  .scene-entry{align-self:center;margin-top:0}
  .emblem-stage{height:260px}
  .hub-sector-list{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
  .hub-actions{justify-content:flex-start}
  .hub-state button{font-size:12px}
  .principle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .featured-list,.directory-list{grid-template-columns:minmax(0,1fr)}
  .service-row h3{font-size:19px}
}
@media(max-width:700px){
  :root{--mobile-stack-height:var(--measured-mobile-height,calc(65px + env(safe-area-inset-bottom)));--call-control-height:var(--measured-call-height,57px)}
  .header-inner{min-height:80px}
  .section{padding-block:48px}
  .hero h1{font-size:clamp(33px,8.6vw,47px)}
  .hero-description{font-size:14px;line-height:2.1}
  .hero .search-box input,.search-box input{font-size:16px}
  .hero-primary-actions{gap:12px 20px}
  .hero-footline{font-size:10px;align-items:center}
  .hero-footline>span[lang=en]{font-size:8px;letter-spacing:.08em}
  .hero-footline>a{width:44px}
  .hero-bottom>span{font-size:11px}
  .section-heading h2{font-size:clamp(26px,7vw,31px)}
  .service-toolbar{flex-direction:column;gap:14px;align-items:stretch}
  .segmented{justify-content:flex-start;gap:4px}
  .segmented button{flex:1 1 60px;white-space:normal;padding-inline:8px;font-size:12px}
  .toolbar-note{font-size:12px}
  .category-filters button{font-size:12px;padding-inline:13px}
  .result-line{flex-wrap:wrap;align-items:start;font-size:12px;gap:8px}
  .result-line>[data-result-count]{font-size:12px}
  .service-row{padding:22px 16px;grid-template-columns:40px minmax(0,1fr) 44px;gap:12px}
  .service-row h3{font-size:18px}
  .service-row p{font-size:14px}
  .service-symbol{width:40px;height:40px}
  .compare-choice{font-size:12px}
  .service-peek p,.service-peek ul,.service-peek .text-link{font-size:13px}
  .hub-all{margin:12px 0 0;font-size:12px}
  .hub-detail{padding:23px 20px}
  .hub-detail h3{font-size:22px}
  .hub-detail-count{font-size:10px;margin-inline-start:0}
  .hub-description,.hub-columns li,.hub-state-description{font-size:14px}
  .hub-state button{flex:1 1 75px;font-size:12px}
  .hub-actions .text-link{min-height:44px;font-size:12px}
  .tools-grid{grid-template-columns:minmax(0,1fr)}
  .tools-grid .mini-mark{float:none;margin-bottom:15px}
  .journey-steps strong{font-size:18px}
  .journey-steps small{font-size:13px}
  .journey-detail{padding:28px 23px}
  .journey-detail>p:not(.sr-only){font-size:14px}
  .page-lead h1{font-size:clamp(28px,7.3vw,34px);line-height:1.65}
  .page-lead>div>p{font-size:14px}
  .breadcrumb{font-size:12px;gap:9px}
  .request-form{padding:24px 20px}
  .request-form legend{font-size:22px;line-height:1.8}
  .request-progress{gap:6px}
  .request-progress button{font-size:12px;gap:6px;line-height:1.7;justify-content:flex-start}
  .request-progress button>span{width:25px;height:25px}
  .audience-options{gap:8px}
  .audience-options label{font-size:12px;min-height:94px;padding:21px 6px 13px}
  .audience-options input{width:17px;height:17px}
  .field>span,.preparation>label,.plan-check,.draft-consent{font-size:14px}
  .extra-services-grid label,.request-form .plan-prepare-group legend{font-size:14px}
  .draft-summary{font-size:14px;padding:18px}
  .form-actions .button{font-size:13px;flex:1 1 140px}
  .form-actions .text-button{font-size:13px}
  .draft-panel{padding:23px 20px}
  .finder-intro h2{font-size:27px}
  .finder-result p,.finder-summary{font-size:14px}
  .faq-list summary{font-size:15px;line-height:1.9;gap:14px}
  .faq-list details p{font-size:14px}
  .contact-primary{padding:27px 23px}
  .contact-buttons .button{font-size:13px;flex:1 1 140px}
  .contact-options article{gap:15px}
  .contact-options h2{font-size:22px}
  .contact-options p{font-size:14px}
  .footer-top>div>a:not(.brand),.footer-contact-note,.footer-bottom p,.footer-bottom>div{font-size:12px}
  .footer-top>div>a.footer-phone{font-size:23px}
  .footer-bottom>div{gap:10px 20px}
  .mobile-actions{gap:9px;padding:9px max(13px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(13px,env(safe-area-inset-left))}
  .mobile-actions>a{min-width:0;min-height:46px;font-size:12px;line-height:1.7;padding:6px}
  .compare-tray{padding:11px 0}
  .compare-tray p{font-size:12px}
  .compare-tray small{font-size:11px}
  .compare-tray .button{font-size:12px}
  .compare-tray .text-button{font-size:12px}
  .compare-tray .shell>div{gap:8px 15px}
  .floating-call,body:has([data-compare-tray]:not([hidden])) .floating-call{bottom:calc(var(--mobile-stack-height) + var(--compare-stack-height) + 14px);inset-inline-end:max(14px,env(safe-area-inset-left))}
}
@media(max-width:480px){
  .footer-top{grid-template-columns:minmax(0,1fr);gap:25px}
  .footer-brand{grid-column:auto}
  .footer-top h2{margin-bottom:7px;font-size:15px}
  .footer-top>div>a:not(.brand){font-size:13px;margin-top:0}
  .footer-top>div>a.footer-phone{font-size:27px}
}
@media(max-width:380px){
  .header-inner{gap:8px}
  .brand-wordmark{min-width:65px}
  .header-actions .button{font-size:11px;padding-inline:8px;gap:5px}
  .brand strong{font-size:26px}
  .brand small{font-size:9px}
  .service-row{grid-template-columns:35px minmax(0,1fr);padding-inline:15px;gap:10px 12px}
  .service-symbol{width:35px;height:35px}
  .service-row>.row-arrow{grid-column:2;justify-self:end;margin:0}
  .service-row h3{font-size:18px}
  .hub-detail{padding-inline:17px}
  .hub-detail-heading>div{flex-basis:145px}
  .request-form{padding-inline:17px}
  .request-progress button{flex-direction:column;align-items:center;font-size:12px;gap:7px}
  .contact-primary{padding-inline:20px}
  .journey-steps button{padding-inline:12px;gap:10px}
  .journey-steps small{font-size:13px}
  .compare-tray>.shell{gap:7px}
  .compare-tray .shell>div{width:100%;justify-content:space-between}
}
@media(max-height:540px) and (orientation:landscape){
  .hero{padding-top:24px}
  .section{padding-block:42px}
  .detail-start,.request-aside,.finder-form{position:static}
  .header-inner{min-height:70px}
}
@media print{body,body:has([data-compare-tray]:not([hidden])){padding-bottom:0!important}.floating-call{display:none!important}.shell{width:100%}.request-form{padding:0}}
