.sv-shell-header,
.sv-shell-footer {
  --sv-navy: #061129;
  --sv-blue: #48a8d5;
  --sv-blue-deep: #237fab;
  --sv-ice: #eaf7fc;
  --sv-ice-soft: #f5fbfe;
  --sv-muted: #5f7183;
  --sv-line: rgba(6, 17, 41, 0.1);
  --sv-shell-width: 1200px;
  font-family: "Avenir Next", "Manrope", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.sv-shell-header *,
.sv-shell-header *::before,
.sv-shell-header *::after,
.sv-shell-footer *,
.sv-shell-footer *::before,
.sv-shell-footer *::after {
  box-sizing: border-box;
}

.sv-shell-container {
  width: min(calc(100% - 40px), var(--sv-shell-width));
  margin-inline: auto;
}

.sv-shell-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: #061129;
  text-decoration: none;
  transform: translateY(-160%);
}

.sv-shell-skip-link:focus {
  transform: translateY(0);
}

.sv-shell-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  border-bottom: 1px solid rgba(6, 17, 41, 0.07);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(6, 17, 41, 0.045);
  backdrop-filter: blur(18px);
}

body.admin-bar .sv-shell-header {
  top: 32px;
}

.sv-shell-header a,
.sv-shell-footer a {
  text-decoration: none;
}

.sv-shell-header__inner {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.sv-shell-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--sv-navy);
}

.sv-shell-brand img {
  display: block;
  width: 126px;
  height: 70px;
  object-fit: contain;
}

.sv-shell-brand__copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.sv-shell-brand__copy strong {
  color: var(--sv-navy);
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.sv-shell-brand__copy small {
  color: var(--sv-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sv-shell-nav {
  display: flex;
  align-items: center;
  padding: 5px;
  border: 1px solid var(--sv-line);
  border-radius: 999px;
  background: var(--sv-ice-soft);
}

.sv-shell-menu,
.sv-shell-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-shell-menu {
  display: flex;
  align-items: center;
  gap: 3px;
}

.sv-shell-menu > li {
  position: relative;
  margin: 0;
}

.sv-shell-header .sv-shell-menu > li > a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: #43566a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.sv-shell-header .sv-shell-menu > .menu-item-has-children > a {
  position: relative;
  padding-right: 32px;
}

.sv-shell-menu > .menu-item-has-children > a::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-68%) rotate(45deg);
  transition: transform 180ms ease;
}

.sv-shell-header .sv-shell-menu > li:hover > a,
.sv-shell-header .sv-shell-menu > li:focus-within > a,
.sv-shell-header .sv-shell-menu > .current-menu-item > a,
.sv-shell-header .sv-shell-menu > .current-menu-ancestor > a,
.sv-shell-header .sv-shell-menu > li > a:hover,
.sv-shell-header .sv-shell-menu > li > a:focus-visible,
.sv-shell-header .sv-shell-menu > li > a[aria-current="page"] {
  color: #fff;
  background: var(--sv-navy);
}

.sv-shell-menu > .menu-item-has-children:hover > a::after,
.sv-shell-menu > .menu-item-has-children:focus-within > a::after {
  transform: translateY(-30%) rotate(225deg);
}

.sv-shell-menu .sub-menu {
  --sv-dropdown-x: -50%;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 230px;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--sv-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(6, 17, 41, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(var(--sv-dropdown-x), 10px);
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.sv-shell-menu .sub-menu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 6px;
  content: "";
}

.sv-shell-menu > li:nth-last-child(-n + 2) > .sub-menu {
  --sv-dropdown-x: 0;
  right: 0;
  left: auto;
}

.sv-shell-menu > li:hover > .sub-menu,
.sv-shell-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(var(--sv-dropdown-x), 0);
  pointer-events: auto;
}

.sv-shell-header .sv-shell-menu .sub-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: #43566a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.sv-shell-header .sv-shell-menu .sub-menu a:hover,
.sv-shell-header .sv-shell-menu .sub-menu a:focus-visible,
.sv-shell-header .sv-shell-menu .sub-menu .current-menu-item > a,
.sv-shell-header .sv-shell-menu .sub-menu a[aria-current="page"] {
  color: var(--sv-navy);
  background: var(--sv-ice);
  transform: translateX(2px);
}

.sv-shell-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sv-shell-button:hover,
.sv-shell-button:focus-visible {
  transform: translateY(-2px);
}

.sv-shell-button--primary {
  color: #fff;
  background: var(--sv-navy);
  box-shadow: 0 12px 28px rgba(6, 17, 41, 0.18);
}

.sv-shell-button--primary:hover,
.sv-shell-button--primary:focus-visible {
  color: #fff;
  box-shadow: 0 16px 34px rgba(6, 17, 41, 0.25);
}

.sv-shell-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--sv-navy);
  cursor: pointer;
}

