/* OutSends — MCP hub & connector pages */

body.mcp-page {
  --mcp-brand: #7c5cfa;
  --mcp-brand-rgb: 124, 92, 250;
  background: var(--os-bg);
}

/* Announcement bar — explicit in HTML to avoid layout shift */
body.mcp-page .announcement-bar {
  background: #17242a;
  color: #f1ebe4;
  font-size: 13px;
  font-weight: 500;
  min-height: 40px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.mcp-page .announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding-right: 26px;
}

body.mcp-page .announcement-tag {
  background: var(--zd-lime);
  color: var(--zd-lime-ink);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  flex-shrink: 0;
}

body.mcp-page .announcement-text {
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.4;
}

body.mcp-page .announcement-text strong {
  color: var(--zd-lime);
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.mcp-page .announcement-link {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  flex-shrink: 0;
  transition: color 0.18s var(--ease-out);
}

body.mcp-page .announcement-link:hover { color: var(--zd-lime) !important; }

body.mcp-page .announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
}

body.mcp-page .announcement-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* The shared navbar switches to burger at 1000px; MCP pages need it earlier */
@media (max-width: 1120px) {
  body.mcp-page .os-nav-links { display: none !important; }
  body.mcp-page .os-burger {
    display: inline-flex !important;
    flex-direction: column;
    gap: 4px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--os-line);
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  body.mcp-page .os-burger span { display: block; width: 16px; height: 1.5px; background: var(--os-ink); }
  body.mcp-page .os-nav-cta .os-signin { display: none !important; }
  body.mcp-page .os-nav-inner { justify-content: space-between !important; }
  body.mcp-page .os-nav-cta .btn { padding: 9px 16px !important; font-size: 13px !important; }
}

@media (max-width: 640px) {
  body.mcp-page .announcement-close { width: 32px; height: 32px; right: 4px; font-size: 13px; }
  body.mcp-page .announcement-inner { padding-right: 30px; }
  body.mcp-page .announcement-bar { font-size: 12px; padding: 7px 12px; }
  body.mcp-page .announcement-text { font-size: 12px; }
}

/* Base */
.mcp-main {
  overflow: clip;
  background: var(--os-bg);
}

.mcp-main a:focus-visible,
.mcp-main button:focus-visible,
.mcp-main summary:focus-visible {
  outline: 2px solid var(--mcp-brand);
  outline-offset: 3px;
}

.mcp-main code {
  font-family: var(--f-mono);
  font-size: 0.9em;
  background: var(--os-surface-2);
  border: 1px solid var(--os-line);
  padding: 2px 6px;
  border-radius: 5px;
}

/* Hero */
.mcp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 88px) 0 clamp(48px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--mcp-brand-rgb), 0.14), transparent 60%),
    radial-gradient(circle at 82% 12%, rgba(56, 189, 248, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
}

.mcp-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.mcp-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 20px;
  font-size: 12px;
  color: var(--os-muted);
}

.mcp-breadcrumbs a { color: var(--os-muted); }
.mcp-breadcrumbs a:hover { color: var(--os-ink); }
.mcp-breadcrumbs [aria-current="page"] { color: var(--os-ink-3); }

.mcp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(var(--mcp-brand-rgb), 0.08);
  border: 1px solid rgba(var(--mcp-brand-rgb), 0.22);
  color: var(--mcp-brand);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mcp-eyebrow img {
  width: 18px;
  height: 18px;
  display: block;
}

.mcp-title {
  max-width: 940px;
  margin: 0 auto 18px;
  font-family: var(--f-heading);
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--os-ink);
  text-wrap: balance;
}

.mcp-lead {
  max-width: 730px;
  margin: 0 auto 30px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
  color: var(--os-ink-3);
}

.mcp-brand-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 22px;
}

.mcp-brand-wrap img {
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  border-radius: 18px !important;
  display: block !important;
  box-shadow: 0 12px 30px rgba(23, 36, 42, 0.12);
}

.mcp-brand-wrap .cl-icon {
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 18px;
  font-size: 24px;
  box-shadow: 0 12px 30px rgba(23, 36, 42, 0.12);
}

.mcp-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
}

.mcp-actions .btn {
  min-height: 44px;
}

