.connect {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
  gap: 80px;
  align-items: center;
}

.connect-intro > p:not(.section-label) {
  color: var(--muted);
  max-width: 590px;
}

.connect-steps {
  list-style: none;
  padding: 0;
  margin: 36px 0;
}

.connect-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.connect-steps li > span {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--signal);
  font: 700 .72rem ui-monospace, monospace;
}

.connect-steps strong { display: block; margin-bottom: 3px; }
.connect-steps p { margin: 0; color: var(--muted); font-size: .92rem; }

.prompt-panel {
  overflow: hidden;
  background: var(--night);
  color: white;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(11, 17, 24, .2);
}

.prompt-bar {
  min-height: 52px;
  padding: 16px 20px;
  border-bottom: 1px solid #33404b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #93a4b2;
  font: 700 .65rem/1 ui-monospace, monospace;
  letter-spacing: .1em;
}

.prompt-panel pre {
  margin: 0;
  padding: 28px;
  max-height: 520px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #52616e var(--night);
  white-space: pre-wrap;
  color: #e8edf1;
  font-size: .87rem;
  line-height: 1.72;
}

.prompt-panel pre::-webkit-scrollbar { width: 10px; height: 10px; }
.prompt-panel pre::-webkit-scrollbar-track { background: var(--night); }
.prompt-panel pre::-webkit-scrollbar-thumb {
  background: #52616e;
  border: 2px solid var(--night);
  border-radius: 999px;
}
.prompt-panel pre::-webkit-scrollbar-thumb:hover { background: #82929f; }

.prompt-panel pre code { font-size: inherit; }

.prompt-footer {
  min-height: 72px;
  padding: 12px 16px 12px 28px;
  border-top: 1px solid #33404b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.prompt-note {
  margin: 0;
  color: #93a4b2;
  font-size: .8rem;
}

.copy-prompt {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid #52616e;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #18232d;
  color: white;
  font: 700 .78rem/1 ui-sans-serif, sans-serif;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
  touch-action: manipulation;
}

.copy-prompt:hover { background: #24333f; border-color: #82929f; }
.copy-prompt:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.copy-prompt svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy-prompt.copied { background: #164f3a; border-color: #4da982; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .connect { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 620px) {
  .connect { padding: 76px 0; }
  nav a:nth-child(2) { display: inline-flex; }
  nav a:nth-child(3) { display: none; }
  .prompt-bar { align-items: flex-start; flex-direction: column; }
  .prompt-panel pre { max-height: 430px; padding: 22px 18px; font-size: .78rem; }
  .prompt-footer { padding: 16px 18px; align-items: stretch; flex-direction: column; }
  .copy-prompt { justify-content: center; }
}
