/* Commercial inner pages: content sets the hierarchy; shared geometry and motion stay in tokens. */
:is(.product-page,.service-page,.about-page,.case-page,.project-case-page,.seo-case-page,.geo-case-page) .section{padding-block:72px}
:is(.product-page,.service-page,.about-page) :is(.hero,.service-hero){min-height:0;padding-block:40px 56px;background-image:none}
:is(.product-page,.service-page,.about-page) :is(.hero,.service-hero)::before{display:none}
:is(.product-page,.service-page,.about-page) :is(.hero__grid,.service-hero__grid){grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:48px;align-items:center}
:is(.product-page,.service-page,.about-page,.case-page,.project-case-page,.seo-case-page,.geo-case-page) h1{font-size:clamp(34px,4.1vw,60px);line-height:1.08;letter-spacing:-.04em}
:is(.product-page,.service-page,.about-page) :is(.hero__intro,.service-hero__lead){font-size:17px;line-height:1.65;max-width:680px;margin-block:24px}
:is(.product-page,.service-page,.about-page) :is(.hero__actions,.service-hero__actions){gap:20px;margin-top:24px}
:is(.product-page,.service-page,.about-page,.case-page,.project-case-page,.seo-case-page,.geo-case-page) :is(.section-heading h2,.experience h2){font-size:clamp(28px,3vw,44px);line-height:1.15;letter-spacing:-.03em}
:is(.product-page,.service-page,.about-page,.case-page,.project-case-page,.seo-case-page,.geo-case-page) .section-heading>p:last-child:not(.section-index){max-width:820px;font-size:17px;line-height:1.6}
:is(.product-page,.service-page,.about-page) .section-heading{margin-bottom:32px}
:is(.product-page,.service-page,.about-page) .eyebrow{font-size:12px;letter-spacing:.08em}
.solution-plan{padding:28px;background:#edf4f7;border:1px solid var(--color-line);border-radius:var(--radius-frame);min-width:0}
.solution-plan__label{margin:0 0 24px;font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--color-blue);font-weight:700}
.solution-plan ol{list-style:none;margin:0;padding:0}
.solution-plan li{display:grid;grid-template-columns:32px 1fr;gap:16px;position:relative;padding:0 0 28px}
.solution-plan li:not(:last-child)::after{content:"";position:absolute;left:15px;top:32px;bottom:0;width:1px;background:#a8c5d2}
.solution-plan__number{position:relative;z-index:1;display:grid;place-items:center;width:32px;height:32px;background:#fff;color:var(--color-blue);border:1px solid #b9d0da;border-radius:50%;font-size:11px;font-weight:700}
.solution-plan li:last-child .solution-plan__number{color:#fff;background:#ed6b37;border-color:#ed6b37}
.solution-plan h2{margin:3px 0 8px;font-size:20px;line-height:1.25;letter-spacing:-.02em}
.solution-plan li p{margin:0;font-size:14px;line-height:1.5;color:var(--color-muted)}
.solution-plan__outcome{margin:0;padding-top:20px;border-top:1px solid #b9d0da}
.solution-plan__outcome span{display:block;color:var(--color-muted);font-size:12px;margin-bottom:8px}
.solution-plan__outcome strong{display:block;font-size:21px;line-height:1.3;font-weight:650}
.product-page .card-grid--pains{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.product-page .pain-card{padding:28px;min-height:0;background:#fff;border:1px solid var(--color-line);border-radius:var(--radius-frame)}
.product-page :is(.pain-card,.check-card,.course-card,.solution-module) h3{font-size:23px;line-height:1.25}
.product-page :is(.pain-card,.check-card,.course-card) p{font-size:16px;line-height:1.6}
.product-page .solution-builder__canvas{gap:16px;background:none;border:0;overflow:visible}
.product-page .solution-module{border:1px solid var(--color-line);border-radius:var(--radius-frame);padding:26px;background:#fff}
.product-page .solution-module--primary{background:#edf4f7;color:var(--color-ink)}
.product-page .solution-module--primary :is(li,em){color:var(--color-muted)}
.service-page .service-card-grid{gap:16px;background:transparent;border:0;overflow:visible}
.service-page .service-card{padding:28px;border:1px solid var(--color-line);border-radius:var(--radius-frame);min-height:0}
.service-page .service-card:not(.service-card--decision){background:#fff}
.service-page .service-card h3{font-size:24px;line-height:1.25;letter-spacing:-.02em}
.service-page .service-card p{font-size:16px;line-height:1.6}
.service-page .service-steps h3{font-size:25px;line-height:1.25}
.service-page .service-steps p{font-size:16px;line-height:1.6;max-width:760px}
.service-page--production .site-team-note{color:#c1d0d6}
.service-page--production .site-team-note__faces img{border-color:#11191d}
.service-page--production .service-hero__frame::before{display:none}
.service-workflow{padding:28px;background:#edf4f7;border:1px solid var(--color-line);border-radius:var(--radius-frame);min-width:0}
.service-workflow>p{margin:0 0 12px;color:var(--color-muted);font-size:12px}
.service-workflow h2{font-size:24px;margin:0 0 24px;line-height:1.2}
.service-workflow ol{display:grid;grid-template-columns:1fr 1fr;gap:12px;list-style:none;margin:0 0 16px;padding:0}
.service-workflow li{padding:16px 12px;background:#fff;border:1px solid #c6d9e2;border-radius:var(--radius-control);font-size:15px;line-height:1.4}
.service-workflow li span{display:block;font-size:10px;color:var(--color-muted);margin-bottom:6px}
.service-workflow__result{padding:20px;background:var(--color-blue-deep);color:white;border-radius:var(--radius-control)}
.service-workflow__result span{display:block;font-size:12px;color:#c1d0d6;margin-bottom:8px}
.service-workflow__result strong{display:block;font-size:23px;line-height:1.3}
:is(.seo-case-page,.geo-case-page,.case-page,.project-case-page) :is(.case-hero,.seo-case-hero,.geo-case-hero){padding-block:40px 48px;background-image:none}
:is(.seo-case-hero__grid,.geo-case-hero__grid,.case-hero__grid){gap:40px}
:is(.seo-case-hero__lead,.geo-case-hero__lead,.case-hero__intro){font-size:17px;line-height:1.6}
:is(.seo-case-passport,.geo-case-facts){border-radius:var(--radius-frame);box-shadow:none}
.project-case-page .project-case-hero h1{max-width:1050px}
.project-case-page .project-case-hero .case-hero__facts{margin-top:32px}
@media(max-width:1050px){:is(.product-page,.service-page,.about-page) :is(.hero__grid,.service-hero__grid){gap:28px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.solution-plan,.service-workflow{padding:22px}.solution-plan h2{font-size:18px}}
@media(max-width:850px){:is(.product-page,.service-page,.about-page) :is(.hero__grid,.service-hero__grid){grid-template-columns:1fr}.solution-plan,.service-workflow{width:100%;max-width:620px}.product-page .solution-builder__canvas{grid-template-columns:repeat(2,minmax(0,1fr))}:is(.seo-case-hero__grid,.geo-case-hero__grid,.case-hero__grid){grid-template-columns:1fr}}
@media(max-width:600px){:is(.product-page,.service-page,.about-page,.case-page,.project-case-page,.seo-case-page,.geo-case-page) .section{padding-block:48px}:is(.product-page,.service-page,.about-page) :is(.hero,.service-hero){padding-block:28px 40px}:is(.product-page,.service-page,.about-page) :is(.hero__intro,.service-hero__lead){font-size:16px}.product-page :is(.card-grid--pains,.solution-builder__canvas){grid-template-columns:1fr}.service-page .service-card{padding:24px}.solution-plan__outcome strong{font-size:20px}.service-workflow li{padding:14px 10px;font-size:14px}}
/* Modules are a scope of work, not four unconnected diagram nodes. */
.product-page .solution-module{min-height:0;box-shadow:none}
.product-page .solution-module::after{display:none}
.product-page .solution-module__head{margin-bottom:22px}
.product-page :is(.pain-card,.check-card) h3{margin-top:22px}
.service-page .service-card h3{margin-top:24px}
:is(.product-page,.service-page,.about-page) .conversion__option .human-contact{margin-top:20px}

/* Linked cards have room to lift and show keyboard focus without clipping at shared grid edges. */
:is(.service-page,.about-page) .service-link-grid{gap:16px;border:0;background:transparent;overflow:visible}
:is(.service-page,.about-page) .service-link-card{border:1px solid var(--color-line);border-radius:var(--radius-frame);padding:28px;min-height:260px;gap:24px}
:is(.service-page,.about-page) .service-link-card h3{font-size:25px;line-height:1.25}
:is(.service-page,.about-page) .service-link-card p{font-size:16px;line-height:1.6}
@media(max-width:600px){:is(.service-page,.about-page) .service-link-card{padding:24px;min-height:0}}

:is(.case-page,.project-case-page) .case-hero__facts{border-radius:var(--radius-frame);overflow:hidden}
.seo-case-passport--focus>div>strong{font-size:clamp(25px,2.5vw,36px);line-height:1.2;letter-spacing:-.025em}
.service-workflow li{display:flex;align-items:center;min-height:68px}
.seo-case-source-body .wp-block-table:focus-visible{outline-offset:3px}

/* With an odd number of meaningful cards, the last one spans the row; no filler content. */
:is(.service-card-grid,.service-link-grid)>:last-child:nth-child(odd){grid-column:1/-1}
