/* Accessible illustrative comparisons. All motion follows a user action. */
.service-compare{margin:56px 0;padding:clamp(24px,5vw,60px);border:1px solid var(--line);border-radius:24px;background:#f0f2e6;overflow:hidden}
.sc-heading{max-width:740px;margin-bottom:30px}.sc-heading>.eyebrow{font-size:10px;letter-spacing:.18em;color:#52624e}
.sc-heading h2{font-size:clamp(25px,3.2vw,39px);line-height:1.45;margin:14px 0 16px;text-wrap:balance}
.sc-heading p{font-size:13px;max-width:620px;line-height:1.9;color:#52624e}
.sc-controls{display:flex;gap:4px;width:fit-content;max-width:100%;padding:5px;margin:0 0 28px;border:1px solid #acb99f;border-radius:40px;background:#e4e8da}
.sc-controls button{display:block;border:0;border-radius:30px;background:transparent;padding:12px 22px;font-size:12px;font-weight:700;line-height:1.5;transition:background-color 180ms,color 180ms,box-shadow 180ms}
.sc-controls button[aria-pressed="true"]{background:var(--ink);color:var(--paper);box-shadow:0 3px 8px #183f3214}.sc-controls button:focus-visible{outline:3px solid #9c491b;outline-offset:4px}
.sc-stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;isolation:isolate}
.sc-panel{min-width:0;padding:clamp(20px,3vw,38px);border:1px solid #d1dac6;border-radius:20px;background:var(--paper)}
.sc-after{background:#e8edda}.sc-state-label{font-size:10px;letter-spacing:.08em;font-weight:700;color:#52624e;margin-bottom:14px}
.sc-panel h3{font-size:clamp(23px,2.7vw,32px);max-width:690px;line-height:1.55;text-wrap:balance}
.sc-scene{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;min-height:310px;margin:24px 0 18px}
.sc-diaper{position:absolute;z-index:-1;width:74%;max-width:430px;height:auto;left:50%;top:44%;transform:translate(-50%,-50%);fill:none;stroke:#829775;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.6}
.sc-diaper-fill{fill:#edf0e3;stroke:none}.sc-diaper-seam{stroke-dasharray:3 5}.sc-after .sc-diaper{opacity:1;stroke:#53724d}.sc-after .sc-diaper-fill{fill:var(--lime)}
.sc-flow-line{position:absolute;left:10%;right:10%;top:45%;height:1px;border-top:1px dashed #9cae8b;z-index:-1}
.sc-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;list-style:none;padding:0;margin:0!important}
.sc-chip{position:relative;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:18px 15px;border-radius:12px;background:var(--paper);border:1px solid #b7c4aa;box-shadow:0 12px 30px #183f3209}
.sc-chip-symbol{display:grid;place-items:center;width:30px;height:32px;color:#5c7350}.sc-chip-symbol svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.sc-chip strong{font-size:13px;line-height:1.6;letter-spacing:0}.sc-chip-detail{font-size:10px;line-height:1.7;color:#52624e;overflow-wrap:anywhere}
.sc-before .sc-chip-1{transform:translateY(-15px) rotate(-4deg)}.sc-before .sc-chip-2{transform:translateY(17px) rotate(3deg)}.sc-before .sc-chip-3{transform:translateY(-5px) rotate(-2deg)}
.sc-before .sc-flow-line{transform:rotate(-9deg);opacity:.5}.sc-before .sc-diaper{stroke-dasharray:5 8}
.sc-after .sc-chip-2{border-color:var(--ink);background:var(--ink);color:var(--paper)}.sc-after .sc-chip-2 .sc-chip-detail{color:#e0e8d7}.sc-after .sc-chip-2 .sc-chip-symbol{color:var(--lime)}
.sc-after .sc-chip:not(:last-child):after{content:'→';position:absolute;left:calc(100% + 1px);top:48%;font-size:13px;color:#3f5c35;line-height:1}
.sc-boundary{font-size:11px!important;font-weight:700;line-height:1.7;text-align:center;margin:33px 0 0!important;color:#52624e}
.sc-description{font-size:13px!important;line-height:1.95;max-width:720px;margin:0!important}
.sc-note{font-size:10px!important;line-height:1.9;color:#52624e;margin:22px 0 0!important;max-width:850px}
/* An enhancement leaves both cards readable if the script never loads. */
.service-compare[data-enhanced] .sc-stage{grid-template-columns:minmax(0,1fr)}
.service-compare[data-enhanced] .sc-panel{grid-area:1/1;visibility:hidden;opacity:0;pointer-events:none;transform:translateY(8px)}
.service-compare[data-enhanced] .sc-panel[aria-hidden="false"]{visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0)}
.service-compare[data-enhanced] .sc-chips{width:min(100%,740px);margin-left:auto!important;margin-right:auto!important;gap:25px}
.service-compare[data-enhanced] .sc-chip{padding:23px 20px;min-height:163px}.service-compare[data-enhanced] .sc-chip strong{font-size:15px}.service-compare[data-enhanced] .sc-chip-detail{font-size:11px}
.service-compare[data-enhanced] .sc-after .sc-chip:not(:last-child):after{left:calc(100% + 7px);font-size:17px}
.service-compare[data-enhanced] .sc-diaper{max-width:500px;width:67%;top:46%}
.service-compare[data-enhanced] .sc-scene{min-height:330px}
.service-compare[data-compare-animated] .sc-panel{transition:opacity 240ms,transform 240ms,visibility 240ms}
.service-compare[data-compare-animated] .sc-panel[aria-hidden="false"] .sc-chip{animation:sc-settle 320ms ease-out both}
@keyframes sc-settle{from{opacity:.55;translate:0 8px}to{opacity:1;translate:0 0}}
/* Service-specific emphasis: classifications, pilot, boundary, filter, approval, loop. */
.sc-data .sc-after .sc-chip-1{border-top:4px solid #abc552}.sc-first-ai .sc-after .sc-chip-2{border-radius:24px}.sc-private-llm .sc-after .sc-diaper{stroke-width:2.5}
.sc-shared-rag .sc-after .sc-chip-2{border:2px solid var(--ink);background:var(--lime);color:var(--ink)}.sc-shared-rag .sc-after .sc-chip-2 .sc-chip-detail{color:#3f5c35}.sc-shared-rag .sc-after .sc-chip-2 .sc-chip-symbol{color:var(--ink)}
.sc-agents .sc-after .sc-chip-2{outline:2px solid #8d9e72;outline-offset:5px}.sc-operations .sc-after .sc-flow-line{height:190px;top:22%;border:1px solid #9cae8b;border-radius:70px}
[lang="en"] .sc-heading h2{font-size:clamp(26px,3.2vw,40px)}[lang="en"] .sc-panel h3{max-width:740px}
@media(max-width:800px){.service-compare{padding:25px 18px;border-radius:20px;margin:35px 0}.sc-heading{margin-bottom:22px}.sc-heading p{font-size:12px}.sc-controls{width:100%;margin-bottom:20px}.sc-controls button{flex:1;font-size:11px;padding:12px 10px}.sc-stage{grid-template-columns:1fr}.sc-panel{padding:22px 16px;border-radius:15px}.sc-panel h3{font-size:24px}.sc-scene{min-height:300px}.service-compare[data-enhanced] .sc-scene{min-height:310px}.sc-chips,.service-compare[data-enhanced] .sc-chips{gap:9px}.sc-chip,.service-compare[data-enhanced] .sc-chip{padding:14px 9px;min-height:165px;gap:8px;border-radius:9px}.sc-chip strong,.service-compare[data-enhanced] .sc-chip strong{font-size:11px}.sc-chip-detail,.service-compare[data-enhanced] .sc-chip-detail{font-size:9px}.sc-after .sc-chip:not(:last-child):after,.service-compare[data-enhanced] .sc-after .sc-chip:not(:last-child):after{left:calc(100% + 1px);font-size:10px}.sc-description{font-size:12px!important}.sc-diaper,.service-compare[data-enhanced] .sc-diaper{width:100%;top:46%}.sc-boundary{font-size:10px!important;margin-top:31px!important}.sc-note{font-size:9px!important}.sc-operations .sc-after .sc-flow-line{left:0;right:0}.sc-agents .sc-after .sc-chip-2{outline-offset:2px}}
@media(max-width:380px){.service-compare{padding:22px 12px}.sc-panel{padding:20px 12px}.sc-panel h3{font-size:22px}.sc-chip,.service-compare[data-enhanced] .sc-chip{padding:13px 7px}.sc-chip strong,.service-compare[data-enhanced] .sc-chip strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.service-compare *,.service-compare *:before,.service-compare *:after{transition:none!important;animation:none!important}}
@media(max-width:600px){
 .sc-chips,.service-compare[data-enhanced] .sc-chips{grid-template-columns:1fr;gap:17px;width:100%;max-width:280px;margin-left:auto!important;margin-right:auto!important}
 .sc-chip,.service-compare[data-enhanced] .sc-chip{display:grid;grid-template-columns:27px minmax(0,1fr);gap:3px 12px;min-height:76px;padding:13px 16px}
 .sc-chip-symbol{grid-row:1/3;width:27px;align-self:center}.sc-chip strong,.service-compare[data-enhanced] .sc-chip strong{font-size:13px;align-self:end}.sc-chip-detail,.service-compare[data-enhanced] .sc-chip-detail{font-size:10px;grid-column:2}
 .sc-before .sc-chip-1{transform:translateX(-3px) rotate(-3deg)}.sc-before .sc-chip-2{transform:translateX(4px) rotate(2deg)}.sc-before .sc-chip-3{transform:translateX(-2px) rotate(-1deg)}
 .sc-after .sc-chip:not(:last-child):after,.service-compare[data-enhanced] .sc-after .sc-chip:not(:last-child):after{content:'↓';left:50%;top:calc(100% + 2px);transform:translateX(-50%);font-size:13px}
 .sc-scene,.service-compare[data-enhanced] .sc-scene{min-height:370px}.sc-diaper,.service-compare[data-enhanced] .sc-diaper{top:48%;width:135%;max-width:390px}.sc-boundary{margin-top:27px!important}.sc-flow-line{display:none}
}
