/* Shared OpsHome marketing-site header/navigation.
   One navigation system for every public page. */

body > nav{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:88px;
  padding:12px 40px;
  background:rgba(255,255,255,.955);
  border-bottom:1px solid rgba(203,213,225,.72);
  box-shadow:none;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

body > nav > .brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  color:#1479ff;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-size:15px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.02em;
  white-space:nowrap;
  text-decoration:none;
}
body > nav > .brand img{
  display:block;
  width:64px;
  height:64px;
  flex:0 0 64px;
}
body > nav .tm{
  margin-left:2px;
  font-size:.42em;
  line-height:0;
  vertical-align:super;
  letter-spacing:0;
}

/* Main navigation: medium weight, muted color and a very light hover pill.
   The link padding + gap yields roughly 24–30 px of visual breathing room. */
body > nav > .navlinks{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  margin:0;
  padding:0;
  list-style:none;
  color:#475569;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:14px;
  font-weight:500;
  line-height:1.2;
  letter-spacing:0;
}
body > nav > .navlinks li{margin:0;padding:0}
body > nav > .navlinks a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:8px 10px;
  border-radius:8px;
  color:inherit;
  white-space:nowrap;
  text-decoration:none;
  transition:color .2s ease,background-color .2s ease,transform .2s ease;
}
body > nav > .navlinks a:hover,
body > nav > .navlinks a:focus-visible{
  color:#0f172a;
  background:rgba(15,23,42,.045);
  outline:none;
  transform:translateY(-1px);
}
body > nav > .navlinks a[aria-current="page"]{
  color:#1d4ed8;
  background:rgba(59,130,246,.075);
}
body > nav > .navlinks a:focus-visible{
  box-shadow:0 0 0 3px rgba(59,130,246,.13);
}

/* Language control remains compact and independent from the CTA pills. */
body > nav > .lang{
  display:flex;
  align-items:center;
  gap:2px;
  flex:0 0 auto;
  margin:0;
  padding:3px;
  border:0;
  border-radius:9px;
  background:#f8fafc;
  box-shadow:inset 0 0 0 1px rgba(148,163,184,.18);
}
body > nav > .lang a,
body > nav > .lang button{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:6px 8px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#64748b;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-size:11px;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  text-decoration:none;
  transition:color .18s ease,background-color .18s ease;
}
body > nav > .lang a:hover,
body > nav > .lang button:hover{color:#0f172a;background:rgba(15,23,42,.04)}
body > nav > .lang a.active,
body > nav > .lang button.active{
  background:#fff;
  color:#1d4ed8;
  box-shadow:0 1px 4px rgba(15,23,42,.08),inset 0 0 0 1px rgba(59,130,246,.10);
}
body > nav > .lang a:focus-visible,
body > nav > .lang button:focus-visible{outline:2px solid rgba(59,130,246,.28);outline-offset:1px}

/* Right-side action pair. Download is the visual primary; Console deliberately recedes. */
body > nav > .nav-cta-group{
  display:flex;
  align-items:center;
  gap:14px;
  flex:0 0 auto;
}
body > nav .nav-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 20px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);
  box-shadow:0 4px 14px rgba(59,130,246,.30);
  color:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:14px;
  font-weight:500;
  line-height:1.2;
  white-space:nowrap;
  text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease,background-color .2s ease;
}
body > nav .nav-cta:hover,
body > nav .nav-cta:focus-visible{
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(59,130,246,.38);
  filter:saturate(1.02);
  outline:none;
}
body > nav .nav-cta:focus-visible{box-shadow:0 0 0 3px rgba(59,130,246,.18),0 6px 18px rgba(59,130,246,.35)}
body > nav .nav-console-cta{
  background:#e6f4ea;
  box-shadow:inset 0 0 0 1px rgba(16,185,129,.08);
  color:#137333;
  font-weight:600;
}
body > nav .nav-console-cta:hover,
body > nav .nav-console-cta:focus-visible{
  background:#d2ebd9;
  color:#0f5f2b;
  box-shadow:inset 0 0 0 1px rgba(16,185,129,.12);
  filter:none;
}
body > nav .nav-console-cta:focus-visible{box-shadow:0 0 0 3px rgba(16,185,129,.13),inset 0 0 0 1px rgba(16,185,129,.12)}

body > nav > .mobile-support-link{display:none!important}

/* Middle-width compression keeps the same visual system instead of swapping to a different header. */
@media (max-width:1380px) and (min-width:1181px){
  body > nav{gap:10px;min-height:82px;padding:9px 18px}
  body > nav > .brand{font-size:13px}
  body > nav > .brand img{width:58px;height:58px;flex-basis:58px}
  body > nav > .navlinks{gap:3px;font-size:12px}
  body > nav > .navlinks a{padding:7px 6px}
  body > nav > .nav-cta-group{gap:8px}
  body > nav .nav-cta{min-height:36px;padding:8px 11px;font-size:12px}
  body > nav > .lang a,body > nav > .lang button{padding:5px 5px;font-size:10px}
}

@media (max-width:1180px) and (min-width:901px){
  body > nav{gap:12px;min-height:82px;padding:10px 22px}
  body > nav > .brand{font-size:13px}
  body > nav > .brand img{width:58px;height:58px;flex-basis:58px}
  body > nav > .navlinks{gap:5px;font-size:12.5px}
  body > nav > .navlinks a{padding:7px 7px}
  body > nav > .nav-cta-group,
  body > nav > a.nav-cta{display:none!important}
  body > nav > .lang a,body > nav > .lang button{padding:5px 6px}
}

/* Mobile header dimensions are also shared. Menu contents are cloned by mobile-nav.js. */
@media (max-width:900px){
  body > nav{
    gap:10px;
    min-height:70px;
    padding:12px 14px;
    isolation:isolate;
  }
  body > nav > .brand{gap:7px;font-size:12px}
  body > nav > .brand img{width:46px;height:46px;flex-basis:46px}
  body > nav > .navlinks,
  body > nav > .nav-cta-group,
  body > nav > a.nav-cta{display:none!important}
  body > nav > .lang{order:80;margin-left:auto;padding:3px}
  body > nav > .lang a,body > nav > .lang button{min-height:26px;padding:5px 6px;font-size:10px}
  body > nav > .mobile-menu-toggle{order:90}
}

@media (max-width:430px){
  body > nav{gap:7px;padding-left:10px;padding-right:10px}
  body > nav > .brand{font-size:11px}
  body > nav > .brand img{width:42px;height:42px;flex-basis:42px}
  body > nav > .lang a,body > nav > .lang button{padding:5px 4px;font-size:9.5px}
}