.sv-shell-menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.sv-shell-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.sv-shell-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.sv-shell-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.sv-shell-mobile-nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 16px;
  left: 16px;
  z-index: 1000;
  max-width: 520px;
  max-height: calc(100vh - 130px);
  max-height: calc(100dvh - 130px);
  margin-left: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: var(--sv-navy);
  box-shadow: 0 24px 70px rgba(6, 17, 41, 0.35);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sv-shell-mobile-nav[hidden] {
  display: none;
}

.sv-shell-mobile-menu,
.sv-shell-mobile-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-shell-mobile-menu > li {
  position: relative;
  margin: 0;
}

.sv-shell-header .sv-shell-mobile-menu a {
  display: block;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.sv-shell-header .sv-shell-mobile-menu a:hover,
.sv-shell-header .sv-shell-mobile-menu a:focus-visible,
.sv-shell-header .sv-shell-mobile-menu .current-menu-item > a,
.sv-shell-header .sv-shell-mobile-menu .current-menu-ancestor > a,
.sv-shell-header .sv-shell-mobile-menu a[aria-current="page"] {
  color: var(--sv-blue);
}

.sv-shell-mobile-menu .sub-menu {
  display: grid;
  gap: 2px;
  padding: 4px 0 10px 16px;
}

.sv-shell-mobile-menu[data-submenus-ready="true"] .menu-item-has-children > .sub-menu {
  display: none;
}

.sv-shell-mobile-menu[data-submenus-ready="true"] .menu-item-has-children.is-submenu-open > .sub-menu {
  display: grid;
}

.sv-shell-header .sv-shell-mobile-menu .sub-menu a {
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.sv-shell-header .sv-shell-mobile-menu .sub-menu a:hover,
.sv-shell-header .sv-shell-mobile-menu .sub-menu a:focus-visible,
.sv-shell-header .sv-shell-mobile-menu .sub-menu .current-menu-item > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.sv-shell-mobile-menu[data-submenus-ready="true"] > .menu-item-has-children > a {
  padding-right: 58px;
}

.sv-shell-submenu-toggle {
  position: absolute;
  top: 5px;
  right: 3px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.sv-shell-submenu-toggle::before {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.sv-shell-submenu-toggle:hover,
.sv-shell-submenu-toggle:focus-visible {
  color: var(--sv-navy);
  background: var(--sv-blue);
}

.menu-item-has-children.is-submenu-open > .sv-shell-submenu-toggle::before {
  transform: translateY(2px) rotate(225deg);
}

.sv-shell-mobile-nav__link--cta {
  display: block;
  margin-top: 12px;
  padding: 14px 12px;
  border: 0;
  border-radius: 999px;
  color: var(--sv-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  background: var(--sv-blue);
}

.sv-shell-footer {
  width: 100%;
  padding: 64px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--sv-navy);
}

.sv-shell-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.8fr) minmax(180px, 0.8fr);
  gap: 70px;
  padding-bottom: 50px;
}

.sv-shell-footer__brand img {
  display: block;
  width: 190px;
  height: auto;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
}

.sv-shell-footer__brand p {
  max-width: 420px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.sv-shell-footer__brand .sv-shell-footer__keyword-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(72, 168, 213, 0.55);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  transition: color 180ms ease, border-color 180ms ease;
}

.sv-shell-footer__brand .sv-shell-footer__keyword-link:hover,
.sv-shell-footer__brand .sv-shell-footer__keyword-link:focus-visible {
  border-color: var(--sv-blue);
  color: var(--sv-blue);
}

.sv-shell-footer__brand .sv-shell-footer__keyword-link:focus-visible {
  outline: 2px solid var(--sv-blue);
  outline-offset: 4px;
}

.sv-shell-footer__column h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.sv-shell-footer__column a,
.sv-shell-footer__column span {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

.sv-shell-footer__column a:hover,
.sv-shell-footer__column a:focus-visible {
  color: var(--sv-blue);
}

.sv-shell-footer-menu,
.sv-shell-footer-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-shell-footer-menu li {
  margin: 0;
}

.sv-shell-footer-menu .sub-menu {
  margin: 2px 0 8px 2px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.sv-shell-footer-menu .sub-menu a {
  margin: 7px 0;
  font-size: 14px;
}

.sv-shell-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

body.sv-shell-menu-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .sv-shell-nav {
    display: none;
  }

  .sv-shell-menu-toggle {
    display: block;
  }
}

@media (max-width: 900px) {
  .sv-shell-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .sv-shell-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 782px) {
  body.admin-bar .sv-shell-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .sv-shell-container {
    width: min(calc(100% - 28px), var(--sv-shell-width));
  }

  .sv-shell-header__inner {
    min-height: 78px;
    gap: 12px;
  }

  .sv-shell-brand img {
    width: 96px;
    height: 58px;
  }

  .sv-shell-brand__copy strong {
    font-size: 21px;
  }

  .sv-shell-brand__copy small {
    font-size: 8px;
  }

  .sv-shell-header__cta {
    display: none;
  }

  .sv-shell-mobile-nav {
    right: 12px;
    left: 12px;
  }

  .sv-shell-footer__main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sv-shell-footer__brand {
    grid-column: auto;
  }

  .sv-shell-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sv-shell-header *,
  .sv-shell-footer * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
