/* /mcp: laid out after details.so/mcp (the owner, 2026-11-12: "completely copy this page for our mcp page"). Their
   structure, type scale, spacing, radii and warm near-black palette, with Anticode's own words, logos and images.
   All type is Anticode's own Plus Jakarta Sans (the owner, 2026-11-13: "with anticode's font").
   No label above any heading (the owner's rule), no hairline-only cards, no glowing dots. */
body.mx-page, .mx {
  --mx-ground: #0c0a09; --mx-surface: #201e1d; --mx-surface-2: #2b2926; --mx-line: #292624;
  --mx-text: #f5f5f4; --mx-muted: #a8a29e; --mx-dim: #78716c; --mx-ok: #7bd88f; --mx-now: #f5c26b;
  --mx-display: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--mx-ground); color: var(--mx-text);
}
body.mx-page::before, body:has(.mxp)::before { display: none; }
body:has(.mxp) { background: #0c0a09; }
.mx { --mx-w: 1250px; color: var(--mx-text); font-size: 17px; line-height: 1.5; overflow-x: clip; }
.mx p { margin: 0; }
.mx-display { font-family: var(--mx-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; margin: 0; color: var(--mx-text); font-optical-sizing: auto; }
.mx h3 { margin: 0; font-weight: 600; }
.mx code, .mx pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* buttons: white main pill, warm grey quiet pill */
.mx-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; border: 0; background: var(--mx-surface); color: var(--mx-text); font-family: inherit; font-weight: 560; font-size: 17px; line-height: 1.5; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, transform 160ms cubic-bezier(.2,.8,.2,1); }
.mx-btn:hover { background: var(--mx-surface-2); }
.mx-btn--main { background: var(--mx-text); color: #0c0a09; }
.mx-btn--main:hover { background: #ffffff; }
.mx-btn--sm { padding: 6px 14px; font-size: 15px; }
.mx-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mx-btn:active { transform: scale(0.98); }
.mx a:focus-visible, .mx button:focus-visible, .mx summary:focus-visible, .mx [tabindex]:focus-visible { outline: 2px solid var(--mx-text); outline-offset: 3px; }
.mx-copy { padding: 7px 12px; border-radius: 999px; border: 0; background: var(--mx-text); color: #0c0a09; font-family: inherit; font-weight: 560; font-size: 14px; line-height: 1.5; cursor: pointer; }
.mx-copy:hover { background: #fff; }

/* hero */
.mx-hero { text-align: center; padding: clamp(120px, 16vh, 168px) 16px 0; }
.mx-hero h1 { font-size: clamp(38px, 5.2vw, 56px); line-height: 1.04; letter-spacing: -0.04em; }
.mx-sub { max-width: 570px; margin: 22px auto 0 !important; font-size: 19px; line-height: 1.45; color: var(--mx-muted); }
.mx-cta { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.mx-fan { margin-top: clamp(56px, 8vh, 84px); height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mx-fan-track { display: flex; gap: 26px; width: max-content; margin: 0; padding: 40px 0 0; list-style: none; animation: mx-drift 70s linear infinite; }
.mx-fan-track li { flex: none; width: 330px; transform-origin: 50% 120%; }
.mx-fan-track li:nth-child(4n+1) { transform: translateY(70px) rotate(-14deg); }
.mx-fan-track li:nth-child(4n+2) { transform: translateY(18px) rotate(-6deg); }
.mx-fan-track li:nth-child(4n+3) { transform: translateY(6px) rotate(5deg); }
.mx-fan-track li:nth-child(4n+4) { transform: translateY(46px) rotate(12deg); }
.mx-fan-track img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.8); }
@keyframes mx-drift { to { transform: translateX(calc(-50% - 13px)); } }

/* demo */
.mx-demo { max-width: var(--mx-w); margin: clamp(120px, 14vh, 160px) auto 0; padding: 0 16px; text-align: center; }
.mx-demo h2, .mx-ways h2 { font-size: clamp(32px, 4vw, 42px); }
.mx-tabs { display: inline-flex; gap: 0; margin-top: 30px; padding: 2px; border-radius: 9999px; background: var(--mx-surface); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.mx-tabs [role="tab"] { padding: 8px 18px; border: 0; border-radius: 9999px; background: transparent; color: var(--mx-muted); font-family: inherit; font-weight: 520; font-size: 15px; line-height: 1.5; white-space: nowrap; cursor: pointer; transition: color 160ms ease, background-color 160ms ease; }
.mx-tabs [role="tab"][aria-selected="true"] { background: #0c0a09; color: var(--mx-text); }
.mx-tabs [role="tab"]:hover { color: var(--mx-text); }
.mx-window { position: relative; margin-top: 34px; min-height: 620px; padding: 88px clamp(18px, 6vw, 96px) 72px; border: 1px solid var(--mx-line); border-radius: 28px; text-align: left; }
.mx-dots { position: absolute; top: 20px; left: 22px; display: flex; gap: 6px; }
.mx-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--mx-surface-2); }
.mx-note { position: absolute; top: 15px; right: 22px; color: var(--mx-dim); font-size: 13px; }
.mx-panel { display: grid; gap: 28px; }
.mx-panel[hidden] { display: none; }
.mx-panel:not([hidden]) { animation: mx-in 320ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes mx-in { from { opacity: 0; transform: translateY(8px); } }
.mx-you { display: grid; justify-items: end; gap: 8px; }
.mx-you span { color: var(--mx-dim); font-size: 13px; }
.mx-prompt { padding: 12px 20px; border-radius: 24px; background: var(--mx-text); color: #0c0a09; font-size: 17px; line-height: 1.4; max-width: 34ch; }
.mx-ai { display: grid; gap: 10px; max-width: 640px; }
.mx-ai p { font-weight: 560; }
.mx-who { display: flex; align-items: center; gap: 8px; color: var(--mx-muted); font-size: 14px; font-weight: 520 !important; }
.mx-used { display: inline-flex; align-items: center; gap: 4px; color: var(--mx-dim); font-size: 14px; font-weight: 520 !important; }
.mx-used svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mx-logo { display: inline-grid; place-items: center; width: 18px; height: 18px; color: currentColor; }
.mx-logo svg { width: 100%; height: 100%; fill: currentColor; }

.mx-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; max-width: 640px; }
.mx-steps li { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--mx-surface); color: var(--mx-muted); }
/* status as a word, never a coloured dot (the owner's rule) */
.mx-steps li::after { content: "Next"; color: var(--mx-dim); font-size: 13px; }
.mx-steps li.is-done::after { content: "Done"; color: var(--mx-ok); }
.mx-steps li.is-now::after { content: "Working"; color: var(--mx-now); }
.mx-steps b { color: var(--mx-text); font-weight: 600; }

.mx-dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.mx-dirs li { display: grid; gap: 6px; padding: 12px 12px 16px; border-radius: 18px; background: var(--mx-surface); }
.mx-dirs b { margin-top: 6px; font-weight: 600; }
.mx-dirs span { color: var(--mx-muted); font-size: 14px; line-height: 1.4; }
/* three structures drawn as wireframes, not screenshots: the point is that they differ in structure */
.mx-wire { aspect-ratio: 16 / 10; border-radius: 10px; background: #0c0a09; padding: 10px; display: grid; gap: 6px; }
.mx-wire i { border-radius: 5px; background: var(--mx-surface-2); }
.mx-wire--split { grid-template: 1fr 1fr / 1.2fr 1fr; }
.mx-wire--split i:nth-child(1) { grid-row: span 2; background: #3a3633; }
.mx-wire--split i:nth-child(4) { display: none; }
.mx-wire--type { grid-template-rows: 2.2fr 1fr 1fr 1fr; }
.mx-wire--type i:nth-child(1) { background: #e7e5e4; border-radius: 3px; width: 82%; }
.mx-wire--type i:nth-child(n+2) { width: 60%; height: 7px; align-self: center; }
.mx-wire--mosaic { grid-template: 1fr 1fr / 1fr 1fr 1fr; }
.mx-wire--mosaic i:nth-child(1) { grid-column: span 2; background: #c2410c; }
.mx-wire--mosaic i:nth-child(2) { grid-row: span 2; background: #3a3633; }
.mx-wire--mosaic i:nth-child(3) { background: #57534e; }

.mx-diff, .mx-ship { display: grid; gap: 8px; max-width: 640px; }
.mx-diff p, .mx-ship-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--mx-surface); }
.mx-diff b, .mx-ship-row b { font-weight: 600; }
.mx-diff span, .mx-ship-row span { color: var(--mx-muted); }

/* the line that stands where a testimonial would: a statement of fact, not a quote */
.mx-proof { max-width: 980px; margin: clamp(110px, 13vh, 150px) auto 0; padding: clamp(64px, 9vh, 96px) 16px; text-align: center; border-top: 1px solid var(--mx-line); border-bottom: 1px solid var(--mx-line); }
.mx-statement { max-width: 760px; margin: 0 auto !important; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.32; font-weight: 560; letter-spacing: -0.01em; }
.mx-endpoint { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--mx-surface); }
.mx-endpoint code { font-size: 15px; color: var(--mx-text); }
.mx-clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin: 44px 0 0; padding: 0; list-style: none; color: var(--mx-dim); font-size: 18px; font-weight: 600; }
.mx-clients li { display: inline-flex; align-items: center; gap: 10px; }
.mx-clients .mx-logo { width: 22px; height: 22px; }

/* three ways: cards that stack as you scroll */
.mx-ways { max-width: var(--mx-w); margin: clamp(110px, 13vh, 150px) auto 0; padding: 0 16px; }
.mx-ways h2 { text-align: center; }
.mx-way-list { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.mx-way { position: sticky; top: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); min-height: 520px; padding: clamp(24px, 4vw, 40px); border-radius: 8px; background: var(--mx-surface); overflow: hidden; }
.mx-way:nth-child(2) { top: 112px; }
.mx-way:nth-child(3) { top: 128px; }
.mx-way-text { max-width: 440px; }
.mx-way h3 { font-size: 22px; line-height: 1.3; font-weight: 560; }
.mx-way p { margin-top: 14px !important; font-size: 22px; line-height: 1.3; color: var(--mx-muted); }
.mx-way p b { color: var(--mx-text); font-weight: 560; }
.mx-way-art { align-self: stretch; display: grid; place-content: center; min-height: 320px; }
.mx-art-stack { gap: 14px; }
.mx-art-stack img { width: min(100%, 460px); height: auto; border-radius: 6px; }
.mx-art-dirs { grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; gap: 12px; }
.mx-art-dirs > div { display: grid; gap: 8px; }
.mx-art-dirs span { color: var(--mx-muted); font-size: 14px; }
.mx-ship-card { width: min(100%, 420px); display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: #0c0a09; }
.mx-ship-card p { display: flex; justify-content: space-between; gap: 12px; margin: 0 !important; padding: 14px 16px; border-radius: 12px; background: var(--mx-surface); font-size: 16px !important; color: var(--mx-text) !important; }
.mx-ship-card span { color: var(--mx-ok); }

/* split sections: title on the left, the work on the right */
.mx-split { max-width: 1340px; margin: clamp(110px, 13vh, 150px) auto 0; padding: 0 clamp(16px, 4vw, 60px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.mx-split + .mx-split { padding-top: clamp(70px, 9vh, 110px); border-top: 1px solid var(--mx-line); }
.mx-split-head { position: sticky; top: 96px; }
.mx-split-head h2 { font-size: clamp(32px, 4vw, 42px); }
.mx-split-head p { margin-top: 16px !important; max-width: 32ch; color: var(--mx-muted); line-height: 1.45; }
.mx-conn, .mx-step-group > ol { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.mx-step-group[hidden] { display: none; }
.mx-step { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; }
.mx-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mx-surface); font-size: 14px; font-weight: 600; }
.mx-step h3 { font-size: 18px; line-height: 1.3; font-weight: 560; }
.mx-step p { margin-top: 4px !important; color: var(--mx-muted); line-height: 1.5; }
.mx-step p b, .mx-step p code { color: var(--mx-text); font-weight: 560; }
.mx-step .mx-btn { margin-top: 14px; }
.mx-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.mx-tiles [role="tab"] { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 104px; padding: 12px; border-radius: 18px; border: 1px solid var(--mx-surface-2); background: transparent; color: var(--mx-muted); font-family: inherit; font-weight: 520; font-size: 15px; line-height: 1.25; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.mx-tiles [role="tab"]:hover { color: var(--mx-text); }
.mx-tiles [role="tab"][aria-selected="true"] { background: var(--mx-surface); border-color: #57534e; color: var(--mx-text); }
.mx-tiles .mx-logo { width: 22px; height: 22px; }
.mx-code { position: relative; margin-top: 14px; padding: 18px 20px 54px; border-radius: 14px; background: var(--mx-surface); }
.mx-code pre { margin: 0; white-space: pre-wrap; word-break: break-all; color: var(--mx-muted); font-size: 14px; line-height: 1.5; }
.mx-code .mx-copy { position: absolute; right: 12px; bottom: 12px; }

/* tokens */
.mx-access h3 { margin-top: 32px; font-size: 18px; font-weight: 560; }
.mx-muted { color: var(--mx-muted); }
#mcp-signin .mx-btn { margin-top: 16px; }
.mx-new { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; padding: 20px; border-radius: 18px; background: var(--mx-surface); }
.mx-new .field input { background: #0c0a09; }
.mx-scope-pick { grid-column: 1 / -1; display: flex; gap: 20px; margin: 0; padding: 0; border: 0; color: var(--mx-muted); }
.mx-scope-pick legend { float: left; margin-right: 8px; color: var(--mx-text); font-weight: 560; }
.mx-new .mx-btn { grid-column: 2; grid-row: 1; }
.mx-reveal { margin-top: 18px; }
.mx-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.mx-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--mx-surface); }
.mx-list li div { display: grid; gap: 2px; }
.mx-list small { color: var(--mx-muted); font-size: 13px; }
.mx-list .mcp-tag { color: var(--mx-muted); font-size: 13px; }

/* FAQ */
.mx-faq { margin-bottom: clamp(110px, 13vh, 150px); }
.mx-faq-list { display: grid; gap: 10px; }
.mx-q { border-radius: 18px; background: var(--mx-surface); }
.mx-q summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; text-align: left; font-weight: 560; cursor: pointer; list-style: none; }
.mx-q summary::-webkit-details-marker { display: none; }
.mx-q summary::marker { content: ""; }
/* the site-wide disclosure chevron (base.css) gives way to this page's plus */
.mx .mx-q > summary:not(.btn)::before { display: none; }
.mx-q summary > * { margin: 0; }
.mx-q summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 12px no-repeat; transition: transform 200ms cubic-bezier(.2,.8,.2,1); }
.mx-q[open] summary::after { transform: rotate(45deg); }
.mx-q > div { padding: 0 18px 18px; color: var(--mx-muted); line-height: 1.55; }
.mx-q a { color: var(--mx-text); }

/* phones and narrow windows */
@media (max-width: 900px) {
  .mx-way { position: static; grid-template-columns: 1fr; min-height: 0; }
  .mx-split { grid-template-columns: 1fr; }
  .mx-split-head { position: static; }
  .mx-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mx-dirs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mx-hero { padding-top: 104px; }
  .mx-fan { height: 240px; }
  .mx-fan-track li { width: 220px; }
  .mx-window { padding: 64px 16px 40px; min-height: 0; }
  .mx-steps li { grid-template-columns: 1fr auto; }
  .mx-steps li span { grid-column: 1 / -1; grid-row: 2; }
  .mx-diff p, .mx-ship-row { grid-template-columns: 1fr; gap: 4px; }
  .mx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-new { grid-template-columns: 1fr; }
  .mx-new .mx-btn { grid-column: auto; grid-row: auto; justify-self: start; }
  .mx-art-dirs { grid-template-columns: 1fr; }
  .mx-endpoint { flex-wrap: wrap; justify-content: center; padding: 10px 14px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .mx-fan-track, .mx-panel:not([hidden]) { animation: none; }
  .mx-btn, .mx-tabs [role="tab"], .mx-tiles [role="tab"], .mx-q summary::after { transition: none; }
}

/* /pricing/mcp (src/mcp-plans.ts): the MCP plans, in this page's look, inside the shared page shell */
.mxp { padding: clamp(40px, 8vh, 80px) 0 0; }
.mxp-head { text-align: center; }
.mxp-head h1 { font-size: clamp(34px, 4.6vw, 52px); }
.mxp-msg { max-width: 640px; margin: 26px auto 0 !important; padding: 12px 16px; border-radius: 14px; background: var(--mx-surface); text-align: center; color: var(--mx-text); }
.mxp-msg[data-kind="error"] { color: #fca5a5; }
.mxp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.mxp-plan { display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: 18px; background: var(--mx-surface); }
.mxp-plan.is-pick { box-shadow: inset 0 0 0 1px #57534e; }
.mxp-plan h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.mxp-amt { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.mxp-amt small { margin-left: 4px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--mx-muted); }
.mxp-for { color: var(--mx-muted); line-height: 1.4; min-height: 2.8em; }
.mxp-plan .mx-btn { justify-content: center; margin-top: 6px; }
.mxp-plan .mx-btn[disabled] { cursor: default; opacity: 0.7; }
.mxp-ticks { display: grid; gap: 10px; margin: 14px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--mx-line); color: var(--mx-muted); font-size: 15px; line-height: 1.45; }
.mxp-ticks li:first-child { color: var(--mx-text); font-weight: 560; }
.mxp-note { max-width: 680px; margin: 30px auto 0 !important; text-align: center; color: var(--mx-muted); line-height: 1.5; }
.mxp-note a { color: var(--mx-text); }
.mxp-manage { display: flex; justify-content: center; margin-top: 18px; }
.mxp .mx-split { padding: 0; margin-top: clamp(80px, 11vh, 120px); }
@media (max-width: 1000px) { .mxp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mxp-grid { grid-template-columns: 1fr; } }
