/* Shared top navigation for the public site (home + features). */
.sct-hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96) !important;
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e7e9f2;
  font-family: "Inter", "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.sct-hdr *,
.sct-hdr *::before,
.sct-hdr *::after {
  box-sizing: border-box;
}
.sct-hdr__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sct-hdr__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
}
.sct-hdr__logo {
  display: block;
  width: auto;
  height: 56px;
  margin-left: -10px;
  max-width: 100%;
}
.sct-hdr__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sct-hdr__nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sct-hdr__link {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 8px;
  color: #1f2547 !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.sct-hdr .sct-hdr__toggle:hover {
  background: #f1f3fa !important;
}
.sct-hdr__link:hover,
.sct-hdr__link:focus-visible {
  background: #f1f3fa !important;
  color: #2b3a8a !important;
  text-decoration: none;
}
.sct-hdr__link[aria-current="page"] {
  color: #d64f1f !important;
}
.sct-hdr__link--login {
  margin-left: 8px;
  border: 2px solid #2b3a8a;
  color: #2b3a8a !important;
  padding: 7px 16px;
}
.sct-hdr__link--login:hover,
.sct-hdr__link--login:focus-visible {
  background: #2b3a8a !important;
  color: #fff !important;
}
.sct-hdr__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #d9dcea;
  border-radius: 10px;
  background: #fff !important;
  font-size: 0;
  color: #2b3a8a !important;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.sct-hdr__toggle svg {
  width: 22px;
  height: 22px;
  stroke: #2b3a8a;
}
.sct-hdr__toggle .sct-hdr__icon-close {
  display: none;
}
.sct-hdr.is-open .sct-hdr__icon-open {
  display: none;
}
.sct-hdr.is-open .sct-hdr__icon-close {
  display: block;
}

@media (max-width: 760px) {
  .sct-hdr__inner {
    height: 60px;
    padding: 0 16px;
  }
  .sct-hdr__logo {
    height: 46px;
    margin-left: -8px;
  }
  .sct-hdr__toggle {
    display: inline-flex;
    order: 3;
  }
  .sct-hdr__nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 16px;
    background: #fff;
    border-bottom: 1px solid #e7e9f2;
    box-shadow: 0 12px 24px rgba(20, 30, 70, 0.08);
  }
  .sct-hdr.is-open .sct-hdr__nav {
    display: flex;
  }
  .sct-hdr__link {
    display: block;
    padding: 12px 12px;
  }
  .sct-hdr__link--login {
    margin: 8px 0 0;
    text-align: center;
  }
}

/* Anchored sections should clear the sticky header. */
html {
  scroll-padding-top: 84px;
}
