/* b6 side navigation (owner 1202). Site pill style and colours only (header nav pills: ivory/lemon, blue text).
   Wide screens: a small vertical pill list on the right edge, inside the empty gutter (needs ~120px, so >= 1320px wide).
   Narrower screens: one round button at the bottom-right that opens the same three links; it steps aside while a
   sign-up button row is on screen, so it never covers a CTA. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#features, #estate, #cbt { scroll-margin-top: 84px; }

.sn { position: fixed; z-index: 20; font: 800 13.5px/1 var(--font-body); }
.sn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sn-list a { display: block; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line-blue); color: var(--blue-deep); text-decoration: none; text-align: center; white-space: nowrap; box-shadow: var(--shadow); }
.sn-list a:hover { border-color: var(--blue); }
.sn-list a.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.sn-fab { display: none; }

@media (min-width: 1320px) {
  .sn { right: 18px; top: 50%; transform: translateY(-50%); }
}
@media (max-width: 1319px) {
  .sn { right: 16px; bottom: 16px; transition: opacity .2s, transform .2s; }
  .sn.cta-near { opacity: 0; transform: translateY(12px); pointer-events: none; }
  .sn-fab { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--blue-deep); background: var(--blue); color: #fff; font: 800 14px/1 var(--font-body); box-shadow: 0 4px 0 var(--blue-deep); cursor: pointer; }
  .sn-list { position: absolute; right: 0; bottom: 66px; display: none; padding: 10px; border-radius: 18px; background: var(--ivory); border: 1.5px solid var(--line-blue); box-shadow: var(--shadow); }
  .sn.open .sn-list { display: grid; }
}
@media (max-width: 1319px) and (prefers-reduced-motion: reduce) { .sn { transition: none; } }
