/* The connect pages. app.css carries the tokens, the nav and the footer; this
   is only what these pages add. Its own file for the same reason docs.css and
   blog.css are their own: a surface with a different job gets different rules,
   and the landing page should not have to carry them. */

.cx-hero { padding: 72px 0 40px; max-width: 720px; }
.cx-eyebrow { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.cx-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin-bottom: 16px; }
.cx-lede { font-size: 19px; color: var(--ink-2); max-width: 62ch; }

.cx-rail { display: flex; flex-wrap: wrap; gap: 28px; margin: 28px 0 8px; }
.cx-rail div { min-width: 140px; }
.cx-rail dt { color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.cx-rail dd { margin: 0; font-weight: 550; }

.cx-steps { counter-reset: step; display: grid; gap: 16px; margin: 32px 0; padding: 0; list-style: none; }
.cx-step {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 20px;
}
.cx-step h3 { font-size: 16px; margin-bottom: 6px; }
.cx-step p { color: var(--ink-2); }
.cx-step code, .cx-cmd {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.cx-cmd {
  display: block;
  margin-top: 10px;
  background: var(--dark);
  color: #e7e7ea;
  border-radius: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  white-space: pre;
}

.cx-section { padding: 40px 0; border-top: 1px solid var(--line); }
.cx-section h2 { font-size: 26px; margin-bottom: 10px; }
.cx-section p { color: var(--ink-2); max-width: 68ch; }

.cx-note {
  border-left: 2px solid var(--line-2);
  padding-left: 14px;
  color: var(--muted);
  margin-top: 16px;
}

.cx-others { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cx-others a {
  border: 1px solid var(--line-2);
  border-radius: var(--r-btn);
  padding: 8px 12px;
  font-size: 14px;
}
.cx-others a:hover { background: var(--accent-soft); }
