/* x402 page (/x402): page-specific pieces on top of pages.css, compare.css and mcp.css. Written by hand, markup from scripts/hero/build-x402.py. */

.lpg-sec code { font: .92em/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }

/* the curl example: request and answer side by side, shell line breaks kept */
.lpx-curl { margin-top: 48px; }
.lpx-curl h3 { margin: 0 0 4px; font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; color: #171717; }
.lpx-curl .lpg-cmd code { white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; }
.lpx-curl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lpx-curl h3 { grid-column: 1 / -1; }

/* price table: the route in code with a plain-language line under it; scrolls sideways on a phone */
.lpx-table { overflow-x: auto; }
.lpx-table .vs-table { min-width: 560px; }
.lpx-table .vs-table thead th { position: static; }
.lpx-table th[scope="row"] code { display: block; font-size: 13.5px; color: #0a0a0a; }
.lpx-table th[scope="row"] small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: #737373; }
.lpx-table td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* REST or MCP */
.lpg-sec .lpmc-vs__col p { margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: #3a3a3a; }
.lpx-cmds { display: grid; gap: 10px; }
.lpmc-vs__col ul.lpx-tools { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lpmc-vs__col .lpx-tools li { display: inline-block; padding: 3px 8px; border: 1px solid #e5e5e5; border-radius: 6px; background: #fafafa; font-size: 13px; }
.lpmc-vs__col .lpx-tools li::before { content: none; }

.lpg-tiles.lpx-more { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 991px) {
  .lpg-tiles.lpx-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .lpx-curl { grid-template-columns: 1fr; }
  .lpg-tiles.lpx-more { grid-template-columns: 1fr; }
}
