/* © 2026 Cromulent, Inc. All Rights Reserved.
   topnav - the one look of every product's top-right nav (wchesher, 2026-11-20: "we need to bring all the sites
   inline with links at the top right nav"; the rule he picked: the product's own doors, at most two, then About, then
   The research where it has one, then one button, Sign in). Served by the edge at /_cromulent/topnav.css on every
   product host (conf.d/_mark.caddy), so one file draws it everywhere; cromulent.tech carries a byte copy.

   The list itself lives once, under "Top nav" in docs/brand/cromulentech-brand.md, and sfhsbta/admin/test_top_nav.py
   holds every header to it. The look takes the header's own ink and typeface: one size, one gap, one button shape.
   On a phone About and The research fold away (the footer carries both); the doors and Sign in stay. Hover changes colour and fill, never opacity
   (spawn's house rule). */
nav[data-topnav] { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap;
  gap: 8px 28px; margin: 0; padding: 0; min-width: 0; }
nav[data-topnav] > a { font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: 0; text-transform: none;
  color: color-mix(in srgb, currentColor 76%, transparent); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center;
  min-height: 32px; padding: 0; margin: 0; border: 0; background: none; box-shadow: none; }
nav[data-topnav] > a[hidden] { display: none; }
nav[data-topnav] > a:hover, nav[data-topnav] > a:focus-visible, nav[data-topnav] > a[aria-current="page"] { color: inherit; }
nav[data-topnav] > a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
nav[data-topnav] > a.topnav-in { color: inherit; font-weight: 500; padding: 0 16px; min-height: 36px;
  border: 1px solid currentColor; border-radius: 999px; background: none; }
nav[data-topnav] > a.topnav-in:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
@media (max-width: 640px) {
  nav[data-topnav] { gap: 6px 16px; }
  nav[data-topnav] > a { font-size: 14px; }
  nav[data-topnav] > a.topnav-fold { display: none; }
}
