/* The public site header (lib/html.js siteHeader): the same on the home page and every public page.
   Logo on the left; on wide screens the links, the trial button; on narrow screens the trial button
   stays and the links fold behind the menu button (public/page.js), dropping down under the bar. */
.site-head { position: relative; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head-in {
  max-width: 1120px; margin: 0 auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.site-head .brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); white-space: nowrap; }
.site-head .word { font: 800 1.75rem/1 "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -0.02em; }
.site-head .word .o { display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; margin: 0 0.02em; background: #2F6B57; }
.site-head .word .o2 { background: #F6C343; }
.site-actions { display: flex; align-items: center; gap: 20px; white-space: nowrap; font: 600 1rem/1.5 var(--font-body); }
.site-links { display: flex; align-items: center; gap: 20px; }
.site-links a { text-decoration: none; color: var(--muted); }
.site-links a:hover, .site-links a[aria-current="page"] { color: var(--ink); }
.site-head .btn, .site-head .btn:hover { display: inline-flex; align-items: center; font: 800 0.95rem/1 var(--font-body); padding: 11px 18px; border-radius: 999px; border: 1px solid var(--navy); background: var(--navy); color: var(--on-navy); text-decoration: none; }
.site-head .btn:hover { background: var(--navy-hover); border-color: var(--navy-hover); }
.site-head .menu-btn { display: none; order: 0; margin: 0 -10px 0 0; width: 44px; height: 44px; padding: 10px; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: var(--radius); }
.site-head .menu-btn:focus-visible, .site-head a:focus-visible { outline: 3px solid var(--wattle); outline-offset: 2px; }
.site-head .menu-btn svg { width: 24px; height: 24px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-head .menu-btn .cross, .site-head .menu-btn[aria-expanded="true"] .bars { display: none; }
.site-head .menu-btn[aria-expanded="true"] .cross { display: inline; }
/* The five links and the trial button need about 900px beside the logo */
@media (max-width: 900px) {
  .site-actions { gap: 8px; }
  .site-head .menu-btn { display: block; }
  .site-links {
    display: none; position: absolute; z-index: 10; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
    box-shadow: 0 12px 24px -16px rgb(0 0 0 / 0.25);
  }
  .site-links.open { display: flex; }
  .site-links a { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .site-links a:last-child { border-bottom: 0; }
  .site-links a[aria-current="page"] { font-weight: 700; }
}
@media (max-width: 420px) { .site-head-in { gap: 8px; min-height: 64px; } .site-actions { gap: 4px; } .site-head .btn { padding: 9px 10px; } .site-head .word { font-size: 1.4rem; } }
@media (max-width: 380px) { .site-head .word { font-size: 1.3rem; } .site-head .btn { padding: 8px 9px; font-size: 0.88rem; } .site-head .menu-btn { width: 40px; padding: 8px; margin-right: -8px; } }
@media (max-width: 340px) { .site-head .brand { gap: 6px; } .site-head .word { font-size: 1.2rem; } .site-head .btn { padding: 8px 7px; font-size: 0.84rem; } .site-head .menu-btn { width: 36px; padding: 6px; margin-right: -6px; } }
@media print { .site-head { display: none !important; } }

/* Facebook and Instagram icon links in the public footer (lib/html.js socialLinks). */
.foot:has(.social) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.social { display: inline-flex; align-items: center; gap: 4px; margin: -10px; } /* the 40px tap targets overhang so the icons line up with the text */
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius, 6px); color: var(--muted); }
.social a:hover { color: var(--navy); }
.social a:focus-visible { outline: 3px solid var(--wattle); outline-offset: 2px; }
.social svg { display: block; }

/* "By industry" links on their own line at the top of the public footer (lib/html.js, server.js). */
.foot-industries { flex-basis: 100%; line-height: 1.8; }
