/* Shared GNDE identity, matching the established homepage logo. */
.gnde-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  flex-shrink: 0;
  color: #fff;
  font: 400 16px/1.65 "Segoe UI", Arial, sans-serif;
  text-decoration: none;
}
.gnde-brand:hover { color: #fff; text-decoration: none; }
.gnde-brand:focus-visible { outline: 2px solid #f88347; outline-offset: 4px; }
.gnde-brand svg {
  display: block;
  width: 92px;
  height: 64px;
  flex-shrink: 0;
}
.gnde-brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  line-height: 1.1;
}
.gnde-brand-text strong {
  color: #fff;
  font: 700 20px/1.1 "Segoe UI", Arial, sans-serif;
  letter-spacing: .35px;
}
.gnde-brand-text small {
  display: block;
  margin: 4px 0 0;
  padding: 0;
  color: #edcd75;
  font: 400 11px/1.1 "Segoe UI", Arial, sans-serif;
  letter-spacing: 2px;
}
.gnde-case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.gnde-case-header .gnde-header-back { font-size: 15px; }
@media (max-width: 680px) {
  .gnde-brand svg { width: 68px; height: 50px; }
  .gnde-brand-text strong { font-size: 17px; }
}

/* Main navigation shared by the homepage, product pages, and case studies. */
.gnde-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: auto;
  padding: 0;
  color: #e9f1f7;
  background: #061427;
  border-bottom: 1px solid #29425c;
}
.gnde-header-inner {
  box-sizing: border-box;
  max-width: 1190px;
  min-height: 73px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.gnde-main-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  font: 650 16px/1.65 "Segoe UI", Arial, sans-serif;
  letter-spacing: .25px;
}
.gnde-main-nav a { color: #e9f1f7; text-decoration: none; }
.gnde-main-nav a:hover, .gnde-main-nav a:focus-visible { color: #edcd75; }
.gnde-main-nav a:focus-visible, .gnde-menu-button:focus-visible {
  outline: 2px solid #f88347;
  outline-offset: 3px;
}
.gnde-menu-button { display: none; }
html:has(.gnde-header) { scroll-padding-top: 74px; }
@media (max-width: 800px) {
  .gnde-header-inner { min-height: 65px; padding: 0 20px; flex-wrap: wrap; gap: 0 8px; }
  .gnde-main-nav { width: 100%; gap: 0; flex-direction: column; align-items: stretch; padding: 8px 0; }
  .gnde-main-nav a { padding: 8px 0; }
  .gnde-menu-button:not([hidden]) {
    display: block;
    width: 44px;
    height: 44px;
    color: #fff;
    background: transparent;
    border: 1px solid #47617b;
    border-radius: 3px;
    font: 22px/1 sans-serif;
    cursor: pointer;
  }
  .gnde-menu-button:not([hidden]) + .gnde-main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    padding: 8px 20px;
    box-sizing: border-box;
    background: #061427;
    border-bottom: 1px solid #29425c;
    max-height: calc(100dvh - 66px);
    overflow-y: auto;
  }
  .gnde-menu-button:not([hidden])[aria-expanded="false"] + .gnde-main-nav { display: none; }
  html:has(.gnde-header) { scroll-padding-top: 66px; }
}
@media print { .gnde-header { display: none; } }

/* Static footer navigation shared by all main pages. */
.gnde-footer {
  box-sizing: border-box;
  display: block;
  position: static;
  width: 100%;
  margin: 0;
  padding: 30px 0;
  border-top: 1px solid #29425c;
  background: #040e1e;
  color: #b8c9d8;
  font: 400 14px/1.65 "Segoe UI", Arial, sans-serif;
}
.gnde-footer-inner {
  box-sizing: border-box;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.gnde-footer .gnde-footer-brand { margin: 0; color: #b8c9d8; }
.gnde-footer-brand strong { display: block; color: #fff; font-size: 17px; }
.gnde-footer-brand span { display: block; }
.gnde-footer-links { text-align: right; }
.gnde-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 18px;
}
.gnde-footer a { color: #e9f1f7; text-decoration: none; }
.gnde-footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.gnde-footer .gnde-footer-email { display: inline-flex; align-items: center; min-height: 44px; color: #edcd75; }
.gnde-footer a:hover { color: #edcd75; text-decoration: underline; text-underline-offset: 3px; }
.gnde-footer a:focus-visible { outline: 2px solid #f88347; outline-offset: 4px; }
@media (max-width: 800px) {
  .gnde-footer-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .gnde-footer-links { text-align: left; }
  .gnde-footer-nav { justify-content: flex-start; }
}
