/* ═══════════════════════════════════════════════════════
   /connect — shared styles for connector guides
   ═══════════════════════════════════════════════════════ */

main.connect-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

/* ── Page head ──────────────────────────────────────── */
.connect-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.connect-eyebrow::before {
  content: ''; display: block;
  width: 20px; height: 1px;
  background: var(--amber); opacity: 0.5;
}

.connect-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(34px, 5.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.connect-sub {
  font-size: 15px; color: var(--text-muted);
  font-weight: 300; line-height: 1.65;
  margin-bottom: 36px;
}
.connect-sub strong { color: var(--text-primary); font-weight: 500; }

/* ── Server URL card (hero) ─────────────────────────── */
.url-card {
  background: linear-gradient(180deg, rgba(245,158,11,0.08), rgba(245,158,11,0.02));
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.url-card-body { min-width: 0; }
.url-card-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}
.url-card-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--text-primary);
  word-break: break-all;
}
.copy-btn {
  background: rgba(245,158,11,0.12);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.copy-btn:hover { background: var(--amber); color: #0a0a0a; }
.copy-btn.copied { background: var(--amber); color: #0a0a0a; }

/* ── Section label ──────────────────────────────────── */
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  margin-top: 28px;
}
.section-label:first-of-type { margin-top: 0; }
.section-label::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
}

/* ── Steps ──────────────────────────────────────────── */
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--amber-dim);
  color: var(--amber);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.35;
}
.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}
.step-body p + p { margin-top: 8px; }
.step-body code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--amber);
  white-space: nowrap;
}
.step-body a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px dashed rgba(245,158,11,0.4);
}
.step-body a:hover { color: var(--text-primary); border-bottom-color: var(--amber); }
.step-body strong { color: var(--text-primary); font-weight: 500; }

/* ── Prompts block ──────────────────────────────────── */
.prompt-list {
  display: grid;
  gap: 8px;
}
.prompt {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.55;
  position: relative;
}
.prompt::before {
  content: '›';
  color: var(--amber);
  margin-right: 10px;
  font-style: normal;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
}

/* ── Notice / callout ───────────────────────────────── */
.notice {
  background: rgba(245,158,11,0.05);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.notice strong { color: var(--amber); font-weight: 500; }
.notice.warn {
  background: rgba(200,90,84,0.06);
  border-color: rgba(200,90,84,0.25);
}
.notice.warn strong { color: var(--red); }

/* ── Footer nav ─────────────────────────────────────── */
.connect-bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.connect-back {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.15s;
}
.connect-back:hover { color: var(--amber); }

/* ═══════════════════════════════════════════════════════
   Index page — platform grid
   ═══════════════════════════════════════════════════════ */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.platform-card:hover {
  border-color: rgba(245,158,11,0.35);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}
.platform-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.platform-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.platform-arrow {
  color: var(--amber);
  font-size: 16px;
  opacity: 0.5;
  transition: opacity 0.18s, transform 0.18s;
}
.platform-card:hover .platform-arrow { opacity: 1; transform: translateX(2px); }
.platform-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
}
.platform-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 2px;
}

@media (max-width: 600px) {
  main.connect-main { padding: 36px 16px 60px; }
  .platform-grid { grid-template-columns: 1fr; }
  .url-card { flex-direction: column; align-items: flex-start; }
  .step { padding: 18px 18px; grid-template-columns: 32px 1fr; gap: 14px; }
}
