/* ═════════════════════════════════════════════════════════════════
   Screenchart — Quickstart / install docs (extends landing.css)
   ═════════════════════════════════════════════════════════════════ */

.qs-main { padding: 56px 0 56px; }
.qs-wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }

/* ── header ────────────────────────────────────────────────────────── */
.qs-head { margin-bottom: 44px; }
.qs-head .eyebrow { display: block; margin-bottom: 14px; }
.qs-head h1 {
  font-size: 42px; line-height: 1.06; letter-spacing: -.035em; font-weight: 800;
  margin: 0 0 18px; text-wrap: balance;
}
.qs-intro { font-size: 18px; color: var(--muted); line-height: 1.6; margin: 0; text-wrap: pretty; }
.qs-intro a { color: var(--accent); }
.qs-intro a:hover { text-decoration: underline; }

/* ── sections ──────────────────────────────────────────────────────── */
.qs-sec { margin-top: 46px; }
.qs-sec > h2 {
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* placeholder legend banner */
.qs-ph-note {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r-lg);
  padding: 14px 18px; font-size: 14px; color: var(--tx); line-height: 1.5; margin-bottom: 6px;
}
.qs-ph-note .ico { font-size: 19px; color: var(--accent); flex: 0 0 auto; margin-top: 1px; }

/* placeholder token + tag */
.ph {
  font-family: var(--mono); font-size: .92em;
  background: rgba(37,99,235,.1); color: var(--accent-2);
  border: 1px dashed var(--accent-line); border-radius: 5px; padding: 1px 6px;
}
[data-theme="dark"] .ph { background: rgba(77,139,255,.16); color: #cddefb; }
.ph-tag {
  font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 3px 8px;
}

/* ── requirement / next / troubleshooting lists ───────────────────── */
.qs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.qs-list li {
  position: relative; padding-left: 26px; font-size: 15px; line-height: 1.58; color: var(--muted);
}
.qs-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.qs-list li b { color: var(--tx); font-weight: 650; }
.qs-list li a { color: var(--accent); }
.qs-list li a:hover { text-decoration: underline; }
.qs-list.links li::before { display: none; }
.qs-list.links li { padding-left: 26px; }
.qs-list.links a { color: var(--accent); font-weight: 600; }
.qs-list.links a:hover { text-decoration: underline; }
.qs-list.links .ico { position: absolute; left: 0; top: 1px; font-size: 19px; color: var(--accent); }

/* ── numbered command steps ────────────────────────────────────────── */
.qs-steps { display: flex; flex-direction: column; gap: 28px; counter-reset: step; }
.qs-step { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; }
.qs-step .num {
  counter-increment: step; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px;
  display: grid; place-items: center; font-family: var(--mono);
}
.qs-step .num::before { content: counter(step); }
.qs-step h3 { font-size: 17px; font-weight: 700; margin: 5px 0 6px; letter-spacing: -.01em; }
.qs-step p { font-size: 14.5px; color: var(--muted); margin: 0 0 13px; line-height: 1.55; }
.qs-step p:last-child { margin-bottom: 0; }
.qs-step p a { color: var(--accent); }
.qs-step p a:hover { text-decoration: underline; }

/* ── dark code blocks ──────────────────────────────────────────────── */
.code, .term {
  background: #0d1017; border: 1px solid #1d222c; border-radius: var(--r-lg);
  overflow: hidden; position: relative; margin: 0;
}
.code-bar, .term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-bottom: 1px solid #1d222c; background: #11151d;
}
.code-bar .label, .term-bar .label {
  font-family: var(--mono); font-size: 11px; color: #7d8595; letter-spacing: .02em; margin-right: auto;
}
.term-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #2c333f; }
.term-bar .dot.r { background: #e0564f; } .term-bar .dot.y { background: #e0b341; } .term-bar .dot.g { background: #3fae6b; }
.code .copy {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  background: #1b212c; border: 1px solid #2a313d; color: #aab3c2;
  font-family: var(--font); font-size: 12px; font-weight: 600;
  border-radius: 6px; padding: 4px 9px; transition: all .14s var(--ease);
}
.code .copy:hover { background: #232b38; color: #fff; }
.code .copy.ok { color: #5fcf8a; border-color: #2d4a3a; }
.code .copy .ico { font-size: 14px; }
.code pre, .term pre {
  margin: 0; padding: 15px 16px; overflow-x: auto;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.7; color: #e6e9ef;
}
.term pre { color: #c8cedb; }
.code pre .cm, .term pre .cm { color: #6b7385; }     /* comment */
.code pre .pr { color: #5b9bff; }                    /* prompt / accent */
.term pre .ok { color: #5fcf8a; }
.term pre .dim { color: #7d8595; }
.code pre .ph-c {
  color: #ffd27a; border-bottom: 1px dashed #5a4a2a; padding-bottom: 1px;
}

/* ── responsive ────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .qs-wrap { padding: 0 18px; }
  .qs-head h1 { font-size: 34px; }
  .qs-step { grid-template-columns: 28px 1fr; gap: 12px; }
  .qs-step .num { width: 28px; height: 28px; font-size: 13px; }
}

