/* dev-doc: 2026-11-09 17:44 mcp-page-agent-mode */
/* The public MCP page (Views/mcp/Index.cshtml). Plain CSS like the pricing page's: no SCSS source. Layout flexes and
   wraps so translated text (up to ~130% of English) never overflows; copy blocks wrap long commands and JSON instead
   of clipping them in narrow cards. Colours are the site's (#2152c4 = .btn--blue, #172c43 headings). The site's root
   is 10px (style.css html), so 1.6rem = 16px. */

/* Hero. .hero-def--primary drops the shell's bottom padding (the pricing page hangs its plan cards off the hero), which
   left the jump links straddling the hero's bottom edge; this page has nothing hanging, so it gets its padding back.
   The links are not .btn--white: that button's purple border and glow belong to the white-page CTA style. */
.mcp-hero .shell { padding-bottom: 72px; }
.mcp-hero__title { margin-bottom: 20px; }
.mcp-hero__subtitle { max-width: 760px; margin: 0 auto 32px; text-align: center; font-size: 2rem; line-height: 1.5; color: #fff; }
.mcp-hero__jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mcp-hero__link { display: inline-block; padding: 11px 24px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.6rem; font-weight: 600; line-height: 1.3; text-decoration: none;
  transition: background-color 0.15s, color 0.15s; }
.mcp-hero__link:hover, .mcp-hero__link:focus { background: #fff; color: #1e50c3; text-decoration: none; }

.mcp-page { padding: 64px 0; }
.mcp-page--alt { background: #f4f7fc; }
.mcp-page .shell { max-width: 1200px; margin: 0 auto; }
.mcp-page .mcp-h2 { font-size: 3.5rem; color: #172c43; margin: 0 0 10px; }
/* .mcp-page prefix: style.css zeroes h1-h6[class] bottom margins at (0,1,1), which beats a lone class. */
.mcp-page .mcp-h3 { font-size: 2.2rem; color: #172c43; margin: 48px 0 16px; }
.mcp-page .shell > .mcp-h3:first-child { margin-top: 0; }
.mcp-lead { font-size: 1.8rem; color: #53627a; max-width: 760px; margin: 0 0 28px; line-height: 1.5; }
.mcp-center { text-align: center; margin-top: 28px; }
.mcp-checks + .mcp-card { margin-top: 28px; }
.mcp-note { margin: 4px 0 0; color: #53627a; line-height: 1.45; }

.mcp-card { background: #fff; border: 1px solid #dde4ef; border-radius: 12px; padding: 22px 24px; box-shadow: 0 2px 8px rgba(23, 44, 67, 0.04); }
.mcp-card h3 { font-size: 1.6rem; color: #172c43; margin: 18px 0 8px; }
.mcp-card h3:first-child { margin-top: 0; }

/* Copy block: the code is a dark panel with the Copy button beside it in wide cards. pre-wrap + anywhere keeps every
   character of a command or URL visible: the old white-space: pre scrolled sideways inside the cards, hiding the
   end of the command with no scrollbar a visitor would notice. Line breaks and indents in the JSON are kept. */
.mcp-copy { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 12px; min-width: 0; }
.mcp-copy__code { flex: 1 1 auto; min-width: 0; margin: 0; padding: 11px 14px; background: #172c43; color: #e8eef8; border-radius: 8px;
  font-size: 1.4rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.mcp-copy__code code { font-family: Consolas, Menlo, monospace; background: none; color: inherit; padding: 0; white-space: inherit; }
.mcp-copy__btn { flex: 0 0 auto; padding: 10px 16px; border: 0; border-radius: 8px; background: #2152c4; color: #fff;
  font-size: 1.4rem; font-weight: 600; line-height: 1.5; cursor: pointer; white-space: nowrap; }
.mcp-copy__btn:hover, .mcp-copy__btn:focus { background: #1a44a5; }

/* In the setup cards there is no room beside the code, so the button moves into a bar on top of the dark panel. */
.mcp-client .mcp-copy { flex-direction: column; align-items: stretch; gap: 0; background: #172c43; border-radius: 8px; }
.mcp-client .mcp-copy__btn { order: -1; align-self: flex-end; margin: 6px 6px 0; padding: 4px 12px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.14); font-size: 1.3rem; }
.mcp-client .mcp-copy__btn:hover, .mcp-client .mcp-copy__btn:focus { background: rgba(255, 255, 255, 0.26); }
.mcp-client .mcp-copy__code { padding-top: 4px; background: none; font-size: 1.3rem; }

/* Card grids: minmax(min(...)) lets a single column shrink to a phone's width instead of forcing 280px. */
.mcp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.mcp-plan { background: #fff; border: 1px solid #dde4ef; border-radius: 12px; padding: 20px 22px; }
.mcp-plan--business { border-color: #2152c4; box-shadow: 0 0 0 1px #2152c4 inset, 0 8px 24px rgba(33, 82, 196, 0.12); }
.mcp-plan h4 { font-size: 1.8rem; color: #172c43; margin: 0 0 10px; }
.mcp-plan ul, .mcp-links { margin: 0; padding-left: 20px; }
.mcp-plan li, .mcp-links li { margin: 6px 0; line-height: 1.45; color: #36465e; }

.mcp-clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 16px; }
.mcp-client { min-width: 0; background: #fff; border: 1px solid #dde4ef; border-radius: 12px; padding: 18px 20px; }
.mcp-client h4 { font-size: 1.7rem; color: #172c43; margin: 0 0 8px; }
.mcp-client p { margin: 6px 0; color: #36465e; line-height: 1.45; }

/* "Try asking": things a visitor types, so they read as chat bubbles rather than an italic bullet list. */
.mcp-prompts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.mcp-prompts li { margin: 0; padding: 14px 18px; background: #eef3fd; border-radius: 14px 14px 14px 4px; color: #172c43; line-height: 1.45; }
.mcp-prompts li::before { content: "\201C"; color: #2152c4; font-weight: 700; }
.mcp-prompts li::after { content: "\201D"; color: #2152c4; font-weight: 700; }

/* Capability and safety lists: a tick per line. */
.mcp-checks { margin: 0; padding: 0; list-style: none; }
.mcp-checks li { position: relative; margin: 8px 0; padding-left: 28px; color: #36465e; line-height: 1.45; }
.mcp-checks li::before { content: ""; position: absolute; left: 2px; top: 0.25em; width: 16px; height: 16px; border-radius: 50%; background: #2152c4; }
.mcp-checks li::after { content: ""; position: absolute; left: 7px; top: calc(0.25em + 4px); width: 6px; height: 4px; border: solid #fff;
  border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* Agent Mode */
.mcp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin: 0 0 24px; padding: 0;
  list-style: none; counter-reset: mcp-step; }
.mcp-step { position: relative; margin: 0; padding: 20px 22px 20px 70px; background: #fff; border: 1px solid #dde4ef; border-radius: 12px;
  counter-increment: mcp-step; }
.mcp-step::before { content: counter(mcp-step); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: #2152c4; color: #fff; font-size: 1.6rem; font-weight: 700; line-height: 34px; text-align: center; }
.mcp-step h4 { font-size: 1.7rem; color: #172c43; margin: 0 0 6px; }
.mcp-step p { margin: 0; color: #36465e; line-height: 1.45; }

.mcp-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; margin-top: 24px; }
.mcp-compare__col { padding: 20px 22px; background: #fff; border: 1px solid #dde4ef; border-radius: 12px; }
.mcp-compare__col--agent { border-color: #2152c4; box-shadow: 0 0 0 1px #2152c4 inset; }
.mcp-compare__col h4 { font-size: 1.8rem; color: #172c43; margin: 0 0 6px; }

.mcp-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.mcp-more-link { color: #2152c4; font-size: 1.6rem; font-weight: 600; text-decoration: none; }
.mcp-more-link:hover, .mcp-more-link:focus { text-decoration: underline; }

@media (max-width: 600px) {
  .mcp-hero .shell { padding-bottom: 48px; }
  .mcp-hero__subtitle { font-size: 1.7rem; }
  .mcp-page { padding: 40px 0; }
  .mcp-page .mcp-h2 { font-size: 2.7rem; }
  .mcp-page .mcp-h3 { margin-top: 36px; }
  .mcp-card { padding: 18px; }
  .mcp-copy { flex-direction: column; align-items: stretch; }
  .mcp-copy__btn { align-self: flex-end; }
}

[dir="rtl"] .mcp-plan ul, [dir="rtl"] .mcp-links { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .mcp-checks li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .mcp-checks li::before { left: auto; right: 2px; }
[dir="rtl"] .mcp-checks li::after { left: auto; right: 7px; }
[dir="rtl"] .mcp-step { padding: 20px 70px 20px 22px; }
[dir="rtl"] .mcp-step::before { left: auto; right: 20px; }
[dir="rtl"] .mcp-prompts li { border-radius: 14px 14px 4px 14px; }
/* Each line takes its own direction: commands, URLs and JSON stay left to right, a translated prompt reads right to left. */
[dir="rtl"] .mcp-copy__code { unicode-bidi: plaintext; text-align: start; }
