/* Shared navigation: a compact capsule inspired by BCG's topic links. */
.nav .nav-inner { gap: 16px; }
.nav .nav-brand, .nav .nav-cta { flex-shrink: 0; }
.nav .nav-brand { white-space: nowrap; }
.nav .nav-brand { gap: 6px; }
.nav-brand-home { color: inherit; text-decoration: none; }
.site-menu-trigger {
  width: 44px; height: 44px; padding: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 14px; background: transparent; cursor: pointer;
  flex-shrink: 0;
}
.site-menu-trigger:hover { background: #edf3e8; }
.site-menu-trigger:focus-visible, .nav-brand-home:focus-visible { outline: 2px solid #1b5e20; outline-offset: 2px; border-radius: 5px; }
.nav .nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 3px 18px;
  background: #fffefa;
  border: 1px solid #e3e7df;
  border-radius: 22px;
  box-shadow: 0 2px 7px rgba(23, 48, 27, .07);
}
.nav .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0;
  color: #17301b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 160ms ease;
}
.nav .nav-links a:hover,
.nav .nav-links a[aria-current="page"] { color: #1b5e20; }
.nav .nav-links a[aria-current="page"] { text-decoration-thickness: 2px; }
.nav .nav-links a:focus-visible,
.nav .nav-toggle:focus-visible { outline: 2px solid #1b5e20; outline-offset: 3px; border-radius: 4px; }
.nav .nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #e3e7df;
  border-radius: 14px;
  background: #fffefa;
  color: #17301b;
  cursor: pointer;
  flex-shrink: 0;
}
.nav .nav-toggle svg { display: block; width: 24px; height: 24px; }
@media (max-width: 833px) {
  .nav .nav-inner { gap: 8px; padding: 0 16px; }
  .nav .nav-toggle { display: flex; margin-left: auto; }
  .nav .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    border-radius: 20px;
    backdrop-filter: none;
    box-shadow: 0 6px 24px rgba(23, 48, 27, .12);
  }
  .nav .nav-links.is-open { display: flex; }
  .nav .nav-links a { min-height: 44px; font-size: 15px; color: #17301b; }
  .nav .nav-cta .btn { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .nav .nav-links a { transition: none; }
}

/* Floating section navigation; the existing site map serves small screens. */
.nav .nav-links { gap: 12px; }
.nav-item { display: flex; align-items: center; gap: 2px; }
.nav-disclosure {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; min-height: 36px; padding: 0; border: 0;
  background: transparent; color: #63765e; cursor: pointer;
}
.nav-disclosure svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.nav-disclosure[aria-expanded="true"] { color: #1b5e20; }
.nav-disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-disclosure:focus-visible { outline: 2px solid #1b5e20; outline-offset: 2px; border-radius: 4px; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); width: 600px; max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain;
  padding: 24px; background: #fffefa; border: 1px solid #e0e7dc; border-radius: 20px;
  box-shadow: 0 16px 48px rgba(23,48,27,.16); color: #17301b;
}
.nav-dropdown[hidden] { display: none !important; }
.nav-dropdown-head { padding: 0 0 18px; border-bottom: 1px solid #e0e7dc; }
.nav-dropdown-head p { margin: 0 0 6px; font-size: 22px; font-weight: 600; line-height: 1.4; }
.nav-dropdown-head > span { font-size: 13px; line-height: 1.7; color: #627060; }
.nav-dropdown ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; list-style: none; margin: 14px -8px -8px; padding: 0; }
.nav-dropdown li { min-width: 0; margin: 0; padding: 0; }
.nav .nav-links .nav-dropdown a {
  display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  padding: 14px 12px; min-height: 84px; border-radius: 10px;
  white-space: normal; text-decoration: none; font-weight: 400;
}
.nav .nav-links .nav-dropdown a:hover { background: #edf4e8; }
.nav-dropdown-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.nav-dropdown-title > span { color: #6c8c60; font-size: 16px; }
.nav-dropdown-desc { font-size: 12px; color: #687265; line-height: 1.7; overflow-wrap: anywhere; }
.feature-row[id], .service[id], #agentsDots, #modesDots, #agents-questions, #deployment-questions, #financing-questions { scroll-margin-top: 88px; }
@media (max-width: 833px) {
  .nav-disclosure, .nav-dropdown { display: none !important; }
}

/* Full-screen navigation, shared by every public page. */
html.site-map-open { overflow: hidden; }
.site-map {
  position: fixed; inset: 0; width: 100%; max-width: none;
  height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
  background: #f8faf7; color: #17301b;
  font-family: var(--font-body, sans-serif); overscroll-behavior: contain;
}
.site-map[open] { display: flex; flex-direction: column; }
.site-map::backdrop { background: #f8faf7; }
.site-map [hidden] { display: none !important; }
.site-map a { color: inherit; text-decoration: none; }
.site-map button, .site-map input { font: inherit; }
.site-map a:focus-visible, .site-map button:focus-visible { outline: 2px solid #1b5e20; outline-offset: 4px; border-radius: 4px; }
.site-map-head { background: #fffefa; flex-shrink: 0; border-bottom: 1px solid #dfe5da; }
.site-map-head-inner { max-width: 1200px; margin: auto; padding: 20px 32px; display: flex; align-items: center; gap: 16px; }
.site-map-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 13px; color: #17301b; background: #eeefe9; cursor: pointer; }
.site-map-close:hover { background: #e1e9da; }
.site-map-close svg { width: 24px; height: 24px; }
.site-map-brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; white-space: nowrap; }
.site-map-brand img { display: block; flex-shrink: 0; }
.site-map h2 { margin: 0; font-size: 13px; font-weight: 400; color: #63765e; }
.site-map-cta { margin-left: auto; font-size: 14px; font-weight: 600; text-decoration: underline !important; text-underline-offset: 5px; white-space: nowrap; }
.site-map-search-bar { border-bottom: 1px solid #dfe5da; flex-shrink: 0; }
.site-map-search { max-width: 1200px; margin: auto; padding: 18px 32px; display: flex; align-items: center; gap: 20px; }
.site-map-search:focus-within { box-shadow: inset 0 -2px #1b5e20; }
.site-map-search svg { width: 26px; height: 26px; flex-shrink: 0; }
.site-map-search input { min-width: 0; width: 100%; border: 0; padding: 0; outline: 0; background: transparent; color: #17301b; font-size: 18px; line-height: 1.6; box-shadow: none; border-radius: 0; }
.site-map-search input::placeholder { color: #7b8976; opacity: 1; }
.site-map-clear { border: 0; padding: 8px; color: #1b5e20; background: transparent; font-size: 12px !important; white-space: nowrap; cursor: pointer; }
.site-map-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.site-map-body { max-width: 1200px; margin: auto; padding: 32px; }
.site-map-grid { display: grid; grid-template-columns: 1fr 1.12fr; column-gap: 64px; row-gap: 32px; }
.site-map h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.5; }
.site-map-group-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.site-map-home { font-size: 12px; color: #607959 !important; line-height: 2; white-space: nowrap; }
.site-map-insights { border-left: 1px solid #dfe5da; padding-left: 32px; }
.site-map-link { display: block; border-bottom: 1px solid #e3e8de; padding: 14px 0; }
.site-map-link-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 23px; line-height: 1.4; }
.site-map-link-title > span { font-size: 17px; color: #608357; }
.site-map-link-desc { display: block; margin-top: 5px; font-size: 13px; line-height: 1.7; color: #72816a; }
.site-map-article { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid #e3e8de; font-size: 16px; line-height: 1.7; }
.site-map-article > span { color: #608357; font-size: 14px; }
.site-map-link:hover .site-map-link-title, .site-map-article:hover, .site-map-contact-links a:hover, .site-map-home:hover { color: #1b5e20; text-decoration: underline; text-underline-offset: 5px; }
.site-map [aria-current="page"] { color: #1b5e20; }
.site-map [aria-current="page"] .site-map-link-title { text-decoration: underline; text-underline-offset: 5px; }
.site-map-contact { grid-column: 1 / -1; border-top: 1px solid #dfe5da; padding-top: 24px; }
.site-map-contact h3 { font-size: 17px; }
.site-map-contact-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 12px; }
.site-map-contact-links a { padding: 8px 0; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.site-map-status { margin: 0 0 24px; font-size: 14px; color: #63765e; }
.site-map-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 833px) {
  .site-map-head-inner { padding: 10px 16px; gap: 10px; }
  .site-map-brand { font-size: 17px; gap: 6px; }
  .site-map h2 { display: none; }
  .site-map-cta { font-size: 13px; }
  .site-map-search { padding: 16px; gap: 12px; }
  .site-map-search input { font-size: 16px; }
  .site-map-body { padding: 24px 20px 40px; }
  .site-map-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-map-insights { padding-left: 0; border-left: 0; border-top: 1px solid #dfe5da; padding-top: 24px; }
  .site-map-contact { grid-column: auto; }
  .site-map-link-title { font-size: 21px; }
  .site-map-article { font-size: 16px; padding: 16px 0; }
  .site-map-contact-links { flex-direction: column; align-items: flex-start; gap: 4px; }
}
