/* Platforms we work with (Gaspard 27/10): home section, the tools line of each Capabilities pillar and the platform
   tiles of the hero scene. Loaded by the build after site.css. Logos keep their own colours; same visual height. */

/* Home section: head-split, then one row per group (label left, grey cards right) */
.pf-group { display: grid; grid-template-columns: 1fr 3fr; gap: 16px 32px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.pf-label { font: 500 15px/1.4 var(--f-text); letter-spacing: 0; color: var(--ink-2); padding-top: 4px; }
.pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pf-grid > li { background: var(--card); border-radius: 16px; padding: 28px 12px 20px; display: grid; grid-template-rows: 44px auto; gap: 16px; justify-items: center; text-align: center; min-width: 0; }
.pf-grid img { align-self: center; width: auto; height: 40px; max-width: 80%; object-fit: contain; }
.pf-grid img.pf-wide { height: 36px; }
.pf-grid img.pf-word { height: auto; width: 128px; max-width: 80%; }
.pf-grid p { font-size: 14px; line-height: 1.4; color: var(--ink-2); overflow-wrap: anywhere; }
.pf-grid p b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; margin-bottom: 2px; }
.pf .note { margin-top: 0; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .pf-group { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .pf-label { padding-top: 0; }
  .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pf-grid > li { padding: 22px 8px 16px; grid-template-rows: 36px auto; gap: 12px; }
  .pf-grid img { height: 34px; }
  .pf-grid img.pf-wide { height: 30px; }
  .pf-grid img.pf-word { width: 104px; }
  .pf-grid p { font-size: 14px; }
  .pf-grid p b { font-size: 14px; }
  .pf-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Capabilities: the tools line of a pillar, small logo pills with the name */
.pf-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 10px; margin-top: 40px; }
.pf-tools > span { color: var(--ink-2); margin-right: 12px; }
.pf-tools ul { display: contents; }
.pf-tools li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; font-size: 15px; white-space: nowrap; }
.pf-tools li img { height: 20px; width: auto; max-width: 56px; object-fit: contain; }
.pf-tools li img.pf-word { height: auto; width: 56px; }
.pf-tools + .related { margin-top: 24px; }

/* Hero scene: a platform tile with its mark and its name (like the Hyland tile) */
.sq-mark > span { display: inline-flex; align-items: center; gap: 6px; font: 600 clamp(15px, 1.4vw, 20px)/1 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.sq-logo.sq-mark > span > img { height: clamp(18px, 1.6vw, 24px); width: auto; }
@media (max-width: 700px) {
  .sq-mark > span { font-size: 12px; gap: 4px; }
  .sq-logo.sq-mark > span > img { height: 14px; }
}
/* An app icon (Teams) reads larger than a wordmark: keep it to the visual size of the logos around it */
.sq-logo.sq-icon > img { max-width: 44%; max-height: 44%; }
