/* Guide page layout */
.guide-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 100px 60px 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

/* Capabilities grid */
.guide-cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}
.guide-cap-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: var(--off);
}
.guide-cap-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.guide-cap-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff; flex-shrink: 0;
}
.guide-cap-name { font-size: 13px; font-weight: 700; color: var(--black); }
.guide-cap-desc { font-size: 11px; color: var(--muted2); margin-top: 1px; }
.guide-cap-examples { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.guide-cap-example {
  font-size: 12px; color: var(--muted);
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 8px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .guide-wrap { grid-template-columns: 1fr; padding: 80px 24px 60px; }
  .guide-sidebar { display: none; }
}

/* Hero strip */
.guide-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.guide-platform-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; flex-shrink: 0;
}
.guide-platform-name {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted2); margin-bottom: 4px;
}
.guide-title { font-size: clamp(22px, 3.5vw, 32px); font-weight: 800; line-height: 1.25; color: var(--black); }

/* Breadcrumb */
.guide-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted2); margin-bottom: 28px;
}
.guide-breadcrumb a { color: var(--muted2); transition: color .15s; }
.guide-breadcrumb a:hover { color: var(--black); }
.guide-breadcrumb i { font-size: 9px; }

/* Meta badges */
.guide-meta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px;
}
.guide-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--off); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 12px;
  font-size: 12px; color: var(--muted); font-weight: 500;
}
.guide-badge i { font-size: 11px; }

/* Intro */
.guide-intro {
  font-size: 16px; color: var(--muted); line-height: 1.8;
  margin-bottom: 36px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

/* Section headings */
.guide-section-title {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted2);
  margin-bottom: 14px; margin-top: 36px;
}

/* Prerequisites */
.guide-prereqs {
  background: #fafaf8;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 36px;
}
.guide-prereq-item {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 14px; color: var(--muted); line-height: 1.6;
  padding: 5px 0;
}
.guide-prereq-item::before {
  content: '✓';
  font-weight: 700; color: #16a34a; flex-shrink: 0; font-size: 13px;
}

/* Steps */
.guide-steps { display: flex; flex-direction: column; gap: 0; }

.guide-step {
  display: flex; gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
/* Connector line */
.guide-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px; top: 42px; bottom: 0;
  width: 2px; background: var(--border);
}
.guide-step-num {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--black); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  position: relative; z-index: 1;
}
.guide-step-body { flex: 1; padding-top: 8px; }
.guide-step-title {
  font-size: 17px; font-weight: 700; color: var(--black);
  margin-bottom: 12px; line-height: 1.3;
}
.guide-substeps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.guide-substep {
  display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline;
  font-size: 14px; color: var(--muted); line-height: 1.6;
}
.guide-substep::before {
  content: '→';
  color: var(--muted2); font-size: 12px; padding-top: 2px;
}
.guide-substep code {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 6px;
  font-size: 12px; font-family: 'DM Mono', monospace; color: var(--black);
}
.guide-tip {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 8px; padding: 10px 14px; margin-top: 14px;
  font-size: 13px; color: #92400e; line-height: 1.5;
}
.guide-tip i { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* Troubleshooting */
.guide-ts-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.guide-ts-item {
  background: #fff5f5; border: 1px solid #fecaca;
  border-radius: 10px; padding: 14px 16px;
}
.guide-ts-problem {
  font-size: 13px; font-weight: 700; color: #991b1b; margin-bottom: 5px;
}
.guide-ts-fix { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* CTA strip */
.guide-cta {
  background: var(--black); border-radius: 14px;
  padding: 28px 32px; margin-top: 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.guide-cta-text { color: #fff; font-size: 17px; font-weight: 700; }
.guide-cta-sub { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 4px; }

/* Sidebar */
.guide-sidebar {
  position: sticky; top: 90px;
}
.guide-toc {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 20px;
}
.guide-toc-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted2); margin-bottom: 12px;
}
.guide-toc-item {
  display: flex; gap: 8px; align-items: baseline;
  font-size: 13px; color: var(--muted); padding: 4px 0;
  line-height: 1.4;
}
.guide-toc-item a { color: inherit; transition: color .15s; }
.guide-toc-item a:hover { color: var(--black); }
.guide-toc-num { font-size: 11px; color: var(--muted2); font-weight: 700; flex-shrink: 0; }

.guide-also {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
}
.guide-also-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted2); margin-bottom: 12px;
}
.guide-also-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.guide-also-item:last-child { border-bottom: none; }
.guide-also-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff; flex-shrink: 0;
}
.guide-also-name { font-size: 13px; color: var(--muted); font-weight: 500; transition: color .15s; }
.guide-also-item:hover .guide-also-name { color: var(--black); }
