/* Shared header and footer for every public page (src/siteChrome.js).
   Self-contained so it looks the same on top of any page stylesheet. */
.es-nav, .es-foot { font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.es-nav *, .es-foot * { box-sizing: border-box; }
.es-wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.es-nav { position: sticky; top: 0; z-index: 50; background: rgba(246,248,245,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid #dfe7e0; }
.es-nav .es-wrap { height: 64px; display: flex; align-items: center; gap: 28px; }
.es-brand { display: inline-flex; align-items: center; gap: 9px; color: #172521 !important; text-decoration: none !important; font-size: 19px; font-weight: 800; letter-spacing: -.8px; }
.es-brand img { border-radius: 6px; }
.es-brand span span { color: #557a3f; }
.es-links { display: flex; gap: 24px; margin-left: auto; }
.es-links a, .es-menu nav a { color: #56635b !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.es-links a:hover, .es-links a[aria-current="page"] { color: #172521 !important; }
.es-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 #9ccf5f; padding-bottom: 3px; }
.es-cta { display: inline-flex; align-items: center; padding: 9px 15px; border-radius: 8px; background: #b8f36b; border: 1px solid #557a3f; color: #172521 !important; font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.es-cta:hover { background: #a6e35a; }
.es-menu { display: none; position: relative; }
.es-menu summary { list-style: none; cursor: pointer; padding: 10px 6px; }
.es-menu summary::-webkit-details-marker { display: none; }
.es-menu summary span { display: block; width: 22px; height: 2px; margin: 4px 0; background: #172521; border-radius: 2px; }
.es-menu nav { position: absolute; right: -6px; top: 46px; width: min(260px, calc(100vw - 32px)); padding: 8px; background: #fff; border: 1px solid #dfe7e0; border-radius: 12px; box-shadow: 0 14px 30px rgba(20,40,30,.14); display: flex; flex-direction: column; }
.es-menu nav a { padding: 11px 12px; border-radius: 8px; font-size: 15px; }
.es-menu nav a[aria-current="page"] { background: #eef4ea; color: #172521 !important; }
.es-menu nav a:last-child { margin-top: 6px; background: #b8f36b; color: #172521 !important; text-align: center; }
@media (max-width: 860px) {
  .es-links { display: none; }
  .es-cta { margin-left: auto; padding: 8px 12px; font-size: 13px; }
  .es-menu { display: block; }
  .es-nav .es-wrap { gap: 12px; height: 58px; }
}

.es-foot { margin-top: 0; background: #172722; color: #c9d6cc; padding: 48px 0 22px; }
.es-foot-main { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 36px; }
.es-foot .es-brand { color: #edf3ed !important; font-size: 17px; }
.es-foot .es-brand span span { color: #b8e38e; }
.es-foot-brand p { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: #a1b1a4; max-width: 30ch; }
.es-foot-main > div:not(.es-foot-brand) { display: flex; flex-direction: column; gap: 9px; }
.es-foot b { font: 600 11px "IBM Plex Mono", ui-monospace, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: #8fa293; margin-bottom: 3px; }
.es-foot a:not(.es-brand) { color: #c3d0c5 !important; font-size: 13.5px; text-decoration: none !important; }
.es-foot a:not(.es-brand):hover { color: #c5ed9c !important; }
.es-foot-bottom { border-top: 1px solid #34463c; padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #8a9c8f; }
@media (max-width: 760px) {
  .es-foot-main { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .es-foot-brand { grid-column: 1 / -1; }
}
