/* MCP page uses the same layout rhythm as EF Copilot and EF Plant Assistant. */
.mcp-page .mcp-hero{min-height:760px;overflow:hidden;background:#0b0c14}
.mcp-page .mcp-hero:before{display:none}
.mcp-hero-image{position:absolute;z-index:-2;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:43% center}
.mcp-hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(270deg,#0b0c14f5 0%,#0b0c14e5 30%,#0b0c1480 51%,#0b0c1415 75%),linear-gradient(0deg,#0b0c147a 0%,transparent 26%);pointer-events:none}
.mcp-hero .ma-hero-inner{display:flex;align-items:center;justify-content:flex-end;min-height:710px}
.mcp-hero .ma-hero-copy{width:min(51%,650px);max-width:650px;padding:6rem 0 4rem}
.mcp-hero h1{max-width:11ch;font-size:clamp(3.3rem,5.1vw,5.8rem)}
.mcp-hero .ma-hero-lead{max-width:500px;text-shadow:0 2px 14px #0008}
.mcp-hero .ma-platforms span{background:#0b0c1488;backdrop-filter:blur(8px)}
.mcp-page .cp-hero-illustration{right:max(36px,calc((100vw - 1320px)/2));bottom:27px}

.mcp-example-inner{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(2.5rem,6vw,6rem);align-items:center;max-width:1200px;margin:auto}
.mcp-example .section-copy{max-width:500px}
.mcp-example .section-copy h2{max-width:15ch}
.mcp-example .section-copy p:not(.eyebrow){color:#615c6b;line-height:1.7}
.mcp-example-panel{padding:clamp(2rem,4vw,3rem);border-radius:22px;background:#17141f;color:#fff;box-shadow:0 25px 55px #1f173326}
.mcp-panel-label{color:#b69cff;font:800 .7rem ui-monospace,monospace;letter-spacing:.12em}
.mcp-example-panel blockquote{margin:1.5rem 0;font-size:clamp(1.6rem,2.5vw,2.5rem);font-weight:740;line-height:1.18;letter-spacing:-.04em}
.mcp-example-panel p{margin:0;color:#d0cadb;line-height:1.7}
.mcp-example-topics{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.7rem}
.mcp-example-topics span{padding:.45rem .7rem;border:1px solid #a78bfa55;border-radius:5px;color:#cdbaff;font-size:.7rem;font-weight:700}

.mcp-heading{max-width:770px}
.mcp-heading p:not(.eyebrow){color:#615c6b;line-height:1.7}
.mcp-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;max-width:1200px;margin:3.4rem auto 0}
.mcp-flow article{position:relative;min-width:0;padding:1.7rem 1.8rem 2rem;border-top:2px solid #b5a2db;background:#fff;box-shadow:0 16px 38px #251b3a0d}
.mcp-flow article:not(:last-child):after{content:"→";position:absolute;z-index:2;right:-1.28rem;top:42%;color:#7c3aed;font-size:1.55rem;font-weight:700}
.mcp-flow .mcp-flow-core{border-top-color:#7c3aed;background:#201a2f;color:#fff}
.mcp-flow-index{color:#7c3aed;font:800 .7rem ui-monospace,monospace;letter-spacing:.08em}
.mcp-flow-core .mcp-flow-index{color:#c9b2ff}
.mcp-flow h3{margin:2rem 0 .6rem;font-size:clamp(1.4rem,2vw,1.9rem);line-height:1.15;letter-spacing:-.035em}
.mcp-flow p{margin:0;color:#615c6b;font-size:.92rem;line-height:1.6}
.mcp-flow-core p{color:#d5cde0}
.mcp-flow-note{max-width:1200px;margin:1rem auto 0;padding:1rem 1.2rem;border-left:3px solid #7c3aed;background:#ece7f6;color:#51475f;font-size:.89rem;line-height:1.55}
.mcp-clients{max-width:1200px;margin:clamp(4rem,7vw,7rem) auto 0;padding-top:clamp(2.5rem,5vw,4.5rem);border-top:1px solid #dcd4e8}
.mcp-clients-heading{max-width:720px;margin:0 auto 2rem;text-align:center}
.mcp-clients-heading .eyebrow{margin-bottom:.8rem}
.mcp-clients-heading h3{margin:0;color:#181222;font-size:clamp(2.1rem,4vw,3.6rem);font-weight:780;line-height:1.06;letter-spacing:-.055em}
.mcp-clients-heading>p:last-child{max-width:58ch;margin:1rem auto 0;color:#665e71;font-size:clamp(.92rem,1.2vw,1rem);line-height:1.65}
.mcp-clients ul{margin:0;padding:0;list-style:none}
.mcp-clients-featured{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.mcp-clients-featured li{display:flex;min-width:0;min-height:180px;flex-direction:column;align-items:center;justify-content:center;gap:1.15rem;padding:1.5rem;border:1px solid #e4ddec;border-radius:18px;background:#fff;box-shadow:0 18px 45px #301f4c0c}
.mcp-clients-featured img{display:block;width:72px;height:72px;object-fit:contain}
.mcp-clients-featured strong{color:#211b2b;font-size:1.25rem;font-weight:760;letter-spacing:-.035em}
.mcp-clients-more{display:flex;align-items:center;gap:1.3rem;margin-top:1.15rem;padding:1rem 1.3rem;border:1px solid #e4ddec;border-radius:14px;background:#ffffffad}
.mcp-clients-more>span{flex:none;color:#7750bb;font:800 .68rem ui-monospace,monospace;letter-spacing:.09em!important;text-transform:uppercase}
.mcp-clients-more ul{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem 1.5rem}
.mcp-clients-more li{display:flex;align-items:center;gap:.55rem;color:#32283f;font-size:.89rem}
.mcp-clients-more img{display:block;width:30px;height:30px;object-fit:contain}
.mcp-clients-more strong{font-weight:730}
.mcp-clients-more small{margin-left:-.3rem;color:#877b96;font-size:.7rem}
.mcp-clients-note{max-width:95ch;margin:1.1rem auto 0;color:#756d7f;font-size:.78rem;line-height:1.6;text-align:center}

.mcp-scope{background:#13111c}
.mcp-scope-inner{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(3rem,7vw,7rem);align-items:center;max-width:1200px;margin:auto}
.mcp-scope .section-copy{max-width:520px}
.mcp-scope .section-copy h2{color:#fff;max-width:14ch}
.mcp-scope .section-copy p:not(.eyebrow){color:#cec7db;line-height:1.7}
.mcp-scope .mcp-scope-note{padding-top:1.3rem;border-top:1px solid #ffffff2a;color:#aa9fb8!important;font-size:.86rem}
.mcp-guards{display:grid;gap:0}
.mcp-guards article{display:grid;grid-template-columns:2.5rem 1fr;gap:1.15rem;padding:1.5rem 0;border-top:1px solid #ffffff2b}
.mcp-guards article:last-child{border-bottom:1px solid #ffffff2b}
.mcp-guards article>span{color:#b69cff;font:800 .74rem ui-monospace,monospace;padding-top:.2rem}
.mcp-guards h3{margin:0 0 .35rem;color:#fff;font-size:1.12rem}
.mcp-guards p{margin:0;color:#bbb3ca;font-size:.92rem;line-height:1.6}
.mcp-final-inner{position:relative;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(2.5rem,6vw,6rem);align-items:center;max-width:1200px;min-height:470px;margin:auto;padding:clamp(2.5rem,5vw,5rem);overflow:hidden;border-radius:24px;background:radial-gradient(circle at 95% 5%,#4d3280 0,#241c37 38%,#17141f 78%);box-shadow:0 26px 58px #21173424}
.mcp-final .section-copy{position:relative;z-index:1;max-width:510px}
.mcp-final .section-copy .eyebrow{color:#c6aaff}
.mcp-final .section-copy h2{max-width:13ch;color:#fff}
.mcp-final .section-copy>p:last-child{color:#d7d0e3;line-height:1.7}
.mcp-final-routes{position:relative;z-index:1}
.mcp-final-routes article{padding:1.5rem 0;border-top:1px solid #ffffff4a}
.mcp-final-routes article:last-child{border-bottom:1px solid #ffffff4a}
.mcp-final-routes article>span{color:#c5a8ff;font:800 .68rem ui-monospace,monospace;letter-spacing:.09em}
.mcp-final-routes h3{margin:.8rem 0 .35rem;color:#fff;font-size:clamp(1.35rem,2vw,1.8rem);letter-spacing:-.035em}
.mcp-final-routes p{max-width:38ch;margin:0;color:#d2c9de;font-size:.92rem;line-height:1.6}
.mcp-page .cp-related{margin-top:2rem}
.mcp-page :is(a,button):focus-visible{outline:3px solid #a78bfa;outline-offset:4px}

@media(max-width:1100px){
  .mcp-hero .ma-hero-copy{width:55%}
  .mcp-example-inner,.mcp-scope-inner{grid-template-columns:1fr;gap:2.5rem}
  .mcp-example .section-copy,.mcp-scope .section-copy{max-width:720px}
  .mcp-final-inner{grid-template-columns:1fr;gap:2rem}
  .mcp-final .section-copy{max-width:700px}
  .mcp-final .section-copy h2{max-width:18ch}
}
@media(max-width:820px){
  .mcp-page .mcp-hero{min-height:0}
  .mcp-hero-image{height:500px;object-position:33% top}
  .mcp-hero:after{background:linear-gradient(0deg,#0b0c14 30%,#0b0c14e8 47%,#0b0c1425 82%,transparent)}
  .mcp-hero .ma-hero-inner{display:block;min-height:0}
  .mcp-hero .ma-hero-copy{width:100%;max-width:670px;padding:390px 0 2.2rem}
  .mcp-hero h1{max-width:13ch}
  .mcp-page .cp-hero-illustration{right:20px;left:auto;bottom:16px}
  .mcp-flow{grid-template-columns:1fr;gap:.8rem}
  .mcp-flow article{padding:1.5rem}
  .mcp-flow article:not(:last-child):after{display:none}
  .mcp-flow h3{margin:1rem 0 .45rem}
  .mcp-clients-featured{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  .mcp-hero-image{height:420px}
  .mcp-hero .ma-hero-copy{padding-top:345px}
  .mcp-hero h1{font-size:clamp(2.65rem,11vw,3.6rem)}
  .mcp-page .cp-hero-illustration{display:none}
  .mcp-example-panel{padding:1.6rem;border-radius:16px}
  .mcp-clients{margin-top:3.3rem}
  .mcp-clients-heading{margin-bottom:1.5rem}
  .mcp-clients-featured{gap:.65rem}
  .mcp-clients-featured li{min-height:140px;padding:1rem;border-radius:13px}
  .mcp-clients-featured img{width:56px;height:56px}
  .mcp-clients-featured strong{font-size:1.07rem}
  .mcp-clients-more{display:block;padding:1rem}
  .mcp-clients-more ul{gap:.7rem 1rem;margin-top:.8rem}
  .mcp-clients-more li{font-size:.79rem}
  .mcp-clients-more img{width:26px;height:26px}
  .mcp-final-inner{min-height:0;padding:2rem 1.5rem;border-radius:16px}
}
