/* mcp.html — the agent setup guide. Sits on legal.css's document layout and adds
   the three things a policy page has no use for: code, numbered steps, a table. */

.mcp h3 { font-family: var(--display); font-weight: 800; font-size: 18px; margin: 28px 0 10px; }
.mcp code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--cream-2); border-radius: 6px; padding: 2px 6px; color: var(--ink); overflow-wrap: anywhere; }

.mcp__url { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 28px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.mcp__url span { font-size: var(--label-size); font-weight: 700; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--ink-50); }
.mcp__url code { font-size: 15px; background: none; padding: 0; overflow-wrap: normal; }

.mcp__code { margin: 0 0 16px; padding: 16px 18px; border-radius: 14px; background: var(--ink); color: var(--on-ink); overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.mcp__code code { background: none; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; white-space: pre; }

.mcp__steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.mcp__steps li { counter-increment: step; position: relative; padding-left: 38px; color: var(--ink-70); font-size: 16.5px; line-height: 1.68; }
.mcp__steps li::before { content: counter(step); position: absolute; left: 0; top: .2em; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 13px/26px var(--display); text-align: center; }

/* The table scrolls inside its own box at phone width; the page never does. */
.mcp__tableWrap { margin: 0 0 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.mcp__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.mcp__table th, .mcp__table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-70); }
.mcp__table thead th { font-size: var(--label-size); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--ink-50); background: var(--cream-2); }
.mcp__table tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.mcp__table tbody tr:last-child > * { border-bottom: none; }

@media (max-width: 600px) {
  .mcp__url code { font-size: 13px; }
  .mcp__steps li { font-size: var(--m-body); }
  .mcp__table { font-size: 14px; }
}
