/* Site navigation — matches Figma header export (node 141:461):
   a light-blue (#f1f5ff) rounded floating bar, centered on the page. */

.edgedi-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 20px;
  background: transparent; /* floats over the hero gradient at the top */
  transition: background 0.25s ease, box-shadow 0.25s ease, padding-top 0.25s ease;
}
/* From 1024px the hero is an inset panel starting 15px from the top, so push
   the bar down to leave ~16px of blue above it. */
@media (min-width: 1024px) {
  .edgedi-nav { padding-top: 31px; }
}
/* Once scrolled, a blurred backdrop covers the top strip so page content
   can't bleed through above/around the floating bar. */
.edgedi-nav.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  /* Near-opaque so hero content can't bleed through even when the browser
     (e.g. Brave) disables backdrop-filter; blur is a progressive enhancement. */
  background: rgba(248, 250, 255, 0.985);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(16, 22, 34, 0.06);
}

.edgedi-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1060px; /* Figma header: 1060 (max) x 74 */
  margin-inline: auto;
  padding: 14px 28px; /* 14 + 46px button + 14 = 74px */
  background: #f1f5ff;
  border-radius: 16px;
}

/* Logo */
.edgedi-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.edgedi-nav__logo-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
}
.edgedi-nav__logo-img {
  display: block;
  width: auto;
  height: 32px;
}
@media (min-width: 1024px) {
  .edgedi-nav__logo-img { height: 36px; }
}
.edgedi-nav__logo-text {
  font-size: 22px;
  font-weight: var(--edgedi-fw-semibold);
  letter-spacing: -0.01em;
  color: var(--edgedi-navy-900);
}

/* Links */
.edgedi-nav__links {
  display: none;
  align-items: center;
  gap: 35px;
}
.edgedi-nav__links a {
  font-size: 13px;
  font-weight: var(--edgedi-fw-medium);
  color: var(--edgedi-navy-500);
}
.edgedi-nav__links a:hover { color: var(--edgedi-blue); }

/* CTA button */
.edgedi-nav__cta {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 46px; /* Figma ~143x46 */
  padding: 0 18px;
  background: #3266d2;
  color: var(--edgedi-white);
  border-radius: 10px;
  font-size: 14px;
  font-weight: var(--edgedi-fw-medium);
}
.edgedi-nav__cta:hover { background: var(--edgedi-blue-dark); }

/* Mobile toggle */
.edgedi-nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--edgedi-white);
  border: 1px solid var(--edgedi-blue-tint-600);
  border-radius: 10px;
}
.edgedi-nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--edgedi-navy-800);
}

.edgedi-nav__mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 1060px;
  margin: 8px auto 0;
  padding: 16px 28px 20px;
  background: #f1f5ff;
  border-radius: 16px;
}
/* Bootstrap .collapse hides it until toggled; no height animation (was instant). */
.edgedi-nav__mobile.collapsing { transition: none; }
.edgedi-nav__mobile a { padding: 10px 0; font-size: 15px; color: var(--edgedi-navy-500); }
.edgedi-nav__cta--mobile { display: inline-flex; justify-content: center; margin-top: 8px; color: var(--edgedi-white); }

@media (min-width: 1024px) {
  .edgedi-nav__links,
  .edgedi-nav__cta { display: inline-flex; }
  .edgedi-nav__toggle,
  .edgedi-nav__mobile { display: none; }
}
