/* ==========================================================================
   megamcp.com · integrations: /mcp, /mcp/:slug, /workflows, /workflows/:slug
   See docs/design/site.md. Shared components (cards, pills, ui-* mockups,
   step-list, faq, cta-band, accent-<slug>) live in core.css; this file adds
   only what these pages need. Markup: src/pages/catalog.ts.
   ========================================================================== */

/* ---------- Shared bits ---------- */
.int-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 24px; }
.int-links-center { justify-content: center; margin-top: 40px; }
.int-links .dim { font-size: 14.5px; }
.int-links .dim a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.int-links .ico { width: 15px; height: 15px; }

.int-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; padding: 18px 20px; border-radius: var(--r-card); background: var(--brand-wash); color: var(--ink-2); font-size: 15px; line-height: 1.55; box-shadow: inset 0 0 0 1px rgba(107, 78, 255, .14); }
.int-note p { margin: 0; }
.int-note b { margin-right: 4px; color: var(--ink); }
.int-note a { color: var(--brand-deep); font-weight: 600; }
.int-note-ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--white); color: var(--brand); box-shadow: inset 0 0 0 1px rgba(107, 78, 255, .14); }
.int-note-ico .ico { width: 16px; height: 16px; }
.int-note .int-links { display: inline-flex; margin: 8px 0 0; }

/* AI app monograms (their logos aren't in the committed logo set). */
.ai-mark { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: -.03em; line-height: 1; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.ai-claude { background: #d97757; }
.ai-chatgpt { background: #10a37f; }
.ai-cursor { background: #17171c; }

/* Hero status line, with a tooltip that links to the full explainer. */
.int-status { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 18px; font-size: 15px; color: var(--gray); }
.int-status .status { flex: none; }
.tip { display: inline-flex; }
.tip-link { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-deep); font-size: 14px; font-weight: 600; text-decoration: none; }
.tip-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.tip-link .ico { width: 15px; height: 15px; }
.tip-body { position: absolute; left: 0; top: calc(100% + 10px); z-index: 30; width: min(380px, 100%); padding: 12px 14px; border-radius: 12px; background: var(--night-2); color: var(--d-text); font-size: 13.5px; line-height: 1.5; box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translateY(-4px); pointer-events: none; transition: opacity .18s var(--ease), transform .25s var(--ease-out), visibility 0s .25s; }
.tip:hover .tip-body, .tip:focus-within .tip-body { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .25s var(--ease-out), visibility 0s; }

/* Facts under a hero: label above value. */
.int-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 32px 0 0; padding-top: 22px; border-top: 1px solid var(--hairline); }
.int-facts dt { margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-2); }
.int-facts dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ==========================================================================
   /mcp/:slug
   ========================================================================== */
.int-hero.hero-light {
  background:
    radial-gradient(42% 72% at 94% 4%, color-mix(in srgb, var(--accent, var(--brand)) 22%, transparent), transparent 70%),
    radial-gradient(34% 58% at 60% -12%, rgba(107, 78, 255, .11), transparent 65%),
    radial-gradient(34% 60% at 0% 0%, rgba(61, 220, 255, .1), transparent 60%),
    linear-gradient(180deg, var(--white), color-mix(in srgb, var(--accent, var(--brand)) 4%, var(--white)));
}
.int-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.int-hero-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.int-hero-brand .kicker { margin: 0; }
.int-hero-logo img.logo, .int-hero-logo .logo-mono { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 0 0 1px var(--hairline), 0 16px 32px -14px color-mix(in srgb, var(--accent, var(--brand)) 70%, transparent); }
.int-hero-logo img.logo { padding: 12px; }
.int-hero-logo img.logo.logo-boxed { padding: 0; }
.int-hero h1 { margin-bottom: 14px; font-size: clamp(40px, 5.2vw, 68px); }
.int-tagline { margin: 0 0 14px; font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--ink-2); }
.int-hero .lead { margin-bottom: 20px; }
.int-aka { margin: -6px 0 22px; font-size: 14px; color: var(--gray); }
.int-hero .cta-row { margin-top: 8px; }

