/* terms.html — page-only styles */

/* a TOC click / #hash lands the section just below the sticky header (same line as the sticky sidebar) */
.legal-article { scroll-margin-top: 110px; }

/* the last section of a short document still has to reach that line: terms.js sets this space */
.legal-content-pane { padding-bottom: var(--legal-tail, 0px); }

/* the active item gets a border: reserve it so the list does not shift by 1px */
.sidebar-nav-link { border: 1px solid transparent; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.sidebar-nav-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

@media (max-width: 960px) {
  .legal-article { scroll-margin-top: 96px; }
}