/* Prompt terminal */
.mcp-prompt {
  max-width: 820px;
  margin: 0 auto 30px;
  padding: 20px 22px;
  text-align: left;
  background: #0f131d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 26px 64px -28px rgba(15, 19, 29, 0.6);
}

.mcp-prompt-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.mcp-prompt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}

.mcp-prompt-dot:nth-child(1) { background: #ff5f57; }
.mcp-prompt-dot:nth-child(2) { background: #febc2e; }
.mcp-prompt-dot:nth-child(3) { background: #28c840; }

.mcp-prompt-label {
  margin-left: 8px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: #94a3b8;
}

.mcp-prompt-text {
  font-family: var(--f-mono);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.65;
  color: #e2e8f0;
  overflow-wrap: anywhere;
}

.mcp-prompt-text::before {
  content: ">";
  margin-right: 8px;
  color: var(--mcp-brand);
  font-weight: 700;
}

.mcp-hub-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 2px 0 0;
  color: var(--os-muted);
  font-size: 12.5px;
}

.mcp-hub-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mcp-hub-trust svg {
  width: 14px;
  height: 14px;
  color: var(--os-ok);
}

/* Sections */
.mcp-section {
  padding: clamp(54px, 6.5vw, 84px) 0;
  border-top: 1px solid var(--os-line);
}

.mcp-section--soft { background: #f7f7f2; }
.mcp-section--white { background: #ffffff; }

.mcp-section-head {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.mcp-section-title {
  margin: 0 0 12px;
  font-family: var(--f-heading);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--os-ink);
  text-wrap: balance;
}

.mcp-section-lead {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--os-ink-3);
}

/* Feature cards */
.mcp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.mcp-feature-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--os-line);
  border-radius: 14px;
  color: var(--os-ink-2);
  font-size: 15px;
  line-height: 1.55;
  box-shadow: 0 1px 2px rgba(38, 56, 69, 0.03);
}

.mcp-feature-grid li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--mcp-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206%209%2017l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206%209%2017l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Steps */
.mcp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: mcpstep;
}

.mcp-steps .cl-step {
  position: relative;
  display: block;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--os-line);
  border-radius: 16px;
  box-shadow: 0 8px 28px -24px rgba(38, 56, 69, 0.35);
}

.mcp-steps .cl-step::before {
  counter-increment: mcpstep;
  content: counter(mcpstep);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(var(--mcp-brand-rgb), 0.12);
  color: var(--mcp-brand);
  font-size: 14px;
  font-weight: 800;
}

.mcp-steps .cl-step h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--os-ink);
}

.mcp-steps .cl-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--os-ink-3);
}

/* Stats */
.mcp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.mcp-stats .cl-stat {
  padding: 22px 18px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--os-line);
  border-radius: 14px;
}

.mcp-stats .cl-stat strong {
  display: block;
  font-family: var(--f-heading);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--mcp-brand);
}

.mcp-stats .cl-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--os-ink-3);
}

/* Callout, tables, pros/cons */
.mcp-main .cl-callout {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--os-line);
  border-radius: 14px;
}

.mcp-main .cl-callout.warn { background: #fff8f1; border-color: #f0c9a8; }
.mcp-main .cl-callout.info { background: #f4f8fd; border-color: #c9d8e8; }
.mcp-main .cl-callout h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--os-ink); }
.mcp-main .cl-callout p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--os-ink-2); }

.mcp-main .cl-table-wrap { max-width: 1000px; margin: 0 auto 26px; }
.mcp-main .cl-table-wrap h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: var(--os-ink); }
.mcp-main .cl-note { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--os-ink-3); }
.mcp-main .cl-table-scroll { overflow-x: auto; border: 1px solid var(--os-line); border-radius: 12px; background: #ffffff; }
.mcp-main .cl-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.mcp-main .cl-table th,
.mcp-main .cl-table td { padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.45; border-bottom: 1px solid #efe9de; }
.mcp-main .cl-table th { background: #faf7f1; color: var(--os-ink); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.mcp-main .cl-table tr:last-child td { border-bottom: 0; }
.mcp-main .cl-table td:first-child { color: var(--os-ink); font-weight: 600; }

.mcp-main .cl-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.mcp-main .cl-pc { padding: 22px 24px; background: #ffffff; border: 1px solid var(--os-line); border-radius: 14px; }
.mcp-main .cl-pc.good { background: #f5fbf7; border-color: #c9e4d2; }
.mcp-main .cl-pc.bad { background: #fdf6f5; border-color: #efd0cc; }
.mcp-main .cl-pc h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--os-ink); }
.mcp-main .cl-pc ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; }
.mcp-main .cl-pc li { font-size: 14.5px; line-height: 1.55; color: var(--os-ink-2); }

/* Prose */
.mcp-prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--os-ink-2);
}

.mcp-prose h2 {
  margin: 34px 0 12px;
  font-family: var(--f-heading);
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--os-ink);
}