/* Constellation: platform ⇄ MegaMCP ⇄ AI apps. */
.cn { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(24px, .5fr) minmax(0, 1fr) minmax(24px, .5fr) minmax(0, 1.15fr); align-items: center; height: 360px; margin: 0; padding: 28px 24px; border-radius: 28px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px var(--hairline), 0 44px 90px -44px rgba(40, 24, 140, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cn::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: radial-gradient(rgba(20, 16, 60, .13) 1px, transparent 1.4px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 80%); }
.cn-glow { position: absolute; z-index: -1; left: -12%; top: 8%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent, var(--brand)) 38%, transparent), transparent 75%); filter: blur(12px); pointer-events: none; animation: breathe 7s ease-in-out infinite; }
.cn-wires { align-self: stretch; width: 100%; height: 100%; overflow: visible; }
.cn-wires .flow-line { stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.cn-wires .cn-stop { stop-color: var(--accent, var(--brand)); }
.cn-back { opacity: .45; animation-direction: reverse; }
.cn-platform, .cn-hub { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.cn-platform { padding: 20px 10px 16px; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--hairline), 0 24px 44px -22px color-mix(in srgb, var(--accent, var(--brand)) 65%, transparent); }
.cn-platform img.logo, .cn-platform .logo-mono { width: 64px; height: 64px; border-radius: 18px; }
.cn-platform img.logo { padding: 12px; }
.cn-platform img.logo.logo-boxed { padding: 0; }
.cn-platform b { margin-top: 4px; font-size: 14px; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
.cn-platform small { font-size: 11.5px; line-height: 1.3; color: var(--gray); }
.cn-ring { position: absolute; left: 50%; top: 20px; width: 64px; height: 64px; margin-left: -32px; border-radius: 18px; pointer-events: none; animation: cn-pulse 2.8s var(--ease-out) infinite; }
.cn-hub { padding: 20px 8px 16px; border-radius: 22px; background: linear-gradient(160deg, #2a2070, var(--night-2)); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 50px -16px var(--brand-glow), 0 0 0 8px rgba(107, 78, 255, .07), 0 0 0 18px rgba(107, 78, 255, .035); }
.cn-hub-mark .mark { width: 42px; height: 42px; }
.cn-hub b { font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; }
.cn-hub small { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--brand-ink); }
.cn-hub small .ico { width: 12px; height: 12px; }
.cn-clients { align-self: stretch; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); align-items: center; }
.cn-client { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--hairline), var(--shadow-card); font-size: 14px; font-weight: 600; }
.cn-client span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes cn-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent, var(--brand)) 45%, transparent); } 80%, 100% { box-shadow: 0 0 0 18px transparent; } }
@keyframes cn-drop { to { background-position: 0 12px; } }

