/* Refinement pass: common paper boxes, readable copy, balanced rows. */
.paper-page h1,.paper-page h2,.paper-page h3{text-wrap:balance}
.paper-page .cards{align-items:stretch}
.paper-page .card{border:1px solid #8a8b83;border-radius:0;background:transparent;box-shadow:none;transform:none;height:100%;min-height:0}
.paper-page .card p,.paper-page .three p,.paper-page .steps p{font-size:17px;line-height:1.6;color:#34343b}
.paper-page .three article{height:100%}
.service-template .cards,.graphics-pilot .cards{align-items:stretch}
.service-template.service-ai .cards,.service-template.service-overview .cards{grid-template-columns:repeat(12,minmax(0,1fr))}
.service-template.service-ai .card{grid-column:span 4}
.service-template.service-ai .card:nth-child(-n+2){grid-column:span 6}
.service-template.service-overview .card{grid-column:span 4}
.service-template.service-overview .card:nth-child(-n+4){grid-column:span 3}
.service-template.service-ai .card:last-child,.service-template.service-overview .card:last-child{display:block;grid-column:span 4}
.service-template.service-ai .card:last-child>.image-frame,.service-template.service-overview .card:last-child>.image-frame{margin:0 0 20px}
.service-template .card h3,.graphics-pilot .card h3{margin-bottom:18px}
.service-template.service-overview .card h3 a span{display:none}
.service-template .three article:not(:has(>.image-frame)),.graphics-pilot .three article:not(:has(>.image-frame)){padding-top:0}
.paper-page .workflow>span:not(:has(.image-frame)),.paper-page .workflow>strong:not(:has(.image-frame)){padding-top:18px}
.paper-page:not(.service-template):not(.graphics-pilot) .three article:not(:has(>.image-frame)){padding-left:0;padding-top:0}
.service-template.service-about .hero{min-height:480px}
.service-template.service-about .feature{margin-top:30px}
.service-template.service-about .intro{max-width:none}
.service-template.service-about .intro p{max-width:64ch}
.service-template .approach>h2,.graphics-pilot .approach>h2{max-width:30ch}
@media(min-width:901px){.service-template .card:not(:has(>.image-frame)),.graphics-pilot .card:not(:has(>.image-frame)){padding-top:28px}}
@media(max-width:1100px) and (min-width:901px){.service-template.service-overview .cards{grid-template-columns:repeat(6,minmax(0,1fr))}.service-template.service-overview .card:nth-child(n){grid-column:span 2}.service-template.service-overview .card:nth-child(-n+4){grid-column:span 3}}
@media(max-width:900px){
 .service-template.service-ai .cards,.service-template.service-overview .cards{grid-template-columns:1fr}
 .service-template.service-ai .card:nth-child(n),.service-template.service-overview .card:nth-child(n){grid-column:auto;display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px 22px}
 .service-template.service-ai .card:last-child>.image-frame,.service-template.service-overview .card:last-child>.image-frame{grid-row:1;margin:0}
 .service-template .card:not(:has(>.image-frame)),.graphics-pilot .card:not(:has(>.image-frame)){display:block}
 .service-template .card:not(:has(>.image-frame)) p,.graphics-pilot .card:not(:has(>.image-frame)) p{margin-top:12px}
 .service-template .three article:not(:has(>.image-frame)),.graphics-pilot .three article:not(:has(>.image-frame)){display:block}
 .service-template .three article:not(:has(>.image-frame)) h3,.graphics-pilot .three article:not(:has(>.image-frame)) h3{margin-top:10px}
}
@media(max-width:600px){
 .service-template.service-ai .card:nth-child(n),.service-template.service-overview .card:nth-child(n){grid-template-columns:70px minmax(0,1fr);gap:12px 18px}
 .service-template.service-ai .card:not(:has(>.image-frame)),.service-template.service-overview .card:not(:has(>.image-frame)){display:block}
 .service-template.service-about .hero{min-height:0}
 .paper-page .hero .eyebrow{white-space:normal}
 .paper-page .hero h1{font-size:clamp(35px,10vw,43px)!important}
 .paper-page .card p,.paper-page .three p,.paper-page .steps p{font-size:16px;line-height:1.65}
}


/* User-supplied smoother loop belongs to the closing CTA, not the footer. */
.closing:before{background-image:url('/assets/paperlike-footer-supplied.svg')}
@media(max-width:600px){.closing:before{background-image:url('/assets/paperlike-footer-supplied.svg')}}

.service-template .section>.steps{margin:28px 0;align-items:stretch;gap:24px}
.service-template .steps>.card{padding:28px;border:1px solid #8a8b83;height:100%;background:transparent}
.service-template .steps>.card:before{display:none}
.service-template .steps .card p+p{margin-top:20px}
.service-template .steps .card ul,.service-template .section>ol{font-size:17px;line-height:1.65;color:#34343b;padding-left:24px}
.service-template .steps .card li,.service-template .section>ol li{margin-bottom:14px}
.service-template .section>.directory{margin-top:28px;gap:0 32px}
.service-template .directory a{padding:20px 0;border-bottom:1px solid #8a8b83;font-size:17px;line-height:1.5}
@media(max-width:600px){.service-template .steps>.card{padding:24px}.service-template .steps .card ul,.service-template .section>ol{font-size:16px}}

/* The approved homepage has a plain body; include it in shared readability rules. */
h1,h2,h3{text-wrap:balance}
.cards{align-items:stretch}
.cards>.card{height:100%;min-height:0}
.cards .card p,.three article p,.steps article p{font-size:17px;line-height:1.6;color:#34343b}
@media(max-width:600px){.cards .card p,.three article p,.steps article p{font-size:16px;line-height:1.65}.closing>.cta{padding-inline:8px;gap:5px}}

.service-template.service-ai header>.cta{white-space:normal;max-width:100%}
