/* ScreenCrate MCP — product-image-led specification preview */

.mcp-page {
  --mcp-blue: #315cf5;
  --mcp-lime: #c8f34a;
  --mcp-dark: #0e1411;
  --mcp-panel: #151c18;
  --mcp-green: #72d78f;
  color: var(--ink);
  background: var(--bone-soft);
}

.mcp-page main { overflow: hidden; }
.mcp-page :where(input, select) { font: inherit; }
.mcp-page :where(ol, ul, dl, dd) { margin: 0; padding: 0; }
.mcp-page :where(ol, ul) { list-style: none; }
.mcp-page .site-header { background: rgba(248, 246, 241, 0.92); }
.mcp-page .nav-links .is-current { color: var(--ink); }
.mcp-page .nav-links .is-current::after { right: 0; }

/* Status bar */
.announcement-bar {
  position: relative;
  z-index: 51;
  min-height: 38px;
  color: #dce4df;
  background: var(--mcp-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.announcement-inner {
  min-height: 38px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.announcement-kicker,
.announcement-inner > a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.announcement-kicker {
  gap: 9px;
  color: var(--mcp-lime);
  font: 600 7px/1 var(--mono);
  letter-spacing: 0.12em;
}

.announcement-kicker i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 243, 74, 0.08);
}

.announcement-inner p {
  overflow: hidden;
  color: #9ca8a1;
  font: 450 9px/1.3 var(--mono);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-inner > a {
  gap: 9px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.announcement-inner > a span:last-child { color: var(--mcp-lime); }

/* Shared section typography */
.mcp-page .page-section {
  padding: 140px 0;
  border-color: var(--line);
}

.section-heading.split-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.58fr);
  align-items: start;
  gap: clamp(50px, 7vw, 110px);
}

.section-heading.split-heading > div { max-width: 890px; }

.section-heading h2,
.approval-copy h2,
.beta-copy h2,
.subpage-faq .faq-heading h2 {
  font-family: var(--display);
  font-size: clamp(54px, 5vw, 76px);
  font-weight: 405;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.section-heading h2 em,
.approval-copy h2 em,
.subpage-faq .faq-heading h2 em {
  color: var(--mcp-blue);
  font-weight: 350;
}

.section-heading > div > p {
  max-width: 670px;
  margin-top: 26px;
  color: #647069;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: -0.015em;
}

.light-heading { color: #f2f5f3; }
.light-heading h2 em { color: var(--mcp-lime); }
.light-heading > div > p { color: #8c9891; }

.button-signal {
  color: var(--mcp-dark);
  background: var(--mcp-lime);
  border-color: var(--mcp-lime);
}

.button-signal:hover {
  color: #fff;
  background: var(--mcp-blue);
  border-color: var(--mcp-blue);
}

/* Hero */
.mcp-hero.page-hero {
  padding: 106px 0 110px;
  background:
    radial-gradient(circle at 82% 10%, rgba(49, 92, 245, 0.1), transparent 28%),
    var(--bone-soft);
}

.mcp-hero.page-hero::before {
  width: 650px;
  height: 650px;
  right: -290px;
  top: -330px;
  background: radial-gradient(circle, rgba(200, 243, 74, 0.14), transparent 66%);
}

.mcp-hero-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: clamp(55px, 8vw, 125px);
}

.mcp-hero .page-hero-copy h1 {
  max-width: 960px;
  margin-top: 28px;
  font-size: clamp(68px, 7.2vw, 104px);
  line-height: 0.9;
}

.mcp-hero .page-hero-copy h1 span,
.mcp-hero .page-hero-copy h1 em { display: block; }

.mcp-hero .page-hero-copy h1 em { color: var(--mcp-blue); }

.mcp-hero .page-hero-lede {
  max-width: 690px;
  margin-top: 31px;
  color: #56615a;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -0.018em;
}

.mcp-hero .hero-actions { margin-top: 34px; }

.mcp-mark {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  color: var(--mcp-dark);
  background: var(--mcp-lime);
  border-radius: 5px;
  font: 700 8px/1 var(--mono);
}

.hero-spec-note {
  padding: 28px;
  background: #efebe2;
  border: 1px solid rgba(16, 22, 19, 0.13);
  border-radius: 11px;
}

.spec-note-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mcp-blue);
  font: 600 7px/1 var(--mono);
  letter-spacing: 0.11em;
}

.spec-note-status i {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(49, 92, 245, 0.08);
}

.hero-spec-note > strong {
  margin-top: 20px;
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 480;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero-spec-note > p {
  margin-top: 13px;
  color: #6b746e;
  font-size: 10px;
  line-height: 1.65;
}

.hero-spec-note dl {
  margin-top: 23px;
  border-top: 1px solid var(--line);
}

.hero-spec-note dl > div {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  font: 500 7px/1.3 var(--mono);
}

.hero-spec-note dt { color: #707a73; }
.hero-spec-note dd { color: var(--ink); text-align: right; }

.mcp-product-figure {
  position: relative;
  z-index: 2;
  margin: 82px 0 0;
}

.product-figure-frame {
  overflow: hidden;
  background: #0b1110;
  border: 1px solid rgba(16, 22, 19, 0.76);
  border-radius: 16px;
  box-shadow:
    0 42px 95px rgba(16, 22, 19, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.1) inset;
}

.product-figure-bar {
  min-height: 52px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 15px;
  color: #87928c;
  background: #121918;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font: 500 6.5px/1 var(--mono);
  letter-spacing: 0.1em;
}

.product-figure-bar > span:first-child {
  display: flex;
  gap: 6px;
}

.product-figure-bar > span:first-child i {
  width: 8px;
  height: 8px;
  background: #4f5a54;
  border-radius: 50%;
}

.product-figure-bar > span:first-child i:first-child { background: #ec7166; }
.product-figure-bar > span:first-child i:nth-child(2) { background: #e3b655; }
.product-figure-bar > span:first-child i:nth-child(3) { background: #5fc07a; }

.figure-private {
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mcp-lime);
  background: rgba(200, 243, 74, 0.06);
  border: 1px solid rgba(200, 243, 74, 0.14);
  border-radius: 999px;
}

.figure-private i {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}

.product-figure-frame img {
  width: 100%;
  height: auto;
  display: block;
  background: #0b1110;
}

.mcp-product-figure figcaption {
  min-height: 46px;
  padding: 12px 4px 0;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  color: #717a74;
  font: 450 7px/1.5 var(--mono);
}

.mcp-product-figure figcaption b {
  color: #929a95;
  font-weight: 500;
  white-space: nowrap;
}

.hero-principles {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-principles li {
  min-height: 118px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 15px;
  border-right: 1px solid var(--line);
}

.hero-principles li:last-child { border-right: 0; }

.hero-principles li > span,
.step-index {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--mcp-blue);
  border: 1px solid rgba(49, 92, 245, 0.22);
  border-radius: 50%;
  font: 500 7px/1 var(--mono);
}

.hero-principles li > div { min-width: 0; }
.hero-principles strong { font-size: 11px; font-weight: 700; }
.hero-principles p { margin-top: 6px; color: #737c76; font-size: 9px; line-height: 1.55; }

/* Proposed workflow */
.workflow-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(49, 92, 245, 0.07), transparent 24%),
    var(--bone-soft);
}

.workflow-steps {
  margin-top: 74px !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(16, 22, 19, 0.13);
  border: 1px solid rgba(16, 22, 19, 0.13);
  border-radius: 12px;
}

.workflow-steps li {
  min-height: 390px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: #f5f3ed;
}

.workflow-steps small {
  margin-top: 48px;
  color: var(--mcp-blue);
  font: 600 7px/1 var(--mono);
  letter-spacing: 0.12em;
}

.workflow-steps h3 {
  max-width: 330px;
  margin-top: 16px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 430;
  line-height: 1;
  letter-spacing: -0.045em;
}

.workflow-steps p {
  margin-top: 17px;
  color: #68726b;
  font-size: 11px;
  line-height: 1.68;
}

.workflow-steps li > b {
  margin-top: auto;
  padding-top: 30px;
  color: #78817b;
  font: 500 7px/1.4 var(--mono);
  letter-spacing: 0.05em;
}

.browser-path-note {
  margin-top: 24px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  background: #ebe7de;
  border: 1px solid rgba(16, 22, 19, 0.12);
  border-radius: 9px;
}

.browser-path-note > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--mcp-blue);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
}

.browser-path-note > div { min-width: 0; }
.browser-path-note strong { font-family: var(--display); font-size: 19px; font-weight: 520; letter-spacing: -0.02em; }
.browser-path-note p { max-width: 850px; margin-top: 7px; color: #657069; font-size: 10px; line-height: 1.65; }
.browser-path-note > a { display: inline-flex; align-items: center; gap: 10px; color: var(--mcp-blue); font-size: 10px; font-weight: 700; white-space: nowrap; }

/* Local approval */
.approval-section {
  color: #eef3ef;
  background:
    radial-gradient(circle at 10% 100%, rgba(200, 243, 74, 0.06), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(49, 92, 245, 0.16), transparent 27%),
    var(--mcp-dark);
  border-color: rgba(255, 255, 255, 0.09) !important;
}

.approval-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  align-items: center;
  gap: clamp(70px, 10vw, 150px);
}

.approval-copy h2 { margin-top: 30px; }
.approval-copy h2 span,
.approval-copy h2 em { display: block; }
.approval-copy h2 em { color: var(--mcp-lime); }

.approval-copy > p {
  max-width: 560px;
  margin-top: 27px;
  color: #8b9790;
  font-size: 14px;
  line-height: 1.75;
}

.approval-status {
  max-width: 540px;
  margin-top: 34px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #87938c;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  font: 450 7px/1.55 var(--mono);
}

.approval-status i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--mcp-lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 243, 74, 0.07);
}

