/* Platform (docs/platform/): XataWorks Browser as an open platform, from the developer's side.
   Linked after ../styles.css (../../styles.css from assistant/) and additive over it: every selector
   here is one the shared sheet does not define, and every colour comes from its tokens. */

.plat-eyebrow { color: var(--accent); }
.plat-top { padding-block: clamp(56px, 8vw, 96px); }
.plat-top .section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.plat-shot { margin: 0; }
.plat-shot img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 56px -30px var(--ink-soft);
}

.plat-grid {
  display: grid; gap: clamp(14px, 2vw, 20px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.plat-card {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  background: var(--tint);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.plat-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent); color: var(--paper);
}
.plat-card h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 0 0 .5em; }
.plat-card p { color: var(--ink-soft); }
.plat-links {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin: auto 0 0; padding-top: 18px;
}
.plat-link { font-weight: 650; color: var(--accent); text-decoration: none; }
.plat-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.plat-docs h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 .3em; }
.plat-docs .plat-links { padding-top: 12px; }

@media (max-width: 900px) {
  .plat-grid { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .plat-eyebrow, .plat-link { color: #000; }
  .plat-icon { background: #fff; color: #000; border: 1px solid #000; }
}

/* The hero infographic (website review 2026-11-08): XataWorks as an L your web app plugs into. */
.plat-ig { margin: 0 auto clamp(32px, 5vw, 56px); }
