/* For AI agents (/for/ai-agents/). Shared design comes from site.css. */
.agents-head h1 { max-width: 22ch; }
.agents-head h1 .dim { color: var(--h-text-3); }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }

/* Section heads and card grids */
.sec .eyebrow + .h2 { margin-top: 12px; max-width: 24ch; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid.five { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.fa-card { padding: 24px; min-width: 0; }
.fa-card h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.fa-card .step + h3 { margin-top: 6px; }
.fa-card p { margin: 8px 0 0; color: var(--h-text-2); font-size: 15px; line-height: 1.6; }
.fa-card p a { color: var(--h-blue); text-decoration: underline; text-decoration-color: var(--h-blue-soft); text-underline-offset: 3px; }
.fa-card strong { color: var(--h-ink); font-weight: 600; }
.step { font: 500 13px var(--h-mono); color: var(--h-blue); }

/* MCP tool names under each loop step */
.tools { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tool { font: 12px var(--h-mono); color: var(--h-nav); background: var(--h-art); border: 1px solid var(--h-card-line); border-radius: 6px; padding: 2px 7px; overflow-wrap: anywhere; }
.grid.five .fa-card { padding: 20px 16px; }
.grid.five .tool { font-size: 11.5px; }
.fa-card .code { margin-top: 12px; font-size: 12.5px; padding: 14px 16px; }

/* Closing call to action */
.agents-cta .col { text-align: center; padding-top: 112px; padding-bottom: 112px; }
.agents-cta .h2 { margin: 0 auto; max-width: 20ch; }
.agents-cta .lede { margin: 16px auto 0; }

@media (max-width: 640px) {
    .agents-cta .col { padding-top: 72px; padding-bottom: 72px; }
}
