/*
 * Prerender-only chrome. The application stylesheet owns the interactive
 * client chrome; this small scoped sheet keeps server-rendered pages usable
 * before hydration without changing frontend CSS.
 */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 48px;
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header-start,
.site-header-end,
.site-header .site-nav-links,
.site-header .nav-lang {
  display: flex;
  align-items: center;
}

.site-header-start {
  min-width: 0;
  flex: 1 1 auto;
  gap: 32px;
}

.site-header-end {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 20px;
}

.site-header .site-nav-links {
  gap: 28px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.site-header .site-nav-links > li {
  display: flex;
  align-items: center;
}

.site-header .site-mobile-menu {
  display: contents;
}

.site-header .site-mobile-menu > summary {
  display: none;
}

.site-header details {
  position: relative;
}

.site-header details > summary {
  cursor: pointer;
  list-style: none;
}

.site-header details > summary::-webkit-details-marker {
  display: none;
}

.site-header .products-menu-panel,
.site-header .solutions-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 2;
  min-width: 240px;
  padding: 20px;
  display: grid;
  gap: 16px;
  background: var(--warm-white, #faf8f4);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.site-header .products-menu-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .products-menu-panel a,
.site-header .solutions-menu-panel a,
.site-header .solutions-menu-panel span {
  display: block;
  line-height: 1.4;
}

.site-header .solutions-menu-panel {
  grid-template-columns: repeat(2, minmax(130px, 1fr));
}

.site-header .solutions-menu-panel .solutions-menu-overview {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid var(--border, rgba(0, 0, 0, 0.12));
}

.site-header .nav-lang {
  gap: 4px;
}

.site-footer .site-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.site-footer .footer-nav-group {
  min-width: 0;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
    flex-wrap: wrap;
    gap: 0;
    padding: 12px 24px;
  }

  .site-header-start {
    width: 100%;
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .site-header .site-mobile-menu {
    display: block;
    position: relative;
  }

  .site-header .site-mobile-menu > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    color: var(--ink, #202020);
    border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
    border-radius: 2px;
    font-size: 0;
  }

  .site-header .site-mobile-menu > summary::before {
    content: "☰";
    font-size: 18px;
    line-height: 1;
  }

  .site-header .site-mobile-menu > .site-nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(320px, calc(100vw - 48px));
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: var(--warm-white, #faf8f4);
    border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  }

  .site-header .site-mobile-menu[open] > .site-nav-links {
    display: flex;
  }

  .site-header .site-nav-links > li {
    padding: 10px 8px;
  }

  .site-header .products-menu-panel,
  .site-header .solutions-menu-panel {
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 12px;
    box-shadow: none;
  }

  .site-header .site-header-end {
    gap: 10px;
  }

  .site-header .nav-cta {
    padding-inline: 14px;
  }

  .site-footer .site-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .site-header .site-header-end {
    width: 100%;
    justify-content: flex-end;
    padding-top: 8px;
  }

  .site-footer .site-footer-columns {
    grid-template-columns: 1fr;
  }
}