/* agent.css — the /agent canonical machine-entry page. Static, no-JS,
 * site tokens (from site.css). Spec-sheet feel: definition rows for the
 * interface, dark code cards for the request/response, honest lists. */

.ag-hero { padding: 4.5rem 0 2.5rem; border-bottom: 0.5px solid var(--border); }
.ag-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.ag-h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 1.1rem;
}
.ag-lede {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
  max-width: 70ch;
}
.ag-lede strong { color: var(--ink); font-weight: 600; }
.ag-callout {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 0.5px solid var(--accent);
  border-left-width: 3px;
  border-radius: 8px;
  background: var(--accent-pale);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  max-width: 80ch;
}

.ag-section { padding: 3rem 0; border-bottom: 0.5px solid var(--border); }
.ag-section-alt { background: var(--paper-2); }
.ag-h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  margin: 0 0 1.1rem;
}
.ag-body { font-size: 15.5px; line-height: 1.7; font-weight: 300; color: var(--muted); max-width: 74ch; }
.ag-body strong { color: var(--ink); font-weight: 600; }
.ag-body a, .ag-lede a, .ag-list a, .ag-callout a { color: var(--accent); text-decoration: none; }
.ag-body a:hover, .ag-list a:hover { text-decoration: underline; }

.ag-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 720px) { .ag-grid2 { grid-template-columns: 1fr; gap: 1.5rem; } }

.ag-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.ag-list li {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 300;
  color: var(--muted);
  padding-left: 1.4rem;
  position: relative;
}
.ag-list li strong { color: var(--ink); font-weight: 600; }
.ag-list li::before { content: "—"; position: absolute; left: 0; color: var(--muted-2); }
.ag-list-ok li::before { content: "\2713"; color: var(--green-signal); }
.ag-list-no li::before { content: "\2717"; color: var(--red-signal); }

/* Interface spec — definition rows. */
.ag-spec { margin: 0 0 1.75rem; display: grid; gap: 0; border-top: 0.5px solid var(--border); }
.ag-spec > div {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 0.5px solid var(--border);
}
@media (max-width: 640px) { .ag-spec > div { grid-template-columns: 1fr; gap: 0.2rem; } }
.ag-spec dt { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 0; }
.ag-spec dd { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.ag-spec code, .ag-body code, .ag-list code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--paper-2);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 0.05em 0.35em;
}
.ag-section-alt .ag-spec code { background: var(--paper); }

.ag-io { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.5rem; }
@media (max-width: 820px) { .ag-io { grid-template-columns: 1fr; } }
.ag-code { border-radius: 8px; overflow: hidden; background: var(--surface-dark); }
.ag-code-bar { padding: 10px 16px; border-bottom: 0.5px solid rgba(255,255,255,0.1); }
.ag-code-bar span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); }
.ag-pre {
  margin: 0;
  padding: 1.1rem 1.25rem;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: #e8eaf0;
  white-space: pre;
  overflow-x: auto;
}

.ag-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.25rem; }
.ag-link { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); text-decoration: none; }
.ag-link:hover { text-decoration: underline; }
