.docs-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: .9rem clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.docs-top__brand {
  font-family: var(--font-display, inherit);
  font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.docs-top nav { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center }
.docs-top nav a { font-size: .9rem; color: var(--muted); text-decoration: none }
.docs-top nav a:hover { color: var(--ink) }
.docs-top nav a.is-cta {
  color: var(--ink); font-weight: 600;
  border: 1px solid var(--border-2, var(--border)); border-radius: .4rem;
  padding: .35em .8em;
}
.docs-main { padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 2rem) 3rem }
.docs-foot {
  padding: 1.5rem clamp(1rem, 4vw, 2rem) 2.5rem;
  border-top: 1px solid var(--border);
  font-size: .84rem; color: var(--muted);
}
.docs-foot a { color: var(--muted) }

/* A link inside running text or a table cell is underlined, not told apart by
   colour alone (WCAG 1.4.1, axe `link-in-text-block`; RC3: the guide index's
   "versions" link in a table cell). */
.docs-main :is(p, li, dd, td, th) > a:where(:not([class])) { text-decoration: underline; }
