.service-showcase{margin-top:var(--space-80);padding-top:var(--space-40);border-top:var(--border-width-1) solid var(--www-line)}
.service-showcase-heading{display:flex;align-items:end;justify-content:space-between;gap:var(--space-40);margin-bottom:var(--space-40)}
.service-showcase-kicker{display:flex;align-items:center;gap:var(--space-12);color:var(--text-secondary);font-weight:var(--font-weight-bold);margin-bottom:var(--space-16)}
.service-showcase-heading h3{font-size:var(--font-size-32);letter-spacing:var(--www-tracking-title)}
.service-showcase-heading h3 span{color:var(--text-tertiary)}
.service-showcase-heading p{max-width:27em;color:var(--text-tertiary);font-size:var(--font-size-15)}
.service-showcase-tools{display:flex;align-items:center;justify-content:space-between;gap:var(--space-24);margin-bottom:var(--space-24)}
/* a chip is 32px tall: the row keeps room above and below it so the area to press reaches 44px */
.service-categories{min-width:0}
.service-categories .mw-chip-group{padding-block:calc(var(--space-12) / 2)}
.service-categories .mw-select-chip{position:relative}
.service-categories .mw-select-chip::after{content:'';position:absolute;inset:calc(var(--space-12) / -2) 0}
.service-count{margin-left:var(--space-4);font-variant-numeric:tabular-nums;font-weight:var(--font-weight-medium)}
.service-controls{display:flex;align-items:center;gap:var(--space-8);flex-shrink:0}
.service-controls output{min-width:var(--space-64);margin-right:var(--space-12);color:var(--text-secondary);font-size:var(--font-size-12);font-weight:var(--font-weight-semibold);letter-spacing:var(--www-tracking-caps);font-variant-numeric:tabular-nums}
.service-rail{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:var(--www-card);gap:var(--space-20);overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--space-4);scrollbar-color:var(--text-tertiary) transparent;scrollbar-width:thin;padding:var(--space-8) var(--space-4) var(--space-24);--www-card:clamp(245px,23.8vw,305px)}
/* each card's picture is laid out and painted when it comes near the window, not with the first frame
   (services/devices#performance). The picture only: the cards are links, and a skipped rail took all 33 out of the
   accessibility tree (home-v6.css). The picture's box takes its size from aspect-ratio and clips already, so nothing drawn changes. */
.service-card-screen{content-visibility:auto}
.service-rail::-webkit-scrollbar{height:var(--space-4)}
.service-rail::-webkit-scrollbar-thumb{background:var(--text-tertiary);border-radius:var(--radius-circle)}
.service-card{display:flex;flex-direction:column;min-width:0;padding:var(--space-12);scroll-snap-align:start;background:color-mix(in srgb,var(--mw-pearl) 4%,var(--mw-graphite-2));border:var(--border-width-1) solid var(--www-line);border-radius:var(--radius-16);transition:transform var(--motion-duration-medium) var(--motion-easing-ease-out),border-color var(--motion-duration-medium) var(--motion-easing-ease-out),background-color var(--motion-duration-medium) var(--motion-easing-ease-out)}
.service-card:hover{transform:translateY(calc(-1 * var(--space-4)));border-color:color-mix(in srgb,var(--mw-pearl) 42%,transparent);background:color-mix(in srgb,var(--mw-pearl) 7%,var(--mw-graphite-2))}
.service-card-screen{position:relative;display:block;overflow:hidden;aspect-ratio:390/730;border-radius:var(--radius-8)}
.service-card-screen img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
/* a service with no example screen yet: its install icon and one line (www/deploy/services-sync.mjs) */
.service-card-screen--mark{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-16);padding:var(--space-24);text-align:center;color:var(--text-tertiary);font-size:var(--font-size-12);line-height:var(--line-height-default-148)}
.service-card-screen--mark img{width:var(--space-80);height:var(--space-80);object-fit:contain;border-radius:var(--radius-16)}
.service-card-topline{display:flex;justify-content:space-between;align-items:center;gap:var(--space-12);margin-top:var(--space-20);color:var(--text-tertiary)}
.service-card-topline>span:last-child{font-size:var(--font-size-20);line-height:var(--www-leading-solid);color:var(--mw-pearl);transition:transform var(--motion-duration-medium) var(--motion-easing-ease-out)}
.service-card:hover .service-card-topline>span:last-child{transform:translate(16%,-16%)}
.service-card strong{display:block;margin-top:var(--space-8);font-size:var(--font-size-24);line-height:var(--line-height-default-148);letter-spacing:var(--www-tracking-display)}
.service-card-description{display:block;margin-top:var(--space-4);color:var(--text-tertiary);font-size:var(--font-size-14);line-height:var(--line-height-default-148);min-height:3em}
.service-showcase-note{max-width:65em;margin-top:var(--space-16);color:var(--text-tertiary);font-size:var(--font-size-12)}
@media(max-width:1280px){
  .service-showcase-heading{align-items:start}
  .service-showcase-heading p{max-width:22em}
  .service-showcase-tools{align-items:flex-start;flex-direction:column}
  .service-categories{max-width:100%}
  .service-controls{align-self:flex-end}
}
@media(max-width:900px){
  .service-showcase{margin-top:var(--space-64);padding-top:var(--space-32)}
  .service-showcase-heading{display:block;margin-bottom:var(--space-32)}
  .service-showcase-heading h3{font-size:var(--font-size-24)}
  .service-showcase-heading p{margin-top:var(--space-16);font-size:var(--font-size-14)}
  .service-showcase-tools{gap:var(--space-16);margin-bottom:var(--space-12)}
  .service-categories{width:100%}
  .service-rail{--www-card:min(73vw,300px);gap:var(--space-12);margin-right:calc(-1 * var(--www-gutter));padding-right:var(--www-gutter)}
  .service-card strong{font-size:var(--font-size-20)}
  .service-card-description{font-size:var(--font-size-13)}
}
@media(prefers-reduced-motion:reduce){.service-card,.service-card-topline>span:last-child{transition:none}}
