/*
  /integrations/ · v6, 10 Nov 2026 (IA revision 2, 7.2). A thin page file on top of site.css: the
  catalog rows, the filter and the page's few placements. Replaces this page's use of demo.css
  (cat-row, points, stats.c4 lived there).
*/
.in-hero .h1 { max-width: 20ch; } /* two lines at 1440, not four */
.in-hero .ctas { margin-top: var(--s6); }
.in-stats { --cols: 4; margin-top: var(--s9); }
@media (max-width: 767px) {
  .in-stats { --cols: 2; }
  .in-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .in-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.split { align-items: start; }

/* Filter: two fields from the site's field kit (square, hairline) and a live count.
   10 Nov: the category select's own chevron and option colours were removed; site.js now draws the
   field and its list (site.css "Select"), and the form only shows with script on. */
.in-filter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--s5); align-items: end; margin-bottom: var(--s7); }
.in-count { color: var(--ink-60); padding-bottom: 14px; justify-self: end; }
@media (max-width: 767px) { .in-filter { grid-template-columns: 1fr; } .in-count { justify-self: start; padding-bottom: 0; } }

/* Catalog rows: category and its line on the left, the tools as names on the right, hairline rows. */
.cat-rows { border-top: 1px solid var(--line); }
.cat-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s4); padding-block: var(--s6); border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.cat-row > div { grid-column: 1 / span 5; }
.cat-row .small { margin-top: var(--s2); color: var(--ink-60); max-width: 44ch; }
.cat-row > ul { grid-column: 7 / span 6; display: flex; flex-wrap: wrap; align-content: start; gap: var(--s3) var(--s6); }
.cat-row li { display: flex; align-items: center; gap: var(--s3); color: var(--ink-80); }
/* Colour logos on this page (10 Nov): it is about these companies, and colour is how people spot them. */
.cat-row img { width: 20px; height: 20px; object-fit: contain; flex: none; }
.cat-row li.is-match { color: var(--ink); }
@media (max-width: 1199px) { .cat-row > div, .cat-row > ul { grid-column: 1 / -1; } .cat-row > ul { gap: var(--s3) var(--s5); } }
.in-empty { padding-block: var(--s7); }
.in-empty .more { margin-top: var(--s3); }

.in-more .works { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s4); font-size: var(--fs-small); color: var(--ink-60); }
.in-more .works li { display: inline-flex; align-items: center; gap: var(--s2); }
.in-more .works img { width: 16px; height: 16px; }
/* 13 Nov, Avi: the model marks are painted in the label's own grey (currentColor via mask), so a white
   logo doesn't outshine its name and all four read as one list. "Your own key" gets a key so it isn't
   the odd one out. Was: white <img> logos and a bare "Your own key". */
.in-more .works .mk { flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--mk) center / contain no-repeat; mask: var(--mk) center / contain no-repeat; }
.mk-anthropic { --mk: url(../logos/brand/anthropic.svg); }
.mk-openai { --mk: url(../logos/brand/openai.svg); }
.mk-gemini { --mk: url(../logos/brand/gemini.svg); }
.mk-key { --mk: url(../icons/key.svg); }
.in-more .h4 + .body { margin-top: var(--s3); }
.in-more .more { margin-top: var(--s3); }
