/* Mobile spacing only: preserve approved type sizes, content and desktop art. */
@media(max-width:767px){
body[data-route] main.brand-family .breadcrumb{margin-bottom:18px!important;line-height:1.65}
body[data-route] main .eyebrow{margin-top:0!important;margin-bottom:10px!important;line-height:1.5}
body[data-route] main h1{margin-top:12px!important;margin-bottom:18px!important;line-height:1.4}
body[data-route] main h2{margin-top:0!important;margin-bottom:16px!important;line-height:1.45}
body[data-route] main h3{line-height:1.5}
body[data-route] main p,body[data-route] main li{line-height:1.75}
body[data-route] main .section{padding-top:32px!important;padding-bottom:32px!important}
body[data-route] main .section-head,body[data-route] main .center-heading{margin-bottom:24px!important;gap:12px}
body[data-route] main .actions{margin-top:20px!important;gap:12px}
body[data-route] main .cols-2,body[data-route] main .cols-3,body[data-route] main .split{row-gap:22px}
body[data-route] main .service-card{min-height:0!important;row-gap:10px!important}
body[data-route] main .service-card h3{margin-top:0!important;margin-bottom:10px!important;min-height:0!important}
body[data-route] main .service-card p{margin-top:0!important;margin-bottom:0!important;min-height:0!important}
body[data-route='/platform/'] main .catalog-opening{padding-top:24px!important;gap:22px!important}
body[data-route='/platform/'] main .catalog-opening .page-hero{padding:0!important}
body[data-route='/platform/'] main .catalog-opening .platform-overview{padding-top:20px!important;padding-bottom:0!important}
body[data-route='/platform/'] main .catalog-opening .platform-overview h2{margin:10px 0 14px!important}
body[data-route='/platform/'] main .catalog-opening .platform-overview .intro{margin:0!important}
body[data-route='/platform/'] main.brand-family .cross-platform .service-card{padding:20px!important;display:block!important}
body[data-route='/platform/'] main.brand-family .service-card p{line-height:1.75!important}
body[data-route='/platform/'] main.brand-family #pricing .service-card>.eyebrow{margin-bottom:12px!important}
body[data-route='/platform/'] main #pricing .service-card h3{margin:0 0 12px!important}
body[data-route='/platform/'] main #pricing .cols-3{gap:18px!important}
body[data-route='/platform/'] main #pricing .case-source{margin-top:22px!important}
body[data-route] main .case-card{row-gap:12px;min-height:0!important}
body[data-route] main .case-card h3{min-height:0!important;margin-bottom:14px!important}
body[data-route] main .case-card>p:not(.eyebrow){min-height:0!important;margin-bottom:16px!important}
body[data-route] main .case-highlight{margin-top:14px!important;padding-top:16px!important;padding-bottom:12px!important}
body[data-route] main .insight-card>h3{margin-top:18px!important;margin-bottom:12px!important}
body[data-route] main .insight-card>p{margin-bottom:18px!important}
body[data-route] main .prose h2{margin-top:30px!important;margin-bottom:14px!important}
body[data-route] main .prose h3{margin-top:24px!important;margin-bottom:12px!important}
body[data-route] main .prose p+p{margin-top:16px!important}
body[data-route] main .cta-band{padding-top:32px!important;padding-bottom:32px!important}
}

