/* Nawat Tech V5.9 — spacing, readability, consistent site chrome */
:root{--nw-content-width:1280px}
/* Compact excessively tall transitions while preserving intentional hero space. */
.section.wrap{padding-block:clamp(42px,5vw,76px)!important}
.detail-intro{padding-top:clamp(34px,4vw,62px)!important;padding-bottom:24px!important}
.detail-stack{gap:22px!important;padding-bottom:clamp(36px,5vw,70px)!important}
.detail-card{min-height:330px!important}
.detail-visual{min-height:320px!important}
.detail-copy{padding:clamp(25px,3.5vw,48px)!important}
.detail-copy h2{margin-block:10px 12px!important}
.detail-copy p,.detail-copy li{line-height:1.75!important}
.section-head{margin-bottom:clamp(20px,3vw,38px)!important}
/* Site identity and navigation should read clearly on all pages. */
.site-header .brand img,.nw-unified-header .brand img,.nw-unified-header img[src*="logo"],.nw-site-header img[src*="logo"]{width:auto!important;height:clamp(39px,3.1vw,52px)!important;max-width:190px!important;object-fit:contain!important}
.site-header nav a,.nw-unified-header nav a,.nw-links a{font-size:clamp(15px,1.1vw,17px)!important;font-weight:650!important;line-height:1.5!important}
.site-header,.nw-unified-header,.nw-site-header{min-height:82px!important}
/* Make footer content consistent without changing legal wording. */
.footer,.new-footer,.nw-site-footer,.nw-compliance-footer{line-height:1.75!important}
.footer,.new-footer,.nw-site-footer{padding-block:clamp(24px,3vw,44px)!important;gap:clamp(16px,2vw,30px)!important}
.footer img[src*="logo"],.new-footer img[src*="logo"],.nw-site-footer img[src*="logo"],.nw-compliance-footer img[src*="logo"]{width:auto!important;height:clamp(40px,3vw,54px)!important;max-width:190px!important;object-fit:contain!important}
.footer a,.new-footer a,.nw-site-footer a,.nw-compliance-footer a{line-height:1.85!important}
/* Light theme: repair hardcoded light text on light surfaces. */
html[data-theme="light"] .detail-card,html[data-theme="light"] .service,html[data-theme="light"] .case-panel,html[data-theme="light"] .case-info,html[data-theme="light"] .case-feature{color:#172345!important}
html[data-theme="light"] .detail-copy h2,html[data-theme="light"] .detail-copy h3,html[data-theme="light"] .detail-copy strong,html[data-theme="light"] .service h3,html[data-theme="light"] .case-panel h2{color:#142143!important}
html[data-theme="light"] .detail-copy p,html[data-theme="light"] .detail-copy li,html[data-theme="light"] .service p,html[data-theme="light"] .case-panel p,html[data-theme="light"] .case-panel li,html[data-theme="light"] .case-copy p,html[data-theme="light"] .case-disclaimer{color:#465875!important}
html[data-theme="light"] .detail-cta,html[data-theme="light"] .service-bottom,html[data-theme="light"] .case-back{color:#4938bb!important;font-weight:750!important}
html[data-theme="light"] .case-tag,html[data-theme="light"] .case-pill,html[data-theme="light"] .case-tabs button{color:#293b68!important}
html[data-theme="light"] .case-info,html[data-theme="light"] .case-feature{background:#f8faff!important;border-color:#cfdaee!important}
html[data-theme="light"] .case-info :is(h2,h3,strong,b),html[data-theme="light"] .case-feature :is(h2,h3,strong,b){color:#172345!important}
html[data-theme="light"] .case-info :is(p,span,small),html[data-theme="light"] .case-feature :is(p,span,small){color:#435676!important}
/* Keep dark cards deliberately dark only when they are clearly a distinct visual surface. */
html[data-theme="light"] .case-preview,html[data-theme="light"] .detail-visual{color:#f4f6ff}
@media(max-width:800px){
 .site-header,.nw-unified-header,.nw-site-header{min-height:70px!important}
 .site-header .brand img,.nw-unified-header img[src*="logo"],.nw-site-header img[src*="logo"]{height:42px!important;max-width:155px!important}
 .section.wrap{padding-block:34px!important}
 .detail-stack{gap:18px!important;padding-bottom:38px!important}
 .detail-card{min-height:0!important}
 .detail-visual{min-height:225px!important}
 .detail-copy{padding:24px!important}
 .footer,.new-footer,.nw-site-footer{padding-block:25px!important}
}
