/* mcp.slopped.site. Hand-written; mcp/scripts/build.mjs doesn't touch it. Brand tokens and type as on slopped.site
   (slopped-brand). The idea: a reference card for machines, set like the status and growth ledgers. Ruled section
   heads, every tool, resource and prompt one ruled entry, code in plain monospace on a panel. Acid is only a fill.
   Phone first: wide tables and code scroll inside their own box, never the page. */
@font-face { font-family: "Archivo Black"; src: url(/fonts/archivo-black-latin.woff2) format("woff2"); font-weight: 400 1000; font-display: swap; }
@font-face { font-family: "Archivo Black Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Noto Sans Bold"), local("NotoSans-Bold"); size-adjust: 112%; }
:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #171815;
  --acid: #e3ff59;
  --muted: #6b6b62;
  --line: #d4d2c9;
  --panel: #ebe7dc;
  --focus: #728600;
  --head: "Archivo Black", "Arial Black", "Archivo Black Fallback", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: inherit; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 1000; letter-spacing: -1.5px; line-height: 1.02; font-synthesis: none; }
img { max-width: 100%; }
code { font: 13px/1.45 var(--mono); overflow-wrap: anywhere; }
.wrap { max-width: 1440px; margin: auto; padding: 0 5%; }
main:focus { outline: none; }
html:not(.can-install) [data-install] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 700 15px Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pill:hover { background: var(--acid); }
.pill.dark { background: var(--ink); color: var(--paper); }
.pill.dark:hover { background: #33342f; }
.pill.done { background: var(--acid); color: var(--ink); }

/* the opening */
.intro { padding: 48px 0 44px; }
.intro h1 { max-width: 16ch; font-size: clamp(44px, 7vw, 112px); letter-spacing: -3px; overflow-wrap: break-word; }
.intro h1 .turn { display: block; color: var(--muted); }
.lede { max-width: 760px; margin: 26px 0 0; font-size: 18px; }
.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 26px; }
.endpoint code { display: inline-block; max-width: 100%; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 9px; background: #fff; font-size: clamp(15px, 2vw, 20px); font-weight: 700; }
.also { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.also code { color: var(--ink); }
.tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 36px 0 0; border-top: 2px solid var(--ink); }
.tally div { padding: 14px 16px 0 0; border-right: 1px solid var(--line); }
.tally div + div { padding-left: 16px; }
.tally div:last-child { border-right: 0; }
.tally dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.tally dd { margin: 4px 0 0; font: 1000 clamp(34px, 4.4vw, 64px)/1 var(--head); letter-spacing: -2px; font-variant-numeric: tabular-nums; font-synthesis: none; }

/* ruled section heads, as on status and growth */
.part { padding-bottom: 64px; }
.part-head { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 600px); gap: 12px 48px; align-items: end; justify-content: space-between; padding-top: 26px; margin-bottom: 26px; border-top: 2px solid var(--ink); }
.part-head h2 { font-size: clamp(40px, 5.6vw, 80px); letter-spacing: -2.5px; }
.part-head h2 small { font: 700 15px Arial, Helvetica, sans-serif; letter-spacing: 0; color: var(--muted); vertical-align: super; margin-left: 4px; }
.who { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.who code { color: var(--ink); }

pre { margin: 10px 0 0; padding: 14px 16px; overflow-x: auto; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); max-width: 100%; }
pre code { display: block; font-size: 13px; white-space: pre; overflow-wrap: normal; }
.scroll-x { overflow-x: auto; max-width: 100%; }

/* connect */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.step { min-width: 0; padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.step h3 { font-size: 24px; letter-spacing: -.8px; }
.step p { margin: 10px 0 0; font-size: 15px; }

/* tools, prompts */
.item { padding: 20px 0 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.item h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 22px; letter-spacing: -.6px; }
.item h3 code { font: 700 17px/1.3 var(--mono); letter-spacing: 0; padding: 1px 6px; background: var(--acid); }
.item h3 .title { font-size: 22px; }
.item > p { max-width: 900px; margin: 10px 0 0; font-size: 15px; }
.args { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14px; }
.args thead th { padding: 0 12px 8px 0; color: var(--muted); font-size: 12px; font-weight: 700; text-align: left; border-bottom: 1px solid var(--ink); }
.args td, .args tbody th { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.args tbody th { white-space: nowrap; }
.args td:nth-child(2) { white-space: nowrap; color: var(--muted); }
.args .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.templates td:nth-child(2) { white-space: normal; color: var(--ink); }
.req { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.plist { margin: 10px 0 0; padding: 0 0 0 18px; font-size: 15px; }
.note { margin: 18px 0 0; padding: 12px 16px; border-left: 6px solid var(--acid); background: var(--panel); max-width: 820px; font-size: 15px; }

/* skills */
.prose { max-width: 760px; font-size: 17px; }
.prose p { margin: 0 0 14px; }

/* examples */
.ex { padding: 22px 0 26px; border-bottom: 1px solid var(--line); min-width: 0; }
.ex h3 { font-size: 26px; letter-spacing: -.8px; }
.ex > p { margin: 8px 0 0; font-size: 15px; }
.pair { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0 24px; }
.pair > div { min-width: 0; }
.lab { margin: 14px 0 0; font-size: 12px; font-weight: 700; color: var(--muted); }
.pair pre { max-height: 440px; overflow: auto; }

/* limits */
.rules { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.rules li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .brand img { width: 150px; height: auto; display: block; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .part-head, .steps, .rules, .pair { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .intro { padding: 30px 0 30px; }
  .intro h1 { letter-spacing: -2px; }
  .lede { font-size: 16px; }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally div:nth-child(2) { border-right: 0; }
  .tally div:nth-child(3) { padding-left: 0; }
  .tally div:nth-child(n+3) { margin-top: 12px; border-top: 1px solid var(--line); }
  /* argument tables become one block per argument */
  .args:not(.templates) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .args:not(.templates), .args:not(.templates) tbody, .args:not(.templates) tr { display: block; }
  .args:not(.templates) tr { padding: 9px 0; border-bottom: 1px solid var(--line); }
  .args:not(.templates) td, .args:not(.templates) tbody th { display: inline; padding: 0 8px 0 0; border: 0; }
  .args:not(.templates) td:last-child { display: block; margin-top: 2px; }
  .templates thead { display: none; }
  .templates, .templates tbody, .templates tr { display: block; }
  .templates tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .templates td, .templates tbody th { display: block; padding: 0; border: 0; white-space: normal; text-align: left; }
  .templates .num::before { content: "How many: "; color: var(--muted); }
}
pre.said { background: #fff; }
pre.said code { white-space: pre-wrap; overflow-wrap: anywhere; font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
