/* Services are named first; the benefit supports rather than replaces the name. */
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
/* A disclosure grows independently; its closed neighbours never stretch with it. */
.service-grid > .service-card { grid-column: auto; align-self: start; }
.service-card > summary { display: flex; flex-direction: column; height: auto; padding: 20px 20px 0; }
.service-card .service-preview { flex-shrink: 0; }
.service-title-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; }
.service-number { flex: 0 0 24px; padding-top: 7px; color: var(--fa-accent); font: 500 12px/1.5 var(--mono); }
.service-card .service-name { min-height: 0; margin: 0; font-size: 26px; line-height: 1.3; font-weight: 650; letter-spacing: -.035em; color: var(--ink); }
.service-card summary > .service-summary { margin-top: 14px; margin-bottom: 18px; min-height: 0; font-size: 16px; line-height: 1.7; color: #526056; }
.service-card .service-expand { margin-top: 0; padding-block: 16px 18px; font-size: 14px; }
.service-card .service-detail { padding-top: 0; padding-bottom: 20px; }
.service-card .service-benefit { padding-top: 18px; color: #24382b; font-size: 17px; font-weight: 600; line-height: 1.6; }
.service-card .service-detail ul { padding-top: 6px; }
.preview-software { flex-direction: column; justify-content: space-between; gap: 8px; background: #e7e1ef; color: #544268; }
.preview-software .software-system { width: 100%; height: 128px; flex: 1 1 auto; min-height: 0; }
.preview-software > b { font-size: 12px; line-height: 1.5; font-weight: 500; }
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid > .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .service-card .service-name { font-size: 25px; }
}
@media (max-width: 620px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-grid > .service-card:last-child:nth-child(odd) { grid-column: auto; }
  .service-card > summary { padding-inline: 20px; }
  .service-card .service-name { font-size: 26px; }
}