.approval-rules {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.approval-rules article {
  min-height: 120px;
  padding: 20px 8px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.approval-rules article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--mcp-lime);
  border: 1px solid rgba(200, 243, 74, 0.18);
  border-radius: 50%;
  font: 500 7px/1 var(--mono);
}

.approval-rules strong { font-family: var(--display); font-size: 23px; font-weight: 450; letter-spacing: -0.03em; }
.approval-rules p { max-width: 600px; margin-top: 7px; color: #839088; font-size: 10px; line-height: 1.6; }

/* Resource binding */
.resources-section { background: #efede6; }

.resource-binding-panel {
  min-width: 0;
  margin-top: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(16, 22, 19, 0.13);
  border: 1px solid rgba(16, 22, 19, 0.14);
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(16, 22, 19, 0.09);
}

.binding-manifest,
.binding-rules { min-width: 0; padding: 30px; background: #f8f6f1; }
.binding-rules { background: var(--mcp-panel); color: #eef3ef; }

.binding-head {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.binding-head > span { display: inline-flex; align-items: center; gap: 10px; font: 600 10px/1 var(--mono); }
.binding-head > span i { width: 7px; height: 7px; background: var(--mcp-green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(114, 215, 143, 0.09); }
.binding-head small { color: #7a837d; font: 500 6px/1 var(--mono); letter-spacing: 0.1em; }

.binding-uri {
  min-width: 0;
  min-height: 46px;
  margin-top: 12px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #7b857e;
  background: #eeebe4;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: 450 8px/1 var(--mono);
}

.binding-uri span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.binding-uri b { color: var(--mcp-blue); font-weight: 500; white-space: nowrap; }

.binding-manifest ul { margin-top: 18px; border-top: 1px solid var(--line); }

.binding-manifest li {
  min-width: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.resource-kind {
  width: 38px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  font: 600 6px/1 var(--mono);
}

.image-kind { color: var(--mcp-blue); background: rgba(49, 92, 245, 0.08); }
.context-kind { color: #617d13; background: rgba(145, 188, 31, 0.1); }
.note-kind { color: #b75843; background: rgba(237, 92, 71, 0.09); }

.binding-manifest li > div { min-width: 0; display: grid; gap: 6px; }
.binding-manifest li strong { overflow: hidden; font: 600 9px/1 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.binding-manifest li small { overflow: hidden; color: #778079; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.binding-manifest li > b { color: #6e7972; font: 600 5.5px/1 var(--mono); letter-spacing: 0.08em; }

.binding-rules > small { color: var(--mcp-lime); font: 600 7px/1 var(--mono); letter-spacing: 0.11em; }
.binding-rules h3 { max-width: 430px; margin-top: 25px; font-family: var(--display); font-size: 39px; font-weight: 420; line-height: 1; letter-spacing: -0.045em; }
.binding-rules > p { max-width: 450px; margin-top: 20px; color: #89958e; font-size: 11px; line-height: 1.7; }
.binding-rules dl { margin-top: 42px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

.binding-rules dl > div {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font: 500 7px/1.4 var(--mono);
}

.binding-rules dt { color: #78857d; }
.binding-rules dd { color: #cad2cd; text-align: right; }

/* Compatible clients */
.clients-section {
  color: #edf2ef;
  background:
    radial-gradient(circle at 85% 10%, rgba(49, 92, 245, 0.16), transparent 28%),
    var(--mcp-dark);
  border-color: rgba(255, 255, 255, 0.09) !important;
}

.capability-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
}

.capability-grid article {
  min-height: 340px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.025);
}

.capability-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--mcp-lime);
  background: rgba(200, 243, 74, 0.055);
  border: 1px solid rgba(200, 243, 74, 0.13);
  border-radius: 9px;
  font: 600 11px/1 var(--mono);
}

.capability-grid small { margin-top: 56px; display: block; color: #69756e; font: 600 6px/1 var(--mono); letter-spacing: 0.1em; }
.capability-grid h3 { margin-top: 15px; font-family: var(--display); font-size: 32px; font-weight: 430; letter-spacing: -0.04em; }
.capability-grid p { margin-top: 16px; color: #849089; font-size: 10px; line-height: 1.65; }

.compatibility-note {
  margin-top: 22px;
  padding: 19px 22px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 14px;
  color: #89958e;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  font-size: 9px;
  line-height: 1.65;
}

.compatibility-note i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--mcp-lime);
  border: 1px solid rgba(200, 243, 74, 0.18);
  border-radius: 50%;
  font: 600 8px/1 var(--mono);
  font-style: normal;
}

.compatibility-note strong { color: #dbe2de; }

/* Proposed MCP interface */
.interface-section { background: var(--bone-soft); }

.tool-table {
  margin-top: 72px;
  overflow: hidden;
  background: #fffefa;
  border: 1px solid rgba(16, 22, 19, 0.14);
  border-radius: 11px;
  box-shadow: 0 25px 60px rgba(16, 22, 19, 0.06);
}

.tool-table-head,
.tool-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.7fr) 90px;
  align-items: center;
  gap: 30px;
}

.tool-table-head {
  min-height: 52px;
  padding: 0 28px;
  color: #78817b;
  background: #edebe4;
  border-bottom: 1px solid var(--line);
  font: 600 6px/1 var(--mono);
  letter-spacing: 0.1em;
}

.tool-row {
  min-height: 84px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, padding-left 180ms var(--ease);
}

.tool-row:last-child { border-bottom: 0; }
.tool-row:hover,
.tool-row.is-active { padding-left: 34px; background: #f5f3ed; }
.tool-row code { color: #24322a; font: 500 10px/1.4 var(--mono); overflow-wrap: anywhere; }
.tool-row p { color: #6d7770; font-size: 10px; line-height: 1.55; }
.tool-row > b { justify-self: start; padding: 6px 8px; color: var(--mcp-blue); background: rgba(49, 92, 245, 0.08); border-radius: 4px; font: 600 5.5px/1 var(--mono); letter-spacing: 0.08em; }

/* Connection options */
.boundary-section { background: #efede6; }
.boundary-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.boundary-card {
  min-height: 520px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  background: #f8f6f1;
  border: 1px solid rgba(16, 22, 19, 0.13);
  border-radius: 11px;
}

.boundary-card.is-primary {
  color: #edf3ef;
  background: var(--mcp-panel);
  border-color: rgba(16, 22, 19, 0.72);
  box-shadow: 0 30px 60px rgba(16, 22, 19, 0.14);
}

.boundary-status {
  width: max-content;
  max-width: 100%;
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mcp-blue);
  background: rgba(49, 92, 245, 0.07);
  border: 1px solid rgba(49, 92, 245, 0.13);
  border-radius: 999px;
  font: 600 5.5px/1.35 var(--mono);
  letter-spacing: 0.07em;
}

.boundary-card.is-primary .boundary-status { color: var(--mcp-lime); background: rgba(200, 243, 74, 0.06); border-color: rgba(200, 243, 74, 0.14); }
.boundary-status i { width: 5px; height: 5px; flex: 0 0 auto; background: currentColor; border-radius: 50%; }
.boundary-status.planned { color: #717b75; }
.boundary-card > small { margin-top: 54px; color: var(--mcp-blue); font: 600 7px/1 var(--mono); letter-spacing: 0.12em; }
.boundary-card.is-primary > small { color: var(--mcp-lime); }
.boundary-card h3 { max-width: 560px; margin-top: 18px; font-family: var(--display); font-size: clamp(36px, 3.5vw, 49px); font-weight: 420; line-height: 1; letter-spacing: -0.045em; }
.boundary-card > p { max-width: 560px; margin-top: 20px; color: #69736c; font-size: 12px; line-height: 1.7; }
.boundary-card.is-primary > p { color: #8c9891; }
.boundary-card ul { margin-top: auto; padding-top: 35px; border-top: 1px solid var(--line); }
.boundary-card.is-primary ul { border-color: rgba(255, 255, 255, 0.1); }
.boundary-card li { min-height: 42px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 9px; color: #6c766f; border-bottom: 1px solid var(--line); font-size: 10px; }
.boundary-card.is-primary li { color: #b5c0b9; border-color: rgba(255, 255, 255, 0.08); }
.boundary-card li i,
.boundary-card li > span:first-child { color: var(--mcp-blue); font-style: normal; }
.boundary-card.is-primary li i { color: var(--mcp-lime); }

/* FAQ */
.subpage-faq { background: var(--bone-soft); }
.subpage-faq .faq-grid { grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr); gap: clamp(70px, 9vw, 140px); }
.subpage-faq .faq-heading { position: sticky; top: 115px; align-self: start; }
.subpage-faq .faq-heading h2 { margin-top: 28px; font-size: clamp(48px, 4.5vw, 68px); }
.subpage-faq .faq-heading h2 span,
.subpage-faq .faq-heading h2 em { display: block; }
.subpage-faq .faq-heading > p { max-width: 390px; margin-top: 23px; color: #68726b; font-size: 12px; line-height: 1.7; }
.subpage-faq .faq-list summary { min-height: 92px; padding-right: 6px; font-size: 15px; }
.subpage-faq .faq-list details p { max-width: 730px; padding: 0 50px 30px 0; font-size: 12px; line-height: 1.75; }

/* Beta request */
.beta-section {
  color: #edf3ef;
  background:
    radial-gradient(circle at 12% 110%, rgba(200, 243, 74, 0.08), transparent 30%),
    radial-gradient(circle at 90% 0, rgba(49, 92, 245, 0.17), transparent 30%),
    var(--mcp-dark);
  border-color: rgba(255, 255, 255, 0.09) !important;
}

.beta-panel { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(430px, 0.94fr); align-items: center; gap: clamp(70px, 10vw, 150px); }
.beta-copy h2 { max-width: 760px; margin-top: 30px; }
.beta-copy h2 span,
.beta-copy h2 em { display: block; }
.beta-copy h2 em { color: var(--mcp-lime); font-weight: 350; }
.beta-copy > p { max-width: 600px; margin-top: 26px; color: #8a9690; font-size: 14px; line-height: 1.72; }
.beta-copy ul { max-width: 600px; margin-top: 38px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.beta-copy li { min-height: 48px; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 10px; color: #afb9b3; border-bottom: 1px solid rgba(255, 255, 255, 0.09); font-size: 10px; }
.beta-copy li i { color: var(--mcp-lime); font-style: normal; }

.beta-form-card { overflow: hidden; color: var(--ink); background: #f5f3ec; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 13px; box-shadow: 0 32px 75px rgba(0, 0, 0, 0.25); }
.beta-form-top { min-height: 86px; padding: 18px 22px; display: grid; grid-template-columns: 45px 1fr; align-items: center; gap: 14px; background: #eeebe3; border-bottom: 1px solid var(--line); }
.beta-form-icon { width: 45px; height: 45px; display: grid; place-items: center; color: var(--mcp-dark); background: var(--mcp-lime); border-radius: 9px; font: 700 13px/1 var(--mono); }
.beta-form-top > div { display: grid; gap: 6px; }
.beta-form-top small { color: var(--mcp-blue); font: 600 6px/1 var(--mono); letter-spacing: 0.1em; }
.beta-form-top strong { font-family: var(--display); font-size: 23px; font-weight: 480; letter-spacing: -0.025em; }

.page-form { padding: 25px 24px 24px; display: grid; }
.page-form label { margin: 0 0 8px; color: #626c66; font: 600 7px/1 var(--mono); letter-spacing: 0.07em; }
.page-form input,
.page-form select { width: 100%; height: 50px; margin-bottom: 18px; padding: 0 14px; color: var(--ink); background: #fff; border: 1px solid rgba(16, 22, 19, 0.16); border-radius: 7px; outline: none; font-size: 11px; transition: border-color 180ms ease, box-shadow 180ms ease; }
.page-form input:focus,
.page-form select:focus { border-color: var(--mcp-blue); box-shadow: 0 0 0 3px rgba(49, 92, 245, 0.09); }
.page-form .button { width: 100%; justify-content: space-between; margin-top: 2px; }
.page-form .form-disclaimer { margin-top: 12px; color: #818a84; font-size: 7.5px; line-height: 1.5; }
.page-form.is-error input { border-color: var(--vermilion); }
.page-form.is-error .form-disclaimer { color: var(--vermilion); }
.page-form.is-success input { border-color: var(--mcp-green); }
.page-form.is-success .form-disclaimer { color: #267b58; }
.subpage-footer { border-top: 0; }

/* Responsive */
@media (max-width: 1180px) {
  .mcp-hero-intro { grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr); gap: 55px; }
  .mcp-hero .page-hero-copy h1 { font-size: clamp(66px, 7.5vw, 88px); }
  .approval-layout { gap: 70px; }
  .resource-binding-panel { grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); }
}

@media (max-width: 960px) {
  .announcement-inner { gap: 14px; }
  .announcement-inner p { text-align: left; }
  .mcp-page .page-section { padding: 110px 0; }
  .section-heading.split-heading { grid-template-columns: 1fr; gap: 34px; }

  .mcp-hero.page-hero { padding: 88px 0 90px; }
  .mcp-hero-intro { grid-template-columns: 1fr; align-items: start; gap: 52px; }
  .mcp-hero .page-hero-copy { max-width: 800px; }
  .mcp-hero .page-hero-copy h1 { font-size: clamp(70px, 10vw, 94px); }
  .hero-spec-note { max-width: 620px; }
  .mcp-product-figure { margin-top: 64px; }

  .hero-principles { grid-template-columns: 1fr; }
  .hero-principles li { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-principles li:last-child { border-bottom: 0; }

  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-steps li { min-height: 330px; }
  .browser-path-note { grid-template-columns: 38px 1fr; }
  .browser-path-note > a { grid-column: 2; }

  .approval-layout { grid-template-columns: 1fr; gap: 65px; }
  .approval-copy { max-width: 720px; }

  .resource-binding-panel { grid-template-columns: 1fr; }
  .binding-rules { min-height: 430px; }

  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 270px; }
  .capability-grid small { margin-top: 40px; }

  .tool-table-head,
  .tool-row { grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.5fr) 70px; gap: 20px; }

  .boundary-grid { grid-template-columns: 1fr; }

  .subpage-faq .faq-grid { grid-template-columns: 1fr; gap: 60px; }
  .subpage-faq .faq-heading { position: static; }

  .beta-panel { grid-template-columns: 1fr; gap: 64px; }
  .beta-copy { max-width: 740px; }
  .beta-form-card { width: 100%; max-width: 620px; }
}

@media (max-width: 680px) {
  .announcement-bar,
  .announcement-inner { min-height: 34px; }
  .announcement-inner { grid-template-columns: 1fr auto; gap: 10px; }
  .announcement-inner p,
  .announcement-inner > a span:first-child { display: none; }
  .announcement-inner > a { font-size: 14px; }

  .mcp-page .page-section { padding: 86px 0; }
  .section-heading h2,
  .approval-copy h2,
  .beta-copy h2,
  .subpage-faq .faq-heading h2 { font-size: 48px; }

  .mcp-hero.page-hero { padding: 65px 0 70px; }
  .mcp-hero .page-hero-copy h1 { font-size: clamp(50px, 15.2vw, 66px); line-height: 0.94; }
  .mcp-hero .page-hero-lede { font-size: 14px; }
  .mcp-hero .hero-actions { width: 100%; flex-direction: column; }
  .mcp-hero .hero-actions .button { width: 100%; }
  .hero-spec-note { padding: 22px; }
  .hero-spec-note > strong { font-size: 25px; }

  .mcp-product-figure { width: calc(100% + 8px); margin-left: -4px; margin-top: 52px; }
  .product-figure-frame { border-radius: 10px; }
  .product-figure-bar { min-height: 42px; padding-inline: 11px; grid-template-columns: 48px 1fr auto; }
  .product-figure-bar > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .figure-private { padding: 5px 6px; }
  .figure-private b { display: none; }
  .product-figure-frame img { min-height: 238px; object-fit: cover; object-position: center; }
  .mcp-product-figure figcaption { display: block; padding-inline: 2px; }
  .mcp-product-figure figcaption b { margin-top: 5px; display: block; }

  .hero-principles { margin-top: 24px; }
  .hero-principles li { padding: 20px 8px; }

  .workflow-steps { margin-top: 52px !important; }
  .workflow-steps li { min-height: 340px; padding: 25px; }
  .workflow-steps h3 { font-size: 31px; }
  .browser-path-note { padding: 22px; grid-template-columns: 1fr; align-items: start; }
  .browser-path-note > a { grid-column: 1; }

  .approval-layout { gap: 50px; }
  .approval-rules article { min-height: 130px; padding-inline: 0; }
  .approval-rules strong { font-size: 21px; }

  .resource-binding-panel { margin-top: 52px; }
  .binding-manifest,
  .binding-rules { padding: 22px; }
  .binding-head { display: grid; gap: 12px; }
  .binding-manifest li { min-height: 76px; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  .binding-manifest li > b { display: none; }
  .binding-uri { font-size: 6.5px; }
  .binding-rules { min-height: 450px; }
  .binding-rules h3 { font-size: 35px; }

  .capability-grid { margin-top: 52px; }
  .capability-grid article { min-height: 280px; padding: 26px; }
  .compatibility-note { align-items: start; }

  .tool-table { margin-top: 52px; }
  .tool-table-head { display: none; }
  .tool-row { min-height: 124px; padding: 19px; grid-template-columns: 1fr auto; gap: 10px 15px; }
  .tool-row:hover,
  .tool-row.is-active { padding-left: 23px; }
  .tool-row p { grid-column: 1 / -1; grid-row: 2; }
  .tool-row > b { grid-column: 2; grid-row: 1; }

  .boundary-grid { margin-top: 52px; }
  .boundary-card { min-height: 540px; padding: 25px; }
  .boundary-card > small { margin-top: 43px; }
  .boundary-card h3 { font-size: 36px; }

  .subpage-faq .faq-grid { gap: 48px; }
  .subpage-faq .faq-list summary { min-height: 82px; font-size: 13px; }
  .subpage-faq .faq-list details p { padding-right: 18px; font-size: 11px; }

  .beta-panel { gap: 52px; }
  .beta-form-card { border-radius: 11px; }
  .beta-form-top { padding: 16px; }
  .page-form { padding: 20px 16px; }
}

@media (max-width: 420px) {
  .mcp-hero .page-hero-copy h1 { font-size: 49px; }
  .product-figure-frame img { min-height: 220px; }
  .hero-principles li { grid-template-columns: 31px 1fr; gap: 11px; }
  .approval-rules article { grid-template-columns: 34px 1fr; gap: 13px; }
  .approval-rules article > span { width: 31px; height: 31px; }
  .binding-uri span { max-width: 124px; }
  .beta-form-top strong { font-size: 20px; }
}
