:root {
  --fg: #1a1a1a;
  --bg: #fdfdfb;
  --muted: #666;
  --accent: #2b5e8f;
  --border: #e3e3df;
  --code-bg: #f4f4ef;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e7e7e0;
    --bg: #16161a;
    --muted: #9a9a93;
    --accent: #7ab0e0;
    --border: #2a2a30;
    --code-bg: #1f1f25;
  }
}

* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
}

header h1 { margin: 0; font-size: 1.8rem; }
.lede { color: var(--muted); font-size: 1.05rem; margin-top: 0.25rem; }

main section { margin: 2.5rem 0; }
main h2 { font-size: 1.2rem; border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }

a { color: var(--accent); }
code { background: var(--code-bg); padding: 0.1em 0.35em; border-radius: 3px; font-size: 0.95em; }
pre { background: var(--code-bg); padding: 0.8rem 1rem; border-radius: 4px; overflow-x: auto; }
pre code { background: transparent; padding: 0; }

ul.agents { list-style: none; padding: 0; }
ul.agents li { padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
ul.agents li:last-child { border-bottom: 0; }
ul.agents a { font-weight: 600; text-decoration: none; }
ul.agents a:hover { text-decoration: underline; }
ul.agents .cap { color: var(--muted); font-size: 0.9em; margin-top: 0.2rem; }
ul.agents .desc { font-size: 0.95em; margin-top: 0.3rem; }

footer { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9em; }
footer p { margin: 0; }

details { margin: 0.5rem 0; }
details summary { cursor: pointer; padding: 0.3rem 0; font-weight: 500; }
