/* Onboarding guide — a long-form page on the console's own tokens (style.css). */
.doc-body { height: auto; min-height: 100%; overflow: auto; }
.doc-top {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: var(--panel-glass); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.doc-brand { text-decoration: none; color: inherit; }
.doc-nav { display: flex; gap: 14px; margin-left: auto; flex-wrap: wrap; }
.doc-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 14px; }
.doc-nav a:hover { color: var(--text); }
.doc-cta { text-decoration: none; display: inline-block; width: auto; padding: 10px 18px; }
.doc { max-width: 820px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 40px) 80px; }
.doc-hero { padding: 24px 0 8px; }
.doc-kicker { color: var(--flame); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; margin: 0 0 10px; }
.doc h1 { font: 700 clamp(30px, 5vw, 44px)/1.1 var(--display); margin: 0 0 14px; letter-spacing: -.01em; }
.doc-lede { font-size: 17.5px; color: var(--muted); margin: 0; max-width: 64ch; }
.t-think { color: var(--think); }
.t-act { color: var(--act); }
.doc-section { margin-top: 48px; }
.doc h2 { font: 700 24px/1.2 var(--display); display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.doc-num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px;
  background: linear-gradient(135deg, var(--flame), var(--flame-2)); color: var(--primary-fg);
  font: 700 14px/1 var(--sans);
}
.doc h3 { font: 600 17px/1.3 var(--display); margin: 0 0 6px; }
.doc p { margin: 0 0 10px; }
.doc-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.doc-steps > li {
  counter-increment: step; position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 18px 20px 12px 58px; box-shadow: var(--shadow-soft);
}
.doc-steps > li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--flame-soft); color: var(--flame); font: 700 13px/1 var(--sans);
}
.doc code {
  font: 13.5px/1.5 var(--mono); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 2px 6px; word-break: break-word;
}
.doc-callout {
  margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-md);
  background: var(--act-bg); border: 1px solid var(--line);
}
.doc-callout p { margin: 0; }
.doc-cases { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.doc-case {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 18px 18px 10px; box-shadow: var(--shadow-soft);
}
.doc-case-think { border-left: 3px solid var(--think); padding-left: 10px; background: var(--think-bg); border-radius: 0 6px 6px 0; }
.doc-case-act { border-left: 3px solid var(--act); padding-left: 10px; background: var(--act-bg); border-radius: 0 6px 6px 0; }
.doc-faq { margin: 0; display: grid; gap: 14px; }
.doc-faq dt { font: 600 16px/1.3 var(--display); }
.doc-faq dd { margin: 4px 0 0; color: var(--muted); }
.doc-foot { margin-top: 56px; text-align: center; }
.doc-foot .hint { margin-top: 14px; }
.doc a { color: var(--flame); }
@media (max-width: 640px) {
  .doc-nav { display: none; }
  .doc-steps > li { padding-left: 52px; }
}
