/* Home page: "What is an operational agent platform?" and links into /harness/.
   Scoped so it can sit next to the landing styles without touching them. */
#platform .hx-platform-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
#platform h2 { margin-top: 12px; max-width: 460px; text-wrap: balance; }
#platform .hx-platform-copy p { margin: 18px 0 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
#platform .hx-fig { position: relative; }
#platform .hx-fig > svg { display: block; width: 100%; height: auto; }
#platform .hx-inst .keys { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); row-gap: 10px; }
#platform .hx-inst .key span { white-space: normal; line-height: 1.2; text-align: center; }
#platform .hx-read { padding: 18px 6px 8px; min-height: 150px; }
#platform .hx-read h3 { font-size: 16px; margin: 0 0 6px; }
#platform .hx-read p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
#platform .hx-read .src { font-size: 12px; color: var(--mid); }
#platform .hx-noscript { margin: 0; padding: 18px 10px 6px 28px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* Links to another page: a right chevron, matching the site's link style. */
.hx-go { margin-top: 26px; }
.hx-go a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.hx-go a::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.hx-go a:hover { color: var(--accent-ink); }
.hx-go a:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
#meta .hx-go { margin-top: 12px; }
#use .hx-go { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }

@media (max-width: 1080px) {
  #platform .hx-platform-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #platform h2 { max-width: none; }
  #platform .hx-read { min-height: 0; }
}
@media (max-width: 720px) {
  #platform .hx-inst .keys { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #platform .hx-fig { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #platform .hx-fig > svg { width: 680px; max-width: none; }
}