.mcp-prose h2:first-child { margin-top: 0; }
.mcp-prose p { margin: 0 0 18px; }
.mcp-prose a { text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.mcp-faq {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.mcp-faq details {
  padding: 0 22px;
  background: #ffffff;
  border: 1px solid var(--os-line);
  border-radius: 14px;
}

.mcp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  color: var(--os-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.mcp-faq summary::-webkit-details-marker { display: none; }

.mcp-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--os-muted);
  font-family: var(--f-mono);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.mcp-faq details[open] summary::after {
  content: "−";
  color: var(--mcp-brand);
}

.mcp-faq p {
  margin: 0 0 20px;
  color: var(--os-ink-3);
  font-size: 15px;
  line-height: 1.65;
}

/* Related connector cards */
.mcp-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}

.mcp-related .cl-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--os-line);
  border-radius: 16px;
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.mcp-related .cl-card:hover {
  transform: translateY(-2px);
  border-color: var(--os-ink);
  box-shadow: 0 18px 42px -26px rgba(38, 56, 69, 0.45);
}

.mcp-related .cl-card h3 { margin: 0; color: var(--os-ink); font-size: 15.5px; font-weight: 700; }
.mcp-related .cl-card p { margin: 0; color: var(--os-ink-3); font-size: 13.5px; line-height: 1.5; }

/* Final CTA */
.mcp-final {
  padding: clamp(56px, 6vw, 80px) 0;
  background: #ffffff;
  border-top: 1px solid var(--os-line);
}

.mcp-final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--mcp-brand-rgb), 0.12), transparent 56%),
    #fafaf8;
  border: 1px solid var(--os-line);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(38, 56, 69, 0.045);
}

.mcp-final-copy { max-width: 600px; }

.mcp-final-copy h2 {
  margin: 0 0 10px;
  font-family: var(--f-heading);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--os-ink);
}

.mcp-final-copy p {
  margin: 0;
  color: var(--os-ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.mcp-final-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hub visual */
.mcp-hub .mcp-hero {
  padding-bottom: clamp(24px, 3vw, 40px);
}

.mcp-hub-visual {
  max-width: 1200px;
  margin: 8px auto 24px;
}

.mcp-hub-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.mcp-hub-visual .mcp-pulse,
.mcp-hub-visual .mcp-sparkle {
  transform-box: fill-box;
}

/* Hub provider cards */
.mcp-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.mcp-provider-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--os-line);
  border-radius: 18px;
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.mcp-provider-card:hover {
  transform: translateY(-3px);
  border-color: var(--os-ink);
  box-shadow: 0 22px 48px -28px rgba(38, 56, 69, 0.5);
}

.mcp-provider-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  background: var(--os-surface-2);
  border: 1px solid var(--os-line);
  border-radius: 14px;
}

.mcp-provider-logo img {
  width: 28px;
  height: 28px;
}

