/* Product pages (Email Builder, Landing Page Builder). Builds on the frame
   grid, story cards and panel head in components.css; the feature scenes
   come from css/platform.css (.fa-*). Only what the homepage lacks is here. */

/* Grounds: light sections alternate white and Ivory Tint. */
.pp-ivory { background: var(--kit-ivory-tint); }
.pp .frame { margin-top: var(--l-section-gap, 48px); }
.pp .frame-grid > li { display: flex; flex-direction: column; }

/* Four reasons: a two-tone marketing icon over each cell's heading. */
.pp-why .icon { width: 48px; height: 48px; }
.pp-why .icon + h3 { margin-top: 20px; }

/* Feature panels: a scene on the Ivory surface, then number, heading,
   ticked points and an optional link at the foot. */
.pp-art {
  margin: 0 0 24px;
  padding: 12px;
  border-radius: 12px;
  background: var(--kit-ivory-tint);
}
/* The scene keeps its proportions, centred, at most 220px tall. */
.pp-art .fa { display: block; width: 100%; height: clamp(150px, 40vw, 220px); }
/* Four panels: two across from 600px, four across on wide screens. */
@media (min-width: 1440px) {
  .pp-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pp-feature .frame-num + h3 { margin-top: 12px; }
.pp-points {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.pp-points li {
  position: relative;
  padding-left: 26px;
  font-size: var(--type-small);
  line-height: var(--type-body-lh);
  color: var(--kit-text-strong);
}
.pp-points li::before {
  content: "";
  position: absolute;
  top: .5em;
  left: 2px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--kit-teal-medium);
  border-bottom: 2px solid var(--kit-teal-medium);
  transform: rotate(-45deg);
}
.pp-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}

/* Partner logos on white tiles, as the platform cards. */
.pp-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pp-logos li {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--kit-white);
  box-shadow: 0 0 0 1px var(--kit-ivory-medium);
}
.pp-logos img { width: 20px; height: 20px; object-fit: contain; }
.pp-door .pp-logos { margin-top: auto; padding-top: 20px; }

.pp-link {
  font-size: var(--type-small);
  font-weight: 500;
  color: var(--kit-teal-medium);
  text-decoration: none;
}
.pp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pp-more { margin: 24px 0 0; }
