/* The /agent page. Colours, fonts and radii come from styles.css. */
.agent-page main { padding: 116px 0 96px; }
.agent-page main h1 { font-size: clamp(44px, 6.4vw, 84px); }
.agent-page main h1, .agent-page .lead { text-align: center; }
.agent-page .lead { font-size: clamp(20px, 2.2vw, 26px); color: var(--muted); margin-top: 18px; }
.agent-page .block > h2 { font-size: clamp(32px, 4vw, 48px); }
.agent-page .facts-2 h2 { font-size: 22px; line-height: 1.15; }
.agent-page main > section.block { min-height: 0; display: block; padding: 0; margin-top: 88px; overflow: visible; }
.agent-page main > section.facts-2 { display: grid; padding-top: 36px; }
.block > p { color: var(--muted); margin-top: 10px; max-width: 44em; }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0 16px; }
.fields label { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; font-size: 15px; font-weight: 600; }
.fields small { font-weight: 400; color: var(--muted); font-size: 14px; }
.fields input { height: 48px; padding: 0 14px; border: 1px solid var(--muted); border-radius: var(--r-s); background: var(--surface); color: var(--ink); font: 16px var(--font-app); min-width: 0; width: 100%; }
.prompt pre { margin: 0; max-height: 440px; overflow: auto; padding: 24px; border-radius: var(--r-l) var(--r-l) 0 0; background: var(--ink); color: var(--bg); font: 14px/1.6 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.prompt mark { background: none; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prompt { display: flex; flex-direction: column; border-radius: var(--r-l); background: var(--ink); }
.prompt button { align-self: flex-end; margin: 14px 20px 20px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--bg); color: var(--ink); font: 600 16px var(--font-app); cursor: pointer; }
.hint { min-height: 1.6em; }
.facts-2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; padding-top: 36px; border-top: 2px solid var(--ink); }
.facts-2 p { color: var(--muted); margin-top: 8px; }
.facts-2 code { font: 0.88em ui-monospace, "SF Mono", Menlo, monospace; }
.agent-page :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 900px) {
  .fields, .agent-page main > section.facts-2 { grid-template-columns: minmax(0, 1fr); }
}
