/* ===========================================================
   onpath.run — agent integration detail pages
   Reuses styles.css (nav, hero, term, feat, badges, foot, btn…)
   =========================================================== */

/* agent logo block */
.agent-logo-lg {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 24px;
  flex: none;
  box-shadow: var(--shadow-md);
}
.agent-logo-sm {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  flex: none;
}

/* hero */
.intg-hero {
  padding: 60px var(--pad) 0;
}
.intg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--line-2);
  border-radius: 40px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.intg-eyebrow .agent-logo-sm {
  width: 26px;
  height: 26px;
  font-size: 11px;
  border-radius: 7px;
}
.intg-eyebrow .x {
  color: var(--faint);
  font-size: 13px;
}
.intg-eyebrow .lbl {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  padding-right: 6px;
  white-space: nowrap;
}
.intg-eyebrow .om {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
}
.intg-eyebrow .om svg {
  width: 20px;
  height: 20px;
}

.intg-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 18ch;
  margin: 0;
}
.intg-hero .hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 56ch;
  margin: 22px 0 0;
  line-height: 1.55;
}
.intg-hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}
.intg-hero .vendor-note {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.intg-hero .vendor-note .badge {
  vertical-align: middle;
}

/* hero stage: command + sample */
.intg-stage {
  padding: 48px var(--pad) 64px;
}
.intg-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}
.cmd-card {
  background: var(--term-bg);
  border: 1px solid #20262f;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-term);
  display: flex;
  flex-direction: column;
}
.cmd-card .term-body {
  flex: 1;
}
.cmd-card .lblc {
  color: var(--term-dim);
  font-size: 11.5px;
  display: block;
  margin: 14px 0 5px;
}
.cmd-card .lblc:first-child {
  margin-top: 0;
}

/* "what gets caught" list */
.catch-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.catch-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.catch-item:first-child {
  border-top: 0;
}
.catch-item .ci-ic {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  color: var(--ink-2);
}
.catch-item .ci-ic svg {
  width: 18px;
  height: 18px;
}
.catch-item h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 560;
}
.catch-item p {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* compatibility table */
.compat {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.compat-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
}
.compat-row:first-child {
  border-top: 0;
}
.compat-row .cr-k {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 11px;
}
.compat-row .cr-k .ck {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex: none;
}
.compat-row .cr-k .sub {
  display: block;
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 2px;
}
.compat-row .cr-v {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
}

/* MCP callout */
.mcp-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.mcp-points {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 22px;
}
.mcp-point {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}
.mcp-point svg {
  width: 19px;
  height: 19px;
  color: var(--green);
  margin-top: 1px;
}
.mcp-point b {
  font-weight: 560;
}
.mcp-point span {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.mcp-point .sub {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

/* other integrations */
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.other-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: var(--surface);
  transition:
    border-color 0.14s,
    background 0.14s,
    transform 0.12s;
}
.other-card:hover {
  border-color: var(--line-strong);
  background: var(--panel);
  transform: translateY(-2px);
}
.other-card .oc-body {
  min-width: 0;
}
.other-card .oc-name {
  display: block;
  font-size: 14.5px;
  font-weight: 560;
}
.other-card .oc-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
  margin-top: 1px;
  white-space: nowrap;
}
.other-card .oc-arrow {
  margin-left: auto;
  color: var(--faint);
  flex: none;
}
.other-card:hover .oc-arrow {
  color: var(--blue);
}

@media (max-width: 900px) {
  .intg-stage-grid,
  .mcp-card {
    grid-template-columns: 1fr;
  }
  .other-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .intg-eyebrow .om .name-txt {
    display: inline;
  }
}
