.site-header .header-inner { position: relative; }
.automation-nav > summary { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; cursor: pointer; list-style: none; font: inherit; font-weight: 750; color: #16351f; }
.automation-nav > summary::-webkit-details-marker { display: none; }
.nav-chevron { width: 16px; height: 16px; }
.automation-nav[open] > summary .nav-chevron { transform: rotate(180deg); }
.automation-dropdown { position: absolute; top: 100%; right: 0; width: min(720px, calc(100vw - 40px)); padding: 24px; border: 1px solid #a9b4a0; border-radius: 0 0 18px 18px; background: #f5f5ed; color: #16351f; box-shadow: 0 16px 26px #16351f26; max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
.automation-dropdown-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 0 8px 18px; border-bottom: 1px solid #c5cebc; margin-bottom: 12px; }
.automation-dropdown-intro strong { font: 750 17px/1.4 Sora, sans-serif; letter-spacing: -.04em; }
.site-header .automation-dropdown-intro a { font-size: 11px; min-height: 32px; gap: 8px; text-decoration: underline; text-underline-offset: 4px; }
.automation-dropdown ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
.site-header .automation-dropdown li a { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px; border-radius: 10px; font-size: 13px; line-height: 1.4; font-weight: 650; color: #16351f; text-decoration: none; }
.site-header .automation-dropdown li a:hover, .site-header .automation-dropdown li a:focus-visible, .site-header .automation-dropdown li a[aria-current="page"] { background: #e6e9dc; color: #16351f; }
.nav-feature-mark { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: #c3f455; }
.nav-feature-mark svg { width: 19px; height: 19px; }
.nav-tool-mark { background: #fff; border: 1px solid #d6ddcd; }
.nav-tool-mark img { width: 23px; height: 23px; object-fit: contain; }
.integration-catalog-link { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; max-width: 100%; margin: 24px auto 0; min-height: 44px; color: #c3f455; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; text-align: center; }
.nav-feature-arrow { margin-left: auto; font-size: 16px; }
.automation-nav :is(summary,a):focus-visible { outline: 2px solid #16351f; outline-offset: 3px; }
.site-header .visibility-nav-link { gap:7px; font-weight:800; color:#16351f; white-space:nowrap; }
.visibility-nav-link > .icon { width:17px; height:17px; flex-shrink:0; }
.visibility-nav-link[aria-current="page"] { text-decoration:underline; text-underline-offset:5px; }
@media (min-width:1101px) { .site-header .main-nav { gap:24px; font-size:13px; } }
/* Primary service destinations use a disclosure menu before they become crowded. */
@media (max-width:1100px) {
  .site-header .header-inner { position:relative; min-height:74px; gap:12px; }
  .site-header .header-cta { margin-left:auto; }
  .site-header .menu-button { display:inline-flex; width:38px; flex-shrink:0; }
  .site-header .main-nav { position:absolute; top:100%; left:0; right:0; display:none; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:0; padding:16px 22px 22px; margin:0; background:#c3f455; color:#16351f; border-bottom:1px solid #7e9d3c; font-size:15px; max-height:calc(100dvh - 84px); overflow-y:auto; overscroll-behavior:contain; }
  .site-header .main-nav.is-open { display:flex; }
  .site-header .main-nav > * { flex-shrink:0; }
  .site-header .main-nav > a { min-height:50px; }
  .automation-nav > summary { display:flex; justify-content:space-between; min-height:50px; }
  .automation-dropdown { position:static; width:100%; max-height:none; margin:4px 0 16px; padding:16px 10px; border-radius:12px; box-shadow:none; overflow:visible; }
}
@media (max-width: 620px) {
  .site-header .main-nav { max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; justify-content: flex-start; }
  .site-header .main-nav > * { flex-shrink: 0; }
  .automation-nav > summary { display: flex; justify-content: space-between; min-height: 50px; }
  .automation-dropdown { position: static; width: 100%; max-height: none; margin: 4px 0 16px; padding: 16px 10px; border-radius: 12px; box-shadow: none; overflow: visible; }
  .automation-dropdown ul { grid-template-columns: 1fr; gap: 4px; }
  .automation-dropdown-intro { padding: 0 6px 14px; gap: 8px; }
  .automation-dropdown-intro strong { font-size: 15px; }
  .site-header .automation-dropdown li a { font-size: 12px; min-height: 52px; padding-inline: 6px; gap: 10px; }
  .feature-header { min-height: 64px; flex-wrap: nowrap; padding-block: 0; gap: 8px; }
  .feature-header .main-nav { margin: 0; gap: 0; font-size: 15px; }
  .feature-header .brand { font-size: 22px; gap: 7px; }
  .feature-header > .header-cta { font-size: 10px; padding: 6px 8px 6px 10px; gap: 6px; min-height: 40px; }
  .feature-header > .header-cta > .icon { width: 24px; height: 24px; padding: 5px; }
  .feature-header .menu-button { width: 36px; flex-shrink: 0; }
}
