/*
 * Global child-page Header adapter.
 * Mirrors the current preserved Homepage Header
 * without changing or importing into the authoritative Homepage tree.
 */
@font-face {
  font-family: "Inter Variable";
  src: url("./inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

body.sps-g07b-global-header-page .site-header,
body.sps-g07b-global-header-page #ast-mobile-header {
  display: none !important;
}

body.sps-g07b-global-header-page.sps-global-nav-open {
  overflow: hidden;
}

.sps-g07b-global-header-page .sps-preserved-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  border-bottom: 0;
  background: rgba(7, 29, 51, 0.58);
  color: #fff;
  font-family: "Inter Variable", Inter, Arial, Helvetica, sans-serif;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.sps-preserved-header.is-solid {
  background: rgba(6, 23, 37, 0.9);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.admin-bar .sps-preserved-header {
  top: 32px;
}

.sps-preserved-header *,
.sps-preserved-header *::before,
.sps-preserved-header *::after {
  box-sizing: border-box;
}

.sps-preserved-header a {
  color: inherit !important;
  text-decoration: none !important;
}

.sps-preserved-header button {
  font-family: inherit;
}

.sps-preserved-header svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sps-preserved-header__bar {
  position: relative;
  z-index: 2;
  display: grid;
  height: 64px;
  max-width: 1600px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}

.sps-preserved-header__logo {
  position: relative;
  z-index: 3;
  display: block;
  width: 190px;
  height: 28px;
}

.sps-preserved-header__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.sps-preserved-header__desktop-nav,
.sps-preserved-header__actions {
  display: none;
}

.sps-preserved-header__mobile-actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
}

.sps-preserved-header__search {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}

.sps-preserved-header__search:hover,
.sps-preserved-header__search:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.sps-preserved-header__search svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.7;
}

.sps-preserved-header__search-panel {
  position: absolute;
  inset: 100% 0 auto;
  z-index: 4;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 23, 37, 0.98);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.sps-preserved-header__search-panel[hidden] {
  display: none;
}

.sps-preserved-header__search-panel form {
  display: flex;
  max-width: 920px;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 12px 16px;
}

.sps-preserved-header__search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.sps-preserved-header__search-panel-icon {
  display: block;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.65);
}

.sps-preserved-header__search-panel-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

.sps-preserved-header__search-panel input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 44px;
  flex: 1 1 auto;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  outline: 0;
  background: #fff;
  box-shadow: none;
  color: #071d33;
  font: inherit;
  font-size: 15px;
  line-height: 1;
}

.sps-preserved-header__search-panel input[type="search"]::placeholder {
  color: #718096;
  opacity: 1;
}

.sps-preserved-header__search-panel input[type="search"]:focus {
  border-color: #78b5ff;
  box-shadow: 0 0 0 2px rgba(120, 181, 255, 0.3);
}

.sps-preserved-header__search-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.sps-preserved-header__search-close:hover,
.sps-preserved-header__search-close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sps-preserved-header__search-close svg {
  width: 20px;
  height: 20px;
}

.sps-preserved-header__menu-toggle {
  position: relative;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: #fff;
}

