/* The site header, the same on every page: the pixel mark and the "oriphim." wordmark rest at the
   left edge, Pricing and Sign In at the right. It spans the viewport the way the landing page's
   does, so it lines up with the hero rather than with each page's text column.
   Loaded after the page's own styles and before brand.css, which sets the wordmark's face. */

.topbar{border-bottom:0;padding:13px 0;position:relative;z-index:30;}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:24px;min-height:42px;max-width:none;margin:0;padding:0 4vw;}

/* Mark, then wordmark. The mark is drawn dark and flipped for the black ground by theme.css;
   its height follows the wordmark's font size so the pair scales together. */
.topbar .nav-home{display:inline-flex;align-items:center;gap:.3em;flex-shrink:0;border:0;text-decoration:none;}
.topbar .nav-home img{display:block;width:auto;height:1em;flex:none;filter:invert(1) drop-shadow(0 0 3px rgba(18,13,14,.9));}

/* Pricing beside Sign In. */
.topbar .topbar-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.nav-btn{font-family:'IBM Plex Mono',monospace;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;border:1px solid var(--ink);padding:8px 18px;white-space:nowrap;}
.topbar .signin-btn{white-space:nowrap;}

@media(max-width:980px){
  .topbar .wrap{padding:0 clamp(20px,6vw,48px);}
}
@media(max-width:480px){
  .topbar .wrap{padding:0 20px;gap:10px;}
  .topbar .topbar-actions{gap:6px;}
  .topbar .nav-btn,.topbar .signin-btn{font-size:10px;padding:8px 10px;}
}
@media(max-width:360px){
  .topbar .wrap{padding:0 16px;gap:8px;}
  .topbar .nav-btn,.topbar .signin-btn{font-size:9.5px;padding:8px 8px;}
}
