:root {
  --mcp-ink: #202230;
  --mcp-muted: #686b7a;
  --mcp-line: #e4e3e8;
  --mcp-soft: #f4f2f1;
  --mcp-paper: #fbfaf8;
  --mcp-white: #ffffff;
  --mcp-accent: #656096;
  --mcp-accent-dark: #514c7e;
  --mcp-warning: #a45f31;
  --mcp-shadow: 0 22px 60px rgba(45, 43, 61, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mcp-paper);
  color: var(--mcp-ink);
  font-family: "Public Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.mcp-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.mcp-nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--mcp-line);
}
.mcp-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.mcp-brand img { width: 33px; height: 28px; }
.mcp-nav-links { display: flex; align-items: center; gap: 24px; color: var(--mcp-muted); font-size: .94rem; font-weight: 600; }
.mcp-nav-links a:hover { color: var(--mcp-ink); }
.mcp-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.mcp-button:active { transform: translateY(1px) scale(.99); }
.mcp-button--primary { background: var(--mcp-accent); color: #fff; }
.mcp-button--primary:hover { background: var(--mcp-accent-dark); color: #fff; }
.mcp-button--secondary { border-color: var(--mcp-line); background: var(--mcp-white); }
.mcp-button--secondary:hover { border-color: #c9c7d0; }
.mcp-hero { padding: 86px 0 74px; border-bottom: 1px solid var(--mcp-line); }
.mcp-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); gap: 70px; align-items: center; }
.mcp-eyebrow { margin: 0 0 18px; color: var(--mcp-accent); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mcp-hero h1 { max-width: 660px; margin: 0; font-size: clamp(2.7rem, 5vw, 4.65rem); line-height: 1.01; letter-spacing: -.055em; }
.mcp-lede { max-width: 620px; margin: 25px 0 0; color: var(--mcp-muted); font-size: 1.14rem; line-height: 1.72; }
.mcp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mcp-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 27px 0 0; padding: 0; color: var(--mcp-muted); font-size: .9rem; list-style: none; }
.mcp-trust li { display: inline-flex; align-items: center; gap: 8px; }
.mcp-trust svg { width: 17px; height: 17px; color: var(--mcp-accent); }
.mcp-visual {
  position: relative;
  overflow: hidden;
  min-height: 442px;
  border: 1px solid var(--mcp-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--mcp-shadow);
}
.mcp-visual-label { position: absolute; top: 22px; left: 24px; z-index: 2; color: var(--mcp-muted); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mcp-visual svg { position: absolute; inset: 52px 18px 14px; width: calc(100% - 36px); height: calc(100% - 66px); }
.mcp-client-dot { stroke: #fff; stroke-width: 2; }
.mcp-client-dot--codex { fill: #7e78b5; }
.mcp-client-dot--claude { fill: #d98d62; }
.mcp-client-dot--cursor { fill: #65a58e; }
.mcp-venue-dot { stroke: #fff; stroke-width: 2; }
.mcp-venue-dot--high { fill: #2f9b43; }
.mcp-venue-dot--medium { fill: #efc85f; }
.mcp-venue-dot--low { fill: #e98182; }
.mcp-section { padding: 82px 0; border-bottom: 1px solid var(--mcp-line); }
.mcp-section--soft { background: var(--mcp-soft); }
.mcp-section-grid { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.55fr); gap: 84px; }
.mcp-section h2 { max-width: 430px; margin: 0; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.mcp-section-intro { max-width: 430px; margin: 18px 0 0; color: var(--mcp-muted); line-height: 1.7; }
.mcp-flow { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--mcp-line); border-bottom: 1px solid var(--mcp-line); }
.mcp-flow-step { min-height: 260px; padding: 26px 25px; border-left: 1px solid var(--mcp-line); }
.mcp-flow-step:first-child { border-left: 0; }
.mcp-step-number { display: inline-grid; width: 32px; height: 32px; place-items: center; margin-bottom: 26px; border-radius: 50%; background: var(--mcp-accent); color: #fff; font-size: .85rem; font-weight: 800; }
.mcp-flow-step h3 { margin: 0 0 10px; font-size: 1.08rem; line-height: 1.35; }
.mcp-flow-step p { margin: 0; color: var(--mcp-muted); font-size: .92rem; line-height: 1.6; }
.mcp-flow-step code { display: inline-block; margin-top: 20px; color: var(--mcp-accent-dark); font-size: .78rem; }
.mcp-proof-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.mcp-proof { padding: 2px 24px 2px 0; }
.mcp-proof + .mcp-proof { padding-left: 24px; border-left: 1px solid var(--mcp-line); }
.mcp-proof strong { display: block; margin-bottom: 5px; }
.mcp-proof span { color: var(--mcp-muted); font-size: .9rem; line-height: 1.5; }
.mcp-tool-index { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--mcp-line); }
.mcp-tool { position: relative; min-height: 194px; padding: 27px 30px 28px 0; border-bottom: 1px solid var(--mcp-line); }
.mcp-tool:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--mcp-line); }
.mcp-tool-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mcp-tool h3 { margin: 0; font-size: 1.08rem; }
.mcp-tool-tag { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #d9d6e7; border-radius: 6px; color: var(--mcp-accent-dark); font-size: .7rem; font-weight: 700; }
.mcp-tool p { max-width: 42ch; margin: 11px 0 0; color: var(--mcp-muted); font-size: .91rem; line-height: 1.55; }
.mcp-prompt { display: inline-block; margin-top: 18px; padding: 8px 10px; border: 1px solid var(--mcp-line); border-radius: 6px; background: #fff; color: #555767; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; }
.mcp-scale-note { margin-top: 24px; color: var(--mcp-muted); font-size: .88rem; }
.mcp-install-wrap { display: grid; grid-template-columns: minmax(220px, .66fr) minmax(0, 1.7fr); gap: 64px; align-items: start; }
.mcp-install-truths { margin-top: 34px; border-top: 1px solid var(--mcp-line); }
.mcp-install-truth { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--mcp-line); }
.mcp-install-truth strong { display: block; margin-bottom: 4px; }
.mcp-install-truth span { color: var(--mcp-muted); font-size: .88rem; line-height: 1.5; }
.mcp-install-card { overflow: hidden; border: 1px solid var(--mcp-line); border-radius: 16px; background: #fff; box-shadow: var(--mcp-shadow); }
.mcp-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--mcp-line); }
.mcp-tab { min-height: 62px; border: 0; border-right: 1px solid var(--mcp-line); border-bottom: 3px solid transparent; background: #fff; color: var(--mcp-muted); cursor: pointer; font-weight: 700; }
.mcp-tab:last-child { border-right: 0; }
.mcp-tab[aria-selected="true"] { border-bottom-color: var(--mcp-accent); color: var(--mcp-ink); }
.mcp-tab:focus-visible, .mcp-button:focus-visible, .mcp-copy:focus-visible { outline: 3px solid rgba(101, 96, 150, .25); outline-offset: 2px; }
.mcp-panel { padding: 8px 32px 31px; }
.mcp-panel[hidden] { display: none; }
.mcp-client-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--mcp-line); }
.mcp-client-step:last-of-type { border-bottom: 0; }
.mcp-client-step .mcp-step-number { margin: 0; }
.mcp-client-step h3 { margin: 2px 0 7px; font-size: 1.12rem; }
.mcp-client-step p { margin: 0; color: var(--mcp-muted); font-size: .91rem; line-height: 1.55; }
.mcp-code { position: relative; margin-top: 16px; padding: 18px 52px 18px 18px; border-radius: 9px; background: #252532; color: #f6f5f7; overflow-x: auto; }
.mcp-code code { color: inherit; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; line-height: 1.75; }
.mcp-copy { position: absolute; top: 10px; right: 10px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #454555; border-radius: 7px; background: #30303e; color: #fff; cursor: pointer; }
.mcp-copy svg { width: 16px; height: 16px; }
.mcp-reconnect { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 32px 30px; padding: 18px 20px; border: 1px solid #dcd8ea; border-radius: 10px; background: #f8f7fb; }
.mcp-reconnect strong { display: block; margin-bottom: 4px; }
.mcp-reconnect span { color: var(--mcp-muted); font-size: .86rem; line-height: 1.5; }
.mcp-inline-link { color: var(--mcp-accent-dark); font-weight: 700; white-space: nowrap; }
.mcp-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; margin-top: 56px; }
.mcp-faq details { padding: 20px 0; border-top: 1px solid var(--mcp-line); }
.mcp-faq summary { cursor: pointer; font-weight: 700; }
.mcp-faq p { margin: 12px 0 0; color: var(--mcp-muted); font-size: .9rem; line-height: 1.6; }
.mcp-footer { display: flex; justify-content: space-between; gap: 20px; padding: 38px 0 50px; color: var(--mcp-muted); font-size: .88rem; }
.mcp-footer-links { display: flex; gap: 18px; }
.mcp-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mcp-button { transition: none; }
}

@media (max-width: 900px) {
  .mcp-hero-grid, .mcp-section-grid, .mcp-install-wrap { grid-template-columns: 1fr; gap: 44px; }
  .mcp-visual { min-height: 390px; }
  .mcp-flow { grid-template-columns: 1fr; }
  .mcp-flow-step { min-height: auto; border-top: 1px solid var(--mcp-line); border-left: 0; }
  .mcp-flow-step:first-child { border-top: 0; }
}

@media (max-width: 680px) {
  .mcp-shell { width: min(100% - 32px, 1180px); }
  .mcp-nav-links a:not(.mcp-button) { display: none; }
  .mcp-hero { padding: 60px 0 52px; }
  .mcp-hero h1 { font-size: clamp(2.55rem, 13vw, 3.7rem); }
  .mcp-visual { min-height: 330px; }
  .mcp-section { padding: 60px 0; }
  .mcp-tool-index, .mcp-proof-row, .mcp-faq { grid-template-columns: 1fr; }
  .mcp-tool:nth-child(even) { padding-left: 0; border-left: 0; }
  .mcp-proof + .mcp-proof { margin-top: 18px; padding: 18px 0 0; border-top: 1px solid var(--mcp-line); border-left: 0; }
  .mcp-tabs { grid-template-columns: 1fr 1fr; }
  .mcp-tab:nth-child(2) { border-right: 0; }
  .mcp-panel { padding: 4px 20px 24px; }
  .mcp-reconnect { align-items: flex-start; flex-direction: column; margin: 0 20px 22px; }
  .mcp-footer { flex-direction: column; }
}
