/* nav.css: modern header for every page (loaded by polish.js) */
html body header {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(16, 44, 87, .08);
}
html body header.is-scrolled { box-shadow: 0 10px 30px rgba(16, 44, 87, .08); }
html body header .nav { min-height: 80px; gap: 24px; }
html body header .logo { width: 200px; }

/* Links: quiet text that turns into a soft pill on hover */
html body header .site-nav { gap: 4px; align-items: center; }
html body header .site-nav > a:not(.button),
html body header .site-nav .industry-nav > summary {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px;
  border-radius: 999px; color: var(--ss-ink, #172b4d); text-decoration: none;
  font: 500 15px/1 Poppins, Arial, sans-serif; letter-spacing: -.01em;
  transition: background-color .18s ease, color .18s ease;
}
html body header .site-nav > a:not(.button)::after { display: none; }
html body header .site-nav > a:not(.button):hover,
html body header .site-nav .industry-nav > summary:hover,
html body header .site-nav .industry-nav[open] > summary,
html body header .site-nav > a[aria-current="page"] { background: #eef3fe; color: var(--ss-blue, #0151fe); }
html body header .site-nav > a:focus-visible,
html body header .site-nav .industry-nav > summary:focus-visible { outline: 2px solid var(--ss-blue, #0151fe); outline-offset: 2px; }

/* Book a call: pill CTA set apart from the links */
html body header .site-nav > a.button.small {
  margin-left: 14px; min-height: 46px; padding: 0 24px; border-radius: 999px;
  font: 700 15px/1 Poppins, Arial, sans-serif; letter-spacing: -.01em;
  box-shadow: 0 8px 22px rgba(1, 81, 254, .28);
}

/* Roles dropdown: floating card */
html body header .industry-nav-panel {
  top: calc(100% + 14px); right: auto; left: 0; width: 460px; padding: 18px;
  border: 1px solid rgba(16, 44, 87, .08); border-radius: 18px;
  box-shadow: 0 30px 60px rgba(16, 44, 87, .18);
}
html body header .industry-menu-top { padding: 0 6px 14px; margin-bottom: 8px; border-bottom: 1px solid #edf1f7; }
html body header .industry-menu-top p { font: 600 13px/1.2 Poppins, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #6b7a90; }
html body header .industry-menu-top a { font: 600 14px/1.2 Poppins, Arial, sans-serif; color: var(--ss-blue, #0151fe); text-decoration: none; }
html body header .industry-links { gap: 2px 10px; }
html body header .site-nav .industry-links a {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 12px;
  border: 0; border-radius: 10px; color: var(--ss-ink, #172b4d); text-decoration: none; font-size: 15px;
}
html body header .site-nav .industry-links a:hover, html body header .site-nav .industry-links a:focus-visible { background: #eef3fe; color: var(--ss-blue, #0151fe); padding-left: 12px; }

/* Small screens: menu button and full-width drawer */
@media (max-width: 1000px) {
  html body header .nav { min-height: 72px; }
  html body header .logo { width: 176px; }
  html body header .menu {
    min-height: 44px; padding: 0 20px; border: 1px solid rgba(16, 44, 87, .14); border-radius: 999px;
    background: #fff; color: var(--ss-ink, #172b4d); font: 600 15px/1 Poppins, Arial, sans-serif;
  }
  html body header .menu[aria-expanded="true"] { background: #eef3fe; border-color: #cddcfb; color: var(--ss-blue, #0151fe); }
  html body header .site-nav { top: 72px; padding: 12px 20px 24px; gap: 2px; box-shadow: 0 24px 40px rgba(16, 44, 87, .12); }
  html body header .site-nav > a:not(.button),
  html body header .site-nav .industry-nav > summary {
    width: 100%; min-height: 50px; padding: 0 14px; border-bottom: 0; border-radius: 12px; font-size: 16px;
  }
  html body header .site-nav .industry-nav > summary { justify-content: space-between; }
  html body header .site-nav > a.button.small { margin: 12px 0 0; width: 100%; min-height: 52px; }
  html body header .industry-nav-panel { position: static; width: auto; margin: 4px 0 8px; padding: 12px; border-radius: 14px; box-shadow: none; background: #f6f8fd; }
  html body header .industry-links { grid-template-columns: 1fr 1fr; }
}
