/* ======================================================================
 * SELLER'S GUIDE — floating section pill (20 Aug 2026).
 *
 * Aarav's brief: retire the sticky "Seller's guide" dropdown and use THE
 * SAME floating section pill as the homepage and /landlords/. The pill
 * CSS below is the landlords block verbatim, rescoped to this page
 * (gold cursor, ink on-state); the JS is the homepage's own
 * /assets/js/home-section-nav.mjs, reused. Page-owned file, single
 * writer — loaded only by /sales/sellers-guide/ after
 * sellers-guide-2026.css so it wins the cascade without touching it.
 * ==================================================================== */

/* The retired dropdown reserved no lane, but its rules still live in
   sellers-guide-2026.css; the element is gone, so they are inert. */

.page--sellers-guide .hxnav {
  position: fixed;
  top: calc(var(--hxnav-seam, 65px) + 10px);
  left: 50%;
  z-index: 900;
  transform: translate(-50%, -14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1), top 240ms ease;
}
.page--sellers-guide .hxnav.is-in { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.page--sellers-guide .hxnav.is-docked { top: 10px; }

.page--sellers-guide .hxnav__list {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 4px;
  list-style: none;
  border-radius: 999px;
  background: rgba(14, 26, 21, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 18px 44px -20px rgba(8, 16, 12, 0.7);
}
.page--sellers-guide .hxnav__curli { display: contents; }
.page--sellers-guide .hxnav [data-hxnav-link] {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  color: rgba(244, 238, 227, 0.88);
  font-size: 0.875rem;
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
  transition: color 200ms ease;
}
.page--sellers-guide .hxnav [data-hxnav-link] i {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 800;
  color: rgba(227, 201, 143, 0.85);
  transition: color 200ms ease;
}
.page--sellers-guide .hxnav [data-hxnav-link].is-on,
.page--sellers-guide .hxnav [data-hxnav-link].is-on i { color: #171a20; }
.page--sellers-guide .hxnav [data-hxnav-link]:focus-visible { outline: 3px solid #f0bd77; outline-offset: 2px; }

.page--sellers-guide .hxnav__cursor {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  width: 0;
  border-radius: 999px;
  background: #c5a66a;
  opacity: 0;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), width 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
  pointer-events: none;
}

/* the pill's anchor targets land clear of header + pill */
#sale-outlook, #sg-decision, #sg-route-lens, #sg-prepare,
#sg-offers-legal, #sg-answers, #speak-to-dukes {
  scroll-margin-top: calc(var(--head-h, 65px) + 74px);
}

/* This pill carries 7 sections to the homepage's 6, so the labels give
   way to numbers earlier — one line at every width, never two. */
@media (max-width: 63.99em) {
  .page--sellers-guide .hxnav [data-hxnav-link] { padding: 0.5rem 0.7rem; min-height: 40px; }
  .page--sellers-guide .hxnav [data-hxnav-link] span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page--sellers-guide .hxnav,
  .page--sellers-guide .hxnav__cursor,
  .page--sellers-guide .hxnav [data-hxnav-link] { transition: none !important; }
}

@media print {
  .page--sellers-guide .hxnav { display: none !important; }
}