/* Sticky in-page nav. */
.int-subnav { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: inset 0 -1px 0 var(--hairline), inset 0 1px 0 var(--hairline); }
.int-subnav-inner { display: flex; align-items: center; gap: 20px; height: 56px; }
.int-subnav-title { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
.int-subnav-title img.logo, .int-subnav-title .logo-mono { width: 24px; height: 24px; border-radius: 7px; }
.int-subnav-links { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.int-subnav-links::-webkit-scrollbar { display: none; }
.int-subnav-links a { flex: none; padding: 7px 13px; border-radius: var(--r-pill); color: var(--gray); font-size: 14px; font-weight: 550; text-decoration: none; transition: color .15s, background .15s; }
.int-subnav-links a:hover { color: var(--ink); background: var(--light); }
.int-subnav-links a.is-current { color: var(--brand-deep); background: var(--brand-wash); font-weight: 650; }

/* Live demo band. */
.int-demo-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.int-demo h2 { margin-bottom: 18px; }
.int-demo .lead { margin: 0 0 30px; font-size: clamp(17px, 1.4vw, 19px); }
.int-demo-h { margin-bottom: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--d-gray); }
.int-demo-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 28px; }
.int-demo-tools li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--d-line), inset 3px 0 0 var(--accent, var(--brand)); }
.int-demo-tools code { min-width: 0; overflow-wrap: anywhere; font: 600 13px/1.3 var(--mono); color: #ddd6ff; }
.int-demo-tools span { margin-left: auto; font-size: 13px; color: var(--d-gray); }
.int-demo-stage { position: relative; isolation: isolate; }
.int-demo-stage::before { content: ""; position: absolute; z-index: -1; right: -8%; top: -12%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent, var(--brand)) 40%, transparent), transparent 72%); filter: blur(30px); pointer-events: none; }
/* The transcript plays when the demo scrolls into view (app.js adds .in), not while it's off screen. */
.js .int-demo-stage:not(.in) .ui-play, .js .int-demo-stage:not(.in) .ui-play * { animation-play-state: paused; }
.int-demo-window .ui-bubble { min-width: 0; }
.int-demo-window .ui-msg, .int-demo-window .ui-bubble { max-width: 100%; }
.int-demo-window .ui-msg-assistant .ui-bubble { width: 100%; }
.int-demo-window .ui-text-green { color: #7ce59a; } .int-demo-window .ui-text-red { color: #ff9d94; } .int-demo-window .ui-text-amber { color: #ffd28a; } .int-demo-window .ui-text-brand { color: var(--brand-ink); } .int-demo-window .ui-text-gray { color: var(--d-gray); }

/* Capabilities: reads vs changes. */
.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.cap-card { position: relative; overflow: hidden; padding: 28px; border-radius: var(--r-panel); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.cap-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--brand)); }
.cap-card-write::before { background: linear-gradient(90deg, var(--brand), var(--pink)); }
.cap-card-none::before { background: var(--line); }
.cap-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.cap-head > div { flex: 1; min-width: 0; }
.cap-head h3 { margin: 0 0 4px; font-size: 21px; }
.cap-head p { color: var(--gray); font-size: 15px; line-height: 1.45; }
.cap-head .pill { flex: none; margin-top: 2px; }
.cap-badge { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--light); color: var(--gray); }
.cap-badge .ico { width: 21px; height: 21px; }
.cap-badge-read { background: #e6f9ff; color: #0784a6; }
.cap-badge-write { background: linear-gradient(135deg, #8a73ff, var(--brand-deep)); color: var(--white); box-shadow: 0 8px 18px -8px var(--brand-glow); }
.cap-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 8px; }
.cap-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--light); font-size: 14.5px; line-height: 1.4; transition: background .2s; }
.cap-list li:hover { background: #ececf2; }
.cap-ico { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--white); color: #0784a6; box-shadow: inset 0 0 0 1px var(--hairline); }
.cap-card-write .cap-ico { background: var(--brand-wash); color: var(--brand-deep); box-shadow: inset 0 0 0 1px rgba(107, 78, 255, .14); }
.cap-ico .ico { width: 14px; height: 14px; }
.cap-none { color: var(--gray); }
.cap-more { margin-top: 8px; }
.cap-more > summary { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 10px; border-radius: var(--r-pill); background: var(--white); color: var(--brand-deep); font-size: 13.5px; font-weight: 650; list-style: none; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.cap-more > summary::-webkit-details-marker { display: none; }
.cap-more > summary:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.cap-more > summary .ico { width: 15px; height: 15px; transition: transform .25s var(--ease-out); }
.cap-more[open] > summary { margin-bottom: 8px; }
.cap-more[open] > summary .ico { transform: rotate(45deg); }
.cap-guard { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 16px; margin-top: 20px; padding: 24px 28px; border-radius: var(--r-card); background: radial-gradient(60% 140% at 100% 0%, color-mix(in srgb, var(--accent, var(--brand)) 9%, transparent), transparent 70%), var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.cap-guard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent, var(--brand)); }
.cap-guard .cap-badge { background: var(--brand-wash); color: var(--brand); }
.cap-guard h3 { margin: 0 0 6px; font-size: 19px; }
.cap-guard p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.cap-guard p + p { margin-top: 8px; font-size: 14px; }

/* Every tool, collapsed into one table. */
.tool-all { margin-top: 20px; overflow: hidden; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.tool-all > summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; list-style: none; cursor: pointer; transition: background .2s; }
.tool-all > summary::-webkit-details-marker { display: none; }
.tool-all > summary:hover { background: rgba(107, 78, 255, .03); }
.tool-all > summary > span:nth-child(2) { display: grid; flex: 1; min-width: 0; gap: 2px; }
.tool-all > summary b { font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.tool-all > summary small { font-size: 13.5px; color: var(--gray); }
.tool-all-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-wash); color: var(--brand); }
.tool-all-ico .ico { width: 19px; height: 19px; }
.tool-all-chev { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--light); color: var(--gray); }
.tool-all-chev .ico { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.tool-all[open] .tool-all-chev .ico { transform: rotate(180deg); }
.tool-all .table-wrap, .tool-all .table-wrap:has(> table.data) { max-height: 560px; overflow: auto; border-top: 1px solid var(--hairline); border-radius: 0; box-shadow: none; }
table.data.tool-table { min-width: 520px; font-size: 14.5px; }
table.data.tool-table th, table.data.tool-table td { padding: 11px 18px; vertical-align: middle; }
table.data.tool-table tbody th { font-weight: 550; }
table.data.tool-table code { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--light); color: var(--brand-deep); font: 500 12.5px/1.5 var(--mono); box-shadow: inset 0 0 0 1px var(--hairline); overflow-wrap: anywhere; }
table.data.tool-table a { text-decoration: none; }
table.data.tool-table a:hover code { background: var(--brand-wash); box-shadow: inset 0 0 0 1px rgba(107, 78, 255, .3); }

