/* Facets Novum — shared SUBPAGE nav. SINGLE SOURCE OF TRUTH for all subpages
   (insights/, insight-pages/, etc.). Self-contained (hardcoded brand colors, no
   page CSS vars needed). Edit here, bump the ?v=N on every page's <link>, redeploy.
   Homepage (index.html) has its own designed nav and does NOT use this file. */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: #1B31A8; color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 8px; }
.topbar { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 1px solid #E5E8EE; }
.topbar-in { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.topbar img { height: 30px; display: block; }
.topbar nav a { color: #3F4756; font-size: 14px; font-weight: 500; margin-left: 22px; text-decoration: none; }
.topbar nav a:hover { color: #1B31A8; }
.topbar nav a.active { color: #1B31A8; }
.topbar nav a.cta { background: #1B31A8; color: #fff; padding: 8px 19px; border-radius: 6px; transition: background .2s; }
.topbar nav a.cta:hover { background: #141F6E; color: #fff; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #3F4756; margin: 5px 0; transition: transform 0.25s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 640px) {
  .menu-toggle { display: block; }
  .topbar nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #FFFFFF; border-bottom: 1px solid #E5E8EE; flex-direction: column; align-items: flex-start; padding: 10px 24px 16px; box-shadow: 0 10px 24px rgba(0,0,0,.07); }
  .topbar nav.open { display: flex; }
  .topbar nav a { margin: 10px 0 0; font-size: 15px; }
  .topbar nav a.cta { margin-top: 14px; }
}

/* DARK MODE (prefers-color-scheme) — parity with the sibling sites; logo gets a light plate (dark-wordmark) */
@media (prefers-color-scheme: dark) {
  .topbar { background: #070A14; border-bottom: 1px solid rgba(157,174,255,0.16); }
  .topbar img { background: #fff; border-radius: 6px; padding: 3px 8px; }
  .topbar nav a { color: #CBD5E1; }
  .topbar nav a:hover, .topbar nav a.active { color: #9DAEFF; }
  .topbar nav a.cta { background: #1B31A8; color: #fff; }
  .topbar nav a.cta:hover { background: #2E48D4; color: #fff; }
  .menu-toggle span { background: #CBD5E1; }
}
@media (max-width: 640px) and (prefers-color-scheme: dark) {
  .topbar nav { background: #070A14; border-bottom-color: rgba(157,174,255,0.16); box-shadow: 0 10px 24px rgba(0,0,0,.4); }
}
