/* Services only: shared brand tokens, buttons, header and final CTA remain global. */
.xdigit-services-page { overflow-wrap:break-word; }
.xdigit-services-page section[id] { scroll-margin-top:6rem; }
.services-hero { padding:4rem 0; background:#fff; }
.services-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:clamp(2rem,4vw,4rem); align-items:center; }
.services-hero-copy { min-width:0; }
.services-hero-copy h1 { font-size:clamp(2.25rem,3.6vw,3.5rem); line-height:1.08; }
.services-intro { max-width:48ch; margin-top:1.5rem; color:#4b5563; font-size:1.125rem; line-height:1.7; }
.services-actions { display:flex; flex-wrap:wrap; gap:1.25rem; align-items:center; margin-top:2rem; }
.services-text-link { display:inline-flex; align-items:center; min-height:44px; color:var(--color-xdigit-link); font-weight:600; text-decoration:none; }
.services-text-link:hover { color:var(--color-xdigit-blue); }
.services-hero-visual { min-width:0; margin:0; }
.services-hero-visual img { display:block; width:100%; height:auto; aspect-ratio:3 / 2; object-fit:contain; }
.services-section { padding:5rem 0; background:#fff; }
.services-section--tint { background:var(--color-xdigit-gray-light); }
.services-models-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; margin-top:2.5rem; }
.services-model-card { min-width:0; padding:2rem; border:1px solid #d1d5db; border-top:3px solid var(--color-xdigit-cta); background:#fff; }
.services-model-icon { display:inline-flex; margin-bottom:1.5rem; color:var(--color-xdigit-link); }
.services-model-card h3,.services-skill-card h3 { margin:0; color:var(--color-xdigit-blue); font-family:var(--font-display); font-size:1.375rem; font-weight:700; line-height:1.3; }
.services-model-card p { margin:1rem 0 0; color:#4b5563; font-size:1rem; line-height:1.7; }
.services-skills-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem 3rem; margin-top:2.5rem; }
.services-skill-card { min-width:0; padding:1.75rem 0; border-top:1px solid #c6d0db; }
.services-skill-card p { margin:1rem 0 0; color:#4b5563; font-size:1rem; line-height:1.65; }
.services-skill-card .services-text-link { margin-top:1rem; gap:.5rem; }
.services-skill-card ul { display:flex; flex-wrap:wrap; gap:.625rem; margin:1.25rem 0 0; padding:0; list-style:none; }
.services-skill-card li { padding:.5rem .75rem; background:var(--color-xdigit-gray-light); color:var(--color-xdigit-blue); font-size:.9375rem; line-height:1.4; }
.services-embedded-link { padding-bottom:4rem; }
@media (max-width:1023px) {
    .services-hero-grid { grid-template-columns:minmax(0,1fr); }
    .services-hero-copy { max-width:44rem; }
    .services-hero-visual { width:100%; max-width:44rem; justify-self:center; }
    .services-model-card { padding:1.5rem; }
}
@media (max-width:767px) {
    .services-hero,.services-section { padding:3rem 0; }
    .services-models-grid,.services-skills-grid { grid-template-columns:minmax(0,1fr); }
    .services-models-grid { gap:1.25rem; }
    .services-skills-grid { gap:0; }
    .services-model-card h3,.services-skill-card h3 { font-size:1.25rem; }
    .services-intro { font-size:1rem; }
    .services-embedded-link { padding-bottom:3rem; }
}