/* Prompt cards, quote style. */
.prompt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.prompt-grid .prompt { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 26px; font-size: 17px; font-weight: 600; line-height: 1.45; letter-spacing: -.015em; }
.prompt-grid .prompt::after { content: "”"; position: absolute; right: 14px; bottom: -58px; font-size: 130px; font-weight: 700; line-height: 1; color: rgba(107, 78, 255, .07); pointer-events: none; transition: color .3s; }
.prompt-grid .prompt:hover::after { color: rgba(107, 78, 255, .14); }
.prompt-grid .prompt-n { position: relative; z-index: 1; align-self: flex-start; padding: 4px 10px; border-radius: var(--r-pill); background: var(--brand-wash); color: var(--brand-deep); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.prompt-q { position: relative; z-index: 1; margin: 0; color: var(--ink); }
.prompt-grid .prompt-copy { top: 18px; right: 18px; z-index: 2; height: 28px; padding: 0 12px; background: var(--light); color: var(--ink-2); font-size: 12.5px; box-shadow: inset 0 0 0 1px var(--hairline); }
.prompt-grid .prompt-copy:hover { background: var(--brand-wash); color: var(--brand-deep); }
.prompt-grid .prompt-copy.is-copied { background: var(--brand); color: var(--white); }

/* Setup. */
.int-setup { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.int-setup-copy { position: sticky; top: calc(var(--nav-h) + 88px); }
.int-setup-copy h2 { margin-bottom: 16px; }
.int-steps > li > p { max-width: 42em; }
.int-url { margin: 14px 0 16px; }
.int-url pre { padding: 14px 18px; font-size: 14px; }
.client-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.client-cards > li { display: flex; }
.client-card { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 16px; border-radius: 16px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease); }
.client-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .25); }
.client-card-copy { display: grid; gap: 4px; }
.client-card-copy b { font-size: 15.5px; font-weight: 650; }
.client-card-copy small { font-size: 13px; line-height: 1.45; color: var(--gray); }
.client-card-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--brand-deep); font-size: 13.5px; font-weight: 600; }
.client-card-go .ico { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.client-card:hover .client-card-go .ico { transform: translateX(3px); }

/* Safety: each guardrail with a small piece of product UI. */
.safe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.safe-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: center; padding: 28px; border-radius: var(--r-panel); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease); }
.safe-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .14); }
.safe-copy h3 { margin-bottom: 8px; font-size: 20px; }
.safe-copy p { color: var(--gray); font-size: 15.5px; line-height: 1.5; }
.safe-visual { min-width: 0; }
.safe-visual > * { width: 100%; }
.safe-visual .ui-table table { min-width: 0; }
.safe-visual .ui-table td { white-space: normal; overflow-wrap: anywhere; }

/* Related integrations and learn links. */
.rel-h { margin: 36px 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.section-head + .rel-h { margin-top: 0; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.rel-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease); }
.rel-card::before { content: ""; position: absolute; z-index: -1; right: -20%; top: -80%; width: 60%; height: 260%; background: radial-gradient(closest-side, var(--accent-glow, rgba(107, 78, 255, .25)), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.rel-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift), 0 0 0 1px color-mix(in srgb, var(--accent, var(--brand)) 35%, transparent); }
.rel-card:hover::before { opacity: 1; }
.rel-card-copy { display: grid; flex: 1; min-width: 0; gap: 2px; }
.rel-card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.rel-card-copy b { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.rel-card-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--gray); }
.learn-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.learn-links a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--light); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.learn-links a:hover { background: var(--brand-wash); color: var(--brand-deep); }
.learn-links .card-ico { width: 36px; height: 36px; margin: 0; border-radius: 11px; background: var(--white); }
.learn-links .card-ico .ico { width: 18px; height: 18px; }
.learn-links a > .ico { width: 16px; height: 16px; margin-left: auto; color: var(--gray-2); }

/* ==========================================================================
   /mcp hub
   ========================================================================== */
