

#header.v2-header {
  position: sticky;
  top: 0;
  z-index: var(--layer-header);
  height: var(--header-h);
  background: linear-gradient(180deg, #070b16e6 0%, #070b1699 55%, #070b1600 100%);
  color: var(--pst-text);
  transition: background var(--time-state), backdrop-filter var(--time-state);
  view-transition-name: site-header;
}

#header.v2-header.is-scrolled {
  background: linear-gradient(135deg, #0a0f1ae0, #131f44cc 60%, #1a1a46c7);
  backdrop-filter: blur(14px) saturate(150%);
}

.shell-frame {
  width: var(--frame);
  margin-inline: auto;
}

.shell-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.shell-brand {
  display: block;
  width: 156px;
}

.shell-brand img {
  display: block;
  width: 100%;
  height: auto;
}

#header .shell-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: var(--type-small);
  font-weight: 600;
}

#header .shell-nav .nav-link {
  padding: 8px 0;
  color: #dfe5fb;
  font: inherit;
  transition: color var(--time-state);
}

#header .shell-nav .nav-link:hover,
#header .shell-nav .cs-hover-restored,
#header .shell-nav summary:hover,
#header .services-menu:has(.services-nav[open]) > .services-main {
  color: #fff;
}

#header .shell-nav .nav-link[aria-current],
#header .shell-nav .services-main.active {
  color: var(--pst-green);
}

.shell-line {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, #2fc64600, #2fc64699 12%, #386aff80 50%, #a869ff80 88%, #a869ff00);
  opacity: 0.55;
  pointer-events: none;
}

.is-scrolled .shell-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--pst-green) 0% 12%, var(--pst-blue) 40% 60%, var(--pst-purple) 88%);
  box-shadow: 0 0 14px #2fc64680;
  transform: translateX(-50%);
  animation: shell-compression 1.9s ease-out forwards;
}

body#article .shell-line::before {
  content: "";
  position: absolute;
  inset: -1px 0 0;
  background: linear-gradient(90deg, var(--pst-green), var(--pst-cyan));
  box-shadow: 0 0 10px #46e4ff99;
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
}

.shell-indicator {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pst-green);
  box-shadow: 0 0 10px 2px #2fc64699, 0 0 26px 6px #46e4ff40;
  opacity: 0;
  transform: translateX(calc(var(--indicator-x, 0px) - 50%));
  transition: transform 380ms var(--ease-arrive), opacity var(--time-state);
}

.shell-indicator.is-placed {
  opacity: 1;
}

.services-menu {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 6px;
}

.services-nav summary {
  display: inline-flex;
  align-items: center;
  padding: 6px 2px;
  cursor: pointer;
  list-style: none;
}

.services-nav summary::-webkit-details-marker {
  display: none;
}

.services-chevron {
  opacity: 0.8;
  transition: transform var(--time-state);
}

.services-nav[open] .services-chevron {
  transform: rotate(180deg);
}

#header .services-links {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: min(900px, calc(100vw - 56px));
  padding: 12px;
  border: 1px solid var(--pst-line-strong);
  background: linear-gradient(160deg, #14224ef5, #0c1330f7);
  box-shadow: 0 30px 60px #02040fcc, inset 0 1px 0 #c9d6ff2e;
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

#header .services-nav[open] .services-links {
  animation: shell-panel-in 240ms var(--ease-arrive);
}

#header .services-links::before {
  content: "";
  position: absolute;
  inset: -22px 0 100%;
}

#header .shell-nav .services-card {
  display: grid;
  grid-template-rows: 84px auto auto;
  gap: 4px;
  padding: 14px 14px 16px;
  border-top: 2px solid transparent;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  transition: background var(--time-state), border-color var(--time-state);
}

#header .shell-nav .services-card:hover,
#header .shell-nav .services-card:focus-visible,
#header .shell-nav .services-card[aria-current] {
  border-top-color: var(--accent);
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 42%, transparent), #1a2a5c66 75%);
}

.services-card img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 60%, transparent));
}