/* Per-template pass: override retained desktop rhythm on every mobile route. */
@media(max-width:767px){
body[data-route][data-route] main[class] .section,
body[data-route][data-route] main[class] .cta-band{padding-top:24px!important;padding-bottom:24px!important}
body[data-route][data-route] main[class] .page-hero{padding-top:24px!important;padding-bottom:24px!important;margin-top:0!important;min-height:0!important}
body[data-route][data-route] main[class] .breadcrumb{margin-bottom:14px!important;line-height:1.6!important}
body[data-route][data-route] main[class] .eyebrow{margin-top:0!important;margin-bottom:8px!important;line-height:1.5!important}
body[data-route][data-route] main[class] h1{margin-top:10px!important;margin-bottom:16px!important;line-height:1.35!important}
body[data-route][data-route] main[class] h2{margin-bottom:12px!important;line-height:1.4!important}
body[data-route][data-route] main[class] h3{line-height:1.45!important}
body[data-route][data-route] main[class] p,
body[data-route][data-route] main[class] li{line-height:1.7!important}
body[data-route][data-route] main[class] .section-head,
body[data-route][data-route] main[class] .center-heading{margin-bottom:18px!important;gap:12px!important}
body[data-route][data-route] main[class] .actions{margin-top:16px!important;gap:12px!important}
body[data-route][data-route] main[class] .cols-2,
body[data-route][data-route] main[class] .cols-3,
body[data-route][data-route] main[class] .split{row-gap:18px!important}
body[data-route][data-route] main[class] .service-card{padding:20px!important;row-gap:10px!important;min-height:0!important}
body[data-route][data-route] main[class] .service-card h3{margin-top:0!important;margin-bottom:10px!important;min-height:0!important}
body[data-route][data-route] main[class] .service-card p{margin-top:0!important;margin-bottom:0!important;min-height:0!important}
/* Home: retain approved metric alignment and artwork; compact stacked content. */
body[data-route='/'][data-route] main.family-home .value-copy{padding-top:24px!important;padding-bottom:22px!important}
body[data-route='/'][data-route] main.family-home .value-layout,
body[data-route='/'][data-route] main.family-home .business-value-grid,
body[data-route='/'][data-route] main.family-home .adoption-hook{row-gap:20px!important}
body[data-route='/'][data-route] main.family-home .compact-launch{padding-block:24px!important}
body[data-route='/'][data-route] main.family-home .deploy-plan{padding-top:20px!important}
body[data-route][data-route] main[class] .security-grid{margin-top:20px!important;gap:18px!important}
body[data-route][data-route] main[class] .security-intro{margin:12px 0 18px!important}
/* Service openings and stacked challenges / stages. */
body[data-route][data-route] main[class] .ai-opening-overview{gap:20px!important}
body[data-route][data-route] main[class] .challenge-section .wrap{row-gap:12px!important}
body[data-route][data-route] main[class] .challenge-section .section-head{margin-bottom:0!important}
body[data-route][data-route] main[class] .ai-service-stages .number{margin-bottom:12px!important}
/* Cases: no desktop alignment reserves in stacked cards. */
body[data-route][data-route] main[class] .case-card{padding:20px!important;row-gap:10px!important}
body[data-route][data-route] main[class] .case-card h3{min-height:0!important;margin-bottom:12px!important}
body[data-route][data-route] main[class] .case-card>p:not(.eyebrow){min-height:0!important;margin-bottom:14px!important}
body[data-route][data-route] main[class] .case-card .case-highlight{margin-top:12px!important;padding-top:14px!important;padding-bottom:10px!important}
body[data-route][data-route] main[class] .case-source{margin-top:18px!important;margin-bottom:0!important;padding-block:18px!important}
body[data-route][data-route] main.case-detail .split h2{margin:0 0 14px!important}
body[data-route][data-route] main.case-detail .prose>p{margin:12px 0!important}
body[data-route][data-route] main.case-detail .prose li{margin-bottom:10px!important}
body[data-route][data-route] main.case-detail details{margin-bottom:20px!important}
body[data-route][data-route] main.case-detail .case-result{padding-block:18px!important;gap:12px!important}
body[data-route][data-route] main.case-detail .editorial-meta{padding-bottom:16px!important}
/* Article / policy text retains reading rhythm without double section gaps. */
body[data-route][data-route] main.reading-family .section.white{padding-top:0!important;padding-bottom:28px!important}
body[data-route][data-route] main[class] .article-layout{row-gap:16px!important}
body[data-route][data-route] main[class] .article-toc{margin-bottom:16px!important}
body[data-route][data-route] main[class] .insight-summary{margin-bottom:20px!important}
body[data-route][data-route] main[class] .article-table-wrap{margin-block:22px!important}
body[data-route][data-route] main[class] .prose h2{margin-top:24px!important;margin-bottom:12px!important}
body[data-route][data-route] main[class] .prose h3{margin-top:20px!important;margin-bottom:10px!important}
body[data-route][data-route] main[class] .prose p+p{margin-top:14px!important}
/* About uses editorial sections instead of .section. */
body[data-route='/about/'][data-route] main.about-family .about-opening{padding-block:28px!important;min-height:0!important}
body[data-route='/about/'][data-route] main.about-family .about-copy section{padding-block:24px!important;gap:12px!important}
body[data-route='/about/'][data-route] main.about-family .about-copy section h2{margin:0!important}
body[data-route='/about/'][data-route] main.about-family .about-reading p{margin-bottom:14px!important;line-height:1.75!important}
body[data-route='/about/'][data-route] main.about-family .about-reading p:last-child{margin-bottom:0!important}
body[data-route='/about/'][data-route] main.about-family .about-closing{padding-block:24px!important;gap:18px!important}
/* Form controls and button heights stay unchanged. */
body[data-route='/contact/'][data-route] main[class] .contact-inquiry>.wrap{gap:24px!important}
body[data-route='/contact/'][data-route] main[class] .contact-guidance h3{margin-top:20px!important;margin-bottom:10px!important}
}

@media(max-width:767px){
body[data-route='/platform/'][data-route] main.service-decor-preview .decor-host:not(#pricing){padding-top:24px!important;padding-bottom:24px!important}
body[data-route][data-route] main.case-detail .case-result p{line-height:1.2!important}
body[data-route][data-route] main[class] .case-highlight strong{line-height:1.2!important}
}

/* Requested title rhythm: related cases on both solutions + five insight cards. */
@media(max-width:767px){
body[data-route='/solutions/enterprise-ai/'][data-route] main[class] .case-card h3,
body[data-route='/solutions/process-transformation/'][data-route] main[class] .case-card h3,
body[data-route='/solutions/enterprise-ai/'][data-route] main[class] .insight-card h3,
body[data-route='/solutions/process-transformation/'][data-route] main[class] .insight-card h3{line-height:1.28!important;margin-top:8px!important;margin-bottom:10px!important;min-height:0!important;height:auto!important}
body[data-route='/solutions/enterprise-ai/'][data-route] main[class] .case-card h3 a,
body[data-route='/solutions/process-transformation/'][data-route] main[class] .case-card h3 a{line-height:inherit!important}
body[data-route='/insights/'][data-route] main.insights-editorial .insight-card{grid-template-rows:auto auto auto auto!important;align-content:start!important}
body[data-route='/insights/'][data-route] main.insights-editorial .insight-card>h3{line-height:1.28!important;margin-top:14px!important;margin-bottom:10px!important;min-height:0!important;height:auto!important}
body[data-route='/insights/'][data-route] main.insights-editorial .insight-cover{min-height:0!important;padding-top:18px!important;padding-bottom:18px!important}
body[data-route='/insights/'][data-route] main.insights-editorial .insight-cover strong{line-height:1.3!important}
}