.int-hub-hero { padding-bottom: 56px; }
.int-hub-hero .crumbs { justify-content: center; }
.int-hub-hero h1 { max-width: 13em; margin-inline: auto; }
.int-hub-hero .lead { max-width: 40em; margin-bottom: 32px; }
.int-hub-kpis { margin-top: 64px; text-align: left; }
.int-hub-hero .kpi { background: rgba(255, 255, 255, .035); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px var(--d-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.int-hub-hero .kpi-label { color: var(--d-gray); }
.int-hub-hero .kpi-label b { color: var(--d-text); }
.int-hub-marquee { margin-top: 56px; }

.int-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; font-size: 14px; color: var(--gray); }
.int-legend > div { display: flex; align-items: center; gap: 8px; }
.int-legend dd { margin: 0; }
.int-finder { gap: 12px; margin-bottom: 24px; padding: 14px; border-radius: 20px; background: var(--light); box-shadow: inset 0 0 0 1px var(--hairline); }
.int-finder .finder-search { flex: 1 1 300px; max-width: none; }
.int-finder .finder-chips:not(.finder-chips-status) { order: 3; flex-basis: 100%; }
.int-finder .finder-count { order: 2; }
.int-finder .finder-chips button { background: var(--white); box-shadow: inset 0 0 0 1px var(--hairline); }
.int-finder .finder-chips button:hover { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--brand); }
.int-finder .finder-chips button.is-on { background: var(--ink); color: var(--white); box-shadow: none; }
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.int-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease); }
.int-card[hidden] { display: none; }
.int-card::before { content: ""; position: absolute; z-index: -1; right: -32%; top: -48%; width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-glow, rgba(107, 78, 255, .25)), transparent 70%); opacity: .5; transition: opacity .35s, transform .5s var(--ease-out); pointer-events: none; }
.int-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift), 0 0 0 1px color-mix(in srgb, var(--accent, var(--brand)) 35%, transparent); }
.int-card:hover::before { opacity: 1; transform: scale(1.15); }
.int-card:hover h3 { color: var(--brand-deep); }
.int-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.int-card-logo img.logo, .int-card-logo .logo-mono { width: 44px; height: 44px; border-radius: 13px; }
.int-card-logo img.logo { padding: 9px; }
.int-card-logo img.logo.logo-boxed { padding: 0; }
.int-card-logo .logo-mono .ico { width: 20px; height: 20px; }
.int-card h3 { margin: 0; font-size: 18.5px; transition: color .2s; }
.int-card p { flex: 1; margin: 0; color: var(--gray); font-size: 14.5px; line-height: 1.45; }
.int-card-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--hairline); color: var(--gray); font-size: 12.5px; font-weight: 550; }
.int-card-foot .ico { width: 15px; height: 15px; }
.int-card-feature { background: var(--night-2); color: var(--d-text); box-shadow: 0 0 0 1px var(--d-line), 0 30px 60px -30px rgba(20, 10, 60, .6); }
.int-card-feature::before { background: radial-gradient(closest-side, rgba(107, 78, 255, .55), transparent 70%); opacity: 1; }
.int-card-feature p { color: var(--d-gray); }
.int-card-feature .int-card-foot { border-top-color: var(--d-line); color: var(--brand-ink); }
.int-card-feature:hover h3 { color: var(--white); }
.int-card-feature .status-live { background: rgba(48, 209, 88, .14); color: #7ce59a; box-shadow: none; }
.int-card-soon { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.int-card-soon h3, .int-card-soon .int-card-logo { opacity: .75; }
#rolling-out { margin-top: 32px; }

.int-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.int-cat { padding: 26px; border-radius: var(--r-panel); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.int-cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.int-cat-head .card-ico { width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.int-cat-head .card-ico .ico { width: 19px; height: 19px; }
.int-cat-head h3 { flex: 1; margin: 0; font-size: 19px; }
.int-cat > p { margin-bottom: 14px; color: var(--gray); font-size: 14.5px; line-height: 1.5; }
.int-cat-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.int-cat-list a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--ink); font-size: 14.5px; font-weight: 550; text-decoration: none; transition: background .15s, color .15s; }
.int-cat-list a:hover { background: var(--light); color: var(--brand-deep); }
.int-cat-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.int-cat-list .status { flex: none; }
.int-cat-list img.logo, .int-cat-list .logo-mono { width: 26px; height: 26px; border-radius: 8px; }
.int-cat-list img.logo { padding: 5px; }
.int-cat-list img.logo.logo-boxed { padding: 0; }
.int-cat-list .logo-mono.logo-mono-2 { font-size: 10px; }

/* Explainer with the MCP diagram. */
.int-explain { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.int-explain h2 { margin-bottom: 20px; }
.int-explain .prose { max-width: none; color: var(--ink-2); }
.mcpd { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(24px, .45fr) minmax(0, 1.05fr) minmax(24px, .45fr) minmax(0, 1fr); align-items: center; height: 400px; margin: 0; padding: 64px 22px 28px; border-radius: 28px; background: var(--night); color: var(--d-text); box-shadow: var(--shadow-float); }
.mcpd::before { content: ""; position: absolute; z-index: -1; inset: -20%; background: radial-gradient(40% 40% at 30% 20%, rgba(61, 220, 255, .16), transparent 70%), radial-gradient(45% 50% at 70% 10%, rgba(107, 78, 255, .4), transparent 70%), radial-gradient(35% 40% at 80% 90%, rgba(255, 95, 210, .14), transparent 70%); pointer-events: none; animation: aurora-drift 26s ease-in-out infinite alternate; }
.mcpd-col { position: relative; align-self: stretch; min-width: 0; }
.mcpd-h { position: absolute; left: 0; right: 0; top: -38px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--d-gray); }
.mcpd-nodes { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); align-items: center; height: 100%; }
.mcpd-nodes li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 10px 6px 6px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--d-line-2); font-size: 13px; font-weight: 600; }
.mcpd-nodes li > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcpd-nodes .ai-mark { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
.mcpd-nodes img.logo, .mcpd-nodes .logo-mono { width: 26px; height: 26px; border-radius: 8px; }
.mcpd-nodes img.logo { padding: 5px; }
.mcpd-wires { align-self: stretch; width: 100%; height: 100%; overflow: visible; }
.mcpd-wires .flow-line { stroke-width: 2; vector-effect: non-scaling-stroke; }
.mcpd-gate { display: grid; justify-items: center; gap: 6px; padding: 20px 12px 16px; border-radius: 20px; text-align: center; background: linear-gradient(160deg, #2a2070, var(--night-2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 50px -14px var(--brand-glow), 0 0 0 10px rgba(107, 78, 255, .06); }
.mcpd-mark .mark { width: 42px; height: 42px; }
.mcpd-gate b { font-size: 15px; color: var(--white); }
.mcpd-gate small { font-size: 11.5px; color: var(--d-gray); }
.mcpd-rule { display: grid; gap: 6px; width: 100%; margin-top: 8px; }
.mcpd-rule span { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 9px; background: rgba(255, 255, 255, .06); font-size: 11.5px; font-weight: 600; text-align: left; color: var(--d-text); }
.mcpd-rule .ico { flex: none; width: 13px; height: 13px; color: var(--brand-ink); }

.int-wish { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 20px; align-items: start; padding: 32px; border-radius: var(--r-panel); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.int-wish .card-ico { margin: 0; }
.int-wish h2 { margin-bottom: 6px; font-size: clamp(24px, 2.6vw, 30px); }
.int-wish p { color: var(--gray); }
.int-wish p a { color: var(--brand-deep); font-weight: 600; }
.int-wish .chips { grid-column: 2; }

/* ==========================================================================
   /workflows and /workflows/:slug
   ========================================================================== */
.wf-tone-orange { --wf: #ff7a3d; } .wf-tone-blue { --wf: #2f7bff; } .wf-tone-volt { --wf: #22b85f; } .wf-tone-pink { --wf: #f04fc0; } .wf-tone-sky { --wf: #12b5e5; }

.wf-hero.hero-light {
  background:
    radial-gradient(44% 70% at 94% 0%, color-mix(in srgb, var(--wf, var(--brand)) 18%, transparent), transparent 70%),
    radial-gradient(34% 60% at 58% -12%, rgba(107, 78, 255, .12), transparent 65%),
    radial-gradient(34% 60% at 0% 0%, rgba(61, 220, 255, .1), transparent 60%),
    var(--white);
}
.wf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.wf-hero h1 { font-size: clamp(40px, 5.4vw, 72px); }
.wf-page h1 { font-size: clamp(38px, 4.6vw, 62px); }
.wf-hero .lead { margin-bottom: 22px; }
.wf-hero .cta-row { margin-top: 8px; }
.wf-hero-checks { margin-top: 26px; }
.wf-hero-visual { position: relative; isolation: isolate; min-width: 0; }
.wf-hero-visual::before { content: ""; position: absolute; z-index: -1; left: 10%; top: -10%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--wf, var(--brand)) 26%, transparent), rgba(107, 78, 255, .1) 55%, transparent 75%); filter: blur(24px); pointer-events: none; animation: breathe 7s ease-in-out infinite; }
.wf-hero-window .ui-table table, .wf-sample-window .ui-table table { min-width: 0; }
.wf-hero-window .ui-table td, .wf-hero-window .ui-table th { white-space: normal; }
.wf-hero-window .ui-table td:last-child { white-space: nowrap; }

.wf-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 40px; padding: 14px; border-radius: 20px; background: var(--light); box-shadow: inset 0 0 0 1px var(--hairline); }
.wf-tools:not(:has(> :not([hidden]))) { display: none; }
.wf-tools [hidden] { display: none !important; }
.wf-tools .finder-search-wf { flex: 1 1 280px; max-width: 380px; margin: 0; }
.wf-tools .filter { margin: 0; }
.wf-tools .finder-chips button { background: var(--white); box-shadow: inset 0 0 0 1px var(--hairline); }
.wf-tools .finder-chips button:hover { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--brand); }
.wf-tools .finder-chips button.is-on { background: var(--ink); color: var(--white); box-shadow: none; }
.wf-group-head { margin-bottom: 24px; }
.wf-group-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: clamp(28px, 3.2vw, 40px); }
.wf-group-head a { color: var(--brand-deep); }
.wf-group-soon { margin-top: 80px; }