.services-card-name {
  color: var(--pst-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.services-card-lead {
  color: var(--pst-muted);
  font-size: var(--type-min);
  font-weight: 400;
  line-height: 1.35;
}

#header .shell-nav .services-all {
  grid-column: 1 / -1;
  padding: 10px 14px 4px;
  color: var(--pst-green);
  font-size: var(--type-min);
}

.shell-cta,
.shell-menu {
  justify-self: end;
  padding: 10px 18px;
  white-space: nowrap;
  border: 1px solid var(--pst-line-strong);
  background: #14224ab3;
  color: var(--pst-text);
  font: 700 var(--type-min)/1.5 var(--font);
  transition: background var(--time-state), border-color var(--time-state);
}

.shell-cta:hover,
.shell-cta[aria-current],
.shell-menu:hover {
  border-color: var(--pst-cyan);
  background: #1f3270;
  color: #fff;
}

.shell-menu {
  min-width: 7.5em;
}

.shell-bar .shell-menu {
  display: none;
}

#offCanvasNav.shell-mobile {
  inset: 0;
  width: 100%;
  max-width: none;
  padding: 14px 18px 28px;
  overflow-y: auto;
  border: 0;
  background:
    radial-gradient(ellipse 90% 50% at 80% 0%, #2a3fa066, transparent 70%),
    radial-gradient(ellipse 80% 50% at 0% 100%, #5a2f9a4d, transparent 70%),
    linear-gradient(160deg, #070b16, #0b1230 70%, #0f1638);
  color: var(--pst-text);
  font-family: var(--font);
  opacity: 0;
  transform: none;
  transition: opacity 260ms ease;
}

#offCanvasNav.shell-mobile.showing,
#offCanvasNav.shell-mobile.show:not(.hiding) {
  opacity: 1;
}

body:has(#offCanvasNav.show, #offCanvasNav.showing, #offCanvasNav.hiding) .offcanvas-backdrop {
  opacity: 0;
}

.shell-dismiss {
  position: relative;
  top: calc(var(--header-h) / 2 - 14px);
  align-self: flex-end;
  margin-bottom: 8px;
  translate: 0 -50%;
}

.shell-mobile .shell-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  padding-left: 22px;
  border-left: 1px solid var(--pst-line);
}

.shell-mobile .shell-nav > .nav-link,
.shell-mobile .services-main {
  position: relative;
  display: block;
  padding: 9px 0;
  color: var(--pst-text);
  font-size: clamp(1.45rem, 6.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.shell-mobile .shell-nav > .nav-link::before,
.shell-mobile .services-main::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -26px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--pst-line-strong);
  border-radius: 50%;
  background: var(--pst-void);
  transform: translateY(-50%);
}

.shell-mobile .shell-nav .nav-link[aria-current],
.shell-mobile .shell-nav .services-main.active {
  color: var(--pst-green);
}

.shell-mobile .shell-nav > .nav-link[aria-current]::before,
.shell-mobile .services-main.active::before {
  border-color: var(--pst-green);
  background: var(--pst-green);
  box-shadow: 0 0 10px #2fc646;
}

.shell-mobile .services-menu {
  display: block;
}

.shell-mobile .services-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 8px;
  margin: 4px 0 10px;
}

.shell-mobile .services-card {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 12px;
  border: 1px solid var(--pst-line);
  background: radial-gradient(ellipse at 0% 50%, color-mix(in srgb, var(--accent) 32%, transparent), #101a3a 80%);
}

.shell-mobile .services-card-name {
  font-size: var(--type-min);
}

.shell-mobile .services-card-lead {
  display: none;
}

.shell-mobile-legal {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--pst-line);
}

.shell-mobile .shell-mobile-legal .nav-link {
  padding: 4px 0;
  color: var(--pst-muted);
  font-size: var(--type-small);
  font-weight: 600;
}

.shell-mobile-logo {
  flex-shrink: 0;
  align-self: center;
  width: min(160px, 100%);
  height: auto;
  margin: auto 0 env(safe-area-inset-bottom, 0px);
  padding-top: 40px;
  box-sizing: content-box;
}

.shell-mobile:is(.showing, .show) .shell-nav > * {
  animation: shell-link-in 420ms var(--ease-arrive) both;
}

.shell-mobile:is(.showing, .show) .shell-nav > :nth-child(2) {
  animation-delay: 40ms;
}

.shell-mobile:is(.showing, .show) .shell-nav > :nth-child(3) {
  animation-delay: 80ms;
}

.shell-mobile:is(.showing, .show) .shell-nav > :nth-child(4) {
  animation-delay: 120ms;
}

