/* Agent Payments page (/agent-payments): Process Runner for agent commerce. Builds on site.css. */

.ap-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .ap-hero-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.ap-hero h1 { max-width: 20ch; }
.ap-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* the sample receipt */
.ap-receipt {
  margin: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 22px 22px 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.ap-receipt-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px dashed var(--line-2); }
.ap-receipt-title { font: 700 17px/1.3 var(--font-head); }
.ap-ok { font-size: 12.5px; font-weight: 600; color: #3ddc97; background: rgba(61, 220, 151, .1);
  border: 1px solid rgba(61, 220, 151, .35); padding: 3px 10px; border-radius: 999px; }
.ap-ok::before { content: "\2713\00a0"; }
.ap-receipt dl { margin: 0; }
.ap-receipt dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 7px 0;
  border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ap-receipt dl > div:last-child { border-bottom: 0; }
.ap-receipt dt { color: var(--muted); }
.ap-receipt dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.ap-mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.ap-receipt figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* two-column text sections */
.ap-two { display: grid; gap: 20px 56px; }
@media (min-width: 900px) { .ap-two { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.ap-h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; max-width: 18ch; }
.ap-prose p { color: var(--text-2); font-size: 17px; }

/* steps */
.ap-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ap-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.ap-steps h3 { font-size: 20px; margin: 12px 0 8px; }
.ap-steps p { color: var(--text-2); margin: 0; font-size: 15.5px; line-height: 1.55; }
.ap-n { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-btn);
  color: #fff; font-weight: 700; align-items: center; justify-content: center; }

/* cards */
.ap-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ap-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.ap-card h3 { font-size: 19px; margin-bottom: 8px; }
.ap-card p { color: var(--text-2); margin: 0; font-size: 15.5px; line-height: 1.55; }

/* proof list */
.ap-proof { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.ap-proof li { position: relative; padding-left: 30px; color: var(--text-2); font-size: 16.5px; }
.ap-proof li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #3ddc97; font-weight: 700; }

/* four-item rows: 1 column on phones, 2x2 in the middle, 4 across when there is room (never 3 + 1) */
.ap-steps, .ap-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .ap-steps, .ap-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ap-steps, .ap-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.ap-pricing .ap-h2 { max-width: none; margin: 0; }
