.glossary-intro {
  padding-top: 12px;
  padding-bottom: 40px;
}
.glossary-intro h1 {
  margin-top: 0;
  margin-bottom: 22px;
}
.glossary-lede {
  max-width: 42em;
  margin-bottom: 24px;
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-muted);
}
.glossary-intro .badge-row {
  gap: 12px;
}
.glossary-intro .text-link {
  font-size: 14px;
}
.glossary-category {
  padding-top: 48px;
  padding-bottom: 24px;
  scroll-margin-top: 100px;
}
.glossary-category + .glossary-category {
  margin-top: 24px;
  border-top: 1px solid var(--border);
}
.glossary-section-head {
  margin-bottom: 28px;
}
.glossary-section-head .eyebrow {
  margin-bottom: 12px;
}
.glossary-section-head h2 {
  margin-top: 0;
  margin-bottom: 14px;
}
.glossary-section-head p:last-child {
  margin-bottom: 0;
  max-width: 44em;
}
.glossary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.glossary-grid .term-card {
  scroll-margin-top: 110px;
}
.glossary-grid .term-card:target {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-a12), var(--shadow-card);
}
.glossary-grid .term-card p {
  line-height: 1.9;
}
.glossary-next {
  margin-top: 48px;
}
.glossary-next h2 {
  margin-top: 0;
}
.glossary-next p {
  max-width: 54em;
  color: var(--text-muted);
  line-height: 1.9;
}
.glossary-next .cta-row {
  margin-top: 24px;
}
@media (max-width: 768px) {
  .glossary-grid {
    grid-template-columns: 1fr;
  }
  .glossary-lede {
    font-size: 17px;
  }
  .glossary-category {
    padding-top: 36px;
  }
}
@media (max-width: 640px) {
  .glossary-page > .toc {
    position: static;
  }
  .glossary-category,
  .glossary-grid .term-card {
    scroll-margin-top: 24px;
  }
  .glossary-intro {
    padding-top: 0;
    padding-bottom: 28px;
  }
}