.primary-nav {
  display: flex;
  align-items: stretch;
  gap: 40px;
  height: 60px;
  padding: 0 28px;
  border-bottom: 1px solid var(--edge);
  background: #05070a;
  position: relative;
  z-index: 30;
  flex-shrink: 0;
}
.site-wordmark { display: flex; align-items: center; gap: 11px; font: 700 16px/1 var(--display); letter-spacing: .05em; white-space: nowrap; color: #fff; text-decoration: none; }
.site-wordmark img { display: block; flex: none; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { display: flex; align-items: center; position: relative; padding: 0 14px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: color .12s; }
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current=page] { color: #fff; background: linear-gradient(0deg, #ff7b1c1f, transparent 70%); }
.nav-links a[aria-current=page]::after { content: ''; height: 3px; background: var(--fire); position: absolute; bottom: -1px; left: 0; right: 0; }
.nav-end { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-edition { color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.nav-play.cta { --cut: 9px; min-height: 36px; padding: 0 20px; font-size: 13px; }
body:has(> .primary-nav) { display: flex; flex-direction: column; height: 100dvh; margin: 0; }
body > .app, body > .dapp { flex: 1; min-height: 0; height: auto; }
body.capture > .primary-nav { display: none; }
@media(max-width: 900px) { .site-edition { display: none; } .primary-nav { gap: 24px; } }
@media(max-width: 700px) {
  .primary-nav { height: 54px; padding: 0 14px; gap: 10px; }
  .site-wordmark { font-size: 0; gap: 0; }
  .site-wordmark img { width: 26px; height: 26px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 0 9px; font-size: 11px; letter-spacing: .08em; }
  .nav-play { display: none !important; }
}
@media(max-width: 360px) { .nav-links a { padding: 0 7px; letter-spacing: .04em; } }
