/* Every page's header (WP-109): the home page's header rules on every page, loaded right after brand.css. The links
   sit centred on the page, Login is a square coral box, and the header and footer share one side margin. The same
   rules as dev's brand.css; delete this file and its enqueue when brand.css itself goes live. */
/* The header's own font and ink: the contact, media and legal pages set "Avenir Next" (not loaded, so Segoe UI) and a
   slate ink on their wrappers, which the header inherited; it now reads the same as on the home page. */
.marketing-navbar {
  font-family: var(--font-sans, "Rethink Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif);
  color: var(--text-main, #1A1A1A);
}
/* Header balance (2026-11-04): the nav links sat packed against the phone and Login
   (flex-end in a stretchy middle column), leaving a wide gap after the logo, so the header
   read as right-aligned. Centre the links on the page: the two side columns share the
   spare width equally but never shrink below their content, and the logo sits at the same
   inset from the edge as Login. Desktop only; the phone menu (900px and under) is unchanged. */
@media (min-width: 901px) {
  .marketing-navbar { grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
  .marketing-navbar .navbar-center, .marketing-navbar .navbar-links { justify-content: center; }
  .marketing-navbar .navbar-brand-group { margin-left: 0; }
}
/* One edge for the header and footer (WP-24, WP-79): both take the same side margin as the home page's sections, so
   the logo and Login sit at the same place on every page and screen. 5% of the width, 20px
   at the least and 80px at the most; past 1920px wide the content stops growing at 1760px, and the header and footer
   stop with it. Its 100% is the width of whatever uses it, the page's. */
:root { --page-edge: max(clamp(20px, 5vw, 80px), calc((100% - 1760px) / 2)); }
.marketing-navbar,
.marketing-footer { padding-left: var(--page-edge); padding-right: var(--page-edge); }
/* A clean Login (WP-28): a square coral box with no shadow or lift. */
.marketing-navbar .navbar-login-btn,
.marketing-navbar .navbar-login-btn:hover:not(:disabled) {
  box-shadow: none !important;
  transform: none !important;
  border-radius: var(--radius-box, 4px);
}
