/* The top bar of every page that is not the homepage (Privacy, Terms, the 404 page, Members): the same bar as the homepage's, so the site feels like one place.
   Its buttons are the page's one button, the pill (34 px, fully rounded, Geist Mono 12.5px, a thin line, a soft glow on hover), in the primary or the quiet look.
   The markup is the same on every page (scripts/check_brand.py keeps it identical); on a narrow screen only the main buttons stay (all four need 590 px). */
@font-face { font-family: "Geist"; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); }

.pg-head { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-sizing: border-box; max-width: 1240px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 40px); }
.pg-brand { display: inline-flex; align-items: center; color: #eef1f8; font: 600 18px "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.022em; text-decoration: none; }
.pg-brand .mk { flex: none; margin-right: 8px; }
.pg-brand:focus-visible { outline: 2px solid #19e6a2; outline-offset: 4px; border-radius: 4px; }
.pg-nav { display: flex; align-items: center; gap: 10px; }
.pg-pill { position: relative; display: inline-flex; align-items: center; height: 34px; box-sizing: border-box; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(10, 12, 18, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #8a93a8; font: 500 12.5px "Geist Mono", ui-monospace, Consolas, monospace; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s, background 0.25s; }
/* the look is 34 px tall; the area a finger can hit is at least 44 px (an invisible margin above and below) */
.pg-pill::after { content: ""; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }
.pg-pill-primary { color: #eef1f8; background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.28); }
.pg-pill:active { background: rgba(25, 230, 162, 0.12); }
.pg-pill:focus-visible { outline: 2px solid #19e6a2; outline-offset: 3px; }
@media (hover: hover) { .pg-pill:hover { color: #eef1f8; border-color: rgba(25, 230, 162, 0.6); box-shadow: 0 0 0 1px rgba(25, 230, 162, 0.16), 0 0 20px rgba(25, 230, 162, 0.22); } }
@media (max-width: 639px) { .pg-hide { display: none; } }
/* under 420 px the bar keeps the brand and its main button (it does not fit with Sign in); under 340 px the small mark goes as well, like the homepage's */
@media (max-width: 419px) { .pg-hide-sm { display: none; } }
@media (max-width: 339px) { .pg-brand .mk { display: none; } }
@media (prefers-reduced-motion: reduce) { .pg-pill { transition: none; } }
