.guide-heading {
  max-width: 960px;
}
.guide-heading h1 {
  margin-top: var(--space-3);
}
.guide-intro {
  max-width: 860px;
  margin-top: var(--space-3);
  line-height: 1.85;
}
.guide-context {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
  margin-top: var(--space-5);
}
.guide-context > * {
  min-width: 0;
}
.guide-context h2 {
  font-size: var(--fs-h3);
}
.guide-context p {
  line-height: 1.8;
}
.guide-reference {
  padding-bottom: var(--space-8);
}
.guide-chapter {
  margin-inline: auto;
  border-bottom: 1px solid var(--line-soft);
}
.guide-chapter > h2 {
  margin-top: 0;
}
.guide-chapter > .reveal > * + * {
  margin-top: var(--space-3);
}
.guide-chapter > .reveal > h3 {
  margin-top: var(--space-5);
}
.guide-chapter > .reveal > h3:first-child {
  margin-top: var(--space-4);
}
.guide-chapter p {
  color: var(--ink-soft);
}
.guide-chapter a,
.guide-intro a {
  color: var(--accent-dark);
}
.guide-chapter .table-scroll {
  line-height: 1.65;
}
.guide-chapter:last-child {
  border-bottom: 0;
}
@media (max-width: 768px) {
  .guide-context {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }
}