/* Homepage section navigation; colors inherit from each site's design system. */
.has-section-nav {
  --sn-ink: var(--ink, var(--forest));
  --sn-paper: var(--ground, var(--cream));
  --sn-rule: var(--hairline);
  padding-right: 72px;
}
.section-destination { scroll-margin-top: 28px; }
.section-nav[hidden] { display: none; }
.section-nav {
  position: fixed;
  z-index: 80;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 8px;
  border: 1px solid var(--sn-rule);
  border-radius: 30px;
  background: var(--sn-paper);
  color: var(--sn-ink);
  font-family: "Inter Tight", sans-serif;
}
.section-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.section-nav a:focus-visible, .section-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.section-label {
  position: absolute;
  right: 40px;
  padding: 8px 12px;
  border: 1px solid var(--sn-rule);
  border-radius: 5px;
  background: var(--sn-paper);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s;
}
.section-nav a:hover .section-label,
.section-nav a:focus-visible .section-label,
.section-nav a[aria-current] .section-label { opacity: 1; }
.section-mark {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 6px;
  background: currentColor;
  opacity: .4;
  transition: height .16s, opacity .16s;
}
.section-nav a[aria-current] .section-mark { height: 24px; opacity: 1; }
.section-toggle { display: none; }
/* Phones, small tablets and short windows: no section navigation (the top menu is enough). */
@media (max-width: 900px), (max-height: 440px) {
  .has-section-nav { padding-right: 0; }
  .section-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { .section-nav * { transition: none; } }
@media print { .section-nav { display: none; } .has-section-nav { padding: 0; } }
