/* The home page's top navigation, for the static pages (features pages).
   Same sizes, colours and mobile menu as the nav in index.html, which is
   written for the page runtime and cannot be shared directly. If the home
   nav changes, change this file to match. */

html{scroll-padding-top:100px}
/* The home page's slim scrollbar. With the browser's wider default, the
   page is narrower and every menu item sits a few pixels further left. */
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-thumb{background:#cab6a1;border-radius:8px}
.sn{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:18px 5vw;background:rgba(20,23,29,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.1);font-family:'Montserrat',sans-serif;line-height:normal}
/* No zoom here: article.css already sets body zoom .92 above 860px, the same
   scale as the home page, so the bar matches it at the same pixel values. */
.sn-logo{display:inline-flex;align-items:center;flex-shrink:0}
.sn-logo img{height:60px;width:auto;display:block}
.sn-group{display:flex;align-items:center;gap:34px}
.sn-links{display:flex;gap:28px;font-size:14px;font-weight:500}
.sn-links a{color:#b9b2b5;text-decoration:none}
.sn-links a:hover,.sn-links a[aria-current="page"]{color:#FAFAFA}
.sn-cta{background:#D8327C;color:#FAFAFA;padding:11px 22px;border-radius:999px;font-size:14px;font-weight:600;text-decoration:none;transition:transform .2s ease,background .2s ease}
.sn-cta:hover{transform:translateY(-2px);background:#b32463;color:#FAFAFA}
.sn-burger{display:none}
.sn-burger .sn-ico-close{display:none}
.sn-burger.open .sn-ico-open{display:none}
.sn-burger.open .sn-ico-close{display:inline}

/* Collapse to a menu once the links stop fitting, as on the home page. */
@media (max-width:980px){
  html{scroll-padding-top:88px}
  .sn{flex-wrap:wrap;padding:12px 5vw}
  .sn-logo img{height:46px}
  .sn-burger{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;padding:0;cursor:pointer;background:transparent;border:1px solid rgba(255,255,255,.22);border-radius:12px;color:#FAFAFA}
  .sn-group{display:none;order:3;width:100%;flex-direction:column;align-items:stretch;gap:0;padding-bottom:6px}
  .sn-group.open{display:flex}
  .sn-links{flex-direction:column;gap:0;font-size:16px}
  .sn-links a{padding:14px 2px;border-bottom:1px solid rgba(255,255,255,.09)}
  .sn-cta{text-align:center;margin-top:12px;padding:15px 22px}
}
