/*
 * Shared HREVN shell for standalone product landings.
 * Product pages keep their own editorial design; this file owns only the
 * corporate frame: wordmark, navigation, language switch and footer.
 */

body[data-hrevn-shell="2026"] {
  --hrevn-shell-ivory: #f7f3ec;
  --hrevn-shell-paper: #fffdf8;
  --hrevn-shell-forest: #173632;
  --hrevn-shell-clay: #a96542;
  --hrevn-shell-ink: #17201e;
  --hrevn-shell-muted: #6d655e;
  --hrevn-shell-line: rgba(23, 54, 50, 0.15);
  --hrevn-product-accent: #23675f;
  background-color: var(--hrevn-shell-ivory);
}

body[data-hrevn-product="evaldossier"] {
  --hrevn-product-accent: #62517c;
}

body[data-hrevn-shell="2026"] .site-header {
  position: relative;
  z-index: 30;
  width: min(calc(100% - 2rem), 1160px);
  min-height: 76px;
  margin: 0 auto;
  padding: 0;
  gap: 1rem;
  border-bottom: 1px solid var(--hrevn-shell-line);
  background: transparent;
  box-shadow: none;
  font-family: "Geist", "Inter", system-ui, sans-serif;
}

body[data-hrevn-shell="2026"] .site-header .brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  flex: 0 0 auto;
  color: var(--hrevn-shell-forest);
}

body[data-hrevn-shell="2026"] .site-header .brand-mark {
  display: none;
}

body[data-hrevn-shell="2026"] .site-header .brand > span:last-child {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  line-height: 1;
}

body[data-hrevn-shell="2026"] .site-header .brand strong {
  color: var(--hrevn-shell-forest);
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

body[data-hrevn-shell="2026"] .site-header .brand small {
  margin: 0;
  padding-left: 0.7rem;
  border-left: 1px solid var(--hrevn-shell-line);
  color: var(--hrevn-product-accent);
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

body[data-hrevn-shell="2026"] .site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.05rem;
  min-width: 0;
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 650;
}

body[data-hrevn-shell="2026"] .site-header nav a {
  color: var(--hrevn-shell-muted);
  text-decoration: none;
  white-space: nowrap;
}

body[data-hrevn-shell="2026"] .site-header nav a:not(.nav-cta):hover {
  color: var(--hrevn-shell-forest);
}

body[data-hrevn-shell="2026"] .site-header .language-link {
  padding: 0.46rem 0.68rem;
  border: 1px solid var(--hrevn-shell-line);
  border-radius: 999px;
  color: var(--hrevn-shell-forest);
  font-size: 0.76rem;
  font-weight: 750;
}

body[data-hrevn-shell="2026"] .site-header .nav-cta {
  padding: 0.68rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--hrevn-shell-forest);
  color: white;
  box-shadow: none;
}

body[data-hrevn-shell="2026"] .site-header .nav-cta:hover {
  background: #234a45;
  color: white;
}

body[data-hrevn-shell="2026"] > footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  width: min(calc(100% - 2rem), 1160px);
  margin: 0 auto;
  padding: 2.4rem 0 2.8rem;
  border-top: 1px solid var(--hrevn-shell-line);
  background: transparent;
  color: var(--hrevn-shell-muted);
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  box-shadow: none;
}

body[data-hrevn-shell="2026"] > footer .footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--hrevn-shell-forest);
}

body[data-hrevn-shell="2026"] > footer .brand-mark {
  display: none;
}

body[data-hrevn-shell="2026"] > footer .footer-brand > span:last-child {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
}

body[data-hrevn-shell="2026"] > footer .footer-brand strong {
  color: var(--hrevn-shell-forest);
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

body[data-hrevn-shell="2026"] > footer .footer-brand small {
  margin: 0;
  padding-left: 0.7rem;
  border-left: 1px solid var(--hrevn-shell-line);
  color: var(--hrevn-product-accent);
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-hrevn-shell="2026"] > footer p {
  max-width: 650px;
  margin: 0;
  color: var(--hrevn-shell-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

body[data-hrevn-shell="2026"] > footer > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1rem;
}

body[data-hrevn-shell="2026"] > footer a {
  color: var(--hrevn-shell-muted);
  text-decoration: none;
}

body[data-hrevn-shell="2026"] > footer a:hover {
  color: var(--hrevn-shell-forest);
}

@media (max-width: 1100px) {
  body[data-hrevn-shell="2026"] .site-header {
    flex-wrap: wrap;
    padding: 0.95rem 0;
  }

  body[data-hrevn-shell="2026"] .site-header nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(23, 54, 50, 0.1);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body[data-hrevn-shell="2026"] .site-header nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 760px) {
  body[data-hrevn-shell="2026"] > footer {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  body[data-hrevn-shell="2026"] > footer > div:last-child {
    justify-content: flex-start;
  }
}