.mcp-provider-card h3 {
  margin: 0 0 7px;
  color: var(--os-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.mcp-provider-card p {
  margin: 0 0 18px;
  color: var(--os-ink-3);
  font-size: 14px;
  line-height: 1.55;
}

.mcp-card-link {
  margin-top: auto;
  color: var(--os-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hub tools */
.mcp-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.mcp-tool-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 156px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--os-line);
  border-radius: 14px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.mcp-tool-card:hover {
  border-color: rgba(var(--mcp-brand-rgb), 0.38);
  box-shadow: 0 16px 34px -26px rgba(38, 56, 69, 0.5);
}

.mcp-tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mcp-tool-code {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 3px 7px;
  background: var(--os-surface-2);
  border: 1px solid var(--os-line);
  border-radius: 6px;
  color: var(--os-ink);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mcp-tool-domain {
  flex: 0 0 auto;
  padding: 3px 6px;
  background: rgba(var(--mcp-brand-rgb), 0.08);
  border-radius: 999px;
  color: var(--mcp-brand);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mcp-tool-card h3 {
  margin: 0;
  color: var(--os-ink);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.mcp-tool-card p {
  margin: 0;
  color: var(--os-ink-3);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Hub connector cards */
.mcp-connector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.mcp-connector-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--os-line);
  border-radius: 16px;
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.mcp-connector-card:hover {
  transform: translateY(-2px);
  border-color: var(--os-ink);
  box-shadow: 0 18px 42px -26px rgba(38, 56, 69, 0.45);
}

.mcp-connector-card h3 { margin: 0; color: var(--os-ink); font-size: 15.5px; font-weight: 700; }
.mcp-connector-card p { margin: 0; color: var(--os-ink-3); font-size: 13.5px; line-height: 1.5; }

/* Responsive */
@media (max-width: 900px) {
  .mcp-hub-visual { display: none; }
  .mcp-provider-grid,
  .mcp-related,
  .mcp-connector-grid { grid-template-columns: 1fr; }
  .mcp-steps { grid-template-columns: 1fr; }
  .mcp-feature-grid { grid-template-columns: 1fr; }
  .mcp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcp-main .cl-proscons { grid-template-columns: 1fr; }
  .mcp-final-inner { align-items: flex-start; }
}

@media (max-width: 860px) {
  .mcp-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .mcp-actions .btn { width: 100%; max-width: 360px; }
  .mcp-final-actions { width: 100%; }
  .mcp-final-actions .btn { width: 100%; max-width: 360px; }
}

@media (max-width: 560px) {
  .mcp-tool-grid { grid-template-columns: 1fr; }
  .mcp-stats { grid-template-columns: 1fr; }
  .mcp-prompt { padding: 17px 16px; }
  .mcp-prompt-label { font-size: 10.5px; }
  .mcp-hub-trust { gap: 6px 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .mcp-main *,
  body.mcp-page .announcement-bar * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .mcp-hub-visual .mcp-pulse,
  .mcp-hub-visual .mcp-sparkle {
    display: none;
  }
}

/* Hub hero — animated MCP network visual */
.mcp-hub .mcp-hero-inner { max-width: 1240px; }

.mcp-hub .mcp-banner-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 12px auto 0;
  position: relative;
  overflow: hidden;
  height: 330px;
}

.mcp-hub .mcp-stage-responsive {
  position: relative;
  width: 1200px;
  height: 330px;
  left: 50%;
  margin-left: -600px;
  transform-origin: center top;
  font-family: var(--f-heading);
  color: #0a2540;
}

@media (max-width: 1240px) {
  .mcp-hub .mcp-banner-wrapper { height: calc(330px * ((100vw - 48px) / 1200)); }
  .mcp-hub .mcp-stage-responsive { transform: scale(calc((100vw - 48px) / 1200)); }
}

@media (max-width: 768px) {
  .mcp-hub .mcp-banner-wrapper { height: calc(330px * ((100vw - 32px) / 1200)); }
  .mcp-hub .mcp-stage-responsive { transform: scale(calc((100vw - 32px) / 1200)); }
}

@media (max-width: 760px) {
  .mcp-hub .mcp-banner-wrapper { display: none; }
}

body.mcp-page .announcement-short { display: none; }

@media (max-width: 640px) {
  body.mcp-page .announcement-bar { min-height: 0; padding: 8px 12px; }
  body.mcp-page .announcement-inner { gap: 6px; padding-right: 30px; }
  body.mcp-page .announcement-tag { display: none; }
  body.mcp-page .announcement-full { display: none; }
  body.mcp-page .announcement-short { display: inline; }
}

body.mcp-page .os-burger { flex: 0 0 auto; }
body.mcp-page .os-nav-cta { flex-shrink: 0; }

@media (max-width: 640px) {
  body.mcp-page .os-lang-menu { display: none !important; }
  body.mcp-page .os-nav-cta { gap: 0; }
  body.mcp-page .os-nav-cta .btn { padding: 9px 14px !important; }
}
