/* guides.css — the ten guide details; the /guides/ hub loads features.css
   instead, because the guide cards ARE the feature cards. The "In summary"
   panel (.gd-summary) is support.css's, shared with the feature details:
   never restate it here. Targets and state feedback: see DESIGN.md →
   Do's and Don'ts. */

/* detail · numbered steps */

.doc-content ol.gd-steps {
  counter-reset: gd-step;
  display: grid;
  gap: var(--space-sm);
  /* Bottom = the section beat, so the next heading reads at the same distance
     (the two margins collapse into one). */
  margin: var(--space-md) 0 var(--space-2xl);
  padding: 0;
  list-style: none;
  max-width: 70ch;
}

.doc-content ol.gd-steps > li {
  counter-increment: gd-step;
  position: relative;
  margin: 0;
  padding-left: 3.25rem; /* room for the two-digit counter, not rhythm */
  color: var(--color-body);
  text-wrap: pretty;
}

.doc-content ol.gd-steps > li::before {
  content: counter(gd-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
}

.gd-steps strong {
  color: var(--color-heading);
  font-weight: var(--fw-bold);
}
