/* Setup guide page (/setup). Layout only; every token, font and the .btn,
   .plan-list and .brat components come from styles.css. Kept in its own file
   so the guide can change without touching the landing page's stylesheet. */

.guide { max-width: 760px; padding-block: 24px 40px; }

.guide-head { padding-block: 24px 8px; }
.eyebrow {
  font-family: var(--brand-font-mono); font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-logo-primary); margin-bottom: 14px;
}
.guide-head h1 { font-size: 52px; letter-spacing: -0.01em; line-height: 1.05; text-wrap: balance; }
.guide-head .lede { margin-top: 20px; font-size: 19px; text-wrap: pretty; }
.callout {
  margin-top: 24px; padding: 16px 20px;
  border-left: 3px solid var(--brand-highlighter);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--tint); text-wrap: pretty;
}

.guide-section { padding-block: 40px 8px; scroll-margin-top: 24px; }
.guide-section h2 { font-size: 30px; margin-bottom: 12px; text-wrap: balance; }
.guide-section > p + p { margin-top: 12px; }
.guide-section .step {
  font-family: var(--brand-font-mono); font-size: 13px;
  color: var(--color-logo-primary); margin-bottom: 8px;
}

.need-list { display: flex; flex-direction: column; gap: 10px; margin-block: 20px; }
.need {
  display: flex; gap: 14px; align-items: baseline;
  padding: 14px 18px; border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
}
.need strong { min-width: 230px; flex: none; }
.need strong em { font-style: italic; font-weight: 500; color: var(--color-mid-gray); }
.need span { color: var(--color-mid-gray); flex: 1; }

.assistants { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 20px; }
.assistant { padding: 22px 24px; border-radius: var(--radius-xl); background: var(--tint); }
.assistant h3 { font-size: 20px; font-weight: 700; margin-bottom: 2px; }
.assistant .small { font-size: 14px; margin-bottom: 12px; }
.assistant ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

pre {
  margin: 8px 0 0; padding: 10px 14px;
  border-radius: var(--radius-md); background: var(--color-background);
  overflow-x: auto;
}
pre code { font-size: 14px; }
/* Copy buttons are added by setup.js, so the layout below only applies once
   the script has run; without it the block is a plain <pre>. */
pre.cmd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
pre.cmd .copy {
  flex: none; font: inherit; font-family: var(--brand-font-sans); font-size: 13px; font-weight: 500;
  padding: 3px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--hairline); background: transparent; color: var(--color-logo-primary);
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
pre.cmd .copy:hover { background: var(--tint); border-color: var(--color-logo-primary); }
pre.cmd .copy.copied { color: var(--color-text); border-color: transparent; background: var(--tint); }
.steps code:not(.brat) {
  padding: 1px 6px; border-radius: var(--radius-sm);
  background: var(--tint); font-size: .92em;
}
.plan span code { font-size: .92em; }

.steps { margin: 16px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps li { padding-left: 4px; }
.steps + p, .need-list + p, .plan-list + p { margin-top: 16px; }
.steps .brat { margin-top: 8px; border: 1px solid var(--hairline); }
.checks li strong { color: var(--color-text); }
.guide-section .plan-list { margin-top: 20px; }
.guide-section .plan strong { min-width: 130px; }

@media (max-width: 860px) {
  .guide-head h1 { font-size: 38px; }
  .guide-section h2 { font-size: 26px; }
  .assistants { grid-template-columns: 1fr; }
  .need { flex-direction: column; gap: 4px; }
  .need strong { min-width: 0; }
}
