/* Meet the Vendors: the shared top menu and footer for every platform page
   (home, /how-it-works, /mockup, /terms, /privacy, /who-its-for, and the audience pages). Load it after the page's own stylesheet.
   The audience pages are generated by scripts/build-audience-pages.cjs, which also keeps the menu link and footer row in the five hand-written pages. */
.chrome-wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Visible keyboard focus on every page (the old light sage ring was almost invisible on the cream ground) */
:focus-visible { outline: 3px solid #E8592A; outline-offset: 3px; border-radius: 6px; }
.final :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.skip { z-index: 100; }

/* Top menu */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,245,243,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #DCDCD8; font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.site-header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; padding: 8px 0; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #24403F; font-family: 'DM Serif Display', Georgia, serif; font-size: 24px; font-weight: 400; line-height: 1.1; white-space: nowrap; }
.site-brand:hover { color: #24403F; }
.site-mark { width: 32px; height: 32px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #24403F; text-decoration: none; font-weight: 500; font-size: 16px; }
.site-nav .nav-mobile-only { display: none; }
.site-nav a:hover { color: #2F6363; text-decoration: underline; text-underline-offset: 5px; }
.site-nav a[aria-current="page"] { color: #2F6363; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.site-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: #24403F; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .15s ease; }
.site-cta:hover { background: #3D5655; color: #fff; }
.site-cta .short { display: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #DCDCD8; border-radius: 12px; background: #fff; color: #24403F; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1060px) { /* the menu has 8 links now, so it folds into the Menu button earlier */
  .site-header-row { gap: 12px; }
  .site-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  /* Drops down under the bar; hidden until the Menu button opens it */
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 20px 16px; background: #F5F5F3; border-bottom: 1px solid #DCDCD8; box-shadow: 0 14px 24px rgba(36,64,63,.12); }
  .site-nav.open { display: flex; }
  .site-nav a { display: flex; min-height: 50px; padding: 0 4px; font-size: 17px; border-bottom: 1px solid #E8E8E6; }
  .site-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .site-brand { font-size: 19px; gap: 8px; }
  .site-mark { width: 26px; height: 26px; }
  .site-cta { padding: 9px 14px; font-size: 14px; }
  .site-cta .long { display: none; }
  .site-cta .short { display: inline; }
}
/* Small phones: the free mockup button moves into the menu so the bar never overflows */
@media (max-width: 400px) {
  .site-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .site-nav .nav-mobile-only { display: flex; color: #B8431B; font-weight: 700; }
}

/* Footer */
.site-footer { background: #24403F; color: #D6E0DF; padding: 34px 0 26px; font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.5; }
.site-footer a { color: #fff; }
.site-footer .site-brand, .site-footer .site-brand:hover { color: #fff; font-size: 22px; }
.site-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.16); }
.site-footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; }
.site-footer-nav a:hover, .site-footer-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
/* "Made for" row: links to the audience pages (built by scripts/build-audience-pages.cjs) */
.site-footer-for { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.site-footer-for > span { font-weight: 700; color: #fff; margin-right: 4px; }
.site-footer-for nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.site-footer-for a { display: inline-flex; align-items: center; min-height: 40px; color: #D6E0DF; text-decoration: none; }
.site-footer-for a:hover, .site-footer-for a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.site-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 18px; }

@media print {
  .site-header, .site-footer-nav, .skip { display: none !important; }
  .site-footer { background: none; color: #24403F; }
  .site-footer a, .site-footer .site-brand { color: #24403F; }
}
