@charset "UTF-8";
/* ==========================================================================
   Layout shell: sticky header, navigation, solutions panel, mobile menu,
   footer. Shared by every public page.
   ========================================================================== */

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  isolation: isolate;
  background: linear-gradient(180deg, #0b1033, #080c2b);
  box-shadow: inset 0 -1px 0 rgb(200 212 255 / 14%);
  color: #fff;
  transition: box-shadow .28s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, #2346e01f, transparent 50%, #a459ff14);
  pointer-events: none;
}

/* Reading progress. */
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--gradient-signal);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.site-header.is-scrolled {
  box-shadow: inset 0 -1px 0 rgb(200 212 255 / 18%), 0 10px 30px rgb(4 8 30 / 30%);
}

.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  transition: min-height .28s var(--ease);
}

.site-header.is-scrolled .header {
  min-height: var(--header-h-compact);
}

.site-header.is-scrolled .brand-lockup__heimdal {
  width: 136px;
}

.site-header.is-scrolled .brand-lockup__appsec {
  width: 128px;
}

/* ---------- Navigation ---------- */
.navigation {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 600;
}

.navigation > a:not(.button),
.nav-group__toggle,
.nav-group__fallback {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  color: #e1e7f6;
  white-space: nowrap;
  transition: color .2s;
}

.navigation > a:not(.button)::after,
.nav-group__toggle::after {
  content: "";
  position: absolute;
  inset: auto 0 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.navigation > a:not(.button):hover,
.navigation > a[aria-current],
.nav-group__toggle:hover,
.nav-group.is-open .nav-group__toggle,
.nav-group.is-current .nav-group__toggle {
  color: #fff;
}

.navigation > a:not(.button):hover::after,
.navigation > a[aria-current]::after,
.nav-group__toggle:hover::after,
.nav-group.is-current .nav-group__toggle::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

/* ---------- Solutions panel ---------- */
.nav-group {
  display: flex;
  align-items: center;
}

.nav-group__toggle {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
}

.js .nav-group__toggle {
  display: inline-flex;
}

.js .nav-group__fallback {
  display: none;
}

.nav-group__toggle svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.nav-group.is-open .nav-group__toggle svg {
  transform: rotate(180deg);
}

.nav-mega {
  display: none;
}

.js .nav-group.is-open .nav-mega {
  display: block;
}

.nav-mega__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.nav-mega__group > p {
  margin: 0 0 10px;
  padding: 0 10px;
  color: #8fa3ec;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-mega__group ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-mega__group a {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--r-row);
  color: #fff;
  transition: background .2s;
}

.nav-mega__group--needs a {
  display: block;
  padding-block: 8px;
}

.nav-mega__group a:hover,
.nav-mega__group a:focus-visible,
.nav-mega__group a[aria-current] {
  background: rgb(255 255 255 / 8%);
}

.nav-mega__group a[aria-current]::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--gradient-signal-v);
}

.nav-mega__group strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.nav-mega__group small {
  display: block;
  color: var(--on-dark-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.nav-mega__group--needs small {
  color: var(--periwinkle);
}

.nav-mega__group a:hover .icon-tile {
  transform: rotate(-6deg) scale(1.06);
}

.nav-mega__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 16px;
  padding: 16px 10px 0;
  border-top: 1px solid #ffffff1f;
}

.nav-mega__links a {
  color: var(--lavender);
  font-size: 16px;
  font-weight: 600;
}

.nav-mega__links a > span {
  color: var(--periwinkle);
}

.nav-mega__links a:hover,
.nav-mega__links a[aria-current] {
  color: #fff;
}

@media (min-width: 1101px) {
  .js .nav-mega {
    position: absolute;
    z-index: 40;
    top: 100%;
    right: 0;
    left: 0;
    padding: 24px 22px 18px;
    border: 1px solid #ffffff22;
    border-top: 0;
    border-radius: 0 0 var(--r-panel) var(--r-panel);
    background: radial-gradient(ellipse at 90% 0, #a459ff26, transparent 50%), radial-gradient(ellipse at 0 0, #2a56ff2e, transparent 50%), #0b1030;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 34px 70px -24px rgb(2 6 30 / 80%);
  }
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-block: 36px 22px;
  border-top: 1px solid rgb(255 255 255 / 6%);
  background: var(--night-deep);
}

.footer::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: -30%;
  width: 260px;
  aspect-ratio: 920 / 1080;
  background: url("/assets/vendor/heimdal/heimdal-head.webp") center / contain no-repeat;
  opacity: .08;
  pointer-events: none;
}

.footer > .wrap {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 38px;
  padding-bottom: 24px;
}

.footer-top > p {
  margin: 0;
  color: #c1cfe7;
  font-size: 16px;
  line-height: 1.55;
}

.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  width: 100%;
  color: #cdd7ed;
  font-size: 15px;
}

.footer-top nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-top a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid #ffffff24;
  color: #b7c8e4;
  font-size: 14px;
}

.footer-bottom > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- Menu mode (tablets and phones) ---------- */
@media (max-width: 1100px) {
  .js .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 46px;
    min-height: 46px;
    padding: 10px 0 10px 10px;
    border: 0;
    background: none;
    color: #e7edfa;
    font-size: 16px;
  }
  .menu-toggle svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
  }
  .js .navigation {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h) - 16px);
    padding: 16px 22px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #ffffff26;
    border-radius: var(--r-card);
    background: #0d1336;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 34px 70px -24px rgb(2 6 30 / 80%);
  }
  .js .navigation.is-open {
    display: flex;
  }
  .js .navigation > a:not(.button),
  .js .nav-group__toggle {
    justify-content: space-between;
    min-height: 54px;
    padding-block: 12px;
    border-bottom: 1px solid #ffffff20;
  }
  .js .navigation > a:not(.button)::after,
  .js .nav-group__toggle::after {
    display: none;
  }
  .js .nav-group {
    flex-direction: column;
    align-items: stretch;
  }
  .js .nav-group.is-open .nav-mega {
    padding: 12px 0 16px;
    border-bottom: 1px solid #ffffff20;
  }
  .nav-mega__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .navigation .language-switch {
    align-self: flex-start;
    margin-block: 16px;
  }
  .navigation .button {
    margin-top: 6px;
  }
}

@media (min-width: 1101px) and (max-width: 1440px) {
  .navigation {
    gap: 14px;
    font-size: 15px;
  }
  .brand-lockup {
    gap: 16px;
  }
  .brand-lockup__heimdal {
    width: 136px;
  }
  .brand-lockup__appsec {
    width: 128px;
  }
}

@media (max-width: 760px) {
  .site-header.is-scrolled .brand-lockup__heimdal,
  .site-header.is-scrolled .brand-lockup__appsec {
    width: 108px;
  }
  .nav-mega__columns {
    grid-template-columns: 1fr;
  }
  .footer-top nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
  }
  .footer-top nav .language-switch {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .menu-toggle > span {
    display: none;
  }
}
