#platforms > .wrap > .section-heading {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.product-grid.is-elastic {
  position: relative;
  display: block;
  height: 900px;
  isolation: isolate;
}
.is-elastic .product-card {
  position: absolute;
  cursor: pointer;
  min-height: 0;
  margin: 0;
  padding: 28px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border-color: rgba(140, 166, 189, .22);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.is-elastic .product-card.featured { background: transparent; }
.is-elastic .product-card:hover,
.is-elastic .product-card.is-expanded {
  border-width: 2px;
  border-color: var(--accent);
  background: transparent;
}
.is-elastic .product-card.is-expanded { z-index: 2; padding: 32px; box-shadow: none; }
.is-elastic .product-card-header { margin-bottom: 22px; flex-shrink: 0; }
.product-expand { display: flex; align-items: center; width: 100%; padding: 0; background: none; text-align: left; }
.product-expand::after { content: '+'; margin-left: auto; color: var(--text); font-size: 22px; font-weight: 300; }
.is-expanded .product-expand::after { content: '−'; color: var(--accent-ink); }
.is-elastic .product-logo img { width: auto; max-width: 170px; height: 42px; object-fit: contain; object-position: left center; }
.is-elastic .product-card h3 { font-size: 21px; margin-bottom: 12px; }
.is-elastic .product-card > p { margin-bottom: 18px; font-size: 16px; line-height: 1.85; }
.is-elastic .product-card:not(.is-expanded) > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 16px; flex-shrink: 0; }
.product-card-footer .platform-scenarios { margin: 0; }
.is-elastic .product-link { border-top: 0; padding-top: 0; margin: 0 0 0 auto; flex-shrink: 0; justify-content: flex-end; }
.is-elastic .product-link:hover span { color: inherit; }
.is-elastic .product-card:not(.is-condensed) > h3 { margin-top: 0; }
.product-card-footer { margin-top: auto; }
.platform-preview { position: relative; flex: 1; min-height: 0; margin: 12px 0 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.platform-preview img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.is-condensed .platform-preview, .is-expanded .platform-preview { display: none; }
.is-elastic .product-card.is-expanded h3 { font-size: clamp(24px, 2.1vw, 34px); margin-bottom: 14px; }
.is-elastic .product-card.is-expanded > p { font-size: 18px; max-width: 650px; }
.is-elastic .product-card.is-expanded.is-expanded-vertical > p { max-width: none; }
.platform-detail { margin-block: 10px 24px; }
.platform-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin: 0; }
.platform-features > div { padding-top: 18px; border-top: 1px solid #ffffff17; }
.platform-features dt { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.platform-features dd { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.platform-scenarios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.platform-scenarios span { color: var(--accent-ink); border: 1px solid rgba(var(--accent-rgb), .16); padding: 5px 12px; border-radius: 4px; font-size: 14px; }
.is-elastic .product-card.is-condensed { padding: 18px; justify-content: center; text-align: center; }
.is-elastic .is-condensed .product-card-header { margin-bottom: 12px; }
.is-elastic .is-condensed .product-expand { justify-content: center; text-align: center; }
.is-elastic .is-condensed .product-logo img { max-width: 125px; height: 32px; object-position: center; }
.is-elastic .is-condensed .product-expand::after { display: none; }
.is-elastic .product-card.is-condensed h3 { font-size: 17px; line-height: 1.6; margin: 0; }
.is-elastic .product-card.is-condensed > p,
.is-elastic .is-condensed .product-card-footer { display: none; }
.is-elastic .product-expand:focus-visible { outline-offset: 8px; border-radius: 2px; }
@media (min-width: 1151px) {
  .is-expanded-vertical .platform-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1150px) and (min-width: 851px) {
  .product-grid.is-elastic { height: 1000px; }
  .is-elastic .product-card { padding: 22px; }
  .is-elastic .product-card.is-expanded { padding: 28px; }
  .is-elastic .product-card.is-expanded.is-expanded-vertical { padding: 20px; }
  .is-elastic .is-condensed .product-logo img { max-width: 115px; }
  .is-expanded-vertical .platform-detail { margin-bottom: 16px; }
  .is-expanded-vertical .platform-features { row-gap: 20px; }
}
@media (max-width: 850px) {
  .platform-preview { flex: none; aspect-ratio: 16 / 9; }
  .product-grid.is-elastic { display: grid; height: auto; grid-template-columns: 1fr; gap: 16px; }
  .is-elastic .product-card,
  .is-elastic .product-card.featured,
  .is-elastic .product-card.is-condensed,
  .is-elastic .product-card.is-expanded { position: relative; width: auto; height: auto; min-height: 0; padding: 26px; grid-column: 1 / -1; }
  .is-elastic .product-card-header { margin-bottom: 22px; }
  .is-elastic .product-card.is-expanded h3 { font-size: 25px; }
  .is-elastic .product-card.is-expanded > p { font-size: 16px; }
  .platform-features { gap: 20px; }
  .platform-features dt { font-size: 18px; }
  .platform-features dd { font-size: 15px; }
  .platform-scenarios { margin-top: 22px; }
}
@media (max-width: 480px) {
  .platform-features { grid-template-columns: 1fr; }
}
