/* Developers page. Builds on styles.css and landing.css (hero, sections, cards, reveals); only its own blocks live
   here: code with a Copy button, the props table, the agent's tools and the closing links. */
.d-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.d-grid .l-card { display: flex; flex-direction: column; gap: 12px; }
.d-grid .l-card h3, .d-grid .l-card-p { margin: 0; }
.d-wide { grid-column: 1 / -1; }
.d-prompt { background: var(--surface); }
.l-card-p code, .d-props code, .d-tools code { font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); }

.d-code { display: flex; align-items: flex-start; gap: 12px; padding: 12px 12px 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.d-prompt .d-code { background: var(--bg); }
.d-code code { flex: 1; min-width: 0; padding: 6px 0; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.d-code .btn-ghost { flex: none; height: 34px; font-size: 13.5px; }

.d-props { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.d-props th, .d-props td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.d-props tr:first-child th, .d-props tr:first-child td { border-top: 0; }
.d-props th { width: 140px; font-weight: 400; }
.d-props td { color: var(--muted); }

.d-asks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.d-asks li { padding: 10px 14px; border-radius: 12px; background: var(--surface); font-size: 14.5px; }
.d-tools { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 16px; font-size: 14.5px; line-height: 1.55; }
.d-tools dt { margin: 0; }
.d-tools dd { margin: 0; color: var(--muted); }

.d-cta-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.d-cta-links .btn, .d-cta-links .btn-ghost { height: 44px; padding: 0 20px; font-size: 15px; }
.d-cta-links .btn-ghost { background: var(--bg); }

@media (max-width: 760px) {
  .d-grid { grid-template-columns: minmax(0, 1fr); }
  .d-tools { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .d-tools dd { margin-bottom: 10px; }
  .d-props th { width: 110px; }
}
