/* The Connect page (#connect): the MCP address with a copy button, one card per app, and what the tools do. */
.cx {
  background: var(--page);
  padding-block: 144px 96px;
}
.cx-in {
  display: grid;
  gap: 24px;
}
.cx-head {
  display: grid;
  gap: 16px;
  max-width: 768px;
}
.cx-head h1,
.cx-head p,
.cx-h,
.cx-note,
.cx-name {
  margin: 0;
}
.cx-kind,
.cx-name,
.cx-tools b {
  color: var(--copper-400);
  font-weight: inherit;
}
.cx-lede,
.cx-note {
  color: var(--text-2);
}
.cx-addr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--copper-500);
}
.cx-url {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: clamp(18px, 2.4vw, 28px);
  color: #fff;
}
.cx-h {
  margin-top: 40px;
}
.cx-apps,
.cx-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cx-tools {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cx-app,
.cx-tools li {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  background: var(--surface);
}
.cx-app:first-child {
  grid-column: 1 / -1;
}
.cx-app p,
.cx-tools p {
  margin: 0;
}
.cx-cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 12px 14px;
  background: #000;
}
.cx-cmd code {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px;
  color: #fff;
}
.cx-copy {
  flex: none;
  padding: 6px 12px;
  border: 1px solid var(--copper-500);
  background: none;
  color: var(--copper-300);
  cursor: pointer;
}
.cx-copy:hover {
  background: var(--surface-2);
}
.cx-copy:focus-visible {
  outline: 2px solid var(--copper-300);
  outline-offset: 2px;
}
.cx-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 720px) {
  .cx {
    padding-block: 112px 64px;
  }
  .cx-apps {
    grid-template-columns: minmax(0, 1fr);
  }
  .cx-cmd {
    flex-wrap: wrap;
  }
}