.shell-mobile:is(.showing, .show) .shell-nav > :nth-child(5) {
  animation-delay: 160ms;
}

.shell-mobile:is(.showing, .show) .shell-nav > :nth-child(n + 6) {
  animation-delay: 200ms;
}

.close-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--pst-line);
  background:
    radial-gradient(ellipse 50% 140% at 85% 50%, #2fc64626, transparent 70%),
    linear-gradient(111deg, #0f1c40, #151137 58%, #0c1f38);
}

.close-band .frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(36px, 5vw, 64px);
}

.close-band h2 {
  margin: 0;
}

#footer.v2-footer {
  position: relative;
  border-top: 1px solid var(--pst-line);
  background: linear-gradient(180deg, #0a1022, #070b16);
  color: var(--pst-muted);
  font-size: var(--type-small);
}

.shell-terminal {
  position: absolute;
  top: -5px;
  left: calc((100% - var(--frame)) / 2);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pst-green);
  box-shadow: 0 0 12px 2px #2fc64699;
}

.shell-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 28px;
  padding-block: 44px 40px;
}

.v2-footer .shell-footer-grid :is(a:not(.shell-brand), strong) {
  display: block;
  margin-bottom: 9px;
}

.v2-footer .shell-footer-grid a {
  color: var(--pst-muted);
  transition: color var(--time-state);
}

.v2-footer .shell-footer-grid a:not(.shell-brand):hover,
.v2-footer .shell-footer-grid a:not(.shell-brand):focus-visible {
  color: var(--pst-green);
}

.v2-footer .shell-footer-grid strong {
  margin-bottom: 12px;
  color: var(--pst-text);
}

.v2-footer .shell-footer-grid a.footer-linkedin {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  min-width: 24px;
  min-height: 24px;
}

.footer-istqb {
  display: block;
  width: 140px;
  margin-top: 14px;
  opacity: 0.9;
}

.v2-footer .shell-footer-bottom {
  padding-block: 16px 20px;
  border-top: 1px solid #7589cf24;
}

.v2-footer .shell-footer-bottom p {
  max-width: none;
  margin: 0;
  color: var(--pst-dim);
  font-size: var(--type-min);
}

#backToTop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 30;
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #2fc64680;
  border-radius: 50%;
  background: #0b1226e6;
  color: var(--pst-green);
  box-shadow: 0 0 16px #2fc64659;
  transition: box-shadow var(--time-state), color var(--time-state), border-color var(--time-state);
}

#backToTop.is-visible {
  display: grid;
}

#backToTop:hover,
#backToTop:focus-visible {
  border-color: var(--pst-green);
  color: #fff;
  box-shadow: 0 0 22px #2fc646b3;
}

@keyframes shell-compression {
  0% {
    width: 100%;
    opacity: 0.9;
  }

  30% {
    width: 10px;
    opacity: 1;
  }

  62% {
    width: 100%;
    opacity: 1;
    filter: brightness(1.6);
  }

  100% {
    width: 100%;
    opacity: 0;
    filter: brightness(0.6);
  }
}

@keyframes shell-panel-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes shell-link-in {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
}

@media (max-width: 1000px) {
  
  .shell-bar {
    gap: 16px;
  }

  #header .shell-nav {
    gap: 16px;
  }

  .shell-brand {
    width: 118px;
  }
}

@media (max-width: 720px) {
  
  .shell-bar {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  #header .shell-bar .shell-nav,
  .shell-cta,
  .shell-indicator {
    display: none;
  }

  .shell-bar .shell-menu {
    display: block;
  }

  .shell-brand {
    width: 108px;
  }

  .close-band .frame {
    flex-direction: column;
    align-items: flex-start;
  }

  .shell-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
    padding-block: 34px 28px;
  }

  .footer-istqb {
    width: 110px;
  }

  .v2-footer .shell-footer-bottom p {
    padding-right: 52px;
  }

  #backToTop {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  
  .is-scrolled .shell-line::after,
  #header .services-nav[open] .services-links,
  .shell-mobile:is(.showing, .show) .shell-nav > * {
    animation: none;
  }

  .shell-indicator,
  .services-chevron,
  #offCanvasNav.shell-mobile {
    transition: none;
  }
}
