/* Shared public subpage layouts. Keep specialist home, offer and tool surfaces intact. */
body.legacy-page .wrap{width:min(var(--max),calc(100% - 2 * var(--gutter)))}
body.legacy-page main :is(.offer-content-section,.detail-grid,.service-example,.service-next,.offer-cta,.services-section,.templates-list,.sitemap-list,.knowledge-section,.article-body){min-width:0}
body.legacy-page main :is(.offer-content-section,.detail-grid,.service-example,.service-next,.offer-cta) :is(h2,h3,p){overflow-wrap:break-word}
body.legacy-page main :is(.offer-content-section,.detail-grid) h2{font-size:clamp(2rem,3.4vw,3.25rem);line-height:1.12;letter-spacing:-.045em;font-weight:600}
body.legacy-page :is(.offer-content-section,.detail-grid){width:100%;max-width:none;margin:0;padding:clamp(3rem,5vw,5rem) max(var(--gutter),calc((100% - var(--max))/2));gap:clamp(2rem,6vw,6rem);border:0;background:#fff;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
body.legacy-page .offer-content-section:nth-of-type(odd){background:linear-gradient(125deg,#edf2e5,#f6f6ef)}
body.legacy-page .offer-section-intro h2{max-width:24ch}
body.legacy-page .offer-section-intro>p:not(.eyebrow){font-size:1rem;line-height:1.75;margin-top:1.25rem;max-width:40rem}
body.legacy-page .offer-items{min-width:0;background:#fbfcf7;border:1px solid #cbd8c1;border-radius:1.25rem;padding:1.5rem 1.75rem}
body.legacy-page .offer-items> :is(article,a){min-width:0;padding:1.2rem 0;gap:1rem;align-items:start}
body.legacy-page .offer-items> :is(article,a):first-child{padding-top:0;border-top:0}
body.legacy-page .offer-items> :is(article,a):last-child{padding-bottom:0}
body.legacy-page .offer-items> :is(article,a)>div{min-width:0;flex:1}
body.legacy-page .offer-items h3{font-size:clamp(1.2rem,1.7vw,1.6rem);line-height:1.3;font-weight:550;letter-spacing:-.03em}
body.legacy-page .offer-items p{font-size:.9375rem;line-height:1.7;margin-top:.65rem}
body.legacy-page .offer-items .row-arrow{display:grid;place-items:center;flex:none;width:2.5rem;height:2.5rem;margin:0;border-radius:50%;background:#e3edd6;color:#164b32}
body.legacy-page .offer-items>a:hover{text-decoration:none;background:none;box-shadow:none}
body.legacy-page .offer-content-section.layout-links{display:block}
body.legacy-page .layout-links .offer-section-intro{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:2rem 6vw;align-items:start;margin-bottom:2rem}
body.legacy-page .layout-links .offer-section-intro>p:not(.eyebrow){margin:0}
body.legacy-page .layout-links .offer-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 2rem}
body.legacy-page .layout-links .offer-items>a{padding:1.25rem 0;border-top:1px solid var(--line)}
body.legacy-page .layout-links .offer-items>a:nth-child(-n+2){border-top:0}
body.legacy-page .offer-content-section.layout-steps{display:block}
body.legacy-page .layout-steps .offer-section-intro h2{max-width:30ch}
body.legacy-page .layout-steps .offer-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:2rem;padding:0;background:none;border:0;border-radius:0}
body.legacy-page .layout-steps .offer-items>article{padding:1.5rem;background:#fff;border:1px solid var(--line);border-radius:1.25rem}
body.legacy-page .offer-content-section:not(:has(.offer-items)){grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
body.legacy-page .offer-content-section:not(:has(.offer-items)) .offer-section-intro{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:2rem 6vw;align-items:start}
body.legacy-page .offer-content-section:not(:has(.offer-items)) .offer-section-intro>p:not(.eyebrow){margin:0}
/* Older service details use the same editorial columns and clear example surface. */
body.legacy-page .numbered-list article>span{display:none}
body.legacy-page .numbered-list article{padding:1.25rem 0;border-color:var(--line)}
body.legacy-page .numbered-list article:first-child{padding-top:0;border-top:0}
body.legacy-page .numbered-list h3{font-size:clamp(1.2rem,1.7vw,1.6rem);font-weight:550;line-height:1.4;letter-spacing:-.025em}
body.legacy-page .service-example{margin-block:2rem;padding:clamp(1.5rem,3vw,3rem);background:linear-gradient(120deg,#e3edd6,#eef3e7);border:1px solid #cad7bd;border-radius:1.25rem}
body.legacy-page .service-example h2{font-size:clamp(1.75rem,2.7vw,2.5rem);line-height:1.15;letter-spacing:-.04em;font-weight:600}
body.legacy-page .service-example p{font-size:1rem;line-height:1.75;color:var(--muted);margin-top:1rem;max-width:65rem}
body.legacy-page .deliverables>p{font-size:1rem;line-height:1.7;padding:1.1rem 0;gap:1rem}
body.legacy-page .deliverables>p:first-child{padding-top:0;border-top:0}
body.legacy-page .deliverables aside{padding:1.25rem 1.5rem;background:#eaf1df;border:1px solid #d1ddc5;border-radius:1rem;color:#405744;font-size:.9375rem;line-height:1.75}
body.legacy-page :is(.offer-cta,.service-next){margin-block:2rem 4rem;padding:clamp(1.5rem,3vw,3rem);background:var(--forest);border:1px solid #163e2d;border-radius:1.5rem;color:#f5f7ef}
body.legacy-page :is(.offer-cta,.service-next) h2{font-size:clamp(1.8rem,2.7vw,2.75rem);font-weight:600;line-height:1.15;letter-spacing:-.04em}
body.legacy-page :is(.offer-cta,.service-next) p:not(.eyebrow){font-size:1rem;line-height:1.75;color:#c6d4c7;margin-top:1rem}
body.legacy-page :is(.offer-cta,.service-next) .button{background:var(--lime);border-color:var(--lime);color:var(--forest)}
body.legacy-page .offer-cta .button{max-width:100%;white-space:normal}
/* Service directory: the title and description occupy real columns, without a phantom index. */
body.legacy-page .services-section{padding-block:clamp(2.5rem,5vw,5rem)}
body.legacy-page .services-section .platform-heading{margin:0;padding:0 0 1.5rem;border:0}
body.legacy-page .services-section .platform-heading.google{margin-top:3rem}
body.legacy-page .services-section .service-row{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) 2.75rem;gap:1.5rem;padding:1.5rem;align-items:center;background:#fff;border:1px solid var(--line);border-bottom:0}
body.legacy-page .services-section .service-row:nth-of-type(1),body.legacy-page .services-section .platform-heading+.service-row{border-radius:1.25rem 1.25rem 0 0}
body.legacy-page .services-section .service-row:has(+.platform-heading),body.legacy-page .services-section .service-row:last-child{border-bottom:1px solid var(--line);border-radius:0 0 1.25rem 1.25rem}
body.legacy-page .services-section .service-row h3{font-size:clamp(1.2rem,1.6vw,1.5rem);font-weight:550;line-height:1.3;letter-spacing:-.03em}
body.legacy-page .services-section .service-row p{font-size:.9375rem;line-height:1.7}
body.legacy-page .services-section .row-arrow{width:2.5rem;height:2.5rem;border-radius:50%;background:#e3edd6;color:#164b32}
/* Readable editorial surfaces, including articles rendered by the CMS. */
body.legacy-page .article-body{max-width:52rem;margin:clamp(2rem,4vw,4rem) auto;padding:clamp(1.5rem,3vw,3rem);background:#fff;border:1px solid var(--line);border-radius:1.5rem}
body.legacy-page .article-body section{padding-left:0;margin-top:2rem}
body.legacy-page .article-body section:first-child{margin-top:0}
body.legacy-page .article-body section h2{font-size:clamp(1.5rem,2.3vw,2rem);font-weight:600;line-height:1.25;letter-spacing:-.035em}
body.legacy-page .article-body section p{font-size:1.0625rem;line-height:1.85;margin-top:1rem;color:var(--muted)}
body.legacy-page .article-body aside{padding:1.5rem;border:1px solid #cedbc2;border-radius:1rem;background:#eaf1df}
body.legacy-page .cms-article{max-width:54rem;padding:clamp(1.5rem,3vw,3rem);background:#fff;border:1px solid var(--line);border-radius:1.5rem}
body.legacy-page .cms-article :is(img,video,iframe){max-width:100%}
body.legacy-page .cms-article .cms-cover{margin-inline:0}
body.legacy-page .cms-article pre{border-radius:.75rem}
body.legacy-page .knowledge-section{padding-block:clamp(2.5rem,5vw,5rem)}
body.legacy-page .article-grid{column-gap:1.25rem}
body.legacy-page .article-card{background:#fff;border:1px solid var(--line);padding:1.25rem;border-radius:1.25rem}
body.legacy-page .article-card :is(.article-illustration,.cms-card-placeholder,.cms-figure img){border-radius:.75rem}
body.legacy-page .article-card h3{font-size:clamp(1.25rem,1.8vw,1.65rem);line-height:1.3;letter-spacing:-.035em}
body.legacy-page .article-card p{font-size:.9375rem;line-height:1.75}
body.legacy-page .cms-blog-grid>.article-card{padding-bottom:1.25rem;margin-bottom:1.25rem}
body.legacy-page .article-card .article-meta{gap:.75rem;flex-wrap:wrap}
body.legacy-page .article-card .read-link{margin-top:1.25rem}
body.legacy-page .sitemap-list{padding-block:clamp(2.5rem,5vw,5rem);gap:.75rem 1.25rem}
body.legacy-page .sitemap-list>a{padding:1.1rem 1.25rem;background:#fff;border:1px solid var(--line);border-radius:.85rem;font-size:.9375rem;line-height:1.6}
body.legacy-page .cookie-document{padding:clamp(1.5rem,3vw,3rem);margin-block:clamp(2rem,4vw,4rem);background:#fff;border:1px solid var(--line);border-radius:1.5rem}
/* Shared safety at intermediate sizes, without shrinking content to fit. */
@media(max-width:1050px){
 body.legacy-page .offer-cta{display:block}body.legacy-page .offer-cta .button{margin-top:1.5rem}
}
@media(max-width:760px){
 body.legacy-page :is(.offer-content-section,.detail-grid){grid-template-columns:minmax(0,1fr);gap:1.5rem;padding-block:3rem}
 body.legacy-page .layout-links .offer-section-intro,body.legacy-page .offer-content-section:not(:has(.offer-items)) .offer-section-intro{grid-template-columns:minmax(0,1fr);gap:1rem}
 body.legacy-page .layout-links .offer-items,body.legacy-page .layout-steps .offer-items{grid-template-columns:minmax(0,1fr)}
 body.legacy-page .layout-links .offer-items>a:nth-child(2){border-top:1px solid var(--line)}
 body.legacy-page .offer-items{padding:1.25rem;border-radius:1rem}
 body.legacy-page .layout-steps .offer-items>article{padding:1.25rem}
 body.legacy-page .services-section .service-row{grid-template-columns:minmax(0,1fr) 2.5rem;gap:.5rem 1rem;padding:1.25rem}
 body.legacy-page .services-section .service-row p{grid-column:1;grid-row:2}
 body.legacy-page .services-section .row-arrow{grid-column:2;grid-row:1/3}
 body.legacy-page .sitemap-list{grid-template-columns:minmax(0,1fr)}
 body.legacy-page :is(.offer-cta,.service-next){margin-block:1.5rem 3rem}
 body.legacy-page :is(.offer-cta,.service-next) .button{max-width:100%;white-space:normal;text-align:left}
 body.legacy-page .article-body section p{font-size:1rem;line-height:1.8}
 body.legacy-page .article-card{padding:1rem}
 body.legacy-page .excel-detail-layout>aside{padding:1.25rem}
 body.legacy-page .contact-email{font-size:clamp(1rem,5vw,1.5rem);overflow-wrap:anywhere}
}
@media(min-width:761px){
 body.legacy-page .services-section .service-row h3{grid-column:1;grid-row:1}
 body.legacy-page .services-section .service-row p{grid-column:2;grid-row:1}
 body.legacy-page .services-section .service-row .row-arrow{grid-column:3;grid-row:1}
}
@media(max-width:760px){
 body.legacy-page .excel-detail p{line-height:1.75}
 body.legacy-page .excel-detail li{padding-block:1rem}
 body.legacy-page .excel-detail li::before{top:1.75rem}
 body.legacy-page .excel-detail li:first-child::before{top:.75rem}
}

/* Shared vertical scale for editorial and offer destinations. */
body.legacy-page :is(.offer-content-section,.detail-grid){padding-block:var(--section-space)}
body.legacy-page :is(.knowledge-section,.services-section,.sitemap-list){padding-block:var(--section-space)}
body.legacy-page :is(.offer-cta,.service-next){margin-block:var(--panel-gap) var(--section-space)}
body.legacy-page .excel-detail{padding-block:var(--section-space)}
body.legacy-page .excel-detail-layout{row-gap:1.75rem;column-gap:clamp(2rem,5vw,5rem)}
body.legacy-page .excel-detail p{line-height:1.75;margin-top:1rem}
body.legacy-page .excel-detail-layout>aside{padding:clamp(1.25rem,2vw,2rem)}
body.legacy-page .excel-faq{padding-block:var(--section-space)}
body.legacy-page .contact-section.contact-page{margin-block:var(--section-space);padding:var(--panel-pad);gap:clamp(1.5rem,4vw,3rem);align-items:start}
body.legacy-page .article-body,body.legacy-page .cms-article,body.legacy-page .cookie-document{margin-block:var(--section-space)}
@media(min-width:761px) and (max-width:1000px){body.legacy-page .excel-detail-layout{grid-template-columns:minmax(0,1fr)}}
body.legacy-page .excel-detail-contact{padding-block:var(--section-space)}