.sps-preserved-header__menu-toggle span {
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

.sps-preserved-header__menu-toggle span:first-child {
  transform: translateY(-3px);
}

.sps-preserved-header__menu-toggle span:last-child {
  transform: translateY(3px);
}

.sps-preserved-header__menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.sps-preserved-header__menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.sps-preserved-header__menu-toggle:focus-visible,
.sps-preserved-header a:focus-visible,
.sps-preserved-header button:focus-visible {
  outline: 2px solid #74b0ff;
  outline-offset: 3px;
}

.sps-preserved-header__mobile-menu {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100vw;
  height: 100svh;
  overflow-y: auto;
  background: #061725;
  padding: 96px 20px 32px;
  color: #fff;
}

.sps-preserved-header__mobile-menu[hidden] {
  display: none;
}

.sps-preserved-header__mobile-menu nav {
  display: flex;
  min-height: calc(100svh - 128px);
  max-width: 720px;
  flex-direction: column;
  margin: 0 auto;
}

.sps-preserved-header__mobile-menu nav > p {
  margin: 0;
  padding-bottom: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sps-preserved-header__mobile-menu nav > a,
.sps-preserved-header__mobile-group {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sps-preserved-header__mobile-menu nav > a {
  display: flex;
  align-items: center;
  min-height: 77px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.sps-preserved-header__mobile-group > button {
  display: flex;
  width: 100%;
  min-height: 77px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-align: left;
}

.sps-preserved-header__mobile-group > button svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.2s;
}

.sps-preserved-header__mobile-group > button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.sps-preserved-header__mobile-products {
  display: grid;
  gap: 4px;
  padding: 0 0 20px 12px;
}

.sps-preserved-header__mobile-products[hidden] {
  display: none;
}

.sps-preserved-header__mobile-products > a,
.sps-preserved-header__mobile-products > span,
.sps-preserved-header__mobile-product-group > a,
.sps-preserved-header__mobile-product-group > div a {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 14px;
}

.sps-preserved-header__mobile-products svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.25);
}

.sps-preserved-header__mobile-products > span small {
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sps-preserved-header__mobile-active {
  padding-left: 8px;
  border-left: 2px solid #1473e6;
}

.sps-preserved-header__mobile-active > a {
  color: #fff !important;
}

.sps-preserved-header__mobile-products > a[aria-current="page"],
.sps-preserved-header__mobile-group > button[aria-current="page"] {
  color: #78b5ff !important;
}

.sps-preserved-header__mobile-product-group > div {
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.sps-preserved-header__mobile-product-group > div a {
  min-height: 36px;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 12px;
}

.sps-preserved-header__mobile-explore {
  margin-top: 8px;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600;
}

.sps-preserved-header__mobile-footer {
  margin-top: auto;
  padding-top: 32px;
}

.sps-preserved-header__mobile-footer > a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #fff;
  color: #000 !important;
  font-size: 14px;
  font-weight: 500;
}

.sps-preserved-header__mobile-footer p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 782px) {
  .admin-bar .sps-preserved-header {
    top: 46px;
  }
}

@media (min-width: 640px) {
  .sps-preserved-header__bar {
    height: 70px;
  }

  .sps-preserved-header__logo {
    width: 210px;
    height: 30px;
  }

  .sps-preserved-header__mobile-menu nav > a,
  .sps-preserved-header__mobile-group > button {
    font-size: 26px;
  }

  .sps-preserved-header__search-panel form {
    gap: 12px;
    padding: 16px 24px;
  }

  .sps-preserved-header__search-panel-icon svg {
    width: 22px;
    height: 22px;
  }

  .sps-preserved-header__search-panel input[type="search"] {
    height: 48px;
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .sps-preserved-header__bar {
    height: 78px;
    grid-template-columns: 210px minmax(0, 1fr) 260px;
    padding: 0 32px;
  }

  .sps-preserved-header__desktop-nav {
    display: flex;
    height: 78px;
    align-items: stretch;
    justify-self: center;
    gap: 8px;
  }

  .sps-preserved-header__nav-item {
    display: flex;
    height: 78px;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
  }

  .sps-preserved-header__nav-item:hover,
  .sps-preserved-header__nav-item:focus-visible,
  .sps-preserved-header__nav-item[aria-expanded="true"] {
    border-bottom-color: #fff;
    color: #fff !important;
  }

  .sps-preserved-header__nav-item.is-active {
    border-bottom-color: #78b5ff;
    color: #fff !important;
  }

  .sps-preserved-header__products,
  .sps-preserved-header__resources {
    height: 78px;
  }

  .sps-preserved-header__products-trigger svg,
  .sps-preserved-header__resources-trigger svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
  }

  .sps-preserved-header__nav-item[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .sps-preserved-header__actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
  }

  .sps-preserved-header__mobile-actions {
    display: none;
  }

  .sps-preserved-header__search svg {
    width: 24px;
    height: 24px;
  }

  .sps-preserved-header__divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.25);
  }

  .sps-preserved-header .sps-preserved-header__quote {
    display: inline-flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border: 0;
    border-radius: 9999px;
    background: #1473e6;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s;
  }

  .sps-preserved-header__quote svg {
    width: 16px;
    height: 16px;
  }

  .sps-preserved-header__quote:hover {
    background: #075fc4;
  }

  .sps-preserved-header__menu-toggle {
    display: none;
  }

  .sps-preserved-header__dropdown {
    position: absolute;
    inset: 100% 0 auto;
    background: rgba(6, 23, 37, 0.98);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.35);
  }

  .sps-preserved-header__dropdown[hidden] {
    display: none;
  }

  .sps-preserved-header__dropdown-inner {
    display: grid;
    min-height: 253px;
    max-width: 1440px;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.7fr);
    gap: 56px;
    margin: 0 auto;
    padding: 36px 56px;
  }

  .sps-preserved-header__dropdown-intro {
    max-width: 360px;
  }

  .sps-preserved-header__dropdown-intro > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .sps-preserved-header__dropdown-intro h2 {
    margin: 16px 0 0;
    color: #fff !important;
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -0.035em;
  }

  .sps-preserved-header__dropdown-intro > span {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.85;
  }

  .sps-preserved-header__dropdown-intro > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 12px;
    font-weight: 500;
  }

  .sps-preserved-header__dropdown-intro svg,
  .sps-preserved-header__product-links svg {
    width: 16px;
    height: 16px;
  }

  .sps-preserved-header__product-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: center;
    column-gap: 40px;
  }

  .sps-preserved-header__product-links > a,
  .sps-preserved-header__product-links > span,
  .sps-preserved-header__product-group > a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 14px;
  }

  .sps-preserved-header__product-links > a:hover,
  .sps-preserved-header__product-group a:hover {
    color: #fff !important;
  }

  .sps-preserved-header__product-links svg {
    color: rgba(255, 255, 255, 0.25);
  }

  .sps-preserved-header__product-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sps-preserved-header__product-group--active {
    box-shadow: inset 2px 0 0 #1473e6;
  }

  .sps-preserved-header__product-group > a {
    border-bottom: 0;
  }

  .sps-preserved-header__product-group--active > a {
    padding-left: 12px;
    color: #fff !important;
  }

  .sps-preserved-header__product-group > div {
    margin-left: 14px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .sps-preserved-header__product-group > div a {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.58) !important;
    font-size: 12px;
  }

  .sps-preserved-header__product-links > span small {
    color: rgba(255, 255, 255, 0.35);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .sps-preserved-header__product-links > a.sps-preserved-header__current-link {
    box-shadow: inset 2px 0 0 #1473e6;
    padding-left: 12px;
    color: #fff !important;
  }

  .sps-preserved-header__dropdown--resources {
    border-top: 1px solid #e3eaf2;
    background: #fff;
    color: #071d33;
    box-shadow: 0 26px 50px rgba(7, 29, 51, 0.2);
  }

  .sps-preserved-header__resources-inner {
    display: grid;
    min-height: 286px;
    max-width: 1440px;
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.7fr);
    gap: 56px;
    margin: 0 auto;
    padding: 36px 56px;
  }

  .sps-preserved-header__resources-intro {
    max-width: 360px;
  }

  .sps-preserved-header__resources-intro > p {
    margin: 0;
    color: #1473e6;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .sps-preserved-header__resources-intro h2 {
    margin: 16px 0 0;
    color: #071d33 !important;
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -0.035em;
  }

  .sps-preserved-header__resources-intro > span {
    display: block;
    margin-top: 12px;
    color: #5b6b7c;
    font-size: 13px;
    line-height: 1.85;
  }

  .sps-preserved-header__resources-intro > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #0c63c7 !important;
    font-size: 12px;
    font-weight: 600;
  }

  .sps-preserved-header__resource-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: center;
    gap: 12px;
  }

  .sps-preserved-header__resource-links > a {
    display: grid;
    min-height: 88px;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    align-items: start;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid #dce5ee;
    border-radius: 12px;
    color: #071d33 !important;
    transition: border-color 0.2s, background-color 0.2s;
  }

  .sps-preserved-header__resource-links > a:hover,
  .sps-preserved-header__resource-links > a:focus-visible {
    border-color: #8dbdf2;
    background: #f4f8fd;
  }

  .sps-preserved-header__resource-links b {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: #eaf3fe;
    color: #0c63c7;
    font-size: 11px;
    font-weight: 600;
  }

  .sps-preserved-header__resource-links strong,
  .sps-preserved-header__resource-links small {
    display: block;
  }

  .sps-preserved-header__resource-links strong {
    color: #071d33;
    font-size: 14px;
    font-weight: 600;
  }

  .sps-preserved-header__resource-links small {
    margin-top: 4px;
    color: #68788a;
    font-size: 12px;
    line-height: 1.65;
  }

  .sps-preserved-header__resource-links svg {
    margin-top: 3px;
    color: #0c63c7;
  }
}

@media (min-width: 1536px) {
  .sps-preserved-header__bar {
    padding: 0 40px;
  }

  .sps-preserved-header__desktop-nav {
    gap: 16px;
  }

  .sps-preserved-header__nav-item {
    padding: 0 10px;
    font-size: 14px;
  }
}

.sps-resources-hero {
  padding: 144px 24px 80px;
  background: #071d33;
  color: #fff;
}

.sps-resources-hero .sps-eyebrow {
  color: #78b5ff;
}

.sps-resources-hero .sps-title {
  margin-top: 20px;
  color: #fff;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.sps-resources-hero .sps-lead {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.sps-resources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.sps-resources-grid .sps-card {
  min-height: 210px;
  scroll-margin-top: 112px;
  background: #f8fafc;
}

.sps-resources-grid .sps-card > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #e7f2fe;
  color: #0c63c7;
  font-size: 12px;
  font-weight: 600;
}

.sps-resources-grid .sps-card h2 {
  margin-top: 32px;
}

@media (max-width: 760px) {
  .sps-resources-hero {
    padding: 120px 20px 64px;
  }

  .sps-resources-grid {
    grid-template-columns: 1fr;
  }
}
