/* App-site navigation: one shared header, mobile menu and footer. */
.site-header { background: var(--forest); padding-top: env(safe-area-inset-top, 0px); }
.header-inner { display: grid; grid-template-columns: minmax(145px, 1fr) auto minmax(145px, 1fr); align-items: center; height: 96px; gap: 32px; border-bottom: 1px solid #d3e2ce26; }
.header-inner > .wordmark { justify-self: start; font-size: 39px; }
.header-nav { display: flex; align-items: center; justify-content: center; gap: 30px; font-size: 14px; line-height: 1.5; color: #c1cfc4; }
.header-nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0; white-space: nowrap; text-decoration: none; }
.header-nav a:hover { color: var(--ivory); }
.header-nav a[aria-current=page] { color: var(--lime); text-decoration: none; }
.header-nav a[aria-current=page]::after { content: ''; position: absolute; bottom: 3px; left: 0; right: 0; height: 2px; background: var(--lime); border-radius: 2px; }
.header-actions { display: flex; justify-self: end; align-items: center; gap: 14px; }
.header-actions > .button { min-height: 46px; padding: 13px 19px; gap: 17px; font-size: 13px; white-space: nowrap; }
.header-actions > .button .icon { width: 17px; height: 17px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid #d3e2ce42; border-radius: 50%; }
.menu-toggle:hover { background: #e5f2d90c; }
.audience-menu { display: none; }
.site-footer { padding: 56px 0 max(22px, env(safe-area-inset-bottom)); color: var(--ivory); background: var(--forest); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 0 0 35px; }
.footer-top > .wordmark { flex-shrink: 0; font-size: 46px; }
.footer-nav { display: flex; align-items: center; justify-content: flex-end; gap: 36px; flex-wrap: nowrap; color: #d3ded4; }
.footer-nav a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 16px; line-height: 1.5; white-space: nowrap; }
.footer-nav a .icon { width: 20px; height: 20px; color: var(--lime); }
.footer-nav a:hover { color: var(--lime); }
.footer-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0; padding-top: 15px; border-top: 1px solid #d3e2ce26; font-size: 13px; line-height: 1.5; color: #aebfb2; }
.footer-meta > span, .footer-meta > button { grid-column: auto; grid-row: auto; }
.footer-meta button { min-height: 44px; display: inline-flex; align-items: center; padding: 0; font: inherit; color: #d3ded4; text-decoration: none; background: none; border: 0; }
.footer-meta button:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .header-inner { gap: 24px; }
  .header-nav { gap: 25px; font-size: 13px; }
  .footer-nav { gap: 28px; }
}
@media (max-width: 900px) {
  .header-inner { display: flex; justify-content: space-between; height: 84px; gap: 24px; }
  .header-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .audience-menu:not([hidden]) { display: flex; flex-direction: column; padding: 15px 0 26px; border-bottom: 1px solid #d3e2ce26; }
  .audience-menu > a:not(.button) { display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 13px 0; border-bottom: 1px solid #d3e2ce1c; font-size: 18px; line-height: 1.4; color: #d3ded4; }
  .audience-menu > a[aria-current=page] { color: var(--lime); }
  .audience-menu > a:not(.button) .icon { width: 18px; height: 18px; color: inherit; }
  .audience-menu > .mobile-menu-cta { display: none; }
  .footer-top { gap: 35px; }
  .footer-nav { gap: 24px; }
  .footer-nav a { font-size: 14px; }
}
@media (max-width: 650px) {
  .header-inner { height: 80px; gap: 20px; }
  .header-inner > .wordmark { font-size: 36px; }
  .header-actions > .button { display: none; }
  .header-actions { gap: 0; }
  .menu-toggle { width: 44px; height: 44px; }
  .audience-menu > .mobile-menu-cta { display: inline-flex; align-items: center; justify-content: space-between; min-height: 52px; margin-top: 22px; padding: 15px 20px; border: 0; font-size: 14px; line-height: 1.4; color: var(--forest); }
  .audience-menu > .mobile-menu-cta .icon { color: var(--forest); width: 20px; height: 20px; }
  .site-footer { padding: 38px 0 max(18px, env(safe-area-inset-bottom)); }
  .footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 24px; }
  .footer-top > .wordmark { font-size: 40px; margin-top: 0; }
  .footer-nav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .footer-nav a { justify-content: space-between; min-height: 44px; font-size: 15px; }
  .footer-meta { display: flex; margin: 0; padding-top: 12px; gap: 20px; font-size: 13px; }
}
@media (max-width: 360px) {
  .header-inner > .wordmark { font-size: 34px; }
  .footer-top { gap: 18px; }
  .footer-top > .wordmark { font-size: 35px; }
  .footer-nav a { font-size: 14px; }
}
