/* U38 | Typography & contrast QA (applies after U37)
   Goals: consistently readable brand accent with ultra-thin navy outline,
   coherent engineering hierarchy, aligned text, no change to content or layout structure. */
:root{
 --u38-navy:#143d58;
 --u38-accent:#3489b3;
 --u38-body:#456676;
 --u38-caption:#506f80;
 --u38-hairline:#a8ccdc;
}
/* Blue headline fill + 0.3-0.4 px visible navy edge: preserve readability, no dark block effect.
   Paint order draws stroke UNDER the blue fill. */
body.unified-review :is(.hero h1,.showcase-intro h2,.v6-story h3,.v6-story-preface h2,#procesas h2,.faq-u9 h2,.contact h2) em,
body.unified-review .hero .unified-hero-line em,
body.unified-review .v6-story .story-copy h3 em{
 color:var(--u38-accent)!important;
 -webkit-text-stroke:.72px rgba(17,64,95,.85)!important;
 paint-order:stroke fill;
 text-shadow:0 .25px 0 rgba(13,52,77,.12);
}
body.unified-review .hero h1 em{-webkit-text-stroke:.92px rgba(16,61,89,.84)!important}
@media(max-width:600px){
 body.unified-review :is(.hero h1,.showcase-intro h2,.v6-story h3,.v6-story-preface h2,#procesas h2,.faq-u9 h2,.contact h2) em{-webkit-text-stroke:.60px rgba(17,64,95,.86)!important}
 body.unified-review .hero h1 em{-webkit-text-stroke:.74px rgba(15,59,86,.84)!important}
}
/* A matching, calmer accent within detailed service headings. */
body.service-page :is(h1,h2,h3) em{color:#3180a8!important;-webkit-text-stroke:.48px rgba(18,66,93,.75);paint-order:stroke fill}
/* Scaled hierarchy. Keep purpose: display / title / explanation / metadata. */
body.unified-review .hero h1{font-size:clamp(39px,4.85vw,68px)!important;line-height:1.10!important;letter-spacing:-.045em!important}
body.unified-review .showcase-intro h2{font-size:clamp(34px,3.7vw,53px)!important;line-height:1.15!important}
body.unified-review .v6-story-preface h2{font-size:clamp(34px,4.2vw,59px)!important;line-height:1.15!important}
body.unified-review :is(#process-title,#faq-title,#contact-title){font-size:clamp(35px,4.05vw,54px)!important;line-height:1.16!important}
body.unified-review .v6-story .story-copy h3{font-size:clamp(30px,3.1vw,40px)!important;line-height:1.18!important}
body.service-page #service-title{font-size:clamp(39px,4.55vw,63px)!important;line-height:1.13!important}
body.service-page #u32-explainer-title{font-size:clamp(34px,3.45vw,50px)!important;line-height:1.17!important}
body.service-page :is(#sf-fit-title,#sf-selection-title,#sf-principle-title,#sf-budget-title){font-size:clamp(32px,3vw,45px)!important;line-height:1.18!important}
body.service-page .u37-atlas-title{font-size:clamp(29px,3vw,43px)!important;line-height:1.2!important}
body.u36-blog-body .u36-blog-hero h1{font-size:clamp(42px,4.6vw,65px)!important;line-height:1.15!important}
body.u36-blog-body .u36-blog-article-head h1{font-size:clamp(39px,4.4vw,63px)!important;line-height:1.16!important}
body.u36-blog-body .u36-blog-feature h2{font-size:clamp(32px,3vw,47px)!important;line-height:1.19!important}
body.u36-blog-body .u34-compare h2{font-size:clamp(34px,3.4vw,50px)!important;line-height:1.17!important}
/* Equal hierarchy of leading supporting copy */
body.unified-review .hero-lead{font-size:clamp(15px,1.18vw,17px)!important;line-height:1.72!important;max-width:470px}
body.unified-review .showcase-intro>p:not(.section-index){font-size:15px!important;line-height:1.72!important;max-width:340px}
body.unified-review .v6-story-preface>p:last-child{font-size:15px!important;line-height:1.72!important;max-width:595px}
body.unified-review .v6-story .story-copy p{font-size:clamp(14px,1.02vw,16px)!important;line-height:1.74!important;max-width:520px}
body.service-page .service-lead{font-size:clamp(15px,1.14vw,17px)!important;line-height:1.74!important;max-width:615px}
body.service-page .u32-lead{font-size:clamp(15px,1.12vw,17px)!important;line-height:1.76!important;max-width:590px}
body.service-page :is(.sf-fit p,.sf-selection p,.sf-budget p){line-height:1.72!important}
body.u36-blog-body :is(.u36-blog-hero p:not(.u36-kicker),.u36-blog-article-head p:not(.u36-kicker)){line-height:1.75!important}
/* Text alignment */
body.unified-review .service-showcase-inner{align-items:start}
body.unified-review .showcase-intro{align-self:start;padding-top:12px}
body.unified-review .v6-story-preface{align-items:center}
body.unified-review .v6-story .story-chapter-grid{align-items:center}
body.unified-review .v6-story .story-copy{text-align:left}
body.unified-review .v6-story .story-copy :is(p,h3){max-width:100%;text-wrap:pretty}
body.unified-review #procesas .process-heading{align-items:center}
body.unified-review #procesas .process-heading :is(p,h2){text-wrap:pretty}
body.unified-review .contact-grid{align-items:start}
body.service-page .u32-explainer-top{align-items:center}
body.service-page .u37-atlas-header{align-items:center}
body.service-page .u37-atlas-rail h3{text-wrap:balance}
body.service-page .u37-atlas-rail p{text-wrap:pretty;line-height:1.76!important}
body.u36-blog-body .u36-blog-feature-copy{text-align:left}
/* Readable labels and captions: 10px is too small on premium mobile UI. */
body.unified-review :is(.section-index,.u37-atlas-eyebrow){font-size:11.5px!important;letter-spacing:.105em!important}
body.unified-review .v6-product-card :is(.v6-product-info p,.v6-product-info .product-subtext){font-size:13px!important;line-height:1.6!important;color:#486c7e!important}
body.unified-review .v6-story .story-footnote{font-size:12.5px!important;color:var(--u38-caption)!important}
body.service-page .u37-atlas-eyebrow{font-size:11.5px!important;letter-spacing:.12em}
body.service-page .u37-step-label{font-size:11.2px!important;color:#386d89!important;letter-spacing:.12em}
body.service-page .u37-step-num{font-size:15px!important;color:#246d93!important}
body.service-page .u37-atlas-header>p{font-size:15px!important;color:#456b7c!important}
body.service-page .u37-atlas-rail p{font-size:14px!important;color:#456b7e!important}
body.service-page .u37-atlas-tail .u37-atlas-note{font-size:12.7px!important;color:#4c7182!important}
body.service-page .u32-explainer-visual figcaption{font-size:12.1px!important;color:#527384!important}
body.service-page .u32-footnote{font-size:12.5px!important;color:#517383!important}
body.service-page .sf-overline{font-size:12px!important;letter-spacing:.09em}
body.u36-blog-body .u36-kicker{font-size:11.5px!important;color:#45788e!important}
body.u36-blog-body .u34-compare-card dd{font-size:13.5px!important;color:#496b7b!important;line-height:1.7!important}
body.u36-blog-body .u34-disclaimer{font-size:12px!important;color:#506e7e!important}
/* Interactive controls remain readable and nonoverlapping at intermediate widths. */
body.unified-review .header .desktop-nav a,
body.service-page .header .desktop-nav a{letter-spacing:-.01em}
@media(min-width:981px) and (max-width:1300px){
 body.unified-review .header .desktop-nav a,
 body.service-page .header .desktop-nav a{font-size:12px!important}
}
@media(max-width:680px){
 body.unified-review .hero h1{font-size:clamp(36px,9.8vw,44px)!important;line-height:1.13!important}
 body.unified-review .v6-story .story-copy h3{font-size:clamp(27px,7.1vw,34px)!important}
 body.service-page #service-title{font-size:clamp(34px,9.1vw,42px)!important}
 body.service-page #u32-explainer-title{font-size:clamp(31px,8.15vw,40px)!important}
 body.service-page .u37-atlas-header>p{font-size:14.3px!important}
 body.service-page .u37-atlas-rail p{font-size:14px!important}
 body.service-page .u32-explainer-visual figcaption{font-size:11.5px!important}
 body.u36-blog-body .u36-blog-feature h2{font-size:clamp(30px,7.8vw,37px)!important}
}
