.agent-page {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 56px 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.agent-icon.large {
  width: 56px;
  height: 56px;
}
.agent-page h1 {
  margin: 24px 0 12px;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -1.5px;
}
.agent-page .lede {
  margin: 0 0 36px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.5;
}
.steps {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--outline);
  display: flex;
  align-items: center;
  justify-content: center;
  font:
    500 13px/1 "IBM Plex Mono",
    monospace;
}
.steps p {
  margin: 3px 0 12px;
  font-size: 16px;
  line-height: 1.5;
}
.command {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 14px 18px;
  border-radius: 12px;
  background: var(--canvas);
}
.command pre {
  flex: 1;
  margin: 0;
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    500 14px/1.6 "IBM Plex Mono",
    monospace;
}
.copy {
  flex: none;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 15px;
  background: var(--background);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--outline);
  font-size: 13px;
  font-weight: 500;
}
.pair {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  width: 100%;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.5;
}
.pair a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .agent-page {
    padding-top: 32px;
  }
  .agent-page h1 {
    font-size: 34px;
  }
  .command pre {
    font-size: 12px;
  }
}