.wf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.wf-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease); }
.wf-card[hidden] { display: none; }
.wf-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--wf, var(--brand)), var(--brand)); }
.wf-card::after { content: ""; position: absolute; z-index: -1; right: -30%; top: -40%; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--wf, var(--brand)) 20%, transparent), transparent 70%); opacity: .7; transition: opacity .3s, transform .5s var(--ease-out); pointer-events: none; }
.wf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift), 0 0 0 1px color-mix(in srgb, var(--wf, var(--brand)) 35%, transparent); }
.wf-card:hover::after { opacity: 1; transform: scale(1.15); }
.wf-card:hover .wf-card-name { color: var(--brand-deep); }
.wf-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wf-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--wf, var(--brand)) 12%, var(--white)); color: color-mix(in srgb, var(--wf, var(--brand)) 50%, #15121f); font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: none; white-space: nowrap; }
.wf-tag .ico { width: 13px; height: 13px; }
.wf-card-name { margin: 4px 0 0; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; transition: color .2s; }
.wf-card-sum { margin: 0; color: var(--gray); font-size: 15px; line-height: 1.5; }
.wf-card-sched { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.wf-card-sched .ico { width: 15px; height: 15px; color: var(--brand); }
.wf-card-out { flex: 1; margin: 2px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--light); color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.wf-card-out b { display: block; margin-bottom: 3px; color: var(--brand-deep); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wf-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.wf-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.wf-logos img.logo, .wf-logos .logo-mono { width: 28px; height: 28px; border-radius: 8px; }
.wf-logos img.logo { padding: 5px; }
.wf-logos img.logo.logo-boxed { padding: 0; }
.wf-logos .logo-mono { font-size: 11px; }
.wf-card-time { padding: 4px 10px; border-radius: var(--r-pill); background: var(--brand-wash); color: var(--brand-deep); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.wf-card-soon { background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.wf-card-soon::before { opacity: .45; }
.wf-card-soon .wf-card-time { background: var(--light); color: var(--gray); }
.section-gray .wf-card-soon { background: transparent; }
.wf-card-feature { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.wf-card-main { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.wf-card-visual { position: relative; padding: 16px; border-radius: 18px; background: radial-gradient(80% 80% at 100% 0%, color-mix(in srgb, var(--wf, var(--brand)) 14%, transparent), transparent 70%), var(--light); box-shadow: inset 0 0 0 1px var(--hairline); }
.wf-card-visual .ui-diff-meta { display: none; }

/* A workflow page. */
.wf-hero .kicker .wf-tag { margin-right: 2px; }
.wf-uses { display: flex; flex-wrap: wrap; gap: 6px; }
.wf-use { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 5px; border-radius: var(--r-pill); background: var(--white); box-shadow: 0 0 0 1px var(--hairline); font-size: 13px; font-weight: 600; }
.wf-use img.logo, .wf-use .logo-mono { width: 22px; height: 22px; border-radius: 7px; }
.wf-use img.logo { padding: 3px; }
.wf-use img.logo.logo-boxed { padding: 0; }
.wf-mail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.wf-mail > * { min-width: 0; }
.wf-mail-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.wf-mail-head > span:last-child { display: grid; min-width: 0; gap: 2px; }
.wf-mail-head b { font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; }
.wf-mail-head small { font-size: 12px; color: var(--gray); }
.wf-mail-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #8a73ff, var(--brand-deep)); color: var(--white); box-shadow: 0 8px 18px -8px var(--brand-glow); }
.wf-mail-ico .ico { width: 17px; height: 17px; }
.wf-mail-body p { color: var(--gray); font-size: 14px; }
.wf-sample-window .ui-table td, .wf-sample-window .ui-table th { white-space: normal; }

.wf-pipe { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; }
.wf-pipe::before { content: ""; position: absolute; z-index: 0; left: 40px; right: 40px; top: 39px; height: 2px; background: repeating-linear-gradient(90deg, rgba(176, 163, 255, .65) 0 8px, transparent 8px 16px); background-size: 16px 2px; animation: wf-flow 1s linear infinite; }
.wf-pipe > li { position: relative; z-index: 1; display: grid; align-content: start; gap: 14px; padding: 20px; border-radius: 18px; background: rgba(15, 17, 27, .82); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px var(--d-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wf-pipe p { margin: 0; color: var(--d-text); font-size: 15px; font-weight: 550; line-height: 1.45; }
.wf-pipe b { display: block; margin-bottom: 4px; color: var(--brand-ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wf-pipe-n, .wf-pipe-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.wf-pipe-n { background: var(--night-3); color: var(--brand-ink); font-size: 15px; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgba(176, 163, 255, .35), 0 0 24px -6px var(--brand-glow); }
.wf-pipe-ico { border-radius: 12px; background: linear-gradient(135deg, #3ddcff, var(--brand)); color: var(--white); box-shadow: 0 10px 24px -10px rgba(61, 220, 255, .6); }
.wf-pipe-out .wf-pipe-ico { background: linear-gradient(135deg, var(--brand), var(--pink)); box-shadow: 0 10px 24px -10px var(--brand-glow); }
.wf-pipe-ico .ico { width: 18px; height: 18px; }
.wf-pipe-out { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(176, 163, 255, .35), 0 20px 50px -24px var(--brand-glow) !important; }
.wf-how-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; color: var(--d-gray); font-size: 15px; text-align: center; }
.wf-how-note .ico { flex: none; width: 17px; height: 17px; color: var(--brand-ink); }
@keyframes wf-flow { to { background-position: 16px 0; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1060px) {
  .int-hero-grid, .int-demo-grid, .int-setup, .int-explain, .wf-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .int-hero-visual, .int-demo-stage, .int-explain-visual, .wf-hero-visual { max-width: 680px; }
  .int-setup-copy { position: static; }
  .cap-grid, .safe-grid { grid-template-columns: minmax(0, 1fr); }
  .int-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-pipe { grid-auto-flow: row; grid-auto-columns: auto; gap: 12px; }
  .wf-pipe::before { left: 38px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(176, 163, 255, .65) 0 8px, transparent 8px 16px); background-size: 2px 16px; animation-name: wf-flow-y; }
  .wf-pipe > li { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: 16px 18px; }
  .wf-card-feature { grid-template-columns: minmax(0, 1fr); }
}
@keyframes wf-flow-y { to { background-position: 0 16px; } }
@media (max-width: 760px) {
  .int-hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .int-hero-brand { gap: 12px; }
  .int-hero-logo img.logo, .int-hero-logo .logo-mono { width: 52px; height: 52px; border-radius: 15px; }
  .int-hero-logo img.logo { padding: 10px; }
  .int-facts { gap: 12px 24px; }
  .int-facts > div { flex: 1 1 140px; }
  .int-aka { margin-top: -4px; }

  .cn { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 34px auto 34px auto; justify-items: center; height: auto; padding: 22px 16px; border-radius: 22px; }
  .cn-wires { width: 2px; height: 34px; overflow: hidden; background: repeating-linear-gradient(180deg, var(--accent, var(--brand)) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: cn-drop .9s linear infinite; }
  .cn-wires-r { background-image: repeating-linear-gradient(180deg, var(--brand) 0 6px, transparent 6px 12px); }
  .cn-wires > * { display: none; }
  .cn-platform, .cn-hub { width: min(260px, 100%); }
  .cn-platform { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; align-items: center; column-gap: 14px; row-gap: 2px; padding: 14px 16px; text-align: left; }
  .cn-platform img.logo, .cn-platform .logo-mono { grid-row: span 2; width: 52px; height: 52px; border-radius: 15px; }
  .cn-platform img.logo { padding: 10px; }
  .cn-platform b { margin: 0; align-self: end; }
  .cn-platform small { align-self: start; }
  .cn-ring { display: none; }
  .cn-hub { grid-template-columns: auto auto; column-gap: 12px; padding: 14px 18px; }
  .cn-hub-mark { grid-row: span 2; }
  .cn-hub-mark .mark { width: 34px; height: 34px; }
  .cn-hub b, .cn-hub small { justify-self: start; }
  .cn-clients { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .cn-client { flex-direction: column; gap: 6px; padding: 10px 4px; font-size: 12.5px; text-align: center; }

  .int-subnav-title { display: none; }
  .int-subnav-links { margin: 0 -8px; }
  .int-subnav-inner { height: 52px; }

  .int-demo-tools span { margin-left: 0; }
  .cap-card { padding: 22px; }
  .cap-guard { padding: 20px; }
  .tool-all > summary { padding: 16px; gap: 12px; }
  .tool-all-ico { display: none; }
  .prompt-grid .prompt { padding: 20px 20px 24px; font-size: 16.5px; }
  .client-cards { grid-template-columns: minmax(0, 1fr); }
  .client-card { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .client-card-copy { flex: 1; min-width: 0; }
  .client-card-go { width: 100%; margin-top: 0; padding-left: 42px; }
  .safe-card { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .int-cats { grid-template-columns: minmax(0, 1fr); }
  .int-finder .finder-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
  .int-finder .finder-chips::-webkit-scrollbar { display: none; }
  .int-finder .finder-chips button { flex: none; }
  .int-hub-kpis { margin-top: 44px; }
  /* Compact integration cards on phones: logo beside the name. */
  .int-grid { gap: 10px; }
  .int-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "logo title" "logo meta" "logo desc"; column-gap: 14px; row-gap: 4px; align-items: start; padding: 16px; border-radius: 16px; }
  .int-card-top { display: contents; }
  .int-card-logo { grid-area: logo; }
  .int-card h3 { grid-area: title; font-size: 17px; }
  .int-card-top .status { grid-area: meta; justify-self: start; }
  .int-card p { grid-area: desc; font-size: 14px; }
  .int-card-foot { display: none; }

  .mcpd { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 30px auto 30px auto; justify-items: stretch; height: auto; padding: 22px 16px; }
  .mcpd-col { align-self: auto; }
  .mcpd-h { position: static; margin-bottom: 10px; }
  .mcpd-nodes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; height: auto; }
  .mcpd-wires { justify-self: center; width: 2px; height: 30px; background: repeating-linear-gradient(180deg, var(--brand-ink) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: cn-drop .9s linear infinite; }
  .mcpd-wires > * { display: none; }
  .mcpd-gate { justify-self: center; width: min(280px, 100%); }
  .int-wish { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .int-wish .chips { grid-column: auto; }

  .wf-tools .finder-search-wf { max-width: none; }
  .wf-tools .finder-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
  .wf-tools .finder-chips button { flex: none; }
  .wf-group-soon { margin-top: 56px; }
  .wf-card { padding: 20px; }
  .wf-card-feature { grid-column: auto; }
  .wf-card-visual { display: none; }
  .wf-pipe > li { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cn-glow, .cn-ring, .wf-hero-visual::before, .mcpd::before { animation: none !important; }
  .wf-pipe::before, .cn-wires, .mcpd-wires { animation: none !important; }
}
